guix-manual.pt_BR.po 2.1 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381
  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. msgid ""
  7. msgstr ""
  8. "Project-Id-Version: guix manual checkout\n"
  9. "Report-Msgid-Bugs-To: bug-guix@gnu.org\n"
  10. "POT-Creation-Date: 2021-07-15 14:49+0200\n"
  11. "PO-Revision-Date: 2021-05-22 01:17+0000\n"
  12. "Last-Translator: Thiago Jung Bauermann <bauermann@kolabnow.com>\n"
  13. "Language-Team: Portuguese (Brazil) <https://translate.fedoraproject.org/projects/guix/documentation-manual/pt_BR/>\n"
  14. "Language: pt_BR\n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. "Plural-Forms: nplurals=2; plural=n > 1;\n"
  19. "X-Generator: Weblate 4.6.2\n"
  20. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  21. #. type: chapter
  22. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  23. #. type: menuentry
  24. #: guix-git/doc/contributing.texi:1 guix-git/doc/contributing.texi:2
  25. #: guix-git/doc/guix.texi:176
  26. #, no-wrap
  27. msgid "Contributing"
  28. msgstr "Contribuindo"
  29. #. type: Plain text
  30. #: guix-git/doc/contributing.texi:9
  31. #, fuzzy
  32. #| 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})."
  33. 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})."
  34. 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})."
  35. #. type: cindex
  36. #: guix-git/doc/contributing.texi:10
  37. #, no-wrap
  38. msgid "code of conduct, of contributors"
  39. msgstr "código de conduta, de contribuidores"
  40. #. type: cindex
  41. #: guix-git/doc/contributing.texi:11
  42. #, no-wrap
  43. msgid "contributor covenant"
  44. msgstr "acordo de contribuição"
  45. #. type: Plain text
  46. #: guix-git/doc/contributing.texi:17
  47. 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."
  48. 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."
  49. #. type: Plain text
  50. #: guix-git/doc/contributing.texi:21
  51. 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."
  52. 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."
  53. #. type: section
  54. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:35
  55. #: guix-git/doc/contributing.texi:36
  56. #, no-wrap
  57. msgid "Building from Git"
  58. msgstr "Compilando do git"
  59. #. type: menuentry
  60. #: guix-git/doc/contributing.texi:33
  61. msgid "The latest and greatest."
  62. msgstr "A mais recente e melhor."
  63. #. type: section
  64. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:161
  65. #: guix-git/doc/contributing.texi:162
  66. #, no-wrap
  67. msgid "Running Guix Before It Is Installed"
  68. msgstr "Executando guix antes dele ser instalado"
  69. #. type: menuentry
  70. #: guix-git/doc/contributing.texi:33
  71. msgid "Hacker tricks."
  72. msgstr "Truques de hacker."
  73. #. type: section
  74. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:235
  75. #: guix-git/doc/contributing.texi:236
  76. #, no-wrap
  77. msgid "The Perfect Setup"
  78. msgstr "A configuração perfeita"
  79. #. type: menuentry
  80. #: guix-git/doc/contributing.texi:33
  81. msgid "The right tools."
  82. msgstr "As ferramentas certas."
  83. #. type: section
  84. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:326
  85. #: guix-git/doc/contributing.texi:327
  86. #, no-wrap
  87. msgid "Packaging Guidelines"
  88. msgstr "Diretrizes de empacotamento"
  89. #. type: menuentry
  90. #: guix-git/doc/contributing.texi:33
  91. msgid "Growing the distribution."
  92. msgstr "Crescendo a distribuição."
  93. #. type: section
  94. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:890
  95. #: guix-git/doc/contributing.texi:891
  96. #, no-wrap
  97. msgid "Coding Style"
  98. msgstr "Estilo de código"
  99. #. type: menuentry
  100. #: guix-git/doc/contributing.texi:33
  101. msgid "Hygiene of the contributor."
  102. msgstr "Limpeza do contribuidor."
  103. #. type: section
  104. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:989
  105. #: guix-git/doc/contributing.texi:990
  106. #, no-wrap
  107. msgid "Submitting Patches"
  108. msgstr "Enviando patches"
  109. #. type: menuentry
  110. #: guix-git/doc/contributing.texi:33
  111. msgid "Share your work."
  112. msgstr "Compartilhe seu trabalho."
  113. #. type: section
  114. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1223
  115. #: guix-git/doc/contributing.texi:1224
  116. #, no-wrap
  117. msgid "Tracking Bugs and Patches"
  118. msgstr ""
  119. #. type: menuentry
  120. #: guix-git/doc/contributing.texi:33
  121. msgid "Keeping it all organized."
  122. msgstr ""
  123. #. type: section
  124. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1338
  125. #: guix-git/doc/contributing.texi:1339
  126. #, no-wrap
  127. msgid "Commit Access"
  128. msgstr ""
  129. #. type: menuentry
  130. #: guix-git/doc/contributing.texi:33
  131. msgid "Pushing to the official repository."
  132. msgstr ""
  133. #. type: section
  134. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1564
  135. #: guix-git/doc/contributing.texi:1565
  136. #, no-wrap
  137. msgid "Updating the Guix Package"
  138. msgstr ""
  139. #. type: menuentry
  140. #: guix-git/doc/contributing.texi:33
  141. msgid "Updating the Guix package definition."
  142. msgstr ""
  143. #. type: section
  144. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1605
  145. #: guix-git/doc/contributing.texi:1606
  146. #, fuzzy, no-wrap
  147. #| msgid "Testing Guix."
  148. msgid "Translating Guix"
  149. msgstr ""
  150. #. type: menuentry
  151. #: guix-git/doc/contributing.texi:33
  152. msgid "Make Guix speak your native language."
  153. msgstr ""
  154. #. type: Plain text
  155. #: guix-git/doc/contributing.texi:40
  156. msgid "If you want to hack Guix itself, it is recommended to use the latest version from the Git repository:"
  157. msgstr "Se você quiser hackear o próprio Guix, é recomendado usar a versão mais recente do repositório Git:"
  158. #. type: example
  159. #: guix-git/doc/contributing.texi:43
  160. #, no-wrap
  161. msgid "git clone https://git.savannah.gnu.org/git/guix.git\n"
  162. msgstr "git clone https://git.savannah.gnu.org/git/guix.git\n"
  163. #. type: cindex
  164. #: guix-git/doc/contributing.texi:45
  165. #, no-wrap
  166. msgid "authentication, of a Guix checkout"
  167. msgstr ""
  168. #. type: Plain text
  169. #: guix-git/doc/contributing.texi:50
  170. 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}):"
  171. msgstr ""
  172. #. type: example
  173. #: guix-git/doc/contributing.texi:57
  174. #, no-wrap
  175. msgid ""
  176. "git fetch origin keyring:keyring\n"
  177. "guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad \\\n"
  178. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\"\n"
  179. msgstr ""
  180. #. type: Plain text
  181. #: guix-git/doc/contributing.texi:62
  182. msgid "This command completes with exit code zero on success; it prints an error message and exits with a non-zero code otherwise."
  183. msgstr ""
  184. #. type: Plain text
  185. #: guix-git/doc/contributing.texi:69
  186. 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."
  187. msgstr ""
  188. #. type: Plain text
  189. #: guix-git/doc/contributing.texi:74
  190. 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:"
  191. 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:"
  192. #. type: example
  193. #: guix-git/doc/contributing.texi:77
  194. #, no-wrap
  195. msgid "guix environment guix --pure\n"
  196. msgstr ""
  197. #. type: Plain text
  198. #: guix-git/doc/contributing.texi:80
  199. msgid "@xref{Invoking guix environment}, for more information on that command."
  200. msgstr ""
  201. #. type: Plain text
  202. #: guix-git/doc/contributing.texi:84
  203. 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})."
  204. msgstr ""
  205. #. type: item
  206. #: guix-git/doc/contributing.texi:86
  207. #, no-wrap
  208. msgid "@url{https://gnu.org/software/autoconf/, GNU Autoconf};"
  209. msgstr ""
  210. #. type: item
  211. #: guix-git/doc/contributing.texi:87
  212. #, no-wrap
  213. msgid "@url{https://gnu.org/software/automake/, GNU Automake};"
  214. msgstr ""
  215. #. type: item
  216. #: guix-git/doc/contributing.texi:88
  217. #, no-wrap
  218. msgid "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  219. msgstr ""
  220. #. type: item
  221. #: guix-git/doc/contributing.texi:89
  222. #, no-wrap
  223. msgid "@url{https://gnu.org/software/texinfo/, GNU Texinfo};"
  224. msgstr ""
  225. #. type: item
  226. #: guix-git/doc/contributing.texi:90
  227. #, no-wrap
  228. msgid "@url{https://www.graphviz.org/, Graphviz};"
  229. msgstr ""
  230. #. type: item
  231. #: guix-git/doc/contributing.texi:91
  232. #, no-wrap
  233. msgid "@url{https://www.gnu.org/software/help2man/, GNU Help2man (optional)}."
  234. msgstr ""
  235. #. type: Plain text
  236. #: guix-git/doc/contributing.texi:96
  237. msgid "On Guix, extra dependencies can be added by instead running @command{guix environment} with @option{--ad-hoc}:"
  238. msgstr ""
  239. #. type: example
  240. #: guix-git/doc/contributing.texi:99
  241. #, no-wrap
  242. msgid "guix environment guix --pure --ad-hoc help2man git strace\n"
  243. msgstr ""
  244. #. type: Plain text
  245. #: guix-git/doc/contributing.texi:103
  246. msgid "Run @command{./bootstrap} to generate the build system infrastructure using Autoconf and Automake. If you get an error like this one:"
  247. 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:"
  248. #. type: example
  249. #: guix-git/doc/contributing.texi:106
  250. #, no-wrap
  251. msgid "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  252. msgstr "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  253. #. type: Plain text
  254. #: guix-git/doc/contributing.texi:115
  255. 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:"
  256. 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:"
  257. #. type: example
  258. #: guix-git/doc/contributing.texi:118
  259. #, no-wrap
  260. msgid "export ACLOCAL_PATH=/usr/share/aclocal\n"
  261. msgstr "export ACLOCAL_PATH=/usr/share/aclocal\n"
  262. #. type: Plain text
  263. #: guix-git/doc/contributing.texi:122
  264. msgid "@xref{Macro Search Path,,, automake, The GNU Automake Manual}, for more information."
  265. msgstr "@xref{Macro Search Path,,, automake, The GNU Automake Manual}, para mais informações."
  266. #. type: Plain text
  267. #: guix-git/doc/contributing.texi:129
  268. msgid "Then, run @command{./configure} as usual. Make sure to pass @code{--localstatedir=@var{directory}} where @var{directory} is the @code{localstatedir} value used by your current installation (@pxref{The Store}, for information about this), usually @file{/var}. 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}."
  269. msgstr ""
  270. #. type: Plain text
  271. #: guix-git/doc/contributing.texi:134
  272. #, fuzzy
  273. msgid "Finally, you have to invoke @code{make && make check} to build Guix and run the tests (@pxref{Running the Test Suite}). If anything fails, take a look at installation instructions (@pxref{Installation}) or send a message to the @email{guix-devel@@gnu.org, mailing list}."
  274. 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}."
  275. #. type: Plain text
  276. #: guix-git/doc/contributing.texi:137
  277. msgid "From there on, you can authenticate all the commits included in your checkout by running:"
  278. msgstr ""
  279. #. type: example
  280. #: guix-git/doc/contributing.texi:140
  281. #, no-wrap
  282. msgid "make authenticate\n"
  283. msgstr ""
  284. #. type: Plain text
  285. #: guix-git/doc/contributing.texi:143
  286. msgid "The first run takes a couple of minutes, but subsequent runs are faster."
  287. msgstr ""
  288. #. type: Plain text
  289. #: guix-git/doc/contributing.texi:149
  290. 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:"
  291. msgstr ""
  292. #. type: example
  293. #: guix-git/doc/contributing.texi:152
  294. #, no-wrap
  295. msgid "make authenticate GUIX_GIT_KEYRING=myremote/keyring\n"
  296. msgstr ""
  297. #. type: quotation
  298. #: guix-git/doc/contributing.texi:154 guix-git/doc/contributing.texi:1416
  299. #: guix-git/doc/guix.texi:573 guix-git/doc/guix.texi:622
  300. #: guix-git/doc/guix.texi:800 guix-git/doc/guix.texi:1779
  301. #: guix-git/doc/guix.texi:2026 guix-git/doc/guix.texi:2210
  302. #: guix-git/doc/guix.texi:2431 guix-git/doc/guix.texi:2632
  303. #: guix-git/doc/guix.texi:3749 guix-git/doc/guix.texi:4490
  304. #: guix-git/doc/guix.texi:4504 guix-git/doc/guix.texi:4586
  305. #: guix-git/doc/guix.texi:4816 guix-git/doc/guix.texi:5666
  306. #: guix-git/doc/guix.texi:5912 guix-git/doc/guix.texi:6033
  307. #: guix-git/doc/guix.texi:6061 guix-git/doc/guix.texi:6114
  308. #: guix-git/doc/guix.texi:8816 guix-git/doc/guix.texi:8886
  309. #: guix-git/doc/guix.texi:10561 guix-git/doc/guix.texi:10601
  310. #: guix-git/doc/guix.texi:10874 guix-git/doc/guix.texi:10886
  311. #: guix-git/doc/guix.texi:13184 guix-git/doc/guix.texi:13814
  312. #: guix-git/doc/guix.texi:14597 guix-git/doc/guix.texi:15582
  313. #: guix-git/doc/guix.texi:18003 guix-git/doc/guix.texi:18160
  314. #: guix-git/doc/guix.texi:26024 guix-git/doc/guix.texi:29701
  315. #: guix-git/doc/guix.texi:31658 guix-git/doc/guix.texi:33267
  316. #: guix-git/doc/guix.texi:33501 guix-git/doc/guix.texi:33671
  317. #: guix-git/doc/guix.texi:33824 guix-git/doc/guix.texi:33926
  318. #: guix-git/doc/guix.texi:34027 guix-git/doc/guix.texi:34330
  319. #, no-wrap
  320. msgid "Note"
  321. msgstr "Nota"
  322. #. type: quotation
  323. #: guix-git/doc/contributing.texi:158
  324. 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."
  325. msgstr ""
  326. #. type: Plain text
  327. #: guix-git/doc/contributing.texi:168
  328. 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."
  329. 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''."
  330. #. type: Plain text
  331. #: guix-git/doc/contributing.texi:179
  332. 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):"
  333. msgstr ""
  334. #. type: example
  335. #: guix-git/doc/contributing.texi:182
  336. #, no-wrap
  337. msgid "$ ./pre-inst-env guix build hello\n"
  338. msgstr ""
  339. #. type: Plain text
  340. #: guix-git/doc/contributing.texi:186
  341. msgid "Similarly, an example for a Guile session using the Guix modules:"
  342. msgstr ""
  343. #. type: example
  344. #: guix-git/doc/contributing.texi:189
  345. #, no-wrap
  346. msgid ""
  347. "$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'\n"
  348. "\n"
  349. msgstr ""
  350. "$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'\n"
  351. "\n"
  352. #. type: example
  353. #: guix-git/doc/contributing.texi:191
  354. #, no-wrap
  355. msgid ";;; (\"x86_64-linux\")\n"
  356. msgstr ";;; (\"x86_64-linux\")\n"
  357. #. type: cindex
  358. #: guix-git/doc/contributing.texi:194
  359. #, no-wrap
  360. msgid "REPL"
  361. msgstr "REPL"
  362. #. type: cindex
  363. #: guix-git/doc/contributing.texi:195
  364. #, no-wrap
  365. msgid "read-eval-print loop"
  366. msgstr "read-eval-print loop"
  367. #. type: Plain text
  368. #: guix-git/doc/contributing.texi:198
  369. msgid "@dots{} and for a REPL (@pxref{Using Guile Interactively,,, guile, Guile Reference Manual}):"
  370. msgstr "@dots{} e para um REPL (@pxref{Usando o Guile interativamente,,, guile, Manual de referência do Guile}):"
  371. #. type: example
  372. #: guix-git/doc/contributing.texi:213
  373. #, no-wrap
  374. msgid ""
  375. "$ ./pre-inst-env guile\n"
  376. "scheme@@(guile-user)> ,use(guix)\n"
  377. "scheme@@(guile-user)> ,use(gnu)\n"
  378. "scheme@@(guile-user)> (define snakes\n"
  379. " (fold-packages\n"
  380. " (lambda (package lst)\n"
  381. " (if (string-prefix? \"python\"\n"
  382. " (package-name package))\n"
  383. " (cons package lst)\n"
  384. " lst))\n"
  385. " '()))\n"
  386. "scheme@@(guile-user)> (length snakes)\n"
  387. "$1 = 361\n"
  388. msgstr ""
  389. "$ ./pre-inst-env guile\n"
  390. "scheme@@(guile-user)> ,use(guix)\n"
  391. "scheme@@(guile-user)> ,use(gnu)\n"
  392. "scheme@@(guile-user)> (define snakes\n"
  393. " (fold-packages\n"
  394. " (lambda (package lst)\n"
  395. " (if (string-prefix? \"python\"\n"
  396. " (package-name package))\n"
  397. " (cons package lst)\n"
  398. " lst))\n"
  399. " '()))\n"
  400. "scheme@@(guile-user)> (length snakes)\n"
  401. "$1 = 361\n"
  402. #. type: Plain text
  403. #: guix-git/doc/contributing.texi:221
  404. 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.}:"
  405. msgstr ""
  406. #. type: example
  407. #: guix-git/doc/contributing.texi:224
  408. #, no-wrap
  409. msgid "$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild\n"
  410. msgstr ""
  411. #. type: Plain text
  412. #: guix-git/doc/contributing.texi:228
  413. 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}."
  414. 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}."
  415. #. type: Plain text
  416. #: guix-git/doc/contributing.texi:233
  417. 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."
  418. 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."
  419. #. type: Plain text
  420. #: guix-git/doc/contributing.texi:243
  421. 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:"
  422. msgstr ""
  423. #. type: example
  424. #: guix-git/doc/contributing.texi:246
  425. #, fuzzy, no-wrap
  426. #| msgid "guix package -i emacs guile emacs-geiser\n"
  427. msgid "guix package -i emacs guile emacs-geiser emacs-geiser-guile\n"
  428. msgstr "guix package -i emacs guile emacs-geiser\n"
  429. #. type: Plain text
  430. #: guix-git/doc/contributing.texi:255
  431. 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:"
  432. 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:"
  433. #. type: lisp
  434. #: guix-git/doc/contributing.texi:260
  435. #, no-wrap
  436. msgid ""
  437. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  438. "(with-eval-after-load 'geiser-guile\n"
  439. " (add-to-list 'geiser-guile-load-path \"~/src/guix\"))\n"
  440. msgstr ""
  441. ";; @r{Presumindo que o checkout do Guix está em ~/src/guix.}\n"
  442. "(with-eval-after-load 'geiser-guile\n"
  443. " (add-to-list 'geiser-guile-load-path \"~/src/guix\"))\n"
  444. #. type: Plain text
  445. #: guix-git/doc/contributing.texi:268
  446. 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."
  447. msgstr ""
  448. #. type: cindex
  449. #: guix-git/doc/contributing.texi:269
  450. #, no-wrap
  451. msgid "code snippets"
  452. msgstr "trechos de código"
  453. #. type: cindex
  454. #: guix-git/doc/contributing.texi:270
  455. #, no-wrap
  456. msgid "templates"
  457. msgstr "modelos"
  458. #. type: cindex
  459. #: guix-git/doc/contributing.texi:271
  460. #, no-wrap
  461. msgid "reducing boilerplate"
  462. msgstr "reduzindo boilerplate"
  463. #. type: Plain text
  464. #: guix-git/doc/contributing.texi:278
  465. 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."
  466. msgstr ""
  467. #. type: lisp
  468. #: guix-git/doc/contributing.texi:283
  469. #, no-wrap
  470. msgid ""
  471. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  472. "(with-eval-after-load 'yasnippet\n"
  473. " (add-to-list 'yas-snippet-dirs \"~/src/guix/etc/snippets\"))\n"
  474. msgstr ""
  475. ";; @r{Presumindo que o checkout do Guix está em ~/src/guix.}\n"
  476. "(with-eval-after-load 'yasnippet\n"
  477. " (add-to-list 'yas-snippet-dirs \"~/src/guix/etc/snippets\"))\n"
  478. #. type: Plain text
  479. #: guix-git/doc/contributing.texi:291
  480. 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."
  481. 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."
  482. #. type: Plain text
  483. #: guix-git/doc/contributing.texi:297
  484. 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."
  485. 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."
  486. #. type: cindex
  487. #: guix-git/doc/contributing.texi:298
  488. #, no-wrap
  489. msgid "insert or update copyright"
  490. msgstr ""
  491. #. type: code{#1}
  492. #: guix-git/doc/contributing.texi:299
  493. #, no-wrap
  494. msgid "M-x guix-copyright"
  495. msgstr ""
  496. #. type: code{#1}
  497. #: guix-git/doc/contributing.texi:300
  498. #, no-wrap
  499. msgid "M-x copyright-update"
  500. msgstr ""
  501. #. type: Plain text
  502. #: guix-git/doc/contributing.texi:304
  503. 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."
  504. msgstr ""
  505. #. type: lisp
  506. #: guix-git/doc/contributing.texi:310
  507. #, no-wrap
  508. msgid ""
  509. "(setq user-full-name \"Alice Doe\")\n"
  510. "(setq user-mail-address \"alice@@mail.org\")\n"
  511. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  512. "(load-file \"~/src/guix/etc/copyright.el\")\n"
  513. msgstr ""
  514. #. type: Plain text
  515. #: guix-git/doc/contributing.texi:313
  516. msgid "To insert a copyright at the current line invoke @code{M-x guix-copyright}."
  517. msgstr ""
  518. #. type: Plain text
  519. #: guix-git/doc/contributing.texi:315
  520. msgid "To update a copyright you need to specify a @code{copyright-names-regexp}."
  521. msgstr ""
  522. #. type: lisp
  523. #: guix-git/doc/contributing.texi:319
  524. #, no-wrap
  525. msgid ""
  526. "(setq copyright-names-regexp\n"
  527. " (format \"%s <%s>\" user-full-name user-mail-address))\n"
  528. msgstr ""
  529. #. type: Plain text
  530. #: guix-git/doc/contributing.texi:325
  531. 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."
  532. msgstr ""
  533. #. type: cindex
  534. #: guix-git/doc/contributing.texi:329
  535. #, no-wrap
  536. msgid "packages, creating"
  537. msgstr "pacotes, criação"
  538. #. type: Plain text
  539. #: guix-git/doc/contributing.texi:333
  540. 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."
  541. 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."
  542. #. type: Plain text
  543. #: guix-git/doc/contributing.texi:341
  544. 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."
  545. 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."
  546. #. type: Plain text
  547. #: guix-git/doc/contributing.texi:350
  548. 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}."
  549. 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}."
  550. #. type: Plain text
  551. #: guix-git/doc/contributing.texi:356
  552. 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}):"
  553. 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}):"
  554. #. type: example
  555. #: guix-git/doc/contributing.texi:359
  556. #, no-wrap
  557. msgid "./pre-inst-env guix build gnew --keep-failed\n"
  558. msgstr "./pre-inst-env guix build gnew --keep-failed\n"
  559. #. type: Plain text
  560. #: guix-git/doc/contributing.texi:365
  561. 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."
  562. 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."
  563. #. type: Plain text
  564. #: guix-git/doc/contributing.texi:370
  565. 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:"
  566. 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:"
  567. #. type: example
  568. #: guix-git/doc/contributing.texi:373
  569. #, no-wrap
  570. msgid "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  571. msgstr "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  572. #. type: Plain text
  573. #: guix-git/doc/contributing.texi:380
  574. 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}."
  575. msgstr ""
  576. #. type: cindex
  577. #: guix-git/doc/contributing.texi:381
  578. #, no-wrap
  579. msgid "substituter"
  580. msgstr "substituidor"
  581. #. type: Plain text
  582. #: guix-git/doc/contributing.texi:388
  583. #, fuzzy
  584. #| 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."
  585. 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."
  586. 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."
  587. #. type: subsection
  588. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:404
  589. #: guix-git/doc/contributing.texi:405
  590. #, no-wrap
  591. msgid "Software Freedom"
  592. msgstr "Liberdade de software"
  593. #. type: menuentry
  594. #: guix-git/doc/contributing.texi:402
  595. msgid "What may go into the distribution."
  596. msgstr "O que pode ir na distribuição."
  597. #. type: subsection
  598. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:432
  599. #: guix-git/doc/contributing.texi:433
  600. #, no-wrap
  601. msgid "Package Naming"
  602. msgstr "Nomeando um pacote"
  603. #. type: menuentry
  604. #: guix-git/doc/contributing.texi:402
  605. msgid "What's in a name?"
  606. msgstr "Que há em um nome?"
  607. #. type: subsection
  608. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:465
  609. #: guix-git/doc/contributing.texi:466
  610. #, no-wrap
  611. msgid "Version Numbers"
  612. msgstr "Números de versão"
  613. #. type: menuentry
  614. #: guix-git/doc/contributing.texi:402
  615. msgid "When the name is not enough."
  616. msgstr "Quando o nome não é suficiente."
  617. #. type: subsection
  618. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:572
  619. #: guix-git/doc/contributing.texi:573
  620. #, no-wrap
  621. msgid "Synopses and Descriptions"
  622. msgstr "Sinopses e descrições"
  623. #. type: menuentry
  624. #: guix-git/doc/contributing.texi:402
  625. msgid "Helping users find the right package."
  626. msgstr "Ajudando usuários a localizar o pacote certo."
  627. #. type: subsection
  628. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:651
  629. #: guix-git/doc/contributing.texi:652
  630. #, no-wrap
  631. msgid "Snippets versus Phases"
  632. msgstr ""
  633. #. type: menuentry
  634. #: guix-git/doc/contributing.texi:402
  635. msgid "Whether to use a snippet, or a build phase."
  636. msgstr ""
  637. #. type: subsection
  638. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:666
  639. #: guix-git/doc/contributing.texi:667 guix-git/doc/guix.texi:1961
  640. #, no-wrap
  641. msgid "Emacs Packages"
  642. msgstr ""
  643. #. type: menuentry
  644. #: guix-git/doc/contributing.texi:402
  645. msgid "Your Elisp fix."
  646. msgstr ""
  647. #. type: subsection
  648. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:706
  649. #: guix-git/doc/contributing.texi:707
  650. #, no-wrap
  651. msgid "Python Modules"
  652. msgstr "Módulos Python"
  653. #. type: menuentry
  654. #: guix-git/doc/contributing.texi:402
  655. msgid "A touch of British comedy."
  656. msgstr "Um toque de comédia britânica."
  657. #. type: subsection
  658. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:782
  659. #: guix-git/doc/contributing.texi:783
  660. #, no-wrap
  661. msgid "Perl Modules"
  662. msgstr "Módulos Perl"
  663. #. type: menuentry
  664. #: guix-git/doc/contributing.texi:402
  665. msgid "Little pearls."
  666. msgstr "Pequenas pérolas."
  667. #. type: subsection
  668. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:798
  669. #: guix-git/doc/contributing.texi:799
  670. #, no-wrap
  671. msgid "Java Packages"
  672. msgstr "Pacotes Java"
  673. #. type: menuentry
  674. #: guix-git/doc/contributing.texi:402
  675. msgid "Coffee break."
  676. msgstr "Parada para o café."
  677. #. type: subsection
  678. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:818
  679. #: guix-git/doc/contributing.texi:819
  680. #, no-wrap
  681. msgid "Rust Crates"
  682. msgstr ""
  683. #. type: menuentry
  684. #: guix-git/doc/contributing.texi:402
  685. msgid "Beware of oxidation."
  686. msgstr ""
  687. #. type: subsection
  688. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:852
  689. #: guix-git/doc/contributing.texi:853
  690. #, no-wrap
  691. msgid "Fonts"
  692. msgstr "Fontes"
  693. #. type: menuentry
  694. #: guix-git/doc/contributing.texi:402
  695. msgid "Fond of fonts."
  696. msgstr "Vício em fontes."
  697. #. type: cindex
  698. #: guix-git/doc/contributing.texi:408
  699. #, no-wrap
  700. msgid "free software"
  701. msgstr "software livre"
  702. #. type: Plain text
  703. #: guix-git/doc/contributing.texi:416
  704. 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."
  705. msgstr ""
  706. #. type: Plain text
  707. #: guix-git/doc/contributing.texi:422
  708. 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."
  709. msgstr ""
  710. #. type: Plain text
  711. #: guix-git/doc/contributing.texi:430
  712. 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."
  713. 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."
  714. #. type: cindex
  715. #: guix-git/doc/contributing.texi:435
  716. #, no-wrap
  717. msgid "package name"
  718. msgstr "nome de pacote"
  719. #. type: Plain text
  720. #: guix-git/doc/contributing.texi:443
  721. #, fuzzy
  722. 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}."
  723. 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}."
  724. #. type: Plain text
  725. #: guix-git/doc/contributing.texi:448
  726. 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}."
  727. 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}."
  728. #. type: Plain text
  729. #: guix-git/doc/contributing.texi:456
  730. 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."
  731. msgstr ""
  732. #. type: Plain text
  733. #: guix-git/doc/contributing.texi:461
  734. 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."
  735. 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."
  736. #. type: Plain text
  737. #: guix-git/doc/contributing.texi:463
  738. msgid "Font package names are handled differently, @pxref{Fonts}."
  739. msgstr "Nomes de pacote de fontes são lidados de forma diferente. @xref{Fontes}."
  740. #. type: cindex
  741. #: guix-git/doc/contributing.texi:468
  742. #, no-wrap
  743. msgid "package version"
  744. msgstr "versão de pacote"
  745. #. type: Plain text
  746. #: guix-git/doc/contributing.texi:477
  747. 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."
  748. 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."
  749. #. type: Plain text
  750. #: guix-git/doc/contributing.texi:480
  751. msgid "The name inside the package definition is the same for all versions of a package and does not contain any version number."
  752. 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."
  753. #. type: Plain text
  754. #: guix-git/doc/contributing.texi:482
  755. msgid "For instance, the versions 2.24.20 and 3.9.12 of GTK+ may be packaged as follows:"
  756. msgstr "Por exemplo, as versões 2.24.20 e 3.9.12 do GTK podem ser empacotados da seguinte forma:"
  757. #. type: lisp
  758. #: guix-git/doc/contributing.texi:494
  759. #, no-wrap
  760. msgid ""
  761. "(define-public gtk+\n"
  762. " (package\n"
  763. " (name \"gtk+\")\n"
  764. " (version \"3.9.12\")\n"
  765. " ...))\n"
  766. "(define-public gtk+-2\n"
  767. " (package\n"
  768. " (name \"gtk+\")\n"
  769. " (version \"2.24.20\")\n"
  770. " ...))\n"
  771. msgstr ""
  772. "(define-public gtk+\n"
  773. " (package\n"
  774. " (name \"gtk+\")\n"
  775. " (version \"3.9.12\")\n"
  776. " ...))\n"
  777. "(define-public gtk+-2\n"
  778. " (package\n"
  779. " (name \"gtk+\")\n"
  780. " (version \"2.24.20\")\n"
  781. " ...))\n"
  782. #. type: Plain text
  783. #: guix-git/doc/contributing.texi:496
  784. msgid "If we also wanted GTK+ 3.8.2, this would be packaged as"
  785. msgstr "Se também quiséssemos GTK 3.8.2, este seria empacotado como"
  786. #. type: lisp
  787. #: guix-git/doc/contributing.texi:502
  788. #, no-wrap
  789. msgid ""
  790. "(define-public gtk+-3.8\n"
  791. " (package\n"
  792. " (name \"gtk+\")\n"
  793. " (version \"3.8.2\")\n"
  794. " ...))\n"
  795. msgstr ""
  796. "(define-public gtk+-3.8\n"
  797. " (package\n"
  798. " (name \"gtk+\")\n"
  799. " (version \"3.8.2\")\n"
  800. " ...))\n"
  801. #. type: cindex
  802. #: guix-git/doc/contributing.texi:506
  803. #, no-wrap
  804. msgid "version number, for VCS snapshots"
  805. msgstr "número de versão, para snapshots de VCS"
  806. #. type: Plain text
  807. #: guix-git/doc/contributing.texi:512
  808. 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?"
  809. 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}?"
  810. #. type: Plain text
  811. #: guix-git/doc/contributing.texi:520
  812. 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:"
  813. 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:"
  814. #. type: example
  815. #: guix-git/doc/contributing.texi:529
  816. #, no-wrap
  817. msgid ""
  818. "2.0.11-3.cabba9e\n"
  819. " ^ ^ ^\n"
  820. " | | `-- upstream commit ID\n"
  821. " | |\n"
  822. " | `--- Guix package revision\n"
  823. " |\n"
  824. "latest upstream version\n"
  825. msgstr ""
  826. "2.0.11-3.cabba9e\n"
  827. " ^ ^ ^\n"
  828. " | | `-- ID do commit do upstream\n"
  829. " | |\n"
  830. " | `--- revisão do pacote do Guix\n"
  831. " |\n"
  832. "versão mais recente do upstream\n"
  833. #. type: Plain text
  834. #: guix-git/doc/contributing.texi:539
  835. 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:"
  836. msgstr ""
  837. #. type: lisp
  838. #: guix-git/doc/contributing.texi:556
  839. #, no-wrap
  840. msgid ""
  841. "(define my-package\n"
  842. " (let ((commit \"c3f29bc928d5900971f65965feaae59e1272a3f7\")\n"
  843. " (revision \"1\")) ;Guix package revision\n"
  844. " (package\n"
  845. " (version (git-version \"0.9\" revision commit))\n"
  846. " (source (origin\n"
  847. " (method git-fetch)\n"
  848. " (uri (git-reference\n"
  849. " (url \"git://example.org/my-package.git\")\n"
  850. " (commit commit)))\n"
  851. " (sha256 (base32 \"1mbikn@dots{}\"))\n"
  852. " (file-name (git-file-name name version))))\n"
  853. " ;; @dots{}\n"
  854. " )))\n"
  855. msgstr ""
  856. "(define meu-pacote\n"
  857. " (let ((commit \"c3f29bc928d5900971f65965feaae59e1272a3f7\")\n"
  858. " (revision \"1\")) ;revisão do pacote do Guix\n"
  859. " (package\n"
  860. " (version (git-version \"0.9\" revision commit))\n"
  861. " (source (origin\n"
  862. " (method git-fetch)\n"
  863. " (uri (git-reference\n"
  864. " (url \"git://example.org/meu-pacote.git\")\n"
  865. " (commit commit)))\n"
  866. " (sha256 (base32 \"1mbikn@dots{}\"))\n"
  867. " (file-name (git-file-name name version))))\n"
  868. " ;; @dots{}\n"
  869. " )))\n"
  870. #. type: deffn
  871. #: guix-git/doc/contributing.texi:558
  872. #, no-wrap
  873. msgid "{Scheme Procedure} git-version @var{VERSION} @var{REVISION} @var{COMMIT}"
  874. msgstr ""
  875. #. type: deffn
  876. #: guix-git/doc/contributing.texi:560
  877. msgid "Return the version string for packages using @code{git-fetch}."
  878. msgstr ""
  879. #. type: lisp
  880. #: guix-git/doc/contributing.texi:564
  881. #, no-wrap
  882. msgid ""
  883. "(git-version \"0.2.3\" \"0\" \"93818c936ee7e2f1ba1b315578bde363a7d43d05\")\n"
  884. "@result{} \"0.2.3-0.93818c9\"\n"
  885. msgstr ""
  886. #. type: deffn
  887. #: guix-git/doc/contributing.texi:567
  888. #, no-wrap
  889. msgid "{Scheme Procedure} hg-version @var{VERSION} @var{REVISION} @var{CHANGESET}"
  890. msgstr ""
  891. #. type: deffn
  892. #: guix-git/doc/contributing.texi:570
  893. msgid "Return the version string for packages using @code{hg-fetch}. It works in the same way as @code{git-version}."
  894. msgstr ""
  895. #. type: cindex
  896. #: guix-git/doc/contributing.texi:575
  897. #, no-wrap
  898. msgid "package description"
  899. msgstr "descrição do pacote"
  900. #. type: cindex
  901. #: guix-git/doc/contributing.texi:576
  902. #, no-wrap
  903. msgid "package synopsis"
  904. msgstr "sinopse do pacote"
  905. #. type: Plain text
  906. #: guix-git/doc/contributing.texi:583
  907. 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."
  908. 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."
  909. #. type: Plain text
  910. #: guix-git/doc/contributing.texi:591
  911. 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''."
  912. 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''."
  913. #. type: Plain text
  914. #: guix-git/doc/contributing.texi:601
  915. 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."
  916. 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."
  917. #. type: Plain text
  918. #: guix-git/doc/contributing.texi:609
  919. 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."
  920. 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."
  921. #. type: cindex
  922. #: guix-git/doc/contributing.texi:610
  923. #, no-wrap
  924. msgid "Texinfo markup, in package descriptions"
  925. msgstr "Marcação Texinfo, em descrições de pacote"
  926. #. type: Plain text
  927. #: guix-git/doc/contributing.texi:619
  928. 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."
  929. 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."
  930. #. type: Plain text
  931. #: guix-git/doc/contributing.texi:625
  932. 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."
  933. msgstr ""
  934. #. type: Plain text
  935. #: guix-git/doc/contributing.texi:630
  936. 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:"
  937. 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:"
  938. #. type: lisp
  939. #: guix-git/doc/contributing.texi:636
  940. #, no-wrap
  941. msgid ""
  942. "(package\n"
  943. " ;; @dots{}\n"
  944. " (synopsis \"This is translatable\")\n"
  945. " (description (string-append \"This is \" \"*not*\" \" translatable.\")))\n"
  946. msgstr ""
  947. "(package\n"
  948. " ;; @dots{}\n"
  949. " (synopsis \"Isso é traduzível\")\n"
  950. " (description (string-append \"Isso \" \"*não*\" \" é traduzível.\")))\n"
  951. #. type: Plain text
  952. #: guix-git/doc/contributing.texi:644
  953. 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}):"
  954. 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}):"
  955. #. type: lisp
  956. #: guix-git/doc/contributing.texi:649
  957. #, no-wrap
  958. msgid ""
  959. ";; TRANSLATORS: \"X11 resize-and-rotate\" should not be translated.\n"
  960. "(description \"ARandR is designed to provide a simple visual front end\n"
  961. "for the X11 resize-and-rotate (RandR) extension. @dots{}\")\n"
  962. msgstr ""
  963. ";; TRANSLATORS: \"X11 resize-and-rotate\" should not be translated.\n"
  964. "(description \"ARandR is designed to provide a simple visual front end\n"
  965. "for the X11 resize-and-rotate (RandR) extension. @dots{}\")\n"
  966. #. type: cindex
  967. #: guix-git/doc/contributing.texi:654
  968. #, no-wrap
  969. msgid "snippets, when to use"
  970. msgstr ""
  971. #. type: Plain text
  972. #: guix-git/doc/contributing.texi:665
  973. 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})."
  974. msgstr ""
  975. #. type: cindex
  976. #: guix-git/doc/contributing.texi:669
  977. #, no-wrap
  978. msgid "emacs, packaging"
  979. msgstr ""
  980. #. type: cindex
  981. #: guix-git/doc/contributing.texi:670
  982. #, no-wrap
  983. msgid "elisp, packaging"
  984. msgstr ""
  985. #. type: Plain text
  986. #: guix-git/doc/contributing.texi:682
  987. 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."
  988. msgstr ""
  989. #. type: Plain text
  990. #: guix-git/doc/contributing.texi:687
  991. 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}."
  992. msgstr ""
  993. #. type: Plain text
  994. #: guix-git/doc/contributing.texi:696
  995. 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:"
  996. msgstr ""
  997. #. type: lisp
  998. #: guix-git/doc/contributing.texi:699
  999. #, no-wrap
  1000. msgid "#:include (cons \"^snippets/\" %default-include))\n"
  1001. msgstr ""
  1002. #. type: Plain text
  1003. #: guix-git/doc/contributing.texi:705
  1004. 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."
  1005. msgstr ""
  1006. #. type: cindex
  1007. #: guix-git/doc/contributing.texi:709
  1008. #, no-wrap
  1009. msgid "python"
  1010. msgstr "python"
  1011. #. type: Plain text
  1012. #: guix-git/doc/contributing.texi:715
  1013. 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}."
  1014. 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}."
  1015. #. type: Plain text
  1016. #: guix-git/doc/contributing.texi:722
  1017. 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."
  1018. msgstr ""
  1019. #. type: Plain text
  1020. #: guix-git/doc/contributing.texi:728
  1021. 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."
  1022. 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."
  1023. #. type: subsubsection
  1024. #: guix-git/doc/contributing.texi:729
  1025. #, no-wrap
  1026. msgid "Specifying Dependencies"
  1027. msgstr "Especificando dependências"
  1028. #. type: cindex
  1029. #: guix-git/doc/contributing.texi:730
  1030. #, no-wrap
  1031. msgid "inputs, for Python packages"
  1032. msgstr "entradas, para pacotes Python"
  1033. #. type: Plain text
  1034. #: guix-git/doc/contributing.texi:735
  1035. 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}."
  1036. 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}."
  1037. #. type: Plain text
  1038. #: guix-git/doc/contributing.texi:741
  1039. 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."
  1040. 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."
  1041. #. type: itemize
  1042. #: guix-git/doc/contributing.texi:749
  1043. 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."
  1044. 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."
  1045. #. type: itemize
  1046. #: guix-git/doc/contributing.texi:755
  1047. 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."
  1048. 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}."
  1049. #. type: itemize
  1050. #: guix-git/doc/contributing.texi:763
  1051. 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."
  1052. 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."
  1053. #. type: itemize
  1054. #: guix-git/doc/contributing.texi:767
  1055. 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}."
  1056. 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}."
  1057. #. type: itemize
  1058. #: guix-git/doc/contributing.texi:772
  1059. 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."
  1060. 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."
  1061. #. type: itemize
  1062. #: guix-git/doc/contributing.texi:778
  1063. 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}})."
  1064. 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}})."
  1065. #. type: cindex
  1066. #: guix-git/doc/contributing.texi:785
  1067. #, no-wrap
  1068. msgid "perl"
  1069. msgstr "perl"
  1070. #. type: Plain text
  1071. #: guix-git/doc/contributing.texi:796
  1072. 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}."
  1073. 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}."
  1074. #. type: cindex
  1075. #: guix-git/doc/contributing.texi:801
  1076. #, no-wrap
  1077. msgid "java"
  1078. msgstr "java"
  1079. #. type: Plain text
  1080. #: guix-git/doc/contributing.texi:804
  1081. msgid "Java programs standing for themselves are named as any other package, using the lowercase upstream name."
  1082. msgstr "Os programas Java próprios são nomeados como qualquer outro pacote, usando o nome do upstream em letras minúsculas."
  1083. #. type: Plain text
  1084. #: guix-git/doc/contributing.texi:810
  1085. 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}."
  1086. 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}."
  1087. #. type: Plain text
  1088. #: guix-git/doc/contributing.texi:816
  1089. 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}."
  1090. 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}."
  1091. #. type: cindex
  1092. #: guix-git/doc/contributing.texi:821
  1093. #, no-wrap
  1094. msgid "rust"
  1095. msgstr ""
  1096. #. type: Plain text
  1097. #: guix-git/doc/contributing.texi:824
  1098. msgid "Rust programs standing for themselves are named as any other package, using the lowercase upstream name."
  1099. msgstr ""
  1100. #. type: Plain text
  1101. #: guix-git/doc/contributing.texi:828
  1102. 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."
  1103. msgstr ""
  1104. #. type: Plain text
  1105. #: guix-git/doc/contributing.texi:834
  1106. 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}."
  1107. msgstr ""
  1108. #. type: Plain text
  1109. #: guix-git/doc/contributing.texi:844
  1110. 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."
  1111. msgstr ""
  1112. #. type: Plain text
  1113. #: guix-git/doc/contributing.texi:850
  1114. 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."
  1115. msgstr ""
  1116. #. type: cindex
  1117. #: guix-git/doc/contributing.texi:855 guix-git/doc/guix.texi:1896
  1118. #, no-wrap
  1119. msgid "fonts"
  1120. msgstr "fontes"
  1121. #. type: Plain text
  1122. #: guix-git/doc/contributing.texi:861
  1123. 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."
  1124. 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."
  1125. #. type: Plain text
  1126. #: guix-git/doc/contributing.texi:865
  1127. 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."
  1128. 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."
  1129. #. type: Plain text
  1130. #: guix-git/doc/contributing.texi:873
  1131. 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}."
  1132. 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}."
  1133. #. type: Plain text
  1134. #: guix-git/doc/contributing.texi:882
  1135. 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}."
  1136. 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}."
  1137. #. type: Plain text
  1138. #: guix-git/doc/contributing.texi:888
  1139. 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."
  1140. 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."
  1141. #. type: Plain text
  1142. #: guix-git/doc/contributing.texi:896
  1143. 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."
  1144. 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."
  1145. #. type: subsection
  1146. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:904
  1147. #: guix-git/doc/contributing.texi:905
  1148. #, no-wrap
  1149. msgid "Programming Paradigm"
  1150. msgstr "Paradigma de programação"
  1151. #. type: menuentry
  1152. #: guix-git/doc/contributing.texi:902
  1153. msgid "How to compose your elements."
  1154. msgstr "Como compor seus elementos."
  1155. #. type: subsection
  1156. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:911
  1157. #: guix-git/doc/contributing.texi:912
  1158. #, no-wrap
  1159. msgid "Modules"
  1160. msgstr "Módulos"
  1161. #. type: menuentry
  1162. #: guix-git/doc/contributing.texi:902
  1163. msgid "Where to store your code?"
  1164. msgstr "Onde armazenar seu código?"
  1165. #. type: subsection
  1166. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:922
  1167. #: guix-git/doc/contributing.texi:923
  1168. #, no-wrap
  1169. msgid "Data Types and Pattern Matching"
  1170. msgstr "Tipos de dados e correspondência de padrão"
  1171. #. type: menuentry
  1172. #: guix-git/doc/contributing.texi:902
  1173. msgid "Implementing data structures."
  1174. msgstr "Implementação de estruturas de dados."
  1175. #. type: subsection
  1176. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:937
  1177. #: guix-git/doc/contributing.texi:938
  1178. #, no-wrap
  1179. msgid "Formatting Code"
  1180. msgstr "Formatação de código"
  1181. #. type: menuentry
  1182. #: guix-git/doc/contributing.texi:902
  1183. msgid "Writing conventions."
  1184. msgstr "Convenções de escrita."
  1185. #. type: Plain text
  1186. #: guix-git/doc/contributing.texi:910
  1187. 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."
  1188. 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}."
  1189. #. type: Plain text
  1190. #: guix-git/doc/contributing.texi:918
  1191. 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."
  1192. 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."
  1193. #. type: Plain text
  1194. #: guix-git/doc/contributing.texi:921
  1195. msgid "Modules that deal with the broader GNU system should be in the @code{(gnu @dots{})} name space rather than @code{(guix @dots{})}."
  1196. 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{})}."
  1197. #. type: Plain text
  1198. #: guix-git/doc/contributing.texi:930
  1199. 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."
  1200. 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."
  1201. #. type: Plain text
  1202. #: guix-git/doc/contributing.texi:936
  1203. 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})."
  1204. msgstr ""
  1205. #. type: cindex
  1206. #: guix-git/doc/contributing.texi:940
  1207. #, no-wrap
  1208. msgid "formatting code"
  1209. msgstr "formatação de código"
  1210. #. type: cindex
  1211. #: guix-git/doc/contributing.texi:941
  1212. #, no-wrap
  1213. msgid "coding style"
  1214. msgstr "estilo de codificação"
  1215. #. type: Plain text
  1216. #: guix-git/doc/contributing.texi:948
  1217. 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."
  1218. msgstr ""
  1219. #. type: Plain text
  1220. #: guix-git/doc/contributing.texi:955
  1221. 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})."
  1222. 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})."
  1223. #. type: cindex
  1224. #: guix-git/doc/contributing.texi:956
  1225. #, no-wrap
  1226. msgid "indentation, of code"
  1227. msgstr "recuo, de código"
  1228. #. type: cindex
  1229. #: guix-git/doc/contributing.texi:957
  1230. #, no-wrap
  1231. msgid "formatting, of code"
  1232. msgstr "formatação, de código"
  1233. #. type: Plain text
  1234. #: guix-git/doc/contributing.texi:960
  1235. 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:"
  1236. 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:"
  1237. #. type: example
  1238. #: guix-git/doc/contributing.texi:963
  1239. #, no-wrap
  1240. msgid "./etc/indent-code.el gnu/packages/@var{file}.scm @var{package}\n"
  1241. msgstr "./etc/indent-code.el gnu/packages/@var{arquivo}.scm @var{pacote}\n"
  1242. #. type: Plain text
  1243. #: guix-git/doc/contributing.texi:969
  1244. 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:"
  1245. 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:"
  1246. #. type: example
  1247. #: guix-git/doc/contributing.texi:972
  1248. #, no-wrap
  1249. msgid "./etc/indent-code.el gnu/services/@var{file}.scm\n"
  1250. msgstr "./etc/indent-code.el gnu/services/@var{arquivo}.scm\n"
  1251. #. type: cindex
  1252. #: guix-git/doc/contributing.texi:974
  1253. #, no-wrap
  1254. msgid "Vim, Scheme code editing"
  1255. msgstr "Vim, edição de código Scheme"
  1256. #. type: Plain text
  1257. #: guix-git/doc/contributing.texi:980
  1258. 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."
  1259. 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."
  1260. #. type: Plain text
  1261. #: guix-git/doc/contributing.texi:984
  1262. 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."
  1263. 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{})}."
  1264. #. type: Plain text
  1265. #: guix-git/doc/contributing.texi:987
  1266. msgid "Procedures should not have more than four positional parameters. Use keyword parameters for procedures that take more than four parameters."
  1267. 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."
  1268. #. type: Plain text
  1269. #: guix-git/doc/contributing.texi:998
  1270. 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. Seasoned Guix developers may also want to look at the section on commit access (@pxref{Commit Access})."
  1271. msgstr ""
  1272. #. type: Plain text
  1273. #: guix-git/doc/contributing.texi:1005
  1274. 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})."
  1275. msgstr ""
  1276. #. type: Plain text
  1277. #: guix-git/doc/contributing.texi:1009
  1278. msgid "Please write commit logs in the ChangeLog format (@pxref{Change Logs,,, standards, GNU Coding Standards}); you can check the commit history for examples."
  1279. 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."
  1280. #. type: Plain text
  1281. #: guix-git/doc/contributing.texi:1012
  1282. msgid "Before submitting a patch that adds or modifies a package definition, please run through this check list:"
  1283. msgstr "Antes de enviar um patch que adicione ou modifique uma definição de pacote, execute esta lista de verificação:"
  1284. #. type: enumerate
  1285. #: guix-git/doc/contributing.texi:1019
  1286. 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."
  1287. 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}."
  1288. #. type: enumerate
  1289. #: guix-git/doc/contributing.texi:1023
  1290. msgid "Take some time to provide an adequate synopsis and description for the package. @xref{Synopses and Descriptions}, for some guidelines."
  1291. msgstr "Reserve algum tempo para fornecer uma sinopse e descrição adequadas para o pacote. @xref{Sinopses e descrições}, para algumas diretrizes."
  1292. #. type: enumerate
  1293. #: guix-git/doc/contributing.texi:1028
  1294. 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})."
  1295. 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})."
  1296. #. type: enumerate
  1297. #: guix-git/doc/contributing.texi:1032
  1298. msgid "Make sure the package builds on your platform, using @code{guix build @var{package}}."
  1299. msgstr "Certifique-se de que o pacote compila em sua plataforma, usando @code{guix build @var{pacote}}."
  1300. #. type: enumerate
  1301. #: guix-git/doc/contributing.texi:1040
  1302. #, fuzzy
  1303. #| 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:"
  1304. 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:"
  1305. 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}:"
  1306. #. type: lisp
  1307. #: guix-git/doc/contributing.texi:1045
  1308. #, no-wrap
  1309. msgid ""
  1310. "(service qemu-binfmt-service-type\n"
  1311. " (qemu-binfmt-configuration\n"
  1312. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  1313. msgstr ""
  1314. #. type: enumerate
  1315. #: guix-git/doc/contributing.texi:1048
  1316. msgid "Then reconfigure your system."
  1317. msgstr "Então, reconfigure seu sistema."
  1318. #. type: enumerate
  1319. #: guix-git/doc/contributing.texi:1053
  1320. #, fuzzy
  1321. #| 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:"
  1322. 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:"
  1323. 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:"
  1324. #. type: example
  1325. #: guix-git/doc/contributing.texi:1056
  1326. #, no-wrap
  1327. msgid ""
  1328. "guix build --system=armhf-linux --rounds=2 hello\n"
  1329. "guix build --system=aarch64-linux --rounds=2 hello\n"
  1330. msgstr ""
  1331. #. type: cindex
  1332. #: guix-git/doc/contributing.texi:1059
  1333. #, no-wrap
  1334. msgid "bundling"
  1335. msgstr "incorporando"
  1336. #. type: enumerate
  1337. #: guix-git/doc/contributing.texi:1062
  1338. msgid "Make sure the package does not use bundled copies of software already available as separate packages."
  1339. msgstr "Verifique se o pacote não usa cópias de software já disponíveis como pacotes separados."
  1340. #. type: enumerate
  1341. #: guix-git/doc/contributing.texi:1071
  1342. 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."
  1343. 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."
  1344. #. type: enumerate
  1345. #: guix-git/doc/contributing.texi:1080
  1346. 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."
  1347. msgstr ""
  1348. #. type: enumerate
  1349. #: guix-git/doc/contributing.texi:1085
  1350. #, fuzzy
  1351. #| 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})."
  1352. 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})."
  1353. 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})."
  1354. #. type: cindex
  1355. #: guix-git/doc/contributing.texi:1087
  1356. #, no-wrap
  1357. msgid "branching strategy"
  1358. msgstr "estratégia de ramificação"
  1359. #. type: cindex
  1360. #: guix-git/doc/contributing.texi:1088
  1361. #, no-wrap
  1362. msgid "rebuild scheduling strategy"
  1363. msgstr "estratégia de agendamento de recompilação"
  1364. #. type: enumerate
  1365. #: guix-git/doc/contributing.texi:1091
  1366. msgid "Depending on the number of dependent packages and thus the amount of rebuilding induced, commits go to different branches, along these lines:"
  1367. 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:"
  1368. #. type: item
  1369. #: guix-git/doc/contributing.texi:1093
  1370. #, no-wrap
  1371. msgid "300 dependent packages or less"
  1372. msgstr "300 pacotes dependentes ou menos"
  1373. #. type: table
  1374. #: guix-git/doc/contributing.texi:1095
  1375. msgid "@code{master} branch (non-disruptive changes)."
  1376. msgstr "Ramo @code{master} (alterações não disruptivas)."
  1377. #. type: item
  1378. #: guix-git/doc/contributing.texi:1096
  1379. #, no-wrap
  1380. msgid "between 300 and 1,800 dependent packages"
  1381. msgstr ""
  1382. #. type: table
  1383. #: guix-git/doc/contributing.texi:1102
  1384. 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."
  1385. msgstr ""
  1386. #. type: item
  1387. #: guix-git/doc/contributing.texi:1103
  1388. #, no-wrap
  1389. msgid "more than 1,800 dependent packages"
  1390. msgstr ""
  1391. #. type: table
  1392. #: guix-git/doc/contributing.texi:1108
  1393. 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."
  1394. msgstr ""
  1395. #. type: enumerate
  1396. #: guix-git/doc/contributing.texi:1115
  1397. 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."
  1398. msgstr ""
  1399. #. type: enumerate
  1400. #: guix-git/doc/contributing.texi:1124
  1401. 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."
  1402. msgstr ""
  1403. #. type: cindex
  1404. #: guix-git/doc/contributing.texi:1126
  1405. #, no-wrap
  1406. msgid "determinism, of build processes"
  1407. msgstr "determinismo, de processos de compilação"
  1408. #. type: cindex
  1409. #: guix-git/doc/contributing.texi:1127
  1410. #, no-wrap
  1411. msgid "reproducible builds, checking"
  1412. msgstr "compilações reproduzíveis, verificação"
  1413. #. type: enumerate
  1414. #: guix-git/doc/contributing.texi:1131
  1415. 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."
  1416. 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."
  1417. #. type: enumerate
  1418. #: guix-git/doc/contributing.texi:1134
  1419. 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}):"
  1420. msgstr "Uma maneira simples de fazer isso é compilar o mesmo pacote várias vezes seguidas em sua máquina (@pxref{Invocando guix build}):"
  1421. #. type: example
  1422. #: guix-git/doc/contributing.texi:1137
  1423. #, no-wrap
  1424. msgid "guix build --rounds=2 my-package\n"
  1425. msgstr "guix build --rounds=2 meu-pacote\n"
  1426. #. type: enumerate
  1427. #: guix-git/doc/contributing.texi:1141
  1428. msgid "This is enough to catch a class of common non-determinism issues, such as timestamps or randomly-generated output in the build result."
  1429. 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."
  1430. #. type: enumerate
  1431. #: guix-git/doc/contributing.texi:1151
  1432. #, fuzzy
  1433. #| 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."
  1434. 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."
  1435. 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}."
  1436. #. type: enumerate
  1437. #: guix-git/doc/contributing.texi:1157
  1438. 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."
  1439. 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."
  1440. #. type: enumerate
  1441. #: guix-git/doc/contributing.texi:1161
  1442. msgid "Verify that your patch contains only one set of related changes. Bundling unrelated changes together makes reviewing harder and slower."
  1443. 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."
  1444. #. type: enumerate
  1445. #: guix-git/doc/contributing.texi:1164
  1446. msgid "Examples of unrelated changes include the addition of several packages, or a package update along with fixes to that package."
  1447. 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."
  1448. #. type: enumerate
  1449. #: guix-git/doc/contributing.texi:1169
  1450. 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})."
  1451. 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})."
  1452. #. type: enumerate
  1453. #: guix-git/doc/contributing.texi:1177
  1454. 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."
  1455. 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."
  1456. #. type: enumerate
  1457. #: guix-git/doc/contributing.texi:1181
  1458. msgid "Check if Guix builds (@pxref{Building from Git}) and address the warnings, especially those about use of undefined symbols."
  1459. msgstr ""
  1460. #. type: enumerate
  1461. #: guix-git/doc/contributing.texi:1184
  1462. msgid "Make sure your changes do not break Guix and simulate a @code{guix pull} with:"
  1463. msgstr ""
  1464. #. type: example
  1465. #: guix-git/doc/contributing.texi:1186
  1466. #, no-wrap
  1467. msgid "guix pull --url=/path/to/your/checkout --profile=/tmp/guix.master\n"
  1468. msgstr ""
  1469. #. type: Plain text
  1470. #: guix-git/doc/contributing.texi:1199
  1471. 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."
  1472. msgstr ""
  1473. #. type: Plain text
  1474. #: guix-git/doc/contributing.texi:1204
  1475. 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."
  1476. msgstr ""
  1477. #. type: Plain text
  1478. #: guix-git/doc/contributing.texi:1207
  1479. msgid "When a bug is resolved, please close the thread by sending an email to @email{@var{NNN}-done@@debbugs.gnu.org}."
  1480. msgstr "Quando um erro for resolvido, feche o tópico enviando um e-mail para @email{@var{NNN}-done@@debbugs.gnu.org}."
  1481. #. type: anchor{#1}
  1482. #: guix-git/doc/contributing.texi:1208 guix-git/doc/contributing.texi:1210
  1483. #, no-wrap
  1484. msgid "Sending a Patch Series"
  1485. msgstr "Enviando uma série de patches"
  1486. #. type: cindex
  1487. #: guix-git/doc/contributing.texi:1210
  1488. #, no-wrap
  1489. msgid "patch series"
  1490. msgstr "série de patches"
  1491. #. type: code{#1}
  1492. #: guix-git/doc/contributing.texi:1211
  1493. #, no-wrap
  1494. msgid "git send-email"
  1495. msgstr "git send-email"
  1496. #. type: code{#1}
  1497. #: guix-git/doc/contributing.texi:1212
  1498. #, no-wrap
  1499. msgid "git-send-email"
  1500. msgstr "git-send-email"
  1501. #. type: Plain text
  1502. #: guix-git/doc/contributing.texi:1222
  1503. 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}."
  1504. msgstr ""
  1505. #. type: Plain text
  1506. #: guix-git/doc/contributing.texi:1228
  1507. msgid "This section describes how the Guix project tracks its bug reports and patch submissions."
  1508. msgstr ""
  1509. #. type: subsection
  1510. #: guix-git/doc/contributing.texi:1233 guix-git/doc/contributing.texi:1235
  1511. #: guix-git/doc/contributing.texi:1236
  1512. #, no-wrap
  1513. msgid "The Issue Tracker"
  1514. msgstr ""
  1515. #. type: menuentry
  1516. #: guix-git/doc/contributing.texi:1233
  1517. msgid "The official bug and patch tracker."
  1518. msgstr ""
  1519. #. type: subsection
  1520. #: guix-git/doc/contributing.texi:1233 guix-git/doc/contributing.texi:1249
  1521. #: guix-git/doc/contributing.texi:1250
  1522. #, fuzzy, no-wrap
  1523. #| msgid "user interfaces"
  1524. msgid "Debbugs User Interfaces"
  1525. msgstr "interfaces de usuário"
  1526. #. type: menuentry
  1527. #: guix-git/doc/contributing.texi:1233
  1528. msgid "Ways to interact with Debbugs."
  1529. msgstr ""
  1530. #. type: subsection
  1531. #: guix-git/doc/contributing.texi:1233 guix-git/doc/contributing.texi:1289
  1532. #: guix-git/doc/contributing.texi:1290
  1533. #, no-wrap
  1534. msgid "Debbugs Usertags"
  1535. msgstr ""
  1536. #. type: menuentry
  1537. #: guix-git/doc/contributing.texi:1233
  1538. msgid "Tag reports with custom labels."
  1539. msgstr ""
  1540. #. type: cindex
  1541. #: guix-git/doc/contributing.texi:1238
  1542. #, no-wrap
  1543. msgid "bug reports, tracking"
  1544. msgstr ""
  1545. #. type: cindex
  1546. #: guix-git/doc/contributing.texi:1239
  1547. #, no-wrap
  1548. msgid "patch submissions, tracking"
  1549. msgstr ""
  1550. #. type: cindex
  1551. #: guix-git/doc/contributing.texi:1240
  1552. #, no-wrap
  1553. msgid "issue tracking"
  1554. msgstr ""
  1555. #. type: cindex
  1556. #: guix-git/doc/contributing.texi:1241
  1557. #, no-wrap
  1558. msgid "Debbugs, issue tracking system"
  1559. msgstr ""
  1560. #. type: Plain text
  1561. #: guix-git/doc/contributing.texi:1248
  1562. 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})."
  1563. msgstr ""
  1564. #. type: Plain text
  1565. #: guix-git/doc/contributing.texi:1254
  1566. msgid "A web interface (actually @emph{two} web interfaces!) are available to browse issues:"
  1567. msgstr ""
  1568. #. type: itemize
  1569. #: guix-git/doc/contributing.texi:1263
  1570. 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;"
  1571. msgstr ""
  1572. #. type: itemize
  1573. #: guix-git/doc/contributing.texi:1265
  1574. msgid "@url{https://bugs.gnu.org/guix} lists bug reports;"
  1575. msgstr ""
  1576. #. type: itemize
  1577. #: guix-git/doc/contributing.texi:1267
  1578. msgid "@url{https://bugs.gnu.org/guix-patches} lists patch submissions."
  1579. msgstr ""
  1580. #. type: Plain text
  1581. #: guix-git/doc/contributing.texi:1272
  1582. 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}}."
  1583. msgstr ""
  1584. #. type: Plain text
  1585. #: guix-git/doc/contributing.texi:1275
  1586. msgid "If you use Emacs, you may find it more convenient to interact with issues using @file{debbugs.el}, which you can install with:"
  1587. msgstr ""
  1588. #. type: example
  1589. #: guix-git/doc/contributing.texi:1278
  1590. #, no-wrap
  1591. msgid "guix install emacs-debbugs\n"
  1592. msgstr ""
  1593. #. type: Plain text
  1594. #: guix-git/doc/contributing.texi:1281
  1595. msgid "For example, to list all open issues on @code{guix-patches}, hit:"
  1596. msgstr ""
  1597. #. type: example
  1598. #: guix-git/doc/contributing.texi:1284
  1599. #, no-wrap
  1600. msgid "@kbd{C-u} @kbd{M-x} debbugs-gnu @kbd{RET} @kbd{RET} guix-patches @kbd{RET} n y\n"
  1601. msgstr ""
  1602. #. type: Plain text
  1603. #: guix-git/doc/contributing.texi:1288
  1604. msgid "@xref{Top,,, debbugs-ug, Debbugs User Guide}, for more information on this nifty tool!"
  1605. msgstr ""
  1606. #. type: cindex
  1607. #: guix-git/doc/contributing.texi:1292
  1608. #, no-wrap
  1609. msgid "usertags, for debbugs"
  1610. msgstr ""
  1611. #. type: cindex
  1612. #: guix-git/doc/contributing.texi:1293
  1613. #, no-wrap
  1614. msgid "Debbugs usertags"
  1615. msgstr ""
  1616. #. type: Plain text
  1617. #: guix-git/doc/contributing.texi:1299
  1618. 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.}."
  1619. msgstr ""
  1620. #. type: Plain text
  1621. #: guix-git/doc/contributing.texi:1305
  1622. 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}."
  1623. msgstr ""
  1624. #. type: Plain text
  1625. #: guix-git/doc/contributing.texi:1309
  1626. 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."
  1627. msgstr ""
  1628. #. type: Plain text
  1629. #: guix-git/doc/contributing.texi:1314
  1630. 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:"
  1631. msgstr ""
  1632. #. type: item
  1633. #: guix-git/doc/contributing.texi:1317 guix-git/doc/guix.texi:535
  1634. #, fuzzy, no-wrap
  1635. msgid "powerpc64le-linux"
  1636. msgstr "aarch64-linux"
  1637. #. type: table
  1638. #: guix-git/doc/contributing.texi:1325
  1639. 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."
  1640. msgstr ""
  1641. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  1642. #. type: item
  1643. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  1644. #. type: cindex
  1645. #: guix-git/doc/contributing.texi:1326 guix-git/doc/guix.texi:3025
  1646. #: guix-git/doc/guix.texi:4713
  1647. #, no-wrap
  1648. msgid "reproducibility"
  1649. msgstr ""
  1650. #. type: table
  1651. #: guix-git/doc/contributing.texi:1330
  1652. 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."
  1653. msgstr ""
  1654. #. type: Plain text
  1655. #: guix-git/doc/contributing.texi:1337
  1656. 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."
  1657. msgstr ""
  1658. #. type: cindex
  1659. #: guix-git/doc/contributing.texi:1341
  1660. #, no-wrap
  1661. msgid "commit access, for developers"
  1662. msgstr ""
  1663. #. type: Plain text
  1664. #: guix-git/doc/contributing.texi:1347
  1665. 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. 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."
  1666. msgstr ""
  1667. #. type: Plain text
  1668. #: guix-git/doc/contributing.texi:1351
  1669. 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."
  1670. msgstr ""
  1671. #. type: subsection
  1672. #: guix-git/doc/contributing.texi:1352
  1673. #, no-wrap
  1674. msgid "Applying for Commit Access"
  1675. msgstr ""
  1676. #. type: Plain text
  1677. #: guix-git/doc/contributing.texi:1356
  1678. msgid "When you deem it necessary, consider applying for commit access by following these steps:"
  1679. msgstr ""
  1680. #. type: enumerate
  1681. #: guix-git/doc/contributing.texi:1365
  1682. 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."
  1683. msgstr ""
  1684. #. type: enumerate
  1685. #: guix-git/doc/contributing.texi:1371
  1686. 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''."
  1687. msgstr ""
  1688. #. type: enumerate
  1689. #: guix-git/doc/contributing.texi:1378
  1690. 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."
  1691. msgstr ""
  1692. #. type: enumerate
  1693. #: guix-git/doc/contributing.texi:1384
  1694. 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}):"
  1695. msgstr ""
  1696. #. type: example
  1697. #: guix-git/doc/contributing.texi:1387
  1698. #, no-wrap
  1699. msgid "digest-algo sha512\n"
  1700. msgstr ""
  1701. #. type: enumerate
  1702. #: guix-git/doc/contributing.texi:1392
  1703. msgid "Maintainers ultimately decide whether to grant you commit access, usually following your referrals' recommendation."
  1704. msgstr ""
  1705. #. type: cindex
  1706. #: guix-git/doc/contributing.texi:1394
  1707. #, no-wrap
  1708. msgid "OpenPGP, signed commits"
  1709. msgstr ""
  1710. #. type: enumerate
  1711. #: guix-git/doc/contributing.texi:1399
  1712. 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."
  1713. msgstr ""
  1714. #. type: quotation
  1715. #: guix-git/doc/contributing.texi:1400 guix-git/doc/guix.texi:16870
  1716. #, no-wrap
  1717. msgid "Important"
  1718. msgstr ""
  1719. #. type: quotation
  1720. #: guix-git/doc/contributing.texi:1402
  1721. msgid "Before you can push for the first time, maintainers must:"
  1722. msgstr ""
  1723. #. type: enumerate
  1724. #: guix-git/doc/contributing.texi:1406
  1725. msgid "add your OpenPGP key to the @code{keyring} branch;"
  1726. msgstr ""
  1727. #. type: enumerate
  1728. #: guix-git/doc/contributing.texi:1409
  1729. msgid "add your OpenPGP fingerprint to the @file{.guix-authorizations} file of the branch(es) you will commit to."
  1730. msgstr ""
  1731. #. type: enumerate
  1732. #: guix-git/doc/contributing.texi:1414
  1733. msgid "Make sure to read the rest of this section and... profit!"
  1734. msgstr ""
  1735. #. type: quotation
  1736. #: guix-git/doc/contributing.texi:1420
  1737. 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!"
  1738. msgstr ""
  1739. #. type: quotation
  1740. #: guix-git/doc/contributing.texi:1424
  1741. 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!"
  1742. msgstr ""
  1743. #. type: Plain text
  1744. #: guix-git/doc/contributing.texi:1431
  1745. 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:"
  1746. msgstr ""
  1747. #. type: example
  1748. #: guix-git/doc/contributing.texi:1434
  1749. #, no-wrap
  1750. msgid ""
  1751. "git config commit.gpgsign true\n"
  1752. "\n"
  1753. msgstr ""
  1754. #. type: example
  1755. #: guix-git/doc/contributing.texi:1437
  1756. #, no-wrap
  1757. msgid ""
  1758. "# Substitute the fingerprint of your public PGP key.\n"
  1759. "git config user.signingkey CABBA6EA1DC0FF33\n"
  1760. msgstr ""
  1761. #. type: Plain text
  1762. #: guix-git/doc/contributing.texi:1442
  1763. 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}:"
  1764. msgstr ""
  1765. #. type: example
  1766. #: guix-git/doc/contributing.texi:1445
  1767. #, no-wrap
  1768. msgid "cp etc/git/pre-push .git/hooks/pre-push\n"
  1769. msgstr ""
  1770. #. type: subsection
  1771. #: guix-git/doc/contributing.texi:1447
  1772. #, no-wrap
  1773. msgid "Commit Policy"
  1774. msgstr ""
  1775. #. type: Plain text
  1776. #: guix-git/doc/contributing.texi:1452
  1777. 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})."
  1778. msgstr ""
  1779. #. type: Plain text
  1780. #: guix-git/doc/contributing.texi:1457
  1781. 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})."
  1782. msgstr ""
  1783. #. type: Plain text
  1784. #: guix-git/doc/contributing.texi:1466
  1785. 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}."
  1786. msgstr ""
  1787. #. type: Plain text
  1788. #: guix-git/doc/contributing.texi:1471
  1789. 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."
  1790. msgstr ""
  1791. #. type: Plain text
  1792. #: guix-git/doc/contributing.texi:1475
  1793. 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:"
  1794. msgstr ""
  1795. #. type: example
  1796. #: guix-git/doc/contributing.texi:1478
  1797. #, no-wrap
  1798. msgid "make check-channel-news\n"
  1799. msgstr ""
  1800. #. type: Plain text
  1801. #: guix-git/doc/contributing.texi:1484
  1802. 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."
  1803. msgstr ""
  1804. #. type: Plain text
  1805. #: guix-git/doc/contributing.texi:1487
  1806. msgid "That last part is subject to being adjusted, allowing individuals to commit directly on non-controversial changes on parts they’re familiar with."
  1807. msgstr ""
  1808. #. type: subsection
  1809. #: guix-git/doc/contributing.texi:1488
  1810. #, no-wrap
  1811. msgid "Addressing Issues"
  1812. msgstr ""
  1813. #. type: Plain text
  1814. #: guix-git/doc/contributing.texi:1499
  1815. 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."
  1816. msgstr ""
  1817. #. type: Plain text
  1818. #: guix-git/doc/contributing.texi:1504
  1819. 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."
  1820. msgstr ""
  1821. #. type: cindex
  1822. #: guix-git/doc/contributing.texi:1505
  1823. #, no-wrap
  1824. msgid "reverting commits"
  1825. msgstr ""
  1826. #. type: Plain text
  1827. #: guix-git/doc/contributing.texi:1511
  1828. 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."
  1829. msgstr ""
  1830. #. type: Plain text
  1831. #: guix-git/doc/contributing.texi:1517
  1832. 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."
  1833. msgstr ""
  1834. #. type: Plain text
  1835. #: guix-git/doc/contributing.texi:1526
  1836. 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."
  1837. msgstr ""
  1838. #. type: subsection
  1839. #: guix-git/doc/contributing.texi:1527
  1840. #, fuzzy, no-wrap
  1841. #| msgid "Log Rotation"
  1842. msgid "Commit Revocation"
  1843. msgstr "Rotação de log"
  1844. #. type: Plain text
  1845. #: guix-git/doc/contributing.texi:1534
  1846. 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."
  1847. msgstr ""
  1848. #. type: Plain text
  1849. #: guix-git/doc/contributing.texi:1544
  1850. 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:"
  1851. msgstr ""
  1852. #. type: item
  1853. #: guix-git/doc/contributing.texi:1546
  1854. #, no-wrap
  1855. msgid "repeated violation of the commit policy stated above;"
  1856. msgstr ""
  1857. #. type: item
  1858. #: guix-git/doc/contributing.texi:1547
  1859. #, no-wrap
  1860. msgid "repeated failure to take peer criticism into account;"
  1861. msgstr ""
  1862. #. type: item
  1863. #: guix-git/doc/contributing.texi:1548
  1864. #, no-wrap
  1865. msgid "breaching trust through a series of grave incidents."
  1866. msgstr ""
  1867. #. type: Plain text
  1868. #: guix-git/doc/contributing.texi:1555
  1869. 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."
  1870. msgstr ""
  1871. #. type: subsection
  1872. #: guix-git/doc/contributing.texi:1556
  1873. #, no-wrap
  1874. msgid "Helping Out"
  1875. msgstr ""
  1876. #. type: Plain text
  1877. #: guix-git/doc/contributing.texi:1563
  1878. 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!"
  1879. msgstr ""
  1880. #. type: cindex
  1881. #: guix-git/doc/contributing.texi:1567
  1882. #, no-wrap
  1883. msgid "update-guix-package, updating the guix package"
  1884. msgstr ""
  1885. #. type: Plain text
  1886. #: guix-git/doc/contributing.texi:1573
  1887. 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:"
  1888. msgstr ""
  1889. #. type: example
  1890. #: guix-git/doc/contributing.texi:1576
  1891. #, no-wrap
  1892. msgid "make update-guix-package\n"
  1893. msgstr ""
  1894. #. type: Plain text
  1895. #: guix-git/doc/contributing.texi:1583
  1896. 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."
  1897. msgstr ""
  1898. #. type: Plain text
  1899. #: guix-git/doc/contributing.texi:1587
  1900. 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:"
  1901. msgstr ""
  1902. #. type: example
  1903. #: guix-git/doc/contributing.texi:1590
  1904. #, no-wrap
  1905. msgid "./pre-inst-env guix build guix\n"
  1906. msgstr ""
  1907. #. type: Plain text
  1908. #: guix-git/doc/contributing.texi:1595
  1909. 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."
  1910. msgstr ""
  1911. #. type: Plain text
  1912. #: guix-git/doc/contributing.texi:1600
  1913. 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."
  1914. msgstr ""
  1915. #. type: cindex
  1916. #: guix-git/doc/contributing.texi:1601
  1917. #, fuzzy, no-wrap
  1918. #| msgid "isolation"
  1919. msgid "translation"
  1920. msgstr "isolação"
  1921. #. type: cindex
  1922. #: guix-git/doc/contributing.texi:1602
  1923. #, no-wrap
  1924. msgid "l10n"
  1925. msgstr ""
  1926. #. type: cindex
  1927. #: guix-git/doc/contributing.texi:1603
  1928. #, no-wrap
  1929. msgid "i18n"
  1930. msgstr ""
  1931. #. type: cindex
  1932. #: guix-git/doc/contributing.texi:1604
  1933. #, no-wrap
  1934. msgid "native language support"
  1935. msgstr ""
  1936. #. type: Plain text
  1937. #: guix-git/doc/contributing.texi:1614
  1938. 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!"
  1939. msgstr ""
  1940. #. type: Plain text
  1941. #: guix-git/doc/contributing.texi:1620
  1942. 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."
  1943. msgstr ""
  1944. #. type: Plain text
  1945. #: guix-git/doc/contributing.texi:1627
  1946. 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."
  1947. msgstr ""
  1948. #. type: Plain text
  1949. #: guix-git/doc/contributing.texi:1632
  1950. 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}."
  1951. msgstr ""
  1952. #. type: Plain text
  1953. #: guix-git/doc/contributing.texi:1634
  1954. msgid "Guix has five components hosted on Weblate."
  1955. msgstr ""
  1956. #. type: item
  1957. #: guix-git/doc/contributing.texi:1636
  1958. #, no-wrap
  1959. msgid "@code{guix} contains all the strings from the Guix software (the"
  1960. msgstr ""
  1961. #. type: itemize
  1962. #: guix-git/doc/contributing.texi:1638
  1963. msgid "guided system installer, the package manager, etc), excluding packages."
  1964. msgstr ""
  1965. #. type: item
  1966. #: guix-git/doc/contributing.texi:1638
  1967. #, no-wrap
  1968. msgid "@code{packages} contains the synopsis (single-sentence description"
  1969. msgstr ""
  1970. #. type: itemize
  1971. #: guix-git/doc/contributing.texi:1640
  1972. msgid "of a package) and description (longer description) of packages in Guix."
  1973. msgstr ""
  1974. #. type: item
  1975. #: guix-git/doc/contributing.texi:1640
  1976. #, no-wrap
  1977. msgid "@code{website} contains the official Guix website, except for"
  1978. msgstr ""
  1979. #. type: itemize
  1980. #: guix-git/doc/contributing.texi:1642
  1981. msgid "blog posts and multimedia content."
  1982. msgstr ""
  1983. #. type: item
  1984. #: guix-git/doc/contributing.texi:1642
  1985. #, no-wrap
  1986. msgid "@code{documentation-manual} corresponds to this manual."
  1987. msgstr ""
  1988. #. type: item
  1989. #: guix-git/doc/contributing.texi:1643
  1990. #, no-wrap
  1991. msgid "@code{documentation-cookbook} is the component for the cookbook."
  1992. msgstr ""
  1993. #. type: subsubheading
  1994. #: guix-git/doc/contributing.texi:1646
  1995. #, fuzzy, no-wrap
  1996. #| msgid "generations"
  1997. msgid "General Directions"
  1998. msgstr "gerações"
  1999. #. type: Plain text
  2000. #: guix-git/doc/contributing.texi:1654
  2001. 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."
  2002. msgstr ""
  2003. #. type: Plain text
  2004. #: guix-git/doc/contributing.texi:1659
  2005. 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."
  2006. msgstr ""
  2007. #. type: Plain text
  2008. #: guix-git/doc/contributing.texi:1670
  2009. 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."
  2010. msgstr ""
  2011. #. type: Plain text
  2012. #: guix-git/doc/contributing.texi:1675
  2013. 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."
  2014. msgstr ""
  2015. #. type: subsubheading
  2016. #: guix-git/doc/contributing.texi:1676
  2017. #, no-wrap
  2018. msgid "Translation Components"
  2019. msgstr ""
  2020. #. type: Plain text
  2021. #: guix-git/doc/contributing.texi:1681
  2022. 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!"
  2023. msgstr ""
  2024. #. type: item
  2025. #: guix-git/doc/contributing.texi:1683 guix-git/doc/guix.texi:8845
  2026. #, no-wrap
  2027. msgid "guix"
  2028. msgstr "guix"
  2029. #. type: table
  2030. #: guix-git/doc/contributing.texi:1688
  2031. 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."
  2032. msgstr ""
  2033. #. type: table
  2034. #: guix-git/doc/contributing.texi:1697
  2035. 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."
  2036. msgstr ""
  2037. #. type: table
  2038. #: guix-git/doc/contributing.texi:1701
  2039. 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."
  2040. msgstr ""
  2041. #. type: table
  2042. #: guix-git/doc/contributing.texi:1709
  2043. 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."
  2044. msgstr ""
  2045. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  2046. #. type: item
  2047. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  2048. #. type: cindex
  2049. #: guix-git/doc/contributing.texi:1710 guix-git/doc/guix.texi:2943
  2050. #, no-wrap
  2051. msgid "packages"
  2052. msgstr "pacotes"
  2053. #. type: table
  2054. #: guix-git/doc/contributing.texi:1715
  2055. 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."
  2056. msgstr ""
  2057. #. type: table
  2058. #: guix-git/doc/contributing.texi:1724
  2059. 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})."
  2060. msgstr ""
  2061. #. type: item
  2062. #: guix-git/doc/contributing.texi:1725
  2063. #, no-wrap
  2064. msgid "documentation-manual and documentation-cookbook"
  2065. msgstr ""
  2066. #. type: table
  2067. #: guix-git/doc/contributing.texi:1729
  2068. msgid "The first step to ensure a successful translation of the manual is to find and translate the following strings @emph{first}:"
  2069. msgstr ""
  2070. #. type: item
  2071. #: guix-git/doc/contributing.texi:1731
  2072. #, no-wrap
  2073. msgid "@code{version.texi}: Translate this string as @code{version-xx.texi},"
  2074. msgstr ""
  2075. #. type: itemize
  2076. #: guix-git/doc/contributing.texi:1734
  2077. msgid "where @code{xx} is your language code (the one shown in the URL on weblate)."
  2078. msgstr ""
  2079. #. type: item
  2080. #: guix-git/doc/contributing.texi:1734
  2081. #, no-wrap
  2082. msgid "@code{contributing.texi}: Translate this string as"
  2083. msgstr ""
  2084. #. type: itemize
  2085. #: guix-git/doc/contributing.texi:1736
  2086. msgid "@code{contributing.xx.texi}, where @code{xx} is the same language code."
  2087. msgstr ""
  2088. #. type: item
  2089. #: guix-git/doc/contributing.texi:1736
  2090. #, no-wrap
  2091. msgid "@code{Top}: Do not translate this string, it is important for Texinfo."
  2092. msgstr ""
  2093. #. type: itemize
  2094. #: guix-git/doc/contributing.texi:1739
  2095. 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."
  2096. msgstr ""
  2097. #. type: table
  2098. #: guix-git/doc/contributing.texi:1744
  2099. 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."
  2100. msgstr ""
  2101. #. type: table
  2102. #: guix-git/doc/contributing.texi:1751
  2103. 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."
  2104. msgstr ""
  2105. #. type: table
  2106. #: guix-git/doc/contributing.texi:1759
  2107. 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."
  2108. msgstr ""
  2109. #. type: table
  2110. #: guix-git/doc/contributing.texi:1769
  2111. 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."
  2112. msgstr ""
  2113. #. type: item
  2114. #: guix-git/doc/contributing.texi:1770
  2115. #, fuzzy, no-wrap
  2116. #| msgid "official website"
  2117. msgid "website"
  2118. msgstr "site oficial"
  2119. #. type: table
  2120. #: guix-git/doc/contributing.texi:1777
  2121. 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."
  2122. msgstr ""
  2123. #. type: example
  2124. #: guix-git/doc/contributing.texi:1784
  2125. #, no-wrap
  2126. msgid ""
  2127. "#. TRANSLATORS: Defining Packages is a section name\n"
  2128. "#. in the English (en) manual.\n"
  2129. "#: apps/base/templates/about.scm:64\n"
  2130. "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"
  2131. "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"
  2132. msgstr ""
  2133. #. type: table
  2134. #: guix-git/doc/contributing.texi:1787
  2135. msgid "Note that you need to include the same markups. You cannot skip any."
  2136. msgstr ""
  2137. #. type: Plain text
  2138. #: guix-git/doc/contributing.texi:1795
  2139. 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."
  2140. msgstr ""
  2141. #. type: subsubheading
  2142. #: guix-git/doc/contributing.texi:1796
  2143. #, no-wrap
  2144. msgid "Outside of Weblate"
  2145. msgstr ""
  2146. #. type: Plain text
  2147. #: guix-git/doc/contributing.texi:1799
  2148. msgid "Currently, some parts of Guix cannot be translated on Weblate, help wanted!"
  2149. msgstr ""
  2150. #. type: item
  2151. #: guix-git/doc/contributing.texi:1801
  2152. #, no-wrap
  2153. msgid "@command{guix pull} news can be translated in @file{news.scm}, but is not"
  2154. msgstr ""
  2155. #. type: itemize
  2156. #: guix-git/doc/contributing.texi:1807
  2157. 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."
  2158. msgstr ""
  2159. #. type: item
  2160. #: guix-git/doc/contributing.texi:1807
  2161. #, no-wrap
  2162. msgid "Guix blog posts cannot currently be translated."
  2163. msgstr ""
  2164. #. type: item
  2165. #: guix-git/doc/contributing.texi:1808
  2166. #, no-wrap
  2167. msgid "The installer script (for foreign distributions) is entirely in English."
  2168. msgstr ""
  2169. #. type: item
  2170. #: guix-git/doc/contributing.texi:1809
  2171. #, no-wrap
  2172. msgid "Some of the libraries Guix uses cannot be translated or are translated"
  2173. msgstr ""
  2174. #. type: itemize
  2175. #: guix-git/doc/contributing.texi:1811
  2176. msgid "outside of the Guix project. Guile itself is not internationalized."
  2177. msgstr ""
  2178. #. type: item
  2179. #: guix-git/doc/contributing.texi:1811
  2180. #, no-wrap
  2181. msgid "Other manuals linked from this manual or the cookbook might not be"
  2182. msgstr ""
  2183. #. type: itemize
  2184. #: guix-git/doc/contributing.texi:1813
  2185. msgid "translated."
  2186. msgstr ""
  2187. #. type: subsubheading
  2188. #: guix-git/doc/contributing.texi:1815
  2189. #, no-wrap
  2190. msgid "Translation Infrastructure"
  2191. msgstr ""
  2192. #. type: Plain text
  2193. #: guix-git/doc/contributing.texi:1826
  2194. 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."
  2195. msgstr ""
  2196. #. type: Plain text
  2197. #: guix-git/doc/contributing.texi:1830
  2198. 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."
  2199. msgstr ""
  2200. #. type: Plain text
  2201. #: guix-git/doc/contributing.texi:1836
  2202. 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."
  2203. msgstr ""
  2204. #. type: Plain text
  2205. #: guix-git/doc/contributing.texi:1840
  2206. 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."
  2207. msgstr ""
  2208. #. type: item
  2209. #: guix-git/doc/contributing.texi:1842
  2210. #, no-wrap
  2211. msgid "New po files for the @code{guix} and @code{packages} components must"
  2212. msgstr ""
  2213. #. type: itemize
  2214. #: guix-git/doc/contributing.texi:1845
  2215. msgid "be registered by adding the new language to @file{po/guix/LINGUAS} or @file{po/packages/LINGUAS}."
  2216. msgstr ""
  2217. #. type: item
  2218. #: guix-git/doc/contributing.texi:1845
  2219. #, no-wrap
  2220. msgid "New po files for the @code{documentation-manual} component must be"
  2221. msgstr ""
  2222. #. type: itemize
  2223. #: guix-git/doc/contributing.texi:1851
  2224. 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}."
  2225. msgstr ""
  2226. #. type: item
  2227. #: guix-git/doc/contributing.texi:1851
  2228. #, no-wrap
  2229. msgid "New po files for the @code{documentation-cookbook} component must be"
  2230. msgstr ""
  2231. #. type: itemize
  2232. #: guix-git/doc/contributing.texi:1857
  2233. 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}."
  2234. msgstr ""
  2235. #. type: item
  2236. #: guix-git/doc/contributing.texi:1857
  2237. #, no-wrap
  2238. msgid "New po files for the @code{website} component must be added to the"
  2239. msgstr ""
  2240. #. type: itemize
  2241. #: guix-git/doc/contributing.texi:1862
  2242. 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)."
  2243. msgstr ""
  2244. #. type: Plain text
  2245. #: guix-git/doc/guix.texi:7
  2246. msgid "@documentencoding UTF-8"
  2247. msgstr ""
  2248. "@documentencoding UTF-8\n"
  2249. "@documentlanguage pt_BR\n"
  2250. "@frenchspacing on"
  2251. #. type: title
  2252. #: guix-git/doc/guix.texi:7 guix-git/doc/guix.texi:126
  2253. #, no-wrap
  2254. msgid "GNU Guix Reference Manual"
  2255. msgstr "Manual de referência do GNU Guix"
  2256. #. type: include
  2257. #: guix-git/doc/guix.texi:10
  2258. #, no-wrap
  2259. msgid "version.texi"
  2260. msgstr "version-pt_BR.texi"
  2261. #. type: copying
  2262. #: guix-git/doc/guix.texi:99
  2263. msgid "Copyright @copyright{} 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 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 Ricardo Wurmus@* Copyright @copyright{} 2016 Ben Woodcroft@* Copyright @copyright{} 2016, 2017, 2018, 2021 Chris Marusich@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021 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 Marius Bakke@* Copyright @copyright{} 2017, 2019, 2020 Hartmut Goebel@* Copyright @copyright{} 2017, 2019, 2020, 2021 Maxim Cournoyer@* Copyright @copyright{} 2017, 2018, 2019, 2020, 2021 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 Guillaume Le Vaillant@* Copyright @copyright{} 2020 Leo Prikler@* Copyright @copyright{} 2019, 2020 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 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@*"
  2264. msgstr ""
  2265. #. type: copying
  2266. #: guix-git/doc/guix.texi:106
  2267. 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''."
  2268. 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''."
  2269. #. type: dircategory
  2270. #: guix-git/doc/guix.texi:108
  2271. #, no-wrap
  2272. msgid "System administration"
  2273. msgstr "Administração do sistema"
  2274. #. type: menuentry
  2275. #: guix-git/doc/guix.texi:116
  2276. msgid "Guix: (guix)"
  2277. msgstr "Guix: (guix)"
  2278. #. type: menuentry
  2279. #: guix-git/doc/guix.texi:116
  2280. msgid "Manage installed software and system configuration."
  2281. msgstr "Gerencie softwares instalados e configuração do sistema."
  2282. #. type: menuentry
  2283. #: guix-git/doc/guix.texi:116
  2284. msgid "guix package: (guix)Invoking guix package"
  2285. msgstr "guix package: (guix)Invocando guix package"
  2286. #. type: menuentry
  2287. #: guix-git/doc/guix.texi:116
  2288. msgid "Installing, removing, and upgrading packages."
  2289. msgstr "Instalando, removendo e atualizando pacotes."
  2290. #. type: menuentry
  2291. #: guix-git/doc/guix.texi:116
  2292. msgid "guix gc: (guix)Invoking guix gc"
  2293. msgstr "guix gc: (guix)Invocando guix gc"
  2294. #. type: menuentry
  2295. #: guix-git/doc/guix.texi:116
  2296. msgid "Reclaiming unused disk space."
  2297. msgstr "Recuperando espaço em disco não utilizado."
  2298. #. type: menuentry
  2299. #: guix-git/doc/guix.texi:116
  2300. msgid "guix pull: (guix)Invoking guix pull"
  2301. msgstr "guix pull: (guix)Invocando guix pull"
  2302. #. type: menuentry
  2303. #: guix-git/doc/guix.texi:116
  2304. msgid "Update the list of available packages."
  2305. msgstr "Atualize a lista de pacotes disponíveis."
  2306. #. type: menuentry
  2307. #: guix-git/doc/guix.texi:116
  2308. msgid "guix system: (guix)Invoking guix system"
  2309. msgstr "guix system: (guix)Invocando guix system"
  2310. #. type: menuentry
  2311. #: guix-git/doc/guix.texi:116
  2312. msgid "Manage the operating system configuration."
  2313. msgstr "Gerencie a configuração do sistema operacional."
  2314. #. type: menuentry
  2315. #: guix-git/doc/guix.texi:116
  2316. msgid "guix deploy: (guix)Invoking guix deploy"
  2317. msgstr ""
  2318. #. type: menuentry
  2319. #: guix-git/doc/guix.texi:116
  2320. msgid "Manage operating system configurations for remote hosts."
  2321. msgstr ""
  2322. #. type: dircategory
  2323. #: guix-git/doc/guix.texi:118
  2324. #, no-wrap
  2325. msgid "Software development"
  2326. msgstr "Desenvolvimento de software"
  2327. #. type: menuentry
  2328. #: guix-git/doc/guix.texi:123
  2329. msgid "guix environment: (guix)Invoking guix environment"
  2330. msgstr "guix environment: (guix)Invocando guix environment"
  2331. #. type: menuentry
  2332. #: guix-git/doc/guix.texi:123
  2333. msgid "Building development environments with Guix."
  2334. msgstr "Compilando ambientes de desenvolvimento com Guix."
  2335. #. type: menuentry
  2336. #: guix-git/doc/guix.texi:123
  2337. msgid "guix build: (guix)Invoking guix build"
  2338. msgstr "guix build: (guix)Invocando guix build"
  2339. #. type: menuentry
  2340. #: guix-git/doc/guix.texi:123
  2341. msgid "Building packages."
  2342. msgstr "Compilando pacotes."
  2343. #. type: menuentry
  2344. #: guix-git/doc/guix.texi:123
  2345. msgid "guix pack: (guix)Invoking guix pack"
  2346. msgstr "guix pack: (guix)Invocando guix pack"
  2347. #. type: menuentry
  2348. #: guix-git/doc/guix.texi:123
  2349. msgid "Creating binary bundles."
  2350. msgstr "Criando pacotes de binários."
  2351. #. type: subtitle
  2352. #: guix-git/doc/guix.texi:127
  2353. #, no-wrap
  2354. msgid "Using the GNU Guix Functional Package Manager"
  2355. msgstr "Usando o Gerenciador de Pacotes Funcional GNU Guix"
  2356. #. type: author
  2357. #: guix-git/doc/guix.texi:128
  2358. #, no-wrap
  2359. msgid "The GNU Guix Developers"
  2360. msgstr "Os desenvolvedores do GNU Guix"
  2361. #. type: titlepage
  2362. #: guix-git/doc/guix.texi:134
  2363. msgid "Edition @value{EDITION} @* @value{UPDATED} @*"
  2364. msgstr "Edição @value{EDITION} @* @value{UPDATED} @*"
  2365. #. type: node
  2366. #: guix-git/doc/guix.texi:141
  2367. #, no-wrap
  2368. msgid "Top"
  2369. msgstr "Top"
  2370. #. type: top
  2371. #: guix-git/doc/guix.texi:142
  2372. #, no-wrap
  2373. msgid "GNU Guix"
  2374. msgstr "GNU Guix"
  2375. #. type: Plain text
  2376. #: guix-git/doc/guix.texi:146
  2377. msgid "This document describes GNU Guix version @value{VERSION}, a functional package management tool written for the GNU system."
  2378. msgstr "Esse documento descreve Guix versão @value{VERSION}, uma ferramenta de gerenciamento de pacotes funcional escrita para o sistema GNU."
  2379. #. You can replace the following paragraph with information on
  2380. #. type: Plain text
  2381. #: guix-git/doc/guix.texi:158
  2382. 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})."
  2383. msgstr ""
  2384. #. type: chapter
  2385. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:186
  2386. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:388
  2387. #, no-wrap
  2388. msgid "Introduction"
  2389. msgstr "Introdução"
  2390. #. type: menuentry
  2391. #: guix-git/doc/guix.texi:176
  2392. msgid "What is Guix about?"
  2393. msgstr "Sobre o que é o Guix?"
  2394. #. type: chapter
  2395. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:191
  2396. #: guix-git/doc/guix.texi:568 guix-git/doc/guix.texi:569
  2397. #, no-wrap
  2398. msgid "Installation"
  2399. msgstr "Instalação"
  2400. #. type: menuentry
  2401. #: guix-git/doc/guix.texi:176
  2402. msgid "Installing Guix."
  2403. msgstr "Instalando o Guix."
  2404. #. type: chapter
  2405. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:207
  2406. #: guix-git/doc/guix.texi:2015 guix-git/doc/guix.texi:2016
  2407. #, no-wrap
  2408. msgid "System Installation"
  2409. msgstr "Instalação do sistema"
  2410. #. type: menuentry
  2411. #: guix-git/doc/guix.texi:176
  2412. msgid "Installing the whole operating system."
  2413. msgstr "Instalando todo o sistema operacional."
  2414. #. type: chapter
  2415. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:2732
  2416. #: guix-git/doc/guix.texi:2733
  2417. #, no-wrap
  2418. msgid "Getting Started"
  2419. msgstr ""
  2420. #. type: menuentry
  2421. #: guix-git/doc/guix.texi:176
  2422. msgid "Your first steps."
  2423. msgstr ""
  2424. #. type: chapter
  2425. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:224
  2426. #: guix-git/doc/guix.texi:2940 guix-git/doc/guix.texi:2941
  2427. #, no-wrap
  2428. msgid "Package Management"
  2429. msgstr "Gerenciamento de pacote"
  2430. #. type: menuentry
  2431. #: guix-git/doc/guix.texi:176
  2432. msgid "Package installation, upgrade, etc."
  2433. msgstr "Instalação de pacote, atualização, etc."
  2434. #. type: chapter
  2435. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:247
  2436. #: guix-git/doc/guix.texi:4995 guix-git/doc/guix.texi:4996
  2437. #, no-wrap
  2438. msgid "Channels"
  2439. msgstr "Canais"
  2440. #. type: menuentry
  2441. #: guix-git/doc/guix.texi:176
  2442. msgid "Customizing the package collection."
  2443. msgstr "Personalizando a coleção de pacotes."
  2444. #. type: chapter
  2445. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:261
  2446. #: guix-git/doc/guix.texi:5523 guix-git/doc/guix.texi:5524
  2447. #, no-wrap
  2448. msgid "Development"
  2449. msgstr "Desenvolvimento"
  2450. #. type: menuentry
  2451. #: guix-git/doc/guix.texi:176
  2452. msgid "Guix-aided software development."
  2453. msgstr "Desenvolvimento de software auxiliado pelo Guix."
  2454. #. type: chapter
  2455. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:268
  2456. #: guix-git/doc/guix.texi:6378 guix-git/doc/guix.texi:6379
  2457. #, no-wrap
  2458. msgid "Programming Interface"
  2459. msgstr "Interface de programação"
  2460. #. type: menuentry
  2461. #: guix-git/doc/guix.texi:176
  2462. msgid "Using Guix in Scheme."
  2463. msgstr "Usando o Guix no Scheme."
  2464. #. type: chapter
  2465. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:287
  2466. #: guix-git/doc/guix.texi:10199 guix-git/doc/guix.texi:10200
  2467. #, no-wrap
  2468. msgid "Utilities"
  2469. msgstr "Utilitários"
  2470. #. type: menuentry
  2471. #: guix-git/doc/guix.texi:176
  2472. msgid "Package management commands."
  2473. msgstr "Comandos de gerenciamento de pacote."
  2474. #. type: chapter
  2475. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:312
  2476. #: guix-git/doc/guix.texi:13462 guix-git/doc/guix.texi:13463
  2477. #, no-wrap
  2478. msgid "System Configuration"
  2479. msgstr "Configuração do sistema"
  2480. #. type: menuentry
  2481. #: guix-git/doc/guix.texi:176
  2482. msgid "Configuring the operating system."
  2483. msgstr "Configurando o sistema operacional."
  2484. #. type: chapter
  2485. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:35094
  2486. #: guix-git/doc/guix.texi:35095
  2487. #, no-wrap
  2488. msgid "Documentation"
  2489. msgstr "Documentação"
  2490. #. type: menuentry
  2491. #: guix-git/doc/guix.texi:176
  2492. msgid "Browsing software user manuals."
  2493. msgstr "Navegando por manuais do usuário do software."
  2494. #. type: chapter
  2495. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:374
  2496. #: guix-git/doc/guix.texi:35158 guix-git/doc/guix.texi:35159
  2497. #, no-wrap
  2498. msgid "Installing Debugging Files"
  2499. msgstr "Instalando arquivos de depuração"
  2500. #. type: menuentry
  2501. #: guix-git/doc/guix.texi:176
  2502. msgid "Feeding the debugger."
  2503. msgstr "Alimentando o depurador."
  2504. #. type: chapter
  2505. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:35299
  2506. #: guix-git/doc/guix.texi:35300
  2507. #, no-wrap
  2508. msgid "Security Updates"
  2509. msgstr "Atualizações de segurança"
  2510. #. type: menuentry
  2511. #: guix-git/doc/guix.texi:176
  2512. msgid "Deploying security fixes quickly."
  2513. msgstr "Implementando correções de segurança rapidamente."
  2514. #. type: chapter
  2515. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:379
  2516. #: guix-git/doc/guix.texi:35414 guix-git/doc/guix.texi:35415
  2517. #, no-wrap
  2518. msgid "Bootstrapping"
  2519. msgstr "Inicializando"
  2520. #. type: menuentry
  2521. #: guix-git/doc/guix.texi:176
  2522. msgid "GNU/Linux built from scratch."
  2523. msgstr "GNU/Linux compilado do zero."
  2524. #. type: node
  2525. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:35706
  2526. #, no-wrap
  2527. msgid "Porting"
  2528. msgstr "Portando"
  2529. #. type: menuentry
  2530. #: guix-git/doc/guix.texi:176
  2531. msgid "Targeting another platform or kernel."
  2532. msgstr "Objetivando outra plataforma ou kernel."
  2533. #. type: menuentry
  2534. #: guix-git/doc/guix.texi:176
  2535. msgid "Your help needed!"
  2536. msgstr "Sua ajuda é necessária!"
  2537. #. type: chapter
  2538. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:35754
  2539. #: guix-git/doc/guix.texi:35755
  2540. #, no-wrap
  2541. msgid "Acknowledgments"
  2542. msgstr "Agradecimentos"
  2543. #. type: menuentry
  2544. #: guix-git/doc/guix.texi:181
  2545. msgid "Thanks!"
  2546. msgstr "Obrigado!"
  2547. #. type: appendix
  2548. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:35776
  2549. #: guix-git/doc/guix.texi:35777
  2550. #, no-wrap
  2551. msgid "GNU Free Documentation License"
  2552. msgstr "Licença de Documentação Livre GNU"
  2553. #. type: menuentry
  2554. #: guix-git/doc/guix.texi:181
  2555. msgid "The license of this manual."
  2556. msgstr "A licença deste manual."
  2557. #. type: unnumbered
  2558. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:35782
  2559. #: guix-git/doc/guix.texi:35783
  2560. #, no-wrap
  2561. msgid "Concept Index"
  2562. msgstr "Índice de conceitos"
  2563. #. type: menuentry
  2564. #: guix-git/doc/guix.texi:181
  2565. msgid "Concepts."
  2566. msgstr "Conceitos."
  2567. #. type: unnumbered
  2568. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:35786
  2569. #: guix-git/doc/guix.texi:35787
  2570. #, no-wrap
  2571. msgid "Programming Index"
  2572. msgstr "Índice de programação"
  2573. #. type: menuentry
  2574. #: guix-git/doc/guix.texi:181
  2575. msgid "Data types, functions, and variables."
  2576. msgstr "Tipos de dados, funções e variáveis."
  2577. #. type: menuentry
  2578. #: guix-git/doc/guix.texi:184
  2579. msgid "--- The Detailed Node Listing ---"
  2580. msgstr "--- A listagem detalhada de nós ---"
  2581. #. type: section
  2582. #: guix-git/doc/guix.texi:189 guix-git/doc/guix.texi:414
  2583. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:417
  2584. #, no-wrap
  2585. msgid "Managing Software the Guix Way"
  2586. msgstr "Gerenciando software do jeito do Guix"
  2587. #. type: menuentry
  2588. #: guix-git/doc/guix.texi:189 guix-git/doc/guix.texi:414
  2589. msgid "What's special."
  2590. msgstr "O que há de especial."
  2591. #. type: section
  2592. #: guix-git/doc/guix.texi:189 guix-git/doc/guix.texi:414
  2593. #: guix-git/doc/guix.texi:471 guix-git/doc/guix.texi:472
  2594. #, no-wrap
  2595. msgid "GNU Distribution"
  2596. msgstr "Distribuição GNU"
  2597. #. type: menuentry
  2598. #: guix-git/doc/guix.texi:189 guix-git/doc/guix.texi:414
  2599. msgid "The packages and tools."
  2600. msgstr "Os pacotes e as ferramentas."
  2601. #. type: section
  2602. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2603. #: guix-git/doc/guix.texi:610 guix-git/doc/guix.texi:611
  2604. #, no-wrap
  2605. msgid "Binary Installation"
  2606. msgstr "Instalação de binários"
  2607. #. type: menuentry
  2608. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2609. msgid "Getting Guix running in no time!"
  2610. msgstr "Faça o Guix funcionar rapidamente!"
  2611. #. type: section
  2612. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2613. #: guix-git/doc/guix.texi:838 guix-git/doc/guix.texi:839
  2614. #, no-wrap
  2615. msgid "Requirements"
  2616. msgstr "Requisitos"
  2617. #. type: menuentry
  2618. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2619. msgid "Software needed to build and run Guix."
  2620. msgstr "Software necessário para compilar e executar o Guix."
  2621. #. type: section
  2622. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2623. #: guix-git/doc/guix.texi:924 guix-git/doc/guix.texi:925
  2624. #, no-wrap
  2625. msgid "Running the Test Suite"
  2626. msgstr "Executando a suíte de testes"
  2627. #. type: menuentry
  2628. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2629. msgid "Testing Guix."
  2630. msgstr "Testando o Guix."
  2631. #. type: section
  2632. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:201
  2633. #: guix-git/doc/guix.texi:608 guix-git/doc/guix.texi:1021
  2634. #: guix-git/doc/guix.texi:1022
  2635. #, no-wrap
  2636. msgid "Setting Up the Daemon"
  2637. msgstr "Configurando o daemon"
  2638. #. type: menuentry
  2639. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2640. msgid "Preparing the build daemon's environment."
  2641. msgstr "Preparando o ambiente do daemon de compilação."
  2642. #. type: node
  2643. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2644. #: guix-git/doc/guix.texi:1491
  2645. #, no-wrap
  2646. msgid "Invoking guix-daemon"
  2647. msgstr "Invocando guix-daemon"
  2648. #. type: menuentry
  2649. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2650. msgid "Running the build daemon."
  2651. msgstr "Executando o daemon de compilação."
  2652. #. type: section
  2653. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2654. #: guix-git/doc/guix.texi:1793 guix-git/doc/guix.texi:1794
  2655. #, no-wrap
  2656. msgid "Application Setup"
  2657. msgstr "Configuração de aplicativo"
  2658. #. type: menuentry
  2659. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2660. msgid "Application-specific setup."
  2661. msgstr "Configuração específica de aplicativo."
  2662. #. type: section
  2663. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2664. #: guix-git/doc/guix.texi:1978 guix-git/doc/guix.texi:1979
  2665. #, no-wrap
  2666. msgid "Upgrading Guix"
  2667. msgstr ""
  2668. #. type: menuentry
  2669. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2670. msgid "Upgrading Guix and its build daemon."
  2671. msgstr ""
  2672. #. type: subsection
  2673. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:1041
  2674. #: guix-git/doc/guix.texi:1043 guix-git/doc/guix.texi:1044
  2675. #, no-wrap
  2676. msgid "Build Environment Setup"
  2677. msgstr "Configuração do ambiente de compilação"
  2678. #. type: menuentry
  2679. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:1041
  2680. msgid "Preparing the isolated build environment."
  2681. msgstr "Preparando o ambiente de compilação isolado."
  2682. #. type: node
  2683. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:1041
  2684. #: guix-git/doc/guix.texi:1162
  2685. #, no-wrap
  2686. msgid "Daemon Offload Setup"
  2687. msgstr "Configuração de descarregamento de daemon"
  2688. #. type: menuentry
  2689. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:1041
  2690. msgid "Offloading builds to remote machines."
  2691. msgstr "Descarregando compilações para máquinas remotas."
  2692. #. type: subsection
  2693. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:1041
  2694. #: guix-git/doc/guix.texi:1400 guix-git/doc/guix.texi:1401
  2695. #, no-wrap
  2696. msgid "SELinux Support"
  2697. msgstr "Suporte a SELinux"
  2698. #. type: menuentry
  2699. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:1041
  2700. msgid "Using an SELinux policy for the daemon."
  2701. msgstr "Usando um política SELinux para o daemon."
  2702. #. type: section
  2703. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:1436
  2704. #: guix-git/doc/guix.texi:2049 guix-git/doc/guix.texi:2051
  2705. #: guix-git/doc/guix.texi:2052
  2706. #, no-wrap
  2707. msgid "Limitations"
  2708. msgstr "Limitações"
  2709. #. type: menuentry
  2710. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2711. msgid "What you can expect."
  2712. msgstr "O que você pode esperar."
  2713. #. type: section
  2714. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2715. #: guix-git/doc/guix.texi:2077 guix-git/doc/guix.texi:2078
  2716. #, no-wrap
  2717. msgid "Hardware Considerations"
  2718. msgstr "Considerações de hardware"
  2719. #. type: menuentry
  2720. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2721. msgid "Supported hardware."
  2722. msgstr "Hardware suportado."
  2723. #. type: section
  2724. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2725. #: guix-git/doc/guix.texi:2112 guix-git/doc/guix.texi:2113
  2726. #, no-wrap
  2727. msgid "USB Stick and DVD Installation"
  2728. msgstr "Instalação em um pendrive e em DVD"
  2729. #. type: menuentry
  2730. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2731. msgid "Preparing the installation medium."
  2732. msgstr "Preparando a mídia de instalação."
  2733. #. type: section
  2734. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2735. #: guix-git/doc/guix.texi:2193 guix-git/doc/guix.texi:2194
  2736. #, no-wrap
  2737. msgid "Preparing for Installation"
  2738. msgstr "Preparando para instalação"
  2739. #. type: menuentry
  2740. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2741. msgid "Networking, partitioning, etc."
  2742. msgstr "Rede, particionamento, etc."
  2743. #. type: section
  2744. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2745. #: guix-git/doc/guix.texi:2216 guix-git/doc/guix.texi:2217
  2746. #, no-wrap
  2747. msgid "Guided Graphical Installation"
  2748. msgstr "Instalação gráfica guiada"
  2749. #. type: menuentry
  2750. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2751. msgid "Easy graphical installation."
  2752. msgstr "Instalação gráfica fácil."
  2753. #. type: section
  2754. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:219
  2755. #: guix-git/doc/guix.texi:2049 guix-git/doc/guix.texi:2247
  2756. #: guix-git/doc/guix.texi:2248
  2757. #, no-wrap
  2758. msgid "Manual Installation"
  2759. msgstr "Instalação manual"
  2760. #. type: menuentry
  2761. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2762. msgid "Manual installation for wizards."
  2763. msgstr "Instalação manual para magos."
  2764. #. type: section
  2765. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2766. #: guix-git/doc/guix.texi:2615 guix-git/doc/guix.texi:2616
  2767. #, no-wrap
  2768. msgid "After System Installation"
  2769. msgstr "Após a instalação do sistema"
  2770. #. type: menuentry
  2771. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2772. msgid "When installation succeeded."
  2773. msgstr "Quando a instalação conclui com sucesso."
  2774. #. type: node
  2775. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2776. #: guix-git/doc/guix.texi:2649
  2777. #, no-wrap
  2778. msgid "Installing Guix in a VM"
  2779. msgstr "Instalando Guix em um VM"
  2780. #. type: menuentry
  2781. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2782. msgid "Guix System playground."
  2783. msgstr "Parque de diversões do Guix System."
  2784. #. type: section
  2785. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2786. #: guix-git/doc/guix.texi:2700 guix-git/doc/guix.texi:2701
  2787. #, no-wrap
  2788. msgid "Building the Installation Image"
  2789. msgstr "Compilando a imagem de instalação"
  2790. #. type: menuentry
  2791. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2792. msgid "How this comes to be."
  2793. msgstr "Como isso vem a ser."
  2794. #. type: node
  2795. #: guix-git/doc/guix.texi:222 guix-git/doc/guix.texi:2265
  2796. #: guix-git/doc/guix.texi:2267
  2797. #, no-wrap
  2798. msgid "Keyboard Layout and Networking and Partitioning"
  2799. msgstr "Disposição de teclado e rede e particionamento"
  2800. #. type: menuentry
  2801. #: guix-git/doc/guix.texi:222 guix-git/doc/guix.texi:2265
  2802. msgid "Initial setup."
  2803. msgstr "Configuração inicial."
  2804. #. type: subsection
  2805. #: guix-git/doc/guix.texi:222 guix-git/doc/guix.texi:2265
  2806. #: guix-git/doc/guix.texi:2527 guix-git/doc/guix.texi:2528
  2807. #, no-wrap
  2808. msgid "Proceeding with the Installation"
  2809. msgstr "Prosseguindo com a instalação"
  2810. #. type: menuentry
  2811. #: guix-git/doc/guix.texi:222 guix-git/doc/guix.texi:2265
  2812. msgid "Installing."
  2813. msgstr "Instalando."
  2814. #. type: section
  2815. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2816. #: guix-git/doc/guix.texi:2974 guix-git/doc/guix.texi:2975
  2817. #, no-wrap
  2818. msgid "Features"
  2819. msgstr "Recursos"
  2820. #. type: menuentry
  2821. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2822. msgid "How Guix will make your life brighter."
  2823. msgstr "Como o Guix vai iluminar a sua vida."
  2824. #. type: node
  2825. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2826. #: guix-git/doc/guix.texi:3064
  2827. #, no-wrap
  2828. msgid "Invoking guix package"
  2829. msgstr "Invocando guix package"
  2830. #. type: menuentry
  2831. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2832. msgid "Package installation, removal, etc."
  2833. msgstr "Instalação de pacote, remoção, etc."
  2834. #. type: section
  2835. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:237
  2836. #: guix-git/doc/guix.texi:2972 guix-git/doc/guix.texi:3680
  2837. #: guix-git/doc/guix.texi:3681
  2838. #, no-wrap
  2839. msgid "Substitutes"
  2840. msgstr "Substitutos"
  2841. #. type: menuentry
  2842. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2843. msgid "Downloading pre-built binaries."
  2844. msgstr "Baixando binários pré-compilados."
  2845. #. type: section
  2846. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2847. #: guix-git/doc/guix.texi:4016 guix-git/doc/guix.texi:4017
  2848. #, no-wrap
  2849. msgid "Packages with Multiple Outputs"
  2850. msgstr "Pacotes com múltiplas saídas"
  2851. #. type: menuentry
  2852. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2853. msgid "Single source package, multiple outputs."
  2854. msgstr "Um único pacote de fontes, várias saídas."
  2855. #. type: node
  2856. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2857. #: guix-git/doc/guix.texi:4070
  2858. #, no-wrap
  2859. msgid "Invoking guix gc"
  2860. msgstr "Invocando guix gc"
  2861. #. type: menuentry
  2862. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2863. msgid "Running the garbage collector."
  2864. msgstr "Executando o coletor de lixo."
  2865. #. type: node
  2866. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2867. #: guix-git/doc/guix.texi:4280
  2868. #, no-wrap
  2869. msgid "Invoking guix pull"
  2870. msgstr "Invocando guix pull"
  2871. #. type: menuentry
  2872. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2873. msgid "Fetching the latest Guix and distribution."
  2874. msgstr "Obtendo o Guix mais recente e distribuição."
  2875. #. type: node
  2876. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2877. #: guix-git/doc/guix.texi:4527
  2878. #, no-wrap
  2879. msgid "Invoking guix time-machine"
  2880. msgstr ""
  2881. #. type: menuentry
  2882. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2883. msgid "Running an older revision of Guix."
  2884. msgstr ""
  2885. #. type: section
  2886. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2887. #: guix-git/doc/guix.texi:4582 guix-git/doc/guix.texi:4583
  2888. #, no-wrap
  2889. msgid "Inferiors"
  2890. msgstr "Inferiores"
  2891. #. type: menuentry
  2892. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2893. msgid "Interacting with another revision of Guix."
  2894. msgstr "Interagindo com outra revisão do Guix."
  2895. #. type: node
  2896. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2897. #: guix-git/doc/guix.texi:4710
  2898. #, no-wrap
  2899. msgid "Invoking guix describe"
  2900. msgstr "Invocando guix describe"
  2901. #. type: menuentry
  2902. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2903. msgid "Display information about your Guix revision."
  2904. msgstr "Exibe informações sobre sua revisão do Guix."
  2905. #. type: node
  2906. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2907. #: guix-git/doc/guix.texi:4805
  2908. #, no-wrap
  2909. msgid "Invoking guix archive"
  2910. msgstr "Invocando guix archive"
  2911. #. type: menuentry
  2912. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2913. msgid "Exporting and importing store files."
  2914. msgstr "Exportando e importando arquivos do armazém."
  2915. #. type: subsection
  2916. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2917. #: guix-git/doc/guix.texi:3706 guix-git/doc/guix.texi:3707
  2918. #, fuzzy, no-wrap
  2919. #| msgid "Official Substitute Server"
  2920. msgid "Official Substitute Servers"
  2921. msgstr "Servidor substituto oficial"
  2922. #. type: menuentry
  2923. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2924. msgid "One particular source of substitutes."
  2925. msgstr "Uma fonte específica de substitutos."
  2926. #. type: subsection
  2927. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2928. #: guix-git/doc/guix.texi:3736 guix-git/doc/guix.texi:3737
  2929. #, no-wrap
  2930. msgid "Substitute Server Authorization"
  2931. msgstr "Autorização de servidor substituto"
  2932. #. type: menuentry
  2933. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2934. msgid "How to enable or disable substitutes."
  2935. msgstr "Como habilitar ou desabilitar substitutos."
  2936. #. type: subsection
  2937. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2938. #: guix-git/doc/guix.texi:3806 guix-git/doc/guix.texi:3807
  2939. #, no-wrap
  2940. msgid "Getting Substitutes from Other Servers"
  2941. msgstr ""
  2942. #. type: menuentry
  2943. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2944. msgid "Substitute diversity."
  2945. msgstr ""
  2946. #. type: subsection
  2947. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2948. #: guix-git/doc/guix.texi:3911 guix-git/doc/guix.texi:3912
  2949. #, no-wrap
  2950. msgid "Substitute Authentication"
  2951. msgstr "Autenticação de substituto"
  2952. #. type: menuentry
  2953. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2954. msgid "How Guix verifies substitutes."
  2955. msgstr "Como Guix verifica substitutos."
  2956. #. type: subsection
  2957. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2958. #: guix-git/doc/guix.texi:3946 guix-git/doc/guix.texi:3947
  2959. #, no-wrap
  2960. msgid "Proxy Settings"
  2961. msgstr "Configurações de proxy"
  2962. #. type: menuentry
  2963. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2964. msgid "How to get substitutes via proxy."
  2965. msgstr "Como obter substitutos via proxy."
  2966. #. type: subsection
  2967. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2968. #: guix-git/doc/guix.texi:3958 guix-git/doc/guix.texi:3959
  2969. #, no-wrap
  2970. msgid "Substitution Failure"
  2971. msgstr "Falha na substituição"
  2972. #. type: menuentry
  2973. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2974. msgid "What happens when substitution fails."
  2975. msgstr "O que acontece quando a substituição falha."
  2976. #. type: subsection
  2977. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2978. #: guix-git/doc/guix.texi:3986 guix-git/doc/guix.texi:3987
  2979. #, no-wrap
  2980. msgid "On Trusting Binaries"
  2981. msgstr "Confiança em binários"
  2982. #. type: menuentry
  2983. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2984. msgid "How can you trust that binary blob?"
  2985. msgstr "Como você pode confiar naquele blob binário?"
  2986. #. type: section
  2987. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2988. #: guix-git/doc/guix.texi:5028 guix-git/doc/guix.texi:5029
  2989. #, no-wrap
  2990. msgid "Specifying Additional Channels"
  2991. msgstr ""
  2992. #. type: menuentry
  2993. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2994. msgid "Extending the package collection."
  2995. msgstr ""
  2996. #. type: section
  2997. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2998. #: guix-git/doc/guix.texi:5078 guix-git/doc/guix.texi:5079
  2999. #, no-wrap
  3000. msgid "Using a Custom Guix Channel"
  3001. msgstr ""
  3002. #. type: menuentry
  3003. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3004. msgid "Using a customized Guix."
  3005. msgstr ""
  3006. #. type: section
  3007. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3008. #: guix-git/doc/guix.texi:5100 guix-git/doc/guix.texi:5101
  3009. #, no-wrap
  3010. msgid "Replicating Guix"
  3011. msgstr ""
  3012. #. type: menuentry
  3013. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3014. msgid "Running the @emph{exact same} Guix."
  3015. msgstr ""
  3016. #. type: section
  3017. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3018. #: guix-git/doc/guix.texi:5141 guix-git/doc/guix.texi:5142
  3019. #, no-wrap
  3020. msgid "Channel Authentication"
  3021. msgstr ""
  3022. #. type: menuentry
  3023. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3024. msgid "How Guix verifies what it fetches."
  3025. msgstr ""
  3026. #. type: section
  3027. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3028. #: guix-git/doc/guix.texi:5181 guix-git/doc/guix.texi:5182
  3029. #, no-wrap
  3030. msgid "Channels with Substitutes"
  3031. msgstr ""
  3032. #. type: menuentry
  3033. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3034. msgid "Using channels with available substitutes."
  3035. msgstr ""
  3036. #. type: section
  3037. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3038. #: guix-git/doc/guix.texi:5206 guix-git/doc/guix.texi:5207
  3039. #, no-wrap
  3040. msgid "Creating a Channel"
  3041. msgstr ""
  3042. #. type: menuentry
  3043. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3044. msgid "How to write your custom channel."
  3045. msgstr ""
  3046. #. type: section
  3047. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3048. #: guix-git/doc/guix.texi:5273 guix-git/doc/guix.texi:5274
  3049. #, no-wrap
  3050. msgid "Package Modules in a Sub-directory"
  3051. msgstr ""
  3052. #. type: menuentry
  3053. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3054. msgid "Specifying the channel's package modules location."
  3055. msgstr ""
  3056. #. type: section
  3057. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3058. #: guix-git/doc/guix.texi:5287 guix-git/doc/guix.texi:5288
  3059. #, no-wrap
  3060. msgid "Declaring Channel Dependencies"
  3061. msgstr ""
  3062. #. type: menuentry
  3063. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3064. msgid "How to depend on other channels."
  3065. msgstr ""
  3066. #. type: section
  3067. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3068. #: guix-git/doc/guix.texi:5329 guix-git/doc/guix.texi:5330
  3069. #, no-wrap
  3070. msgid "Specifying Channel Authorizations"
  3071. msgstr ""
  3072. #. type: menuentry
  3073. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3074. msgid "Defining channel authors authorizations."
  3075. msgstr ""
  3076. #. type: section
  3077. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3078. #: guix-git/doc/guix.texi:5430 guix-git/doc/guix.texi:5431
  3079. #, no-wrap
  3080. msgid "Primary URL"
  3081. msgstr ""
  3082. #. type: menuentry
  3083. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3084. msgid "Distinguishing mirror to original."
  3085. msgstr ""
  3086. #. type: section
  3087. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3088. #: guix-git/doc/guix.texi:5453 guix-git/doc/guix.texi:5454
  3089. #, no-wrap
  3090. msgid "Writing Channel News"
  3091. msgstr ""
  3092. #. type: menuentry
  3093. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3094. msgid "Communicating information to channel's users."
  3095. msgstr ""
  3096. #. type: node
  3097. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3098. #: guix-git/doc/guix.texi:5544
  3099. #, no-wrap
  3100. msgid "Invoking guix environment"
  3101. msgstr "Invocando guix environment"
  3102. #. type: menuentry
  3103. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3104. msgid "Setting up development environments."
  3105. msgstr "Configurando ambientes de desenvolvimento."
  3106. #. type: node
  3107. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3108. #: guix-git/doc/guix.texi:5904
  3109. #, no-wrap
  3110. msgid "Invoking guix pack"
  3111. msgstr "Invocando guix pack"
  3112. #. type: menuentry
  3113. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3114. msgid "Creating software bundles."
  3115. msgstr "Criando pacotes de software."
  3116. #. type: section
  3117. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3118. #: guix-git/doc/guix.texi:6290 guix-git/doc/guix.texi:6291
  3119. #, no-wrap
  3120. msgid "The GCC toolchain"
  3121. msgstr ""
  3122. #. type: menuentry
  3123. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3124. msgid "Working with languages supported by GCC."
  3125. msgstr ""
  3126. #. type: node
  3127. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3128. #: guix-git/doc/guix.texi:6316
  3129. #, no-wrap
  3130. msgid "Invoking guix git authenticate"
  3131. msgstr ""
  3132. #. type: menuentry
  3133. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3134. msgid "Authenticating Git repositories."
  3135. msgstr ""
  3136. #. type: section
  3137. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3138. #: guix-git/doc/guix.texi:6420 guix-git/doc/guix.texi:6421
  3139. #, no-wrap
  3140. msgid "Package Modules"
  3141. msgstr "Módulos de pacote"
  3142. #. type: menuentry
  3143. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3144. msgid "Packages from the programmer's viewpoint."
  3145. msgstr "Pacotes do ponto de vista do programador."
  3146. #. type: section
  3147. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:282
  3148. #: guix-git/doc/guix.texi:6418 guix-git/doc/guix.texi:6482
  3149. #: guix-git/doc/guix.texi:6483
  3150. #, no-wrap
  3151. msgid "Defining Packages"
  3152. msgstr "Definindo pacotes"
  3153. #. type: menuentry
  3154. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3155. msgid "Defining new packages."
  3156. msgstr "Definindo novos pacotes."
  3157. #. type: section
  3158. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3159. #: guix-git/doc/guix.texi:7051 guix-git/doc/guix.texi:7052
  3160. #, no-wrap
  3161. msgid "Defining Package Variants"
  3162. msgstr ""
  3163. #. type: menuentry
  3164. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3165. msgid "Customizing packages."
  3166. msgstr ""
  3167. #. type: section
  3168. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3169. #: guix-git/doc/guix.texi:7283 guix-git/doc/guix.texi:7284
  3170. #, no-wrap
  3171. msgid "Build Systems"
  3172. msgstr "Sistemas de compilação"
  3173. #. type: menuentry
  3174. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3175. msgid "Specifying how packages are built."
  3176. msgstr "Especificando como pacotes são compilados."
  3177. #. type: subsection
  3178. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3179. #: guix-git/doc/guix.texi:8313 guix-git/doc/guix.texi:8314
  3180. #: guix-git/doc/guix.texi:8717
  3181. #, no-wrap
  3182. msgid "Build Phases"
  3183. msgstr ""
  3184. #. type: menuentry
  3185. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3186. msgid "Phases of the build process of a package."
  3187. msgstr ""
  3188. #. type: section
  3189. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3190. #: guix-git/doc/guix.texi:8507 guix-git/doc/guix.texi:8508
  3191. #, no-wrap
  3192. msgid "Build Utilities"
  3193. msgstr ""
  3194. #. type: menuentry
  3195. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3196. msgid "Helpers for your package definitions and more."
  3197. msgstr ""
  3198. #. type: section
  3199. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3200. #: guix-git/doc/guix.texi:8794 guix-git/doc/guix.texi:8795
  3201. #, no-wrap
  3202. msgid "The Store"
  3203. msgstr "O armazém"
  3204. #. type: menuentry
  3205. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3206. msgid "Manipulating the package store."
  3207. msgstr "Manipulação do armazém de pacotes."
  3208. #. type: section
  3209. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3210. #: guix-git/doc/guix.texi:8947 guix-git/doc/guix.texi:8948
  3211. #, no-wrap
  3212. msgid "Derivations"
  3213. msgstr "Derivações"
  3214. #. type: menuentry
  3215. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3216. msgid "Low-level interface to package derivations."
  3217. msgstr "Interface de baixo nível para derivações de pacotes."
  3218. #. type: section
  3219. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3220. #: guix-git/doc/guix.texi:9141 guix-git/doc/guix.texi:9142
  3221. #, no-wrap
  3222. msgid "The Store Monad"
  3223. msgstr "A mônada do armazém"
  3224. #. type: menuentry
  3225. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3226. msgid "Purely functional interface to the store."
  3227. msgstr "Interface puramente funcional para o armazém."
  3228. #. type: section
  3229. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3230. #: guix-git/doc/guix.texi:9460 guix-git/doc/guix.texi:9461
  3231. #, no-wrap
  3232. msgid "G-Expressions"
  3233. msgstr "Expressões-G"
  3234. #. type: menuentry
  3235. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3236. msgid "Manipulating build expressions."
  3237. msgstr "Manipulação de expressões de compilação."
  3238. #. type: node
  3239. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3240. #: guix-git/doc/guix.texi:10099
  3241. #, no-wrap
  3242. msgid "Invoking guix repl"
  3243. msgstr "Invocando guix repl"
  3244. #. type: menuentry
  3245. #: guix-git/doc/guix.texi:280
  3246. msgid "Programming Guix in Guile."
  3247. msgstr ""
  3248. #. type: node
  3249. #: guix-git/doc/guix.texi:285 guix-git/doc/guix.texi:6685
  3250. #: guix-git/doc/guix.texi:6688
  3251. #, no-wrap
  3252. msgid "package Reference"
  3253. msgstr "Referência do package"
  3254. #. type: menuentry
  3255. #: guix-git/doc/guix.texi:285 guix-git/doc/guix.texi:6685
  3256. msgid "The package data type."
  3257. msgstr "O tipo de dados package."
  3258. #. type: node
  3259. #: guix-git/doc/guix.texi:285 guix-git/doc/guix.texi:6685
  3260. #: guix-git/doc/guix.texi:6860
  3261. #, no-wrap
  3262. msgid "origin Reference"
  3263. msgstr "Referência do origin"
  3264. #. type: menuentry
  3265. #: guix-git/doc/guix.texi:285 guix-git/doc/guix.texi:6685
  3266. msgid "The origin data type."
  3267. msgstr "O tipo de dados origin."
  3268. #. type: node
  3269. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3270. #: guix-git/doc/guix.texi:10225
  3271. #, no-wrap
  3272. msgid "Invoking guix build"
  3273. msgstr "Invocando guix build"
  3274. #. type: menuentry
  3275. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3276. msgid "Building packages from the command line."
  3277. msgstr "Compilando pacotes a partir da linha de comando."
  3278. #. type: node
  3279. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3280. #: guix-git/doc/guix.texi:11061
  3281. #, no-wrap
  3282. msgid "Invoking guix edit"
  3283. msgstr "Invocando guix edit"
  3284. #. type: menuentry
  3285. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3286. msgid "Editing package definitions."
  3287. msgstr "Editando definições de pacote."
  3288. #. type: node
  3289. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3290. #: guix-git/doc/guix.texi:11091
  3291. #, no-wrap
  3292. msgid "Invoking guix download"
  3293. msgstr "Invocando guix download"
  3294. #. type: menuentry
  3295. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3296. msgid "Downloading a file and printing its hash."
  3297. msgstr "Baixando um arquivo e imprimindo seu hash."
  3298. #. type: node
  3299. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3300. #: guix-git/doc/guix.texi:11149
  3301. #, no-wrap
  3302. msgid "Invoking guix hash"
  3303. msgstr "Invocando guix hash"
  3304. #. type: menuentry
  3305. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3306. msgid "Computing the cryptographic hash of a file."
  3307. msgstr "Computando a hash criptográfica de um arquivo."
  3308. #. type: node
  3309. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3310. #: guix-git/doc/guix.texi:11221
  3311. #, no-wrap
  3312. msgid "Invoking guix import"
  3313. msgstr "Invocando guix import"
  3314. #. type: menuentry
  3315. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3316. msgid "Importing package definitions."
  3317. msgstr "Importando definições de pacote."
  3318. #. type: node
  3319. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3320. #: guix-git/doc/guix.texi:11747
  3321. #, no-wrap
  3322. msgid "Invoking guix refresh"
  3323. msgstr "Invocando guix refresh"
  3324. #. type: menuentry
  3325. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3326. msgid "Updating package definitions."
  3327. msgstr "Atualizando definições de pacotes."
  3328. #. type: node
  3329. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3330. #: guix-git/doc/guix.texi:12085
  3331. #, no-wrap
  3332. msgid "Invoking guix lint"
  3333. msgstr "Invocando guix lint"
  3334. #. type: menuentry
  3335. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3336. msgid "Finding errors in package definitions."
  3337. msgstr "Encontrando erros nas definições de pacote."
  3338. #. type: node
  3339. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3340. #: guix-git/doc/guix.texi:12254
  3341. #, no-wrap
  3342. msgid "Invoking guix size"
  3343. msgstr "Invocando guix size"
  3344. #. type: menuentry
  3345. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3346. msgid "Profiling disk usage."
  3347. msgstr "Perfilando uso de disco."
  3348. #. type: node
  3349. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3350. #: guix-git/doc/guix.texi:12398
  3351. #, no-wrap
  3352. msgid "Invoking guix graph"
  3353. msgstr "Invocando guix graph"
  3354. #. type: menuentry
  3355. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3356. msgid "Visualizing the graph of packages."
  3357. msgstr "Visualizando o grafo de pacotes."
  3358. #. type: node
  3359. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3360. #: guix-git/doc/guix.texi:12665
  3361. #, no-wrap
  3362. msgid "Invoking guix publish"
  3363. msgstr "Invocando guix publish"
  3364. #. type: menuentry
  3365. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3366. msgid "Sharing substitutes."
  3367. msgstr "Compartilhando substitutos."
  3368. #. type: node
  3369. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3370. #: guix-git/doc/guix.texi:12934
  3371. #, no-wrap
  3372. msgid "Invoking guix challenge"
  3373. msgstr "Invocando guix challenge"
  3374. #. type: menuentry
  3375. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3376. msgid "Challenging substitute servers."
  3377. msgstr "Desafiando servidores substitutos."
  3378. #. type: node
  3379. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3380. #: guix-git/doc/guix.texi:13117
  3381. #, no-wrap
  3382. msgid "Invoking guix copy"
  3383. msgstr "Invocando guix copy"
  3384. #. type: menuentry
  3385. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3386. msgid "Copying to and from a remote store."
  3387. msgstr "Copiando para e de um armazém remoto."
  3388. #. type: node
  3389. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3390. #: guix-git/doc/guix.texi:13180
  3391. #, no-wrap
  3392. msgid "Invoking guix container"
  3393. msgstr "Invocando guix container"
  3394. #. type: menuentry
  3395. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3396. msgid "Process isolation."
  3397. msgstr "Isolação de processo."
  3398. #. type: node
  3399. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3400. #: guix-git/doc/guix.texi:13234
  3401. #, no-wrap
  3402. msgid "Invoking guix weather"
  3403. msgstr "Invocando guix weather"
  3404. #. type: menuentry
  3405. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3406. msgid "Assessing substitute availability."
  3407. msgstr "Acessando disponibilidade de substituto."
  3408. #. type: node
  3409. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3410. #: guix-git/doc/guix.texi:13364
  3411. #, no-wrap
  3412. msgid "Invoking guix processes"
  3413. msgstr "Invocando guix processes"
  3414. #. type: menuentry
  3415. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3416. msgid "Listing client processes."
  3417. msgstr "Listando processos do cliente."
  3418. #. type: section
  3419. #: guix-git/doc/guix.texi:305 guix-git/doc/guix.texi:10226
  3420. #, no-wrap
  3421. msgid "Invoking @command{guix build}"
  3422. msgstr "Invocando @command{guix build}"
  3423. #. type: subsection
  3424. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3425. #: guix-git/doc/guix.texi:10279 guix-git/doc/guix.texi:10280
  3426. #, no-wrap
  3427. msgid "Common Build Options"
  3428. msgstr "Opções de compilação comum"
  3429. #. type: menuentry
  3430. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3431. msgid "Build options for most commands."
  3432. msgstr "Opções de compilação para a maioria dos comandos."
  3433. #. type: subsection
  3434. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3435. #: guix-git/doc/guix.texi:10434 guix-git/doc/guix.texi:10435
  3436. #, no-wrap
  3437. msgid "Package Transformation Options"
  3438. msgstr "Opções de transformação de pacote"
  3439. #. type: menuentry
  3440. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3441. msgid "Creating variants of packages."
  3442. msgstr "Criando variantes de pacotes."
  3443. #. type: subsection
  3444. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3445. #: guix-git/doc/guix.texi:10743 guix-git/doc/guix.texi:10744
  3446. #, no-wrap
  3447. msgid "Additional Build Options"
  3448. msgstr "Opções de compilação adicional"
  3449. #. type: menuentry
  3450. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3451. msgid "Options specific to 'guix build'."
  3452. msgstr "Opções específicas para \"guix build\"."
  3453. #. type: subsection
  3454. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3455. #: guix-git/doc/guix.texi:10981 guix-git/doc/guix.texi:10982
  3456. #, no-wrap
  3457. msgid "Debugging Build Failures"
  3458. msgstr "Depurando falhas de compilação"
  3459. #. type: menuentry
  3460. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3461. msgid "Real life packaging experience."
  3462. msgstr "Experiência de empacotamento na vida real."
  3463. #. type: section
  3464. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3465. #: guix-git/doc/guix.texi:13507 guix-git/doc/guix.texi:13508
  3466. #, no-wrap
  3467. msgid "Using the Configuration System"
  3468. msgstr "Usando o sistema de configuração"
  3469. #. type: menuentry
  3470. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3471. msgid "Customizing your GNU system."
  3472. msgstr "Personalizando seu sistema GNU."
  3473. #. type: node
  3474. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3475. #: guix-git/doc/guix.texi:13758
  3476. #, no-wrap
  3477. msgid "operating-system Reference"
  3478. msgstr "Referência do operating-system"
  3479. #. type: menuentry
  3480. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3481. msgid "Detail of operating-system declarations."
  3482. msgstr "Detalhe das declarações do operating-system."
  3483. #. type: section
  3484. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3485. #: guix-git/doc/guix.texi:14010 guix-git/doc/guix.texi:14011
  3486. #, no-wrap
  3487. msgid "File Systems"
  3488. msgstr "Sistemas de arquivos"
  3489. #. type: menuentry
  3490. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3491. msgid "Configuring file system mounts."
  3492. msgstr "Configurando montagens de sistema de arquivos."
  3493. #. type: section
  3494. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3495. #: guix-git/doc/guix.texi:14333 guix-git/doc/guix.texi:14334
  3496. #, no-wrap
  3497. msgid "Mapped Devices"
  3498. msgstr "Dispositivos mapeados"
  3499. #. type: menuentry
  3500. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3501. msgid "Block device extra processing."
  3502. msgstr "Processamento extra de dispositivo de bloco."
  3503. #. type: section
  3504. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3505. #: guix-git/doc/guix.texi:14481 guix-git/doc/guix.texi:14482
  3506. #, no-wrap
  3507. msgid "User Accounts"
  3508. msgstr "Contas de usuários"
  3509. #. type: menuentry
  3510. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3511. msgid "Specifying user accounts."
  3512. msgstr "Especificando contas de usuários."
  3513. #. type: section
  3514. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:2274
  3515. #: guix-git/doc/guix.texi:13505 guix-git/doc/guix.texi:14657
  3516. #: guix-git/doc/guix.texi:14658
  3517. #, no-wrap
  3518. msgid "Keyboard Layout"
  3519. msgstr "Disposição do teclado"
  3520. #. type: menuentry
  3521. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3522. msgid "How the system interprets key strokes."
  3523. msgstr "Como o sistema interpreta pressionamento de teclas."
  3524. #. type: section
  3525. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:1801
  3526. #: guix-git/doc/guix.texi:13505 guix-git/doc/guix.texi:14803
  3527. #: guix-git/doc/guix.texi:14804
  3528. #, no-wrap
  3529. msgid "Locales"
  3530. msgstr "Locales"
  3531. #. type: menuentry
  3532. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3533. msgid "Language and cultural convention settings."
  3534. msgstr "Configurações de idioma e de convenção cultural."
  3535. #. type: section
  3536. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:332
  3537. #: guix-git/doc/guix.texi:13505 guix-git/doc/guix.texi:14943
  3538. #: guix-git/doc/guix.texi:14944
  3539. #, no-wrap
  3540. msgid "Services"
  3541. msgstr "Serviços"
  3542. #. type: menuentry
  3543. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3544. msgid "Specifying system services."
  3545. msgstr "Especificando serviços de sistema."
  3546. #. type: section
  3547. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3548. #: guix-git/doc/guix.texi:32688 guix-git/doc/guix.texi:32689
  3549. #, no-wrap
  3550. msgid "Setuid Programs"
  3551. msgstr "Programas setuid"
  3552. #. type: menuentry
  3553. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3554. msgid "Programs running with root privileges."
  3555. msgstr "Programas sendo executados com privilégios de root."
  3556. #. type: section
  3557. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:1950
  3558. #: guix-git/doc/guix.texi:13505 guix-git/doc/guix.texi:32761
  3559. #: guix-git/doc/guix.texi:32762
  3560. #, no-wrap
  3561. msgid "X.509 Certificates"
  3562. msgstr "Certificados X.509"
  3563. #. type: menuentry
  3564. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3565. msgid "Authenticating HTTPS servers."
  3566. msgstr "Autenticando servidores HTTPS."
  3567. #. type: section
  3568. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:1844
  3569. #: guix-git/doc/guix.texi:13505 guix-git/doc/guix.texi:32824
  3570. #: guix-git/doc/guix.texi:32825
  3571. #, no-wrap
  3572. msgid "Name Service Switch"
  3573. msgstr "Name Service Switch"
  3574. #. type: menuentry
  3575. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3576. msgid "Configuring libc's name service switch."
  3577. msgstr "Configurando name service switch do libc."
  3578. #. type: section
  3579. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3580. #: guix-git/doc/guix.texi:32962 guix-git/doc/guix.texi:32963
  3581. #, no-wrap
  3582. msgid "Initial RAM Disk"
  3583. msgstr "Disco de RAM inicial"
  3584. #. type: menuentry
  3585. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3586. msgid "Linux-Libre bootstrapping."
  3587. msgstr "Inicialização do Linux-Libre."
  3588. #. type: section
  3589. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3590. #: guix-git/doc/guix.texi:33138 guix-git/doc/guix.texi:33139
  3591. #, no-wrap
  3592. msgid "Bootloader Configuration"
  3593. msgstr "Configuração do carregador de inicialização"
  3594. #. type: menuentry
  3595. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3596. msgid "Configuring the boot loader."
  3597. msgstr "Configurando o \"bootloader\"."
  3598. #. type: node
  3599. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3600. #: guix-git/doc/guix.texi:33432
  3601. #, no-wrap
  3602. msgid "Invoking guix system"
  3603. msgstr "Invocando guix system"
  3604. #. type: menuentry
  3605. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3606. msgid "Instantiating a system configuration."
  3607. msgstr "Inicializando uma configuração de sistema."
  3608. #. type: node
  3609. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3610. #: guix-git/doc/guix.texi:34017
  3611. #, no-wrap
  3612. msgid "Invoking guix deploy"
  3613. msgstr ""
  3614. #. type: menuentry
  3615. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3616. msgid "Deploying a system configuration to a remote host."
  3617. msgstr ""
  3618. #. type: node
  3619. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3620. #: guix-git/doc/guix.texi:34223
  3621. #, no-wrap
  3622. msgid "Running Guix in a VM"
  3623. msgstr "Executando Guix em uma VM"
  3624. #. type: menuentry
  3625. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3626. msgid "How to run Guix System in a virtual machine."
  3627. msgstr "Como executar Guix System em uma máquina virtual."
  3628. #. type: section
  3629. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:367
  3630. #: guix-git/doc/guix.texi:13505 guix-git/doc/guix.texi:34357
  3631. #: guix-git/doc/guix.texi:34358
  3632. #, no-wrap
  3633. msgid "Defining Services"
  3634. msgstr "Definindo serviços"
  3635. #. type: menuentry
  3636. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3637. msgid "Adding new service definitions."
  3638. msgstr "Adicionando novas definições de serviço."
  3639. #. type: subsection
  3640. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3641. #: guix-git/doc/guix.texi:15028 guix-git/doc/guix.texi:15029
  3642. #, no-wrap
  3643. msgid "Base Services"
  3644. msgstr "Serviços base"
  3645. #. type: menuentry
  3646. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3647. msgid "Essential system services."
  3648. msgstr "Serviços essenciais do sistema."
  3649. #. type: subsection
  3650. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3651. #: guix-git/doc/guix.texi:15955 guix-git/doc/guix.texi:15956
  3652. #, no-wrap
  3653. msgid "Scheduled Job Execution"
  3654. msgstr "Execução de trabalho agendado"
  3655. #. type: menuentry
  3656. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3657. msgid "The mcron service."
  3658. msgstr "O serviço mcron."
  3659. #. type: subsection
  3660. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3661. #: guix-git/doc/guix.texi:16105 guix-git/doc/guix.texi:16106
  3662. #, no-wrap
  3663. msgid "Log Rotation"
  3664. msgstr "Rotação de log"
  3665. #. type: menuentry
  3666. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3667. msgid "The rottlog service."
  3668. msgstr "O serviço rottlog."
  3669. #. type: subsection
  3670. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3671. #: guix-git/doc/guix.texi:16218 guix-git/doc/guix.texi:16219
  3672. #, no-wrap
  3673. msgid "Networking Services"
  3674. msgstr "Serviços de Rede"
  3675. #. type: menuentry
  3676. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3677. msgid "Network setup, SSH daemon, etc."
  3678. msgstr "Configuração de rede, daemon SSH, etc."
  3679. #. type: subsection
  3680. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3681. #: guix-git/doc/guix.texi:17883 guix-git/doc/guix.texi:17884
  3682. #, no-wrap
  3683. msgid "Unattended Upgrades"
  3684. msgstr ""
  3685. #. type: menuentry
  3686. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3687. msgid "Automated system upgrades."
  3688. msgstr ""
  3689. #. type: subsection
  3690. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3691. #: guix-git/doc/guix.texi:18021 guix-git/doc/guix.texi:18022
  3692. #, no-wrap
  3693. msgid "X Window"
  3694. msgstr "X Window"
  3695. #. type: menuentry
  3696. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3697. msgid "Graphical display."
  3698. msgstr "Exibição gráfica."
  3699. #. type: subsection
  3700. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3701. #: guix-git/doc/guix.texi:18406 guix-git/doc/guix.texi:18407
  3702. #, no-wrap
  3703. msgid "Printing Services"
  3704. msgstr "Serviços de impressão"
  3705. #. type: menuentry
  3706. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3707. msgid "Local and remote printer support."
  3708. msgstr "Suporte a impressora local e remota."
  3709. #. type: subsection
  3710. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3711. #: guix-git/doc/guix.texi:19253 guix-git/doc/guix.texi:19254
  3712. #, no-wrap
  3713. msgid "Desktop Services"
  3714. msgstr "Serviços de desktop"
  3715. #. type: menuentry
  3716. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3717. msgid "D-Bus and desktop services."
  3718. msgstr "Serviços de D-Bus e desktop."
  3719. #. type: subsection
  3720. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3721. #: guix-git/doc/guix.texi:19771 guix-git/doc/guix.texi:19772
  3722. #, no-wrap
  3723. msgid "Sound Services"
  3724. msgstr "Serviços de som"
  3725. #. type: menuentry
  3726. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3727. msgid "ALSA and Pulseaudio services."
  3728. msgstr "Serviços ALSA e Pulseaudio."
  3729. #. type: subsection
  3730. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3731. #: guix-git/doc/guix.texi:19911 guix-git/doc/guix.texi:19912
  3732. #, no-wrap
  3733. msgid "Database Services"
  3734. msgstr "Serviços de bancos de dados"
  3735. #. type: menuentry
  3736. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3737. msgid "SQL databases, key-value stores, etc."
  3738. msgstr "Banco de dados SQL, armazenamentos de valor chave, etc."
  3739. #. type: subsection
  3740. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3741. #: guix-git/doc/guix.texi:20246 guix-git/doc/guix.texi:20247
  3742. #, no-wrap
  3743. msgid "Mail Services"
  3744. msgstr "Serviços de correio"
  3745. #. type: menuentry
  3746. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3747. msgid "IMAP, POP3, SMTP, and all that."
  3748. msgstr "IMAP, POP3, SMTP e tudo isso."
  3749. #. type: subsection
  3750. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3751. #: guix-git/doc/guix.texi:22105 guix-git/doc/guix.texi:22106
  3752. #, no-wrap
  3753. msgid "Messaging Services"
  3754. msgstr "Serviços de mensageria"
  3755. #. type: menuentry
  3756. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3757. msgid "Messaging services."
  3758. msgstr "Serviços de mensageria."
  3759. #. type: subsection
  3760. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3761. #: guix-git/doc/guix.texi:22608 guix-git/doc/guix.texi:22609
  3762. #, no-wrap
  3763. msgid "Telephony Services"
  3764. msgstr "Serviços de telefonia"
  3765. #. type: menuentry
  3766. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3767. msgid "Telephony services."
  3768. msgstr "Serviços de telefonia."
  3769. #. type: subsection
  3770. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3771. #: guix-git/doc/guix.texi:23839 guix-git/doc/guix.texi:23840
  3772. #, no-wrap
  3773. msgid "Monitoring Services"
  3774. msgstr "Serviços de monitoramento"
  3775. #. type: menuentry
  3776. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3777. msgid "Monitoring services."
  3778. msgstr "Serviços de monitoramento."
  3779. #. type: subsection
  3780. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3781. #: guix-git/doc/guix.texi:24350 guix-git/doc/guix.texi:24351
  3782. #, no-wrap
  3783. msgid "Kerberos Services"
  3784. msgstr "Serviços Kerberos"
  3785. #. type: menuentry
  3786. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3787. msgid "Kerberos services."
  3788. msgstr "Serviços Kerberos."
  3789. #. type: subsection
  3790. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3791. #: guix-git/doc/guix.texi:24476 guix-git/doc/guix.texi:24477
  3792. #, no-wrap
  3793. msgid "LDAP Services"
  3794. msgstr ""
  3795. #. type: menuentry
  3796. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3797. msgid "LDAP services."
  3798. msgstr ""
  3799. #. type: subsection
  3800. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3801. #: guix-git/doc/guix.texi:24955 guix-git/doc/guix.texi:24956
  3802. #, no-wrap
  3803. msgid "Web Services"
  3804. msgstr "Serviços Web"
  3805. #. type: menuentry
  3806. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3807. msgid "Web servers."
  3808. msgstr "Servidores Web."
  3809. #. type: subsection
  3810. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3811. #: guix-git/doc/guix.texi:26156 guix-git/doc/guix.texi:26157
  3812. #, no-wrap
  3813. msgid "Certificate Services"
  3814. msgstr "Serviços de certificado"
  3815. #. type: menuentry
  3816. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3817. msgid "TLS certificates via Let's Encrypt."
  3818. msgstr "Certificados TLS via Let's Encrypt."
  3819. #. type: subsection
  3820. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3821. #: guix-git/doc/guix.texi:26337 guix-git/doc/guix.texi:26338
  3822. #, no-wrap
  3823. msgid "DNS Services"
  3824. msgstr "Serviços DNS"
  3825. #. type: menuentry
  3826. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3827. msgid "DNS daemons."
  3828. msgstr "Deamons DNS."
  3829. #. type: subsection
  3830. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3831. #: guix-git/doc/guix.texi:27085 guix-git/doc/guix.texi:27086
  3832. #, no-wrap
  3833. msgid "VPN Services"
  3834. msgstr "Serviços VPN"
  3835. #. type: menuentry
  3836. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3837. msgid "VPN daemons."
  3838. msgstr "Deamons VPN."
  3839. #. type: subsection
  3840. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3841. #: guix-git/doc/guix.texi:27591 guix-git/doc/guix.texi:27592
  3842. #, no-wrap
  3843. msgid "Network File System"
  3844. msgstr "Sistema de arquivos de rede"
  3845. #. type: menuentry
  3846. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3847. msgid "NFS related services."
  3848. msgstr "Serviços relacionados a NFS."
  3849. #. type: subsection
  3850. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3851. #: guix-git/doc/guix.texi:27787 guix-git/doc/guix.texi:27788
  3852. #, no-wrap
  3853. msgid "Continuous Integration"
  3854. msgstr "Integração contínua"
  3855. #. type: menuentry
  3856. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3857. #, fuzzy
  3858. msgid "Cuirass and Laminar services."
  3859. msgstr "O serviço Cuirass."
  3860. #. type: subsection
  3861. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3862. #: guix-git/doc/guix.texi:28073 guix-git/doc/guix.texi:28074
  3863. #, no-wrap
  3864. msgid "Power Management Services"
  3865. msgstr "Serviços de gerenciamento de energia"
  3866. #. type: menuentry
  3867. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3868. msgid "Extending battery life."
  3869. msgstr "Estendendo a vida da bateria."
  3870. #. type: subsection
  3871. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3872. #: guix-git/doc/guix.texi:28607 guix-git/doc/guix.texi:28608
  3873. #, no-wrap
  3874. msgid "Audio Services"
  3875. msgstr "Serviços de áudio"
  3876. #. type: menuentry
  3877. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3878. msgid "The MPD."
  3879. msgstr "O MPD."
  3880. #. type: subsection
  3881. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3882. #: guix-git/doc/guix.texi:28726 guix-git/doc/guix.texi:28727
  3883. #, no-wrap
  3884. msgid "Virtualization Services"
  3885. msgstr "Serviços de virtualização"
  3886. #. type: menuentry
  3887. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3888. msgid "Virtualization services."
  3889. msgstr "Serviços de virtualização."
  3890. #. type: subsection
  3891. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3892. #: guix-git/doc/guix.texi:30341 guix-git/doc/guix.texi:30342
  3893. #, no-wrap
  3894. msgid "Version Control Services"
  3895. msgstr "Serviços de controlando versão"
  3896. #. type: menuentry
  3897. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3898. msgid "Providing remote access to Git repositories."
  3899. msgstr "Fornecendo acesso remoto a repositórios Git."
  3900. #. type: subsection
  3901. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3902. #: guix-git/doc/guix.texi:31533 guix-git/doc/guix.texi:31534
  3903. #, no-wrap
  3904. msgid "Game Services"
  3905. msgstr "Serviços de jogos"
  3906. #. type: menuentry
  3907. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3908. msgid "Game servers."
  3909. msgstr "Servidores de jogos."
  3910. #. type: subsection
  3911. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3912. #: guix-git/doc/guix.texi:31565 guix-git/doc/guix.texi:31566
  3913. #, no-wrap
  3914. msgid "PAM Mount Service"
  3915. msgstr ""
  3916. #. type: menuentry
  3917. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3918. msgid "Service to mount volumes when logging in."
  3919. msgstr ""
  3920. #. type: subsection
  3921. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3922. #: guix-git/doc/guix.texi:31648 guix-git/doc/guix.texi:31649
  3923. #, no-wrap
  3924. msgid "Guix Services"
  3925. msgstr ""
  3926. #. type: menuentry
  3927. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3928. msgid "Services relating specifically to Guix."
  3929. msgstr ""
  3930. #. type: subsection
  3931. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3932. #: guix-git/doc/guix.texi:31932 guix-git/doc/guix.texi:31933
  3933. #, no-wrap
  3934. msgid "Linux Services"
  3935. msgstr ""
  3936. #. type: menuentry
  3937. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3938. msgid "Services tied to the Linux kernel."
  3939. msgstr ""
  3940. #. type: subsection
  3941. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3942. #: guix-git/doc/guix.texi:32159 guix-git/doc/guix.texi:32160
  3943. #, no-wrap
  3944. msgid "Hurd Services"
  3945. msgstr ""
  3946. #. type: menuentry
  3947. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3948. msgid "Services specific for a Hurd System."
  3949. msgstr ""
  3950. #. type: subsection
  3951. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3952. #: guix-git/doc/guix.texi:32201 guix-git/doc/guix.texi:32202
  3953. #, no-wrap
  3954. msgid "Miscellaneous Services"
  3955. msgstr "Serviços diversos"
  3956. #. type: menuentry
  3957. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3958. msgid "Other services."
  3959. msgstr "Outros serviços."
  3960. #. type: subsection
  3961. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3962. #: guix-git/doc/guix.texi:34371 guix-git/doc/guix.texi:34372
  3963. #, no-wrap
  3964. msgid "Service Composition"
  3965. msgstr "Composição de serviço"
  3966. #. type: menuentry
  3967. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3968. msgid "The model for composing services."
  3969. msgstr "O modelo para serviços de composição."
  3970. #. type: subsection
  3971. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3972. #: guix-git/doc/guix.texi:34427 guix-git/doc/guix.texi:34428
  3973. #, no-wrap
  3974. msgid "Service Types and Services"
  3975. msgstr "Tipos de Service e Serviços"
  3976. #. type: menuentry
  3977. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3978. msgid "Types and services."
  3979. msgstr "Tipos e serviços."
  3980. #. type: subsection
  3981. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3982. #: guix-git/doc/guix.texi:34564 guix-git/doc/guix.texi:34565
  3983. #, no-wrap
  3984. msgid "Service Reference"
  3985. msgstr "Referência de Service"
  3986. #. type: menuentry
  3987. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3988. msgid "API reference."
  3989. msgstr "Referência de API."
  3990. #. type: subsection
  3991. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3992. #: guix-git/doc/guix.texi:34874 guix-git/doc/guix.texi:34875
  3993. #, no-wrap
  3994. msgid "Shepherd Services"
  3995. msgstr "Serviços de Shepherd"
  3996. #. type: menuentry
  3997. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3998. msgid "A particular type of service."
  3999. msgstr "Um tipo em particular de serviço."
  4000. #. type: section
  4001. #: guix-git/doc/guix.texi:377 guix-git/doc/guix.texi:35175
  4002. #: guix-git/doc/guix.texi:35177 guix-git/doc/guix.texi:35178
  4003. #, no-wrap
  4004. msgid "Separate Debug Info"
  4005. msgstr ""
  4006. #. type: menuentry
  4007. #: guix-git/doc/guix.texi:377 guix-git/doc/guix.texi:35175
  4008. msgid "Installing 'debug' outputs."
  4009. msgstr ""
  4010. #. type: section
  4011. #: guix-git/doc/guix.texi:377 guix-git/doc/guix.texi:35175
  4012. #: guix-git/doc/guix.texi:35236 guix-git/doc/guix.texi:35237
  4013. #, no-wrap
  4014. msgid "Rebuilding Debug Info"
  4015. msgstr ""
  4016. #. type: menuentry
  4017. #: guix-git/doc/guix.texi:377 guix-git/doc/guix.texi:35175
  4018. msgid "Building missing debug info."
  4019. msgstr ""
  4020. #. type: node
  4021. #: guix-git/doc/guix.texi:382 guix-git/doc/guix.texi:35453
  4022. #: guix-git/doc/guix.texi:35455
  4023. #, no-wrap
  4024. msgid "Reduced Binary Seed Bootstrap"
  4025. msgstr ""
  4026. #. type: menuentry
  4027. #: guix-git/doc/guix.texi:382 guix-git/doc/guix.texi:35453
  4028. msgid "A Bootstrap worthy of GNU."
  4029. msgstr ""
  4030. #. type: section
  4031. #: guix-git/doc/guix.texi:382 guix-git/doc/guix.texi:35453
  4032. #: guix-git/doc/guix.texi:35530 guix-git/doc/guix.texi:35531
  4033. #, no-wrap
  4034. msgid "Preparing to Use the Bootstrap Binaries"
  4035. msgstr ""
  4036. #. type: menuentry
  4037. #: guix-git/doc/guix.texi:382 guix-git/doc/guix.texi:35453
  4038. msgid "Building that what matters most."
  4039. msgstr ""
  4040. #. type: cindex
  4041. #: guix-git/doc/guix.texi:390
  4042. #, no-wrap
  4043. msgid "purpose"
  4044. msgstr "propósito"
  4045. #. type: Plain text
  4046. #: guix-git/doc/guix.texi:398
  4047. 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."
  4048. 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."
  4049. #. type: cindex
  4050. #: guix-git/doc/guix.texi:399 guix-git/doc/guix.texi:474
  4051. #, no-wrap
  4052. msgid "Guix System"
  4053. msgstr "Guix System"
  4054. #. type: cindex
  4055. #: guix-git/doc/guix.texi:400
  4056. #, no-wrap
  4057. msgid "GuixSD, now Guix System"
  4058. msgstr "GuixSD, agora Guix System"
  4059. #. type: cindex
  4060. #: guix-git/doc/guix.texi:401
  4061. #, no-wrap
  4062. msgid "Guix System Distribution, now Guix System"
  4063. msgstr "Guix System Distribution, agora Guix System"
  4064. #. type: Plain text
  4065. #: guix-git/doc/guix.texi:410
  4066. 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}."
  4067. 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}."
  4068. #. type: cindex
  4069. #: guix-git/doc/guix.texi:419
  4070. #, no-wrap
  4071. msgid "user interfaces"
  4072. msgstr "interfaces de usuário"
  4073. #. type: Plain text
  4074. #: guix-git/doc/guix.texi:425
  4075. 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})."
  4076. msgstr ""
  4077. #. type: cindex
  4078. #: guix-git/doc/guix.texi:425
  4079. #, no-wrap
  4080. msgid "build daemon"
  4081. msgstr "build daemon"
  4082. #. type: Plain text
  4083. #: guix-git/doc/guix.texi:429
  4084. 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})."
  4085. 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})."
  4086. #. type: cindex
  4087. #: guix-git/doc/guix.texi:430
  4088. #, no-wrap
  4089. msgid "extensibility of the distribution"
  4090. msgstr "extensibilidade da distribuição"
  4091. #. type: cindex
  4092. #: guix-git/doc/guix.texi:431 guix-git/doc/guix.texi:6442
  4093. #, no-wrap
  4094. msgid "customization, of packages"
  4095. msgstr "personalização, de pacotes"
  4096. #. type: Plain text
  4097. #: guix-git/doc/guix.texi:440
  4098. 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})."
  4099. 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})."
  4100. #. type: cindex
  4101. #: guix-git/doc/guix.texi:441
  4102. #, no-wrap
  4103. msgid "functional package management"
  4104. msgstr "gerenciamento de pacotes funcional"
  4105. #. type: cindex
  4106. #: guix-git/doc/guix.texi:442
  4107. #, no-wrap
  4108. msgid "isolation"
  4109. msgstr "isolação"
  4110. #. type: Plain text
  4111. #: guix-git/doc/guix.texi:457
  4112. 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."
  4113. 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."
  4114. #. type: cindex
  4115. #: guix-git/doc/guix.texi:458 guix-git/doc/guix.texi:8797
  4116. #, no-wrap
  4117. msgid "store"
  4118. msgstr "armazém"
  4119. #. type: Plain text
  4120. #: guix-git/doc/guix.texi:465
  4121. 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."
  4122. 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."
  4123. #. type: Plain text
  4124. #: guix-git/doc/guix.texi:469
  4125. 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})."
  4126. 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})."
  4127. #. type: Plain text
  4128. #: guix-git/doc/guix.texi:484
  4129. 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."
  4130. 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."
  4131. #. type: Plain text
  4132. #: guix-git/doc/guix.texi:490
  4133. 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}):"
  4134. 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}):"
  4135. #. type: example
  4136. #: guix-git/doc/guix.texi:493
  4137. #, no-wrap
  4138. msgid "guix package --list-available\n"
  4139. msgstr "guix package --list-available\n"
  4140. #. type: Plain text
  4141. #: guix-git/doc/guix.texi:499
  4142. 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."
  4143. 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."
  4144. #. type: Plain text
  4145. #: guix-git/doc/guix.texi:501
  4146. msgid "Packages are currently available on the following platforms:"
  4147. msgstr "Os pacotes estão atualmente disponíveis nas seguintes plataformas:"
  4148. #. type: item
  4149. #: guix-git/doc/guix.texi:504 guix-git/doc/guix.texi:2121
  4150. #, no-wrap
  4151. msgid "x86_64-linux"
  4152. msgstr "x86_64-linux"
  4153. #. type: table
  4154. #: guix-git/doc/guix.texi:506
  4155. msgid "Intel/AMD @code{x86_64} architecture, Linux-Libre kernel."
  4156. msgstr ""
  4157. #. type: item
  4158. #: guix-git/doc/guix.texi:507 guix-git/doc/guix.texi:2124
  4159. #, no-wrap
  4160. msgid "i686-linux"
  4161. msgstr "i686-linux"
  4162. #. type: table
  4163. #: guix-git/doc/guix.texi:509
  4164. msgid "Intel 32-bit architecture (IA32), Linux-Libre kernel."
  4165. msgstr ""
  4166. #. type: item
  4167. #: guix-git/doc/guix.texi:510
  4168. #, no-wrap
  4169. msgid "armhf-linux"
  4170. msgstr "armhf-linux"
  4171. #. type: table
  4172. #: guix-git/doc/guix.texi:514
  4173. msgid "ARMv7-A architecture with hard float, Thumb-2 and NEON, using the EABI hard-float application binary interface (ABI), and Linux-Libre kernel."
  4174. 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."
  4175. #. type: item
  4176. #: guix-git/doc/guix.texi:515
  4177. #, no-wrap
  4178. msgid "aarch64-linux"
  4179. msgstr "aarch64-linux"
  4180. #. type: table
  4181. #: guix-git/doc/guix.texi:517
  4182. msgid "little-endian 64-bit ARMv8-A processors, Linux-Libre kernel."
  4183. msgstr ""
  4184. #. type: item
  4185. #: guix-git/doc/guix.texi:518
  4186. #, no-wrap
  4187. msgid "i586-gnu"
  4188. msgstr ""
  4189. #. type: table
  4190. #: guix-git/doc/guix.texi:521
  4191. msgid "@uref{https://hurd.gnu.org, GNU/Hurd} on the Intel 32-bit architecture (IA32)."
  4192. msgstr ""
  4193. #. type: table
  4194. #: guix-git/doc/guix.texi:527
  4195. 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!"
  4196. msgstr ""
  4197. #. type: item
  4198. #: guix-git/doc/guix.texi:528
  4199. #, no-wrap
  4200. msgid "mips64el-linux (deprecated)"
  4201. msgstr ""
  4202. #. type: table
  4203. #: guix-git/doc/guix.texi:534
  4204. 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."
  4205. msgstr ""
  4206. #. type: table
  4207. #: guix-git/doc/guix.texi:545
  4208. 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!"
  4209. msgstr ""
  4210. #. type: Plain text
  4211. #: guix-git/doc/guix.texi:555
  4212. 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."
  4213. 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."
  4214. #. type: Plain text
  4215. #: guix-git/doc/guix.texi:558
  4216. #, fuzzy
  4217. msgid "Guix System is available on all the above platforms except @code{mips64el-linux} and @code{powerpc64le-linux}."
  4218. msgstr "O Guix System está disponível em todas as plataformas acima, exceto @code{mips64el-linux}."
  4219. #. type: Plain text
  4220. #: guix-git/doc/guix.texi:562
  4221. msgid "For information on porting to other architectures or kernels, @pxref{Porting}."
  4222. msgstr "Para obter informações sobre como portar para outras arquiteturas ou kernels, @pxref{Portando}."
  4223. #. type: Plain text
  4224. #: guix-git/doc/guix.texi:565
  4225. msgid "Building this distribution is a cooperative effort, and you are invited to join! @xref{Contributing}, for information about how you can help."
  4226. 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."
  4227. #. type: cindex
  4228. #: guix-git/doc/guix.texi:571
  4229. #, no-wrap
  4230. msgid "installing Guix"
  4231. msgstr "instalando Guix"
  4232. #. type: quotation
  4233. #: guix-git/doc/guix.texi:583
  4234. 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."
  4235. 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."
  4236. #. type: cindex
  4237. #: guix-git/doc/guix.texi:585 guix-git/doc/guix.texi:1796
  4238. #, no-wrap
  4239. msgid "foreign distro"
  4240. msgstr "distro alheia"
  4241. #. type: cindex
  4242. #: guix-git/doc/guix.texi:586
  4243. #, no-wrap
  4244. msgid "directories related to foreign distro"
  4245. msgstr "diretórios relacionados à distro alheia"
  4246. #. type: Plain text
  4247. #: guix-git/doc/guix.texi:591
  4248. 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."
  4249. 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."
  4250. #. type: Plain text
  4251. #: guix-git/doc/guix.texi:594
  4252. msgid "Once installed, Guix can be updated by running @command{guix pull} (@pxref{Invoking guix pull})."
  4253. msgstr "Uma vez instalado, o Guix pode ser atualizado executando @command{guix pull} (@pxref{Invocando guix pull})."
  4254. #. type: Plain text
  4255. #: guix-git/doc/guix.texi:599
  4256. 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."
  4257. 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."
  4258. #. type: cindex
  4259. #: guix-git/doc/guix.texi:613
  4260. #, no-wrap
  4261. msgid "installing Guix from binaries"
  4262. msgstr "instalando Guix de binários"
  4263. #. type: cindex
  4264. #: guix-git/doc/guix.texi:614
  4265. #, no-wrap
  4266. msgid "installer script"
  4267. msgstr "script de instalação"
  4268. #. type: Plain text
  4269. #: guix-git/doc/guix.texi:620
  4270. 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."
  4271. 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."
  4272. #. type: quotation
  4273. #: guix-git/doc/guix.texi:628
  4274. 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:"
  4275. msgstr ""
  4276. #. type: example
  4277. #: guix-git/doc/guix.texi:634
  4278. #, no-wrap
  4279. msgid ""
  4280. "cd /tmp\n"
  4281. "wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh\n"
  4282. "chmod +x guix-install.sh\n"
  4283. "./guix-install.sh\n"
  4284. msgstr ""
  4285. #. type: quotation
  4286. #: guix-git/doc/guix.texi:638
  4287. msgid "When you're done, @pxref{Application Setup} for extra configuration you might need, and @ref{Getting Started} for your first steps!"
  4288. msgstr ""
  4289. #. type: Plain text
  4290. #: guix-git/doc/guix.texi:641
  4291. msgid "Installing goes along these lines:"
  4292. msgstr "A instalação segue as seguintes linhas:"
  4293. #. type: cindex
  4294. #: guix-git/doc/guix.texi:644
  4295. #, no-wrap
  4296. msgid "downloading Guix binary"
  4297. msgstr "baixando binário do Guix"
  4298. #. type: enumerate
  4299. #: guix-git/doc/guix.texi:650
  4300. 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})."
  4301. msgstr ""
  4302. #. type: enumerate
  4303. #: guix-git/doc/guix.texi:654
  4304. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the tarball against it, along these lines:"
  4305. msgstr "Certifique-se de baixar o arquivo @file{.sig} associado e verificar a autenticidade do tarball, seguindo estas linhas:"
  4306. #. type: example
  4307. #: guix-git/doc/guix.texi:658
  4308. #, no-wrap
  4309. msgid ""
  4310. "$ wget @value{BASE-URL}/guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4311. "$ gpg --verify guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4312. msgstr ""
  4313. #. type: Plain text
  4314. #: guix-git/doc/guix.texi:662 guix-git/doc/guix.texi:2139
  4315. msgid "If that command fails because you do not have the required public key, then run this command to import it:"
  4316. msgstr "Se esse comando falhar porque você não possui a chave pública requerida, execute este comando para importá-lo:"
  4317. #. type: example
  4318. #: guix-git/doc/guix.texi:666
  4319. #, no-wrap
  4320. msgid ""
  4321. "$ wget '@value{OPENPGP-SIGNING-KEY-URL}' \\\n"
  4322. " -qO - | gpg --import -\n"
  4323. msgstr ""
  4324. #. type: Plain text
  4325. #: guix-git/doc/guix.texi:670 guix-git/doc/guix.texi:2147
  4326. msgid "and rerun the @code{gpg --verify} command."
  4327. msgstr "e execute novamente o comando @code{gpg --verify}."
  4328. #. type: Plain text
  4329. #: guix-git/doc/guix.texi:673 guix-git/doc/guix.texi:2150
  4330. msgid "Take note that a warning like ``This key is not certified with a trusted signature!'' is normal."
  4331. msgstr ""
  4332. #. type: enumerate
  4333. #: guix-git/doc/guix.texi:679
  4334. 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:"
  4335. 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:"
  4336. #. type: example
  4337. #: guix-git/doc/guix.texi:685
  4338. #, no-wrap
  4339. msgid ""
  4340. "# cd /tmp\n"
  4341. "# tar --warning=no-timestamp -xf \\\n"
  4342. " /path/to/guix-binary-@value{VERSION}.x86_64-linux.tar.xz\n"
  4343. "# mv var/guix /var/ && mv gnu /\n"
  4344. msgstr ""
  4345. #. type: enumerate
  4346. #: guix-git/doc/guix.texi:690
  4347. 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)."
  4348. msgstr ""
  4349. #. type: enumerate
  4350. #: guix-git/doc/guix.texi:693
  4351. msgid "Do @emph{not} unpack the tarball on a working Guix system since that would overwrite its own essential files."
  4352. msgstr "@emph{Não} descompacte o tarball em um sistema Guix funcional, pois isso substituiria seus próprios arquivos essenciais."
  4353. #. type: enumerate
  4354. #: guix-git/doc/guix.texi:703
  4355. 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."
  4356. msgstr ""
  4357. #. type: enumerate
  4358. #: guix-git/doc/guix.texi:707
  4359. msgid "Make the profile available under @file{~root/.config/guix/current}, which is where @command{guix pull} will install updates (@pxref{Invoking guix pull}):"
  4360. 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}):"
  4361. #. type: example
  4362. #: guix-git/doc/guix.texi:712
  4363. #, no-wrap
  4364. msgid ""
  4365. "# mkdir -p ~root/.config/guix\n"
  4366. "# ln -sf /var/guix/profiles/per-user/root/current-guix \\\n"
  4367. " ~root/.config/guix/current\n"
  4368. msgstr ""
  4369. "# mkdir -p ~root/.config/guix\n"
  4370. "# ln -sf /var/guix/profiles/per-user/root/current-guix \\\n"
  4371. " ~root/.config/guix/current\n"
  4372. #. type: enumerate
  4373. #: guix-git/doc/guix.texi:716
  4374. msgid "Source @file{etc/profile} to augment @env{PATH} and other relevant environment variables:"
  4375. msgstr ""
  4376. #. type: example
  4377. #: guix-git/doc/guix.texi:720
  4378. #, no-wrap
  4379. msgid ""
  4380. "# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n"
  4381. " source $GUIX_PROFILE/etc/profile\n"
  4382. msgstr ""
  4383. "# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n"
  4384. " source $GUIX_PROFILE/etc/profile\n"
  4385. #. type: enumerate
  4386. #: guix-git/doc/guix.texi:725
  4387. msgid "Create the group and user accounts for build users as explained below (@pxref{Build Environment Setup})."
  4388. msgstr "Crie o grupo e contas de usuário para compilar usuários conforme explicado abaixo (@pxref{Configuração do ambiente de compilação})."
  4389. #. type: enumerate
  4390. #: guix-git/doc/guix.texi:728
  4391. msgid "Run the daemon, and set it to automatically start on boot."
  4392. msgstr "Execute o daemon e configure-o para iniciar automaticamente na inicialização do sistema."
  4393. #. type: enumerate
  4394. #: guix-git/doc/guix.texi:731
  4395. msgid "If your host distro uses the systemd init system, this can be achieved with these commands:"
  4396. msgstr "Se sua distro hospedeira usa o sistema init systemd, isso pode ser obtido com estes comandos:"
  4397. #. type: example
  4398. #: guix-git/doc/guix.texi:744
  4399. #, no-wrap
  4400. msgid ""
  4401. "# cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \\\n"
  4402. " ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \\\n"
  4403. " /etc/systemd/system/\n"
  4404. "# systemctl enable --now gnu-store.mount guix-daemon\n"
  4405. msgstr ""
  4406. #. type: itemize
  4407. #: guix-git/doc/guix.texi:747 guix-git/doc/guix.texi:12924
  4408. msgid "If your host distro uses the Upstart init system:"
  4409. msgstr "Se sua distro hospedeira usa o sistema init Upstart:"
  4410. #. type: example
  4411. #: guix-git/doc/guix.texi:753
  4412. #, no-wrap
  4413. msgid ""
  4414. "# initctl reload-configuration\n"
  4415. "# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n"
  4416. " /etc/init/\n"
  4417. "# start guix-daemon\n"
  4418. msgstr ""
  4419. "# initctl reload-configuration\n"
  4420. "# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n"
  4421. " /etc/init/\n"
  4422. "# start guix-daemon\n"
  4423. #. type: enumerate
  4424. #: guix-git/doc/guix.texi:756
  4425. msgid "Otherwise, you can still start the daemon manually with:"
  4426. msgstr "Caso contrário, você ainda pode iniciar o daemon manualmente com:"
  4427. #. type: example
  4428. #: guix-git/doc/guix.texi:760
  4429. #, no-wrap
  4430. msgid ""
  4431. "# ~root/.config/guix/current/bin/guix-daemon \\\n"
  4432. " --build-users-group=guixbuild\n"
  4433. msgstr ""
  4434. "# ~root/.config/guix/current/bin/guix-daemon \\\n"
  4435. " --build-users-group=guixbuild\n"
  4436. #. type: enumerate
  4437. #: guix-git/doc/guix.texi:765
  4438. msgid "Make the @command{guix} command available to other users on the machine, for instance with:"
  4439. msgstr "Disponibilize o comando @command{guix} para outros usuários na máquina, por exemplo, com:"
  4440. #. type: example
  4441. #: guix-git/doc/guix.texi:770
  4442. #, no-wrap
  4443. msgid ""
  4444. "# mkdir -p /usr/local/bin\n"
  4445. "# cd /usr/local/bin\n"
  4446. "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  4447. msgstr ""
  4448. "# mkdir -p /usr/local/bin\n"
  4449. "# cd /usr/local/bin\n"
  4450. "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  4451. #. type: enumerate
  4452. #: guix-git/doc/guix.texi:774
  4453. msgid "It is also a good idea to make the Info version of this manual available there:"
  4454. msgstr "Também é uma boa ideia disponibilizar a versão Info deste manual:"
  4455. #. type: example
  4456. #: guix-git/doc/guix.texi:780
  4457. #, no-wrap
  4458. msgid ""
  4459. "# mkdir -p /usr/local/share/info\n"
  4460. "# cd /usr/local/share/info\n"
  4461. "# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n"
  4462. " do ln -s $i ; done\n"
  4463. msgstr ""
  4464. "# mkdir -p /usr/local/share/info\n"
  4465. "# cd /usr/local/share/info\n"
  4466. "# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n"
  4467. " do ln -s $i ; done\n"
  4468. #. type: enumerate
  4469. #: guix-git/doc/guix.texi:786
  4470. 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)."
  4471. msgstr ""
  4472. #. type: cindex
  4473. #: guix-git/doc/guix.texi:788 guix-git/doc/guix.texi:3740
  4474. #: guix-git/doc/guix.texi:15569
  4475. #, no-wrap
  4476. msgid "substitutes, authorization thereof"
  4477. msgstr "substitutos, autenticação dela"
  4478. #. type: enumerate
  4479. #: guix-git/doc/guix.texi:792
  4480. #, fuzzy
  4481. #| msgid "To use substitutes from @code{@value{SUBSTITUTE-SERVER}} or one of its mirrors (@pxref{Substitutes}), authorize them:"
  4482. msgid "To use substitutes from @code{@value{SUBSTITUTE-SERVER-1}}, @code{@value{SUBSTITUTE-SERVER-2}} or a mirror (@pxref{Substitutes}), authorize them:"
  4483. msgstr "Para usar substitutos de @code{@value{SUBSTITUTE-SERVER}} ou um de seus espelhos (@pxref{Substitutos}), autorize-os:"
  4484. #. type: example
  4485. #: guix-git/doc/guix.texi:798
  4486. #, fuzzy, no-wrap
  4487. #| msgid ""
  4488. #| "# guix archive --authorize < \\\n"
  4489. #| " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER}.pub\n"
  4490. msgid ""
  4491. "# guix archive --authorize < \\\n"
  4492. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  4493. "# guix archive --authorize < \\\n"
  4494. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  4495. msgstr ""
  4496. "# guix archive --authorize < \\\n"
  4497. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER}.pub\n"
  4498. #. type: quotation
  4499. #: guix-git/doc/guix.texi:805
  4500. 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."
  4501. msgstr ""
  4502. #. type: enumerate
  4503. #: guix-git/doc/guix.texi:810
  4504. msgid "Each user may need to perform a few additional steps to make their Guix environment ready for use, @pxref{Application Setup}."
  4505. msgstr "Cada usuário pode precisar executar algumas etapas adicionais para tornar seu ambiente Guix pronto para uso, @pxref{Configuração de aplicativo}."
  4506. #. type: Plain text
  4507. #: guix-git/doc/guix.texi:813
  4508. msgid "Voilà, the installation is complete!"
  4509. msgstr "Voilà, a instalação está completa!"
  4510. #. type: Plain text
  4511. #: guix-git/doc/guix.texi:816
  4512. msgid "You can confirm that Guix is working by installing a sample package into the root profile:"
  4513. msgstr "Você pode confirmar que o Guix está funcionando instalando um pacote de amostra no perfil raiz:"
  4514. #. type: example
  4515. #: guix-git/doc/guix.texi:819
  4516. #, no-wrap
  4517. msgid "# guix install hello\n"
  4518. msgstr "# guix install hello\n"
  4519. #. type: Plain text
  4520. #: guix-git/doc/guix.texi:823
  4521. msgid "The binary installation tarball can be (re)produced and verified simply by running the following command in the Guix source tree:"
  4522. 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:"
  4523. #. type: example
  4524. #: guix-git/doc/guix.texi:826
  4525. #, no-wrap
  4526. msgid "make guix-binary.@var{system}.tar.xz\n"
  4527. msgstr "make guix-binary.@var{system}.tar.xz\n"
  4528. #. type: Plain text
  4529. #: guix-git/doc/guix.texi:830
  4530. msgid "...@: which, in turn, runs:"
  4531. msgstr "...@: que, por sua vez, executa:"
  4532. #. type: example
  4533. #: guix-git/doc/guix.texi:834
  4534. #, no-wrap
  4535. msgid ""
  4536. "guix pack -s @var{system} --localstatedir \\\n"
  4537. " --profile-name=current-guix guix\n"
  4538. msgstr ""
  4539. "guix pack -s @var{system} --localstatedir \\\n"
  4540. " --profile-name=current-guix guix\n"
  4541. #. type: Plain text
  4542. #: guix-git/doc/guix.texi:837
  4543. msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  4544. msgstr "@xref{Invocando guix pack}, para mais informações sobre essa ferramenta útil."
  4545. #. type: Plain text
  4546. #: guix-git/doc/guix.texi:845
  4547. 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."
  4548. 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."
  4549. #. type: cindex
  4550. #: guix-git/doc/guix.texi:846
  4551. #, no-wrap
  4552. msgid "official website"
  4553. msgstr "site oficial"
  4554. #. type: Plain text
  4555. #: guix-git/doc/guix.texi:849
  4556. msgid "GNU Guix is available for download from its website at @url{https://www.gnu.org/software/guix/}."
  4557. msgstr "O GNU Guix está disponível para download em seu site em @url{http://www.gnu.org/software/guix/}."
  4558. #. type: Plain text
  4559. #: guix-git/doc/guix.texi:851
  4560. msgid "GNU Guix depends on the following packages:"
  4561. msgstr "GNU Guix depende dos seguintes pacotes:"
  4562. #. type: item
  4563. #: guix-git/doc/guix.texi:853
  4564. #, fuzzy, no-wrap
  4565. #| msgid "@url{https://www.gnu.org/software/make/, GNU Make}."
  4566. msgid "@url{https://gnu.org/software/guile/, GNU Guile}, version 3.0.x;"
  4567. msgstr "@url{https://www.gnu.org/software/make/, GNU Make}."
  4568. #. type: item
  4569. #: guix-git/doc/guix.texi:854
  4570. #, no-wrap
  4571. msgid "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version"
  4572. msgstr "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, versão"
  4573. #. type: itemize
  4574. #: guix-git/doc/guix.texi:856
  4575. msgid "0.1.0 or later;"
  4576. msgstr "0.1.0 ou posterior;"
  4577. #. type: itemize
  4578. #: guix-git/doc/guix.texi:860
  4579. 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});"
  4580. 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});"
  4581. #. type: itemize
  4582. #: guix-git/doc/guix.texi:863
  4583. msgid "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;"
  4584. msgstr "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, versão 0.1.0 ou posterior;"
  4585. #. type: item
  4586. #: guix-git/doc/guix.texi:863
  4587. #, fuzzy, no-wrap
  4588. msgid "@uref{https://notabug.org/guile-zlib/guile-zlib, Guile-zlib},"
  4589. msgstr "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, versão 0.1.0 ou posterior;"
  4590. #. type: itemize
  4591. #: guix-git/doc/guix.texi:865
  4592. #, fuzzy
  4593. msgid "version 0.1.0 or later;"
  4594. msgstr "0.1.0 ou posterior;"
  4595. #. type: item
  4596. #: guix-git/doc/guix.texi:865
  4597. #, no-wrap
  4598. msgid "@uref{https://notabug.org/guile-lzlib/guile-lzlib, Guile-lzlib};"
  4599. msgstr ""
  4600. #. type: item
  4601. #: guix-git/doc/guix.texi:866
  4602. #, no-wrap
  4603. msgid "@uref{https://www.nongnu.org/guile-avahi/, Guile-Avahi};"
  4604. msgstr ""
  4605. #. type: itemize
  4606. #: guix-git/doc/guix.texi:870
  4607. #, fuzzy
  4608. #| msgid "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;"
  4609. msgid "@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, version 0.5.0 or later;"
  4610. msgstr "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, versão 0.1.0 ou posterior;"
  4611. #. type: item
  4612. #: guix-git/doc/guix.texi:870
  4613. #, no-wrap
  4614. msgid "@uref{https://savannah.nongnu.org/projects/guile-json/, Guile-JSON}"
  4615. msgstr ""
  4616. #. type: itemize
  4617. #: guix-git/doc/guix.texi:872
  4618. msgid "4.3.0 or later;"
  4619. msgstr ""
  4620. #. type: item
  4621. #: guix-git/doc/guix.texi:872
  4622. #, no-wrap
  4623. msgid "@url{https://www.gnu.org/software/make/, GNU Make}."
  4624. msgstr "@url{https://www.gnu.org/software/make/, GNU Make}."
  4625. #. type: Plain text
  4626. #: guix-git/doc/guix.texi:876
  4627. msgid "The following dependencies are optional:"
  4628. msgstr "As seguintes dependências são opcionais:"
  4629. #. type: itemize
  4630. #: guix-git/doc/guix.texi:884
  4631. 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."
  4632. msgstr ""
  4633. #. type: itemize
  4634. #: guix-git/doc/guix.texi:889
  4635. 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})."
  4636. msgstr ""
  4637. #. type: itemize
  4638. #: guix-git/doc/guix.texi:893
  4639. msgid "@uref{https://ngyro.com/software/guile-semver.html, Guile-Semver} for the @code{crate} importer (@pxref{Invoking guix import})."
  4640. msgstr ""
  4641. #. type: itemize
  4642. #: guix-git/doc/guix.texi:898
  4643. 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})."
  4644. msgstr ""
  4645. #. type: itemize
  4646. #: guix-git/doc/guix.texi:902
  4647. msgid "When @url{http://www.bzip.org, libbz2} is available, @command{guix-daemon} can use it to compress build logs."
  4648. msgstr "Quando @url{http://www.bzip.org, libbz2} está disponível, @command{guix-daemon} pode usá-lo para comprimir logs de compilação."
  4649. #. type: Plain text
  4650. #: guix-git/doc/guix.texi:906
  4651. msgid "Unless @option{--disable-daemon} was passed to @command{configure}, the following packages are also needed:"
  4652. msgstr ""
  4653. #. type: item
  4654. #: guix-git/doc/guix.texi:908
  4655. #, no-wrap
  4656. msgid "@url{https://gnupg.org/, GNU libgcrypt};"
  4657. msgstr "@url{https://gnupg.org/, GNU libgcrypt};"
  4658. #. type: item
  4659. #: guix-git/doc/guix.texi:909
  4660. #, no-wrap
  4661. msgid "@url{https://sqlite.org, SQLite 3};"
  4662. msgstr "@url{https://sqlite.org, SQLite 3};"
  4663. #. type: item
  4664. #: guix-git/doc/guix.texi:910
  4665. #, no-wrap
  4666. msgid "@url{https://gcc.gnu.org, GCC's g++}, with support for the"
  4667. msgstr "@url{https://gcc.gnu.org, GCC's g++}, com suporte ao"
  4668. #. type: itemize
  4669. #: guix-git/doc/guix.texi:912
  4670. msgid "C++11 standard."
  4671. msgstr "padrão C++11."
  4672. #. type: cindex
  4673. #: guix-git/doc/guix.texi:914
  4674. #, no-wrap
  4675. msgid "state directory"
  4676. msgstr "diretório de estado"
  4677. #. type: Plain text
  4678. #: guix-git/doc/guix.texi:923
  4679. 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})."
  4680. msgstr ""
  4681. #. type: cindex
  4682. #: guix-git/doc/guix.texi:927
  4683. #, no-wrap
  4684. msgid "test suite"
  4685. msgstr "suíte/conjunto de testes"
  4686. #. type: Plain text
  4687. #: guix-git/doc/guix.texi:933
  4688. 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:"
  4689. 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:"
  4690. #. type: example
  4691. #: guix-git/doc/guix.texi:936
  4692. #, no-wrap
  4693. msgid "make check\n"
  4694. msgstr "make check\n"
  4695. #. type: Plain text
  4696. #: guix-git/doc/guix.texi:943
  4697. 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."
  4698. 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."
  4699. #. type: Plain text
  4700. #: guix-git/doc/guix.texi:946
  4701. msgid "It is also possible to run a subset of the tests by defining the @code{TESTS} makefile variable as in this example:"
  4702. msgstr "Também é possível executar um subconjunto dos testes definindo a variável makefile @code{TESTS} como neste exemplo:"
  4703. #. type: example
  4704. #: guix-git/doc/guix.texi:949
  4705. #, no-wrap
  4706. msgid "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n"
  4707. msgstr "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n"
  4708. #. type: Plain text
  4709. #: guix-git/doc/guix.texi:954
  4710. 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:"
  4711. 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:"
  4712. #. type: example
  4713. #: guix-git/doc/guix.texi:957
  4714. #, no-wrap
  4715. msgid "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n"
  4716. msgstr "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n"
  4717. #. type: Plain text
  4718. #: guix-git/doc/guix.texi:965
  4719. 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'':"
  4720. msgstr ""
  4721. #. type: example
  4722. #: guix-git/doc/guix.texi:969
  4723. #, no-wrap
  4724. msgid ""
  4725. "export SCM_LOG_DRIVER_FLAGS=\"--select=^transaction-upgrade-entry\"\n"
  4726. "make check TESTS=\"tests/packages.scm\"\n"
  4727. msgstr ""
  4728. #. type: Plain text
  4729. #: guix-git/doc/guix.texi:975
  4730. 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:"
  4731. msgstr ""
  4732. #. type: example
  4733. #: guix-git/doc/guix.texi:978
  4734. #, no-wrap
  4735. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --errors-only=yes\" VERBOSE=1\n"
  4736. msgstr ""
  4737. #. type: Plain text
  4738. #: guix-git/doc/guix.texi:983
  4739. 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}:"
  4740. msgstr ""
  4741. #. type: example
  4742. #: guix-git/doc/guix.texi:986
  4743. #, no-wrap
  4744. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --show-duration=yes\"\n"
  4745. msgstr ""
  4746. #. type: Plain text
  4747. #: guix-git/doc/guix.texi:990
  4748. msgid "@xref{Parallel Test Harness,,,automake,GNU Automake} for more information about the Automake Parallel Test Harness."
  4749. msgstr ""
  4750. #. type: Plain text
  4751. #: guix-git/doc/guix.texi:995
  4752. 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."
  4753. 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."
  4754. #. type: Plain text
  4755. #: guix-git/doc/guix.texi:999
  4756. 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:"
  4757. 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:"
  4758. #. type: example
  4759. #: guix-git/doc/guix.texi:1002
  4760. #, no-wrap
  4761. msgid "make check-system\n"
  4762. msgstr "make check-system\n"
  4763. #. type: Plain text
  4764. #: guix-git/doc/guix.texi:1006
  4765. msgid "or, again, by defining @code{TESTS} to select a subset of tests to run:"
  4766. msgstr "ou, novamente, definindo @code{TESTS} para selecionar um subconjunto de testes a serem executados:"
  4767. #. type: example
  4768. #: guix-git/doc/guix.texi:1009
  4769. #, no-wrap
  4770. msgid "make check-system TESTS=\"basic mcron\"\n"
  4771. msgstr "make check-system TESTS=\"basic mcron\"\n"
  4772. #. type: Plain text
  4773. #: guix-git/doc/guix.texi:1017
  4774. 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."
  4775. 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."
  4776. #. type: Plain text
  4777. #: guix-git/doc/guix.texi:1020
  4778. msgid "Again in case of test failures, please send @email{bug-guix@@gnu.org} all the details."
  4779. msgstr "Novamente, em caso de falhas nos testes, por favor envie @email{bug-guix@@gnu.org} todos os detalhes."
  4780. #. type: cindex
  4781. #: guix-git/doc/guix.texi:1024
  4782. #, no-wrap
  4783. msgid "daemon"
  4784. msgstr "daemon"
  4785. #. type: Plain text
  4786. #: guix-git/doc/guix.texi:1032
  4787. 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."
  4788. 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."
  4789. #. type: Plain text
  4790. #: guix-git/doc/guix.texi:1036
  4791. 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."
  4792. 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."
  4793. #. type: cindex
  4794. #: guix-git/doc/guix.texi:1046 guix-git/doc/guix.texi:1508
  4795. #, no-wrap
  4796. msgid "build environment"
  4797. msgstr "ambiente de compilação"
  4798. #. type: Plain text
  4799. #: guix-git/doc/guix.texi:1054
  4800. 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."
  4801. 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."
  4802. #. type: cindex
  4803. #: guix-git/doc/guix.texi:1055
  4804. #, no-wrap
  4805. msgid "build users"
  4806. msgstr "usuários de compilação"
  4807. #. type: Plain text
  4808. #: guix-git/doc/guix.texi:1066
  4809. 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})."
  4810. 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})."
  4811. #. type: Plain text
  4812. #: guix-git/doc/guix.texi:1069
  4813. msgid "On a GNU/Linux system, a build user pool may be created like this (using Bash syntax and the @code{shadow} commands):"
  4814. 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}):"
  4815. #. type: example
  4816. #: guix-git/doc/guix.texi:1081
  4817. #, fuzzy, no-wrap
  4818. msgid ""
  4819. "# groupadd --system guixbuild\n"
  4820. "# for i in $(seq -w 1 10);\n"
  4821. " do\n"
  4822. " useradd -g guixbuild -G guixbuild \\\n"
  4823. " -d /var/empty -s $(which nologin) \\\n"
  4824. " -c \"Guix build user $i\" --system \\\n"
  4825. " guixbuilder$i;\n"
  4826. " done\n"
  4827. msgstr ""
  4828. "# groupadd --system guixbuild\n"
  4829. "# for i in `seq -w 1 10`;\n"
  4830. " do\n"
  4831. " useradd -g guixbuild -G guixbuild \\\n"
  4832. " -d /var/empty -s `which nologin` \\\n"
  4833. " -c \"Guix build user $i\" --system \\\n"
  4834. " guixbuilder$i;\n"
  4835. " done\n"
  4836. #. type: Plain text
  4837. #: guix-git/doc/guix.texi:1091
  4838. 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})."
  4839. 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})."
  4840. #. type: Plain text
  4841. #: guix-git/doc/guix.texi:1100
  4842. 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}.}:"
  4843. 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}.}:"
  4844. #. type: example
  4845. #: guix-git/doc/guix.texi:1103 guix-git/doc/guix.texi:1501
  4846. #, no-wrap
  4847. msgid "# guix-daemon --build-users-group=guixbuild\n"
  4848. msgstr "# guix-daemon --build-users-group=guixbuild\n"
  4849. #. type: cindex
  4850. #: guix-git/doc/guix.texi:1105 guix-git/doc/guix.texi:1506
  4851. #, no-wrap
  4852. msgid "chroot"
  4853. msgstr "chroot"
  4854. #. type: Plain text
  4855. #: guix-git/doc/guix.texi:1110
  4856. 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:"
  4857. 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:"
  4858. #. type: itemize
  4859. #: guix-git/doc/guix.texi:1118
  4860. 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.};"
  4861. 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.};"
  4862. #. type: itemize
  4863. #: guix-git/doc/guix.texi:1122
  4864. msgid "the @code{/proc} directory; it only shows the processes of the container since a separate PID name space is used;"
  4865. msgstr "o diretório @code{/proc}; mostra apenas os processos do contêiner desde que um espaço de nome PID separado é usado;"
  4866. #. type: itemize
  4867. #: guix-git/doc/guix.texi:1126
  4868. msgid "@file{/etc/passwd} with an entry for the current user and an entry for user @file{nobody};"
  4869. msgstr "@file{/etc/passwd} com uma entrada para o usuário atual e uma entrada para o usuário @file{nobody};"
  4870. #. type: itemize
  4871. #: guix-git/doc/guix.texi:1129
  4872. msgid "@file{/etc/group} with an entry for the user's group;"
  4873. msgstr "@file{/etc/group} com uma entrada para o grupo de usuários;"
  4874. #. type: itemize
  4875. #: guix-git/doc/guix.texi:1133
  4876. msgid "@file{/etc/hosts} with an entry that maps @code{localhost} to @code{127.0.0.1};"
  4877. msgstr "@file{/etc/hosts} com uma entrada que mapeia @code{localhost} para @code{127.0.0.1};"
  4878. #. type: itemize
  4879. #: guix-git/doc/guix.texi:1136
  4880. msgid "a writable @file{/tmp} directory."
  4881. msgstr "um diretório @file{/tmp} com permissão de escrita."
  4882. #. type: Plain text
  4883. #: guix-git/doc/guix.texi:1145
  4884. 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."
  4885. msgstr ""
  4886. #. type: vindex
  4887. #: guix-git/doc/guix.texi:1146 guix-git/doc/guix.texi:3949
  4888. #, no-wrap
  4889. msgid "http_proxy"
  4890. msgstr "http_proxy"
  4891. #. type: vindex
  4892. #: guix-git/doc/guix.texi:1147 guix-git/doc/guix.texi:3950
  4893. #, no-wrap
  4894. msgid "https_proxy"
  4895. msgstr ""
  4896. #. type: Plain text
  4897. #: guix-git/doc/guix.texi:1152
  4898. 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})."
  4899. msgstr ""
  4900. #. type: Plain text
  4901. #: guix-git/doc/guix.texi:1160
  4902. 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."
  4903. msgstr ""
  4904. #. type: subsection
  4905. #: guix-git/doc/guix.texi:1163
  4906. #, no-wrap
  4907. msgid "Using the Offload Facility"
  4908. msgstr "Usando o recurso de descarregamento"
  4909. #. type: cindex
  4910. #: guix-git/doc/guix.texi:1165 guix-git/doc/guix.texi:1567
  4911. #, no-wrap
  4912. msgid "offloading"
  4913. msgstr "descarregamento"
  4914. #. type: cindex
  4915. #: guix-git/doc/guix.texi:1166
  4916. #, no-wrap
  4917. msgid "build hook"
  4918. msgstr "hook de compilação"
  4919. #. type: Plain text
  4920. #: guix-git/doc/guix.texi:1185
  4921. 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:"
  4922. msgstr ""
  4923. #. type: enumerate
  4924. #: guix-git/doc/guix.texi:1191
  4925. 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."
  4926. msgstr ""
  4927. #. type: enumerate
  4928. #: guix-git/doc/guix.texi:1195
  4929. msgid "Its relative speed, as defined via the @code{speed} field of its @code{build-machine} object."
  4930. msgstr ""
  4931. #. type: enumerate
  4932. #: guix-git/doc/guix.texi:1200
  4933. 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."
  4934. msgstr ""
  4935. #. type: enumerate
  4936. #: guix-git/doc/guix.texi:1203
  4937. msgid "Disk space availability. More than a 100 MiB must be available."
  4938. msgstr ""
  4939. #. type: Plain text
  4940. #: guix-git/doc/guix.texi:1206
  4941. msgid "The @file{/etc/guix/machines.scm} file typically looks like this:"
  4942. msgstr "O arquivo @file{/etc/guix/machines.scm} geralmente se parece com isso:"
  4943. #. type: lisp
  4944. #: guix-git/doc/guix.texi:1214
  4945. #, no-wrap
  4946. msgid ""
  4947. "(list (build-machine\n"
  4948. " (name \"eightysix.example.org\")\n"
  4949. " (systems (list \"x86_64-linux\" \"i686-linux\"))\n"
  4950. " (host-key \"ssh-ed25519 AAAAC3Nza@dots{}\")\n"
  4951. " (user \"bob\")\n"
  4952. " (speed 2.)) ;incredibly fast!\n"
  4953. "\n"
  4954. msgstr ""
  4955. #. type: lisp
  4956. #: guix-git/doc/guix.texi:1223
  4957. #, no-wrap
  4958. msgid ""
  4959. " (build-machine\n"
  4960. " (name \"armeight.example.org\")\n"
  4961. " (systems (list \"aarch64-linux\"))\n"
  4962. " (host-key \"ssh-rsa AAAAB3Nza@dots{}\")\n"
  4963. " (user \"alice\")\n"
  4964. " (private-key\n"
  4965. " (string-append (getenv \"HOME\")\n"
  4966. " \"/.ssh/identity-for-guix\"))))\n"
  4967. msgstr ""
  4968. #. type: Plain text
  4969. #: guix-git/doc/guix.texi:1229
  4970. 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."
  4971. msgstr ""
  4972. #. type: Plain text
  4973. #: guix-git/doc/guix.texi:1238
  4974. 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."
  4975. 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."
  4976. #. type: deftp
  4977. #: guix-git/doc/guix.texi:1239
  4978. #, no-wrap
  4979. msgid "{Data Type} build-machine"
  4980. msgstr "build-machine {Data Type}"
  4981. #. type: deftp
  4982. #: guix-git/doc/guix.texi:1242
  4983. msgid "This data type represents build machines to which the daemon may offload builds. The important fields are:"
  4984. msgstr "Esse tipo de dados representa máquinas de compilação nas quais o daemon pode descarregar compilações. Os campos importantes são:"
  4985. #. type: item
  4986. #: guix-git/doc/guix.texi:1245 guix-git/doc/guix.texi:6698
  4987. #: guix-git/doc/guix.texi:14527 guix-git/doc/guix.texi:14621
  4988. #: guix-git/doc/guix.texi:14862 guix-git/doc/guix.texi:16833
  4989. #: guix-git/doc/guix.texi:20112 guix-git/doc/guix.texi:23022
  4990. #: guix-git/doc/guix.texi:24411 guix-git/doc/guix.texi:25023
  4991. #: guix-git/doc/guix.texi:25375 guix-git/doc/guix.texi:25416
  4992. #: guix-git/doc/guix.texi:27568 guix-git/doc/guix.texi:29852
  4993. #: guix-git/doc/guix.texi:29872 guix-git/doc/guix.texi:32408
  4994. #: guix-git/doc/guix.texi:32425 guix-git/doc/guix.texi:32941
  4995. #: guix-git/doc/guix.texi:34677 guix-git/doc/guix.texi:35004
  4996. #, no-wrap
  4997. msgid "name"
  4998. msgstr "name"
  4999. #. type: table
  5000. #: guix-git/doc/guix.texi:1247
  5001. msgid "The host name of the remote machine."
  5002. msgstr "O nome de host da máquina remota."
  5003. #. type: item
  5004. #: guix-git/doc/guix.texi:1248
  5005. #, no-wrap
  5006. msgid "systems"
  5007. msgstr ""
  5008. #. type: table
  5009. #: guix-git/doc/guix.texi:1251
  5010. msgid "The system types the remote machine supports---e.g., @code{(list \"x86_64-linux\" \"i686-linux\")}."
  5011. msgstr ""
  5012. #. type: code{#1}
  5013. #: guix-git/doc/guix.texi:1252 guix-git/doc/guix.texi:16843
  5014. #, no-wrap
  5015. msgid "user"
  5016. msgstr "user"
  5017. #. type: table
  5018. #: guix-git/doc/guix.texi:1256
  5019. 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."
  5020. 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."
  5021. #. type: item
  5022. #: guix-git/doc/guix.texi:1257
  5023. #, no-wrap
  5024. msgid "host-key"
  5025. msgstr "host-key"
  5026. #. type: table
  5027. #: guix-git/doc/guix.texi:1261
  5028. 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:"
  5029. 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:"
  5030. #. type: example
  5031. #: guix-git/doc/guix.texi:1264
  5032. #, no-wrap
  5033. msgid "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n"
  5034. msgstr "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n"
  5035. #. type: table
  5036. #: guix-git/doc/guix.texi:1269
  5037. 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}."
  5038. 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}."
  5039. #. type: table
  5040. #: guix-git/doc/guix.texi:1274
  5041. 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}):"
  5042. 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}):"
  5043. #. type: example
  5044. #: guix-git/doc/guix.texi:1278
  5045. #, no-wrap
  5046. msgid ""
  5047. "$ lsh-export-key --openssh < /etc/lsh/host-key.pub\n"
  5048. "ssh-rsa AAAAB3NzaC1yc2EAAAAEOp8FoQAAAQEAs1eB46LV@dots{}\n"
  5049. msgstr ""
  5050. #. type: deftp
  5051. #: guix-git/doc/guix.texi:1283
  5052. msgid "A number of optional fields may be specified:"
  5053. msgstr "Vários campos opcionais podem ser especificados:"
  5054. #. type: item
  5055. #: guix-git/doc/guix.texi:1286 guix-git/doc/guix.texi:34173
  5056. #, no-wrap
  5057. msgid "@code{port} (default: @code{22})"
  5058. msgstr "@code{port} (padrão: @code{22})"
  5059. #. type: table
  5060. #: guix-git/doc/guix.texi:1288
  5061. msgid "Port number of SSH server on the machine."
  5062. msgstr "O número da porta para o servidor SSH na máquina."
  5063. #. type: item
  5064. #: guix-git/doc/guix.texi:1289
  5065. #, no-wrap
  5066. msgid "@code{private-key} (default: @file{~root/.ssh/id_rsa})"
  5067. msgstr "@code{private-key} (padrão: @file{~root/.ssh/id_rsa})"
  5068. #. type: table
  5069. #: guix-git/doc/guix.texi:1292
  5070. 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."
  5071. 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."
  5072. #. type: table
  5073. #: guix-git/doc/guix.texi:1295
  5074. msgid "Note that the default value is the private key @emph{of the root account}. Make sure it exists if you use the default."
  5075. 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."
  5076. #. type: item
  5077. #: guix-git/doc/guix.texi:1296
  5078. #, no-wrap
  5079. msgid "@code{compression} (default: @code{\"zlib@@openssh.com,zlib\"})"
  5080. msgstr "@code{compression} (padrão: @code{\"zlib@@openssh.com,zlib\"})"
  5081. #. type: itemx
  5082. #: guix-git/doc/guix.texi:1297
  5083. #, no-wrap
  5084. msgid "@code{compression-level} (default: @code{3})"
  5085. msgstr "@code{compression-level} (padrão: @code{3})"
  5086. #. type: table
  5087. #: guix-git/doc/guix.texi:1299
  5088. msgid "The SSH-level compression methods and compression level requested."
  5089. msgstr "Os métodos de compactação no nível SSH e o nível de compactação solicitado."
  5090. #. type: table
  5091. #: guix-git/doc/guix.texi:1302
  5092. msgid "Note that offloading relies on SSH compression to reduce bandwidth usage when transferring files to and from build machines."
  5093. 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."
  5094. #. type: item
  5095. #: guix-git/doc/guix.texi:1303
  5096. #, no-wrap
  5097. msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})"
  5098. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  5099. #. type: table
  5100. #: guix-git/doc/guix.texi:1306
  5101. msgid "File name of the Unix-domain socket @command{guix-daemon} is listening to on that machine."
  5102. msgstr "O nome do arquivo do soquete do domínio Unix @command{guix-daemon} está escutando nessa máquina."
  5103. #. type: item
  5104. #: guix-git/doc/guix.texi:1307
  5105. #, no-wrap
  5106. msgid "@code{overload-threshold} (default: @code{0.6})"
  5107. msgstr ""
  5108. #. type: table
  5109. #: guix-git/doc/guix.texi:1313
  5110. 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}."
  5111. msgstr ""
  5112. #. type: item
  5113. #: guix-git/doc/guix.texi:1314
  5114. #, no-wrap
  5115. msgid "@code{parallel-builds} (default: @code{1})"
  5116. msgstr "@code{parallel-builds} (padrão: @code{1})"
  5117. #. type: table
  5118. #: guix-git/doc/guix.texi:1316
  5119. msgid "The number of builds that may run in parallel on the machine."
  5120. msgstr "O número de compilações que podem ser executadas paralelamente na máquina."
  5121. #. type: item
  5122. #: guix-git/doc/guix.texi:1317
  5123. #, no-wrap
  5124. msgid "@code{speed} (default: @code{1.0})"
  5125. msgstr "@code{speed} (padrão: @code{1.0})"
  5126. #. type: table
  5127. #: guix-git/doc/guix.texi:1320
  5128. msgid "A ``relative speed factor''. The offload scheduler will tend to prefer machines with a higher speed factor."
  5129. msgstr "Um ``fator de velocidade relativo''. O agendador de descarregamento tenderá a preferir máquinas com um fator de velocidade mais alto."
  5130. #. type: item
  5131. #: guix-git/doc/guix.texi:1321
  5132. #, no-wrap
  5133. msgid "@code{features} (default: @code{'()})"
  5134. msgstr "@code{features} (padrão: @code{'()})"
  5135. #. type: table
  5136. #: guix-git/doc/guix.texi:1326
  5137. 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."
  5138. 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."
  5139. #. type: Plain text
  5140. #: guix-git/doc/guix.texi:1332
  5141. 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:"
  5142. 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:"
  5143. #. type: example
  5144. #: guix-git/doc/guix.texi:1335
  5145. #, no-wrap
  5146. msgid "ssh build-machine guix repl --version\n"
  5147. msgstr "ssh build-machine guix repl --version\n"
  5148. #. type: Plain text
  5149. #: guix-git/doc/guix.texi:1342
  5150. 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}):"
  5151. 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}):"
  5152. #. type: example
  5153. #: guix-git/doc/guix.texi:1345 guix-git/doc/guix.texi:34101
  5154. #, no-wrap
  5155. msgid "# guix archive --generate-key\n"
  5156. msgstr "# guix archive --generate-key\n"
  5157. #. type: Plain text
  5158. #: guix-git/doc/guix.texi:1350
  5159. msgid "Each build machine must authorize the key of the master machine so that it accepts store items it receives from the master:"
  5160. 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:"
  5161. #. type: example
  5162. #: guix-git/doc/guix.texi:1353
  5163. #, no-wrap
  5164. msgid "# guix archive --authorize < master-public-key.txt\n"
  5165. msgstr "# guix archive --authorize < master-public-key.txt\n"
  5166. #. type: Plain text
  5167. #: guix-git/doc/guix.texi:1357
  5168. msgid "Likewise, the master machine must authorize the key of each build machine."
  5169. msgstr "Da mesma forma, a máquina principal deve autorizar a chave de cada máquina de compilação."
  5170. #. type: Plain text
  5171. #: guix-git/doc/guix.texi:1363
  5172. 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."
  5173. 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."
  5174. #. type: cindex
  5175. #: guix-git/doc/guix.texi:1364
  5176. #, no-wrap
  5177. msgid "offload test"
  5178. msgstr "offload test"
  5179. #. type: Plain text
  5180. #: guix-git/doc/guix.texi:1367
  5181. msgid "To test whether your setup is operational, run this command on the master node:"
  5182. msgstr "Para testar se sua configuração está operacional, execute este comando no nó principal:"
  5183. #. type: example
  5184. #: guix-git/doc/guix.texi:1370
  5185. #, no-wrap
  5186. msgid "# guix offload test\n"
  5187. msgstr "# guix offload test\n"
  5188. #. type: Plain text
  5189. #: guix-git/doc/guix.texi:1376
  5190. 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."
  5191. msgstr ""
  5192. #. type: Plain text
  5193. #: guix-git/doc/guix.texi:1379
  5194. msgid "If you want to test a different machine file, just specify it on the command line:"
  5195. msgstr "Se você quiser testar um arquivo de máquina diferente, basta especificá-lo na linha de comando:"
  5196. #. type: example
  5197. #: guix-git/doc/guix.texi:1382
  5198. #, no-wrap
  5199. msgid "# guix offload test machines-qualif.scm\n"
  5200. msgstr "# guix offload test machines-qualif.scm\n"
  5201. #. type: Plain text
  5202. #: guix-git/doc/guix.texi:1386
  5203. msgid "Last, you can test the subset of the machines whose name matches a regular expression like this:"
  5204. msgstr "Por fim, você pode testar o subconjunto das máquinas cujo nome corresponde a uma expressão regular como esta:"
  5205. #. type: example
  5206. #: guix-git/doc/guix.texi:1389
  5207. #, no-wrap
  5208. msgid "# guix offload test machines.scm '\\.gnu\\.org$'\n"
  5209. msgstr "# guix offload test machines.scm '\\.gnu\\.org$'\n"
  5210. #. type: cindex
  5211. #: guix-git/doc/guix.texi:1391
  5212. #, no-wrap
  5213. msgid "offload status"
  5214. msgstr "offload status"
  5215. #. type: Plain text
  5216. #: guix-git/doc/guix.texi:1394
  5217. msgid "To display the current load of all build hosts, run this command on the main node:"
  5218. msgstr "Para exibir o carregamento atual de todos os hosts de compilação, execute este comando no nó principal:"
  5219. #. type: example
  5220. #: guix-git/doc/guix.texi:1397
  5221. #, no-wrap
  5222. msgid "# guix offload status\n"
  5223. msgstr "# guix offload status\n"
  5224. #. type: cindex
  5225. #: guix-git/doc/guix.texi:1403
  5226. #, no-wrap
  5227. msgid "SELinux, daemon policy"
  5228. msgstr "SELinux, política de daemons"
  5229. #. type: cindex
  5230. #: guix-git/doc/guix.texi:1404
  5231. #, no-wrap
  5232. msgid "mandatory access control, SELinux"
  5233. msgstr "controle de acesso obrigatório, SELinux"
  5234. #. type: cindex
  5235. #: guix-git/doc/guix.texi:1405
  5236. #, no-wrap
  5237. msgid "security, guix-daemon"
  5238. msgstr "segurança, guix-daemon"
  5239. #. type: Plain text
  5240. #: guix-git/doc/guix.texi:1411
  5241. 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."
  5242. 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."
  5243. #. type: subsubsection
  5244. #: guix-git/doc/guix.texi:1412
  5245. #, no-wrap
  5246. msgid "Installing the SELinux policy"
  5247. msgstr "Instalando a política do SELinux"
  5248. #. type: cindex
  5249. #: guix-git/doc/guix.texi:1413
  5250. #, no-wrap
  5251. msgid "SELinux, policy installation"
  5252. msgstr "SELinux, instalação de política"
  5253. #. type: Plain text
  5254. #: guix-git/doc/guix.texi:1415
  5255. msgid "To install the policy run this command as root:"
  5256. msgstr "Para instalar a política, execute esse comando como root:"
  5257. #. type: example
  5258. #: guix-git/doc/guix.texi:1418
  5259. #, no-wrap
  5260. msgid "semodule -i etc/guix-daemon.cil\n"
  5261. msgstr "semodule -i etc/guix-daemon.cil\n"
  5262. #. type: Plain text
  5263. #: guix-git/doc/guix.texi:1422
  5264. msgid "Then relabel the file system with @code{restorecon} or by a different mechanism provided by your system."
  5265. msgstr "Em seguida, altere o rótulo do sistema de arquivos com @code{restorecon} ou por um mecanismo diferente fornecido pelo seu sistema."
  5266. #. type: Plain text
  5267. #: guix-git/doc/guix.texi:1427
  5268. 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:"
  5269. 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:"
  5270. #. type: example
  5271. #: guix-git/doc/guix.texi:1430
  5272. #, no-wrap
  5273. msgid "ps -Zax | grep guix-daemon\n"
  5274. msgstr "ps -Zax | grep guix-daemon\n"
  5275. #. type: Plain text
  5276. #: guix-git/doc/guix.texi:1435
  5277. 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."
  5278. 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."
  5279. #. type: cindex
  5280. #: guix-git/doc/guix.texi:1437
  5281. #, no-wrap
  5282. msgid "SELinux, limitations"
  5283. msgstr "SELinux, limitações"
  5284. #. type: Plain text
  5285. #: guix-git/doc/guix.texi:1442
  5286. 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."
  5287. 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."
  5288. #. type: enumerate
  5289. #: guix-git/doc/guix.texi:1449
  5290. #, fuzzy
  5291. 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."
  5292. 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."
  5293. #. type: enumerate
  5294. #: guix-git/doc/guix.texi:1460
  5295. 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."
  5296. 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."
  5297. #. type: enumerate
  5298. #: guix-git/doc/guix.texi:1465
  5299. 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."
  5300. 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."
  5301. #. type: enumerate
  5302. #: guix-git/doc/guix.texi:1476
  5303. 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."
  5304. 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."
  5305. #. type: enumerate
  5306. #: guix-git/doc/guix.texi:1481
  5307. 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."
  5308. msgstr ""
  5309. #. type: enumerate
  5310. #: guix-git/doc/guix.texi:1489
  5311. 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."
  5312. 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."
  5313. #. type: section
  5314. #: guix-git/doc/guix.texi:1492
  5315. #, no-wrap
  5316. msgid "Invoking @command{guix-daemon}"
  5317. msgstr "Invocando @command{guix-daemon}"
  5318. #. type: Plain text
  5319. #: guix-git/doc/guix.texi:1498
  5320. 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:"
  5321. 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:"
  5322. #. type: Plain text
  5323. #: guix-git/doc/guix.texi:1505
  5324. msgid "For details on how to set it up, @pxref{Setting Up the Daemon}."
  5325. msgstr "Para detalhes sobre como configurá-lo, @pxref{Configurando o daemon}."
  5326. #. type: cindex
  5327. #: guix-git/doc/guix.texi:1507
  5328. #, no-wrap
  5329. msgid "container, build environment"
  5330. msgstr "contêiner, ambiente de compilação"
  5331. #. type: cindex
  5332. #: guix-git/doc/guix.texi:1509 guix-git/doc/guix.texi:3026
  5333. #: guix-git/doc/guix.texi:3930 guix-git/doc/guix.texi:12937
  5334. #, no-wrap
  5335. msgid "reproducible builds"
  5336. msgstr "compilações reproduzíveis"
  5337. #. type: Plain text
  5338. #: guix-git/doc/guix.texi:1521
  5339. 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})."
  5340. msgstr ""
  5341. #. type: Plain text
  5342. #: guix-git/doc/guix.texi:1527
  5343. 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}."
  5344. msgstr ""
  5345. #. type: Plain text
  5346. #: guix-git/doc/guix.texi:1531
  5347. 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}})."
  5348. msgstr ""
  5349. #. type: Plain text
  5350. #: guix-git/doc/guix.texi:1537
  5351. 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."
  5352. msgstr ""
  5353. #. type: Plain text
  5354. #: guix-git/doc/guix.texi:1539
  5355. msgid "The following command-line options are supported:"
  5356. msgstr "As seguintes opções de linha de comando são suportadas:"
  5357. #. type: item
  5358. #: guix-git/doc/guix.texi:1541
  5359. #, no-wrap
  5360. msgid "--build-users-group=@var{group}"
  5361. msgstr "--build-users-group=@var{grupo}"
  5362. #. type: table
  5363. #: guix-git/doc/guix.texi:1544
  5364. msgid "Take users from @var{group} to run build processes (@pxref{Setting Up the Daemon, build users})."
  5365. 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})."
  5366. #. type: item
  5367. #: guix-git/doc/guix.texi:1545 guix-git/doc/guix.texi:10339
  5368. #, no-wrap
  5369. msgid "--no-substitutes"
  5370. msgstr "--no-substitutes"
  5371. #. type: cindex
  5372. #: guix-git/doc/guix.texi:1546 guix-git/doc/guix.texi:3038
  5373. #: guix-git/doc/guix.texi:3683
  5374. #, no-wrap
  5375. msgid "substitutes"
  5376. msgstr "substitutos"
  5377. #. type: table
  5378. #: guix-git/doc/guix.texi:1550 guix-git/doc/guix.texi:10343
  5379. msgid "Do not use substitutes for build products. That is, always build things locally instead of allowing downloads of pre-built binaries (@pxref{Substitutes})."
  5380. 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})."
  5381. #. type: table
  5382. #: guix-git/doc/guix.texi:1554
  5383. 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})."
  5384. msgstr ""
  5385. #. type: anchor{#1}
  5386. #: guix-git/doc/guix.texi:1556
  5387. msgid "daemon-substitute-urls"
  5388. msgstr "daemon-substitute-urls"
  5389. #. type: item
  5390. #: guix-git/doc/guix.texi:1556 guix-git/doc/guix.texi:10326
  5391. #: guix-git/doc/guix.texi:12358 guix-git/doc/guix.texi:13083
  5392. #: guix-git/doc/guix.texi:13308
  5393. #, no-wrap
  5394. msgid "--substitute-urls=@var{urls}"
  5395. msgstr "--substitute-urls=@var{urls}"
  5396. #. type: table
  5397. #: guix-git/doc/guix.texi:1560
  5398. #, fuzzy
  5399. #| 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."
  5400. msgid "Consider @var{urls} the default whitespace-separated list of substitute source URLs. When this option is omitted, @indicateurl{@value{SUBSTITUTE-URLS}} is used."
  5401. 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."
  5402. #. type: table
  5403. #: guix-git/doc/guix.texi:1563
  5404. msgid "This means that substitutes may be downloaded from @var{urls}, as long as they are signed by a trusted signature (@pxref{Substitutes})."
  5405. msgstr "Isso significa que os substitutos podem ser baixados de @var{urls}, desde que assinados por uma assinatura confiável (@pxref{Substitutos})."
  5406. #. type: table
  5407. #: guix-git/doc/guix.texi:1566
  5408. msgid "@xref{Getting Substitutes from Other Servers}, for more information on how to configure the daemon to get substitutes from other servers."
  5409. msgstr ""
  5410. #. type: item
  5411. #: guix-git/doc/guix.texi:1568 guix-git/doc/guix.texi:10362
  5412. #, no-wrap
  5413. msgid "--no-offload"
  5414. msgstr ""
  5415. #. type: table
  5416. #: guix-git/doc/guix.texi:1572 guix-git/doc/guix.texi:10366
  5417. 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."
  5418. msgstr ""
  5419. #. type: item
  5420. #: guix-git/doc/guix.texi:1573
  5421. #, no-wrap
  5422. msgid "--cache-failures"
  5423. msgstr "--cache-failures"
  5424. #. type: table
  5425. #: guix-git/doc/guix.texi:1575
  5426. msgid "Cache build failures. By default, only successful builds are cached."
  5427. msgstr "Armazena em cache as compilações que falharam. Por padrão, apenas compilações bem-sucedidas são armazenadas em cache."
  5428. #. type: table
  5429. #: guix-git/doc/guix.texi:1580
  5430. 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}."
  5431. 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}."
  5432. #. type: item
  5433. #: guix-git/doc/guix.texi:1581 guix-git/doc/guix.texi:10392
  5434. #, no-wrap
  5435. msgid "--cores=@var{n}"
  5436. msgstr "--cores=@var{n}"
  5437. #. type: itemx
  5438. #: guix-git/doc/guix.texi:1582 guix-git/doc/guix.texi:10393
  5439. #, no-wrap
  5440. msgid "-c @var{n}"
  5441. msgstr "-c @var{n}"
  5442. #. type: table
  5443. #: guix-git/doc/guix.texi:1585
  5444. msgid "Use @var{n} CPU cores to build each derivation; @code{0} means as many as available."
  5445. msgstr "Usa @var{n} núcleos de CPU para compilar cada derivação; @code{0} significa todos disponíveis."
  5446. #. type: table
  5447. #: guix-git/doc/guix.texi:1589
  5448. 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})."
  5449. msgstr ""
  5450. #. type: table
  5451. #: guix-git/doc/guix.texi:1593
  5452. 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}."
  5453. msgstr ""
  5454. #. type: item
  5455. #: guix-git/doc/guix.texi:1594 guix-git/doc/guix.texi:10397
  5456. #, no-wrap
  5457. msgid "--max-jobs=@var{n}"
  5458. msgstr "--max-jobs=@var{n}"
  5459. #. type: itemx
  5460. #: guix-git/doc/guix.texi:1595 guix-git/doc/guix.texi:10398
  5461. #, no-wrap
  5462. msgid "-M @var{n}"
  5463. msgstr "-M @var{n}"
  5464. #. type: table
  5465. #: guix-git/doc/guix.texi:1600
  5466. 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."
  5467. 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á."
  5468. #. type: item
  5469. #: guix-git/doc/guix.texi:1601 guix-git/doc/guix.texi:10367
  5470. #, no-wrap
  5471. msgid "--max-silent-time=@var{seconds}"
  5472. msgstr "--max-silent-time=@var{segundos}"
  5473. #. type: table
  5474. #: guix-git/doc/guix.texi:1604 guix-git/doc/guix.texi:10370
  5475. msgid "When the build or substitution process remains silent for more than @var{seconds}, terminate it and report a build failure."
  5476. 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."
  5477. #. type: table
  5478. #: guix-git/doc/guix.texi:1606 guix-git/doc/guix.texi:1615
  5479. msgid "The default value is @code{0}, which disables the timeout."
  5480. msgstr "O valor padrão é @code{0}, que desativa o tempo limite."
  5481. #. type: table
  5482. #: guix-git/doc/guix.texi:1609
  5483. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--max-silent-time}})."
  5484. msgstr ""
  5485. #. type: item
  5486. #: guix-git/doc/guix.texi:1610 guix-git/doc/guix.texi:10374
  5487. #, no-wrap
  5488. msgid "--timeout=@var{seconds}"
  5489. msgstr "--timeout=@var{segundos}"
  5490. #. type: table
  5491. #: guix-git/doc/guix.texi:1613 guix-git/doc/guix.texi:10377
  5492. msgid "Likewise, when the build or substitution process lasts for more than @var{seconds}, terminate it and report a build failure."
  5493. 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."
  5494. #. type: table
  5495. #: guix-git/doc/guix.texi:1618
  5496. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--timeout}})."
  5497. msgstr ""
  5498. #. type: item
  5499. #: guix-git/doc/guix.texi:1619
  5500. #, no-wrap
  5501. msgid "--rounds=@var{N}"
  5502. msgstr "--rounds=@var{N}"
  5503. #. type: table
  5504. #: guix-git/doc/guix.texi:1624
  5505. 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})."
  5506. 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})."
  5507. #. type: table
  5508. #: guix-git/doc/guix.texi:1628 guix-git/doc/guix.texi:10361
  5509. #: guix-git/doc/guix.texi:10923
  5510. 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."
  5511. 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."
  5512. #. type: item
  5513. #: guix-git/doc/guix.texi:1629
  5514. #, no-wrap
  5515. msgid "--debug"
  5516. msgstr "--debug"
  5517. #. type: table
  5518. #: guix-git/doc/guix.texi:1631
  5519. msgid "Produce debugging output."
  5520. msgstr "Produz uma saída de depuração."
  5521. #. type: table
  5522. #: guix-git/doc/guix.texi:1635
  5523. 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})."
  5524. msgstr ""
  5525. #. type: item
  5526. #: guix-git/doc/guix.texi:1636
  5527. #, no-wrap
  5528. msgid "--chroot-directory=@var{dir}"
  5529. msgstr "--chroot-directory=@var{dir}"
  5530. #. type: table
  5531. #: guix-git/doc/guix.texi:1638
  5532. msgid "Add @var{dir} to the build chroot."
  5533. msgstr "adiciona @var{dir} ao chroot de compilação."
  5534. #. type: table
  5535. #: guix-git/doc/guix.texi:1644
  5536. 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."
  5537. 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."
  5538. #. type: item
  5539. #: guix-git/doc/guix.texi:1645
  5540. #, no-wrap
  5541. msgid "--disable-chroot"
  5542. msgstr "--disable-chroot"
  5543. #. type: table
  5544. #: guix-git/doc/guix.texi:1647
  5545. msgid "Disable chroot builds."
  5546. msgstr "Desabilita compilações em chroot."
  5547. #. type: table
  5548. #: guix-git/doc/guix.texi:1652
  5549. 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."
  5550. 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."
  5551. #. type: item
  5552. #: guix-git/doc/guix.texi:1653
  5553. #, no-wrap
  5554. msgid "--log-compression=@var{type}"
  5555. msgstr "--log-compression=@var{tipo}"
  5556. #. type: table
  5557. #: guix-git/doc/guix.texi:1656
  5558. msgid "Compress build logs according to @var{type}, one of @code{gzip}, @code{bzip2}, or @code{none}."
  5559. msgstr "Compacta logs de compilação de aconrdo com @var{tipo}, que pode ser um entre @code{gzip}, @code{bzip2} e @code{none}."
  5560. #. type: table
  5561. #: guix-git/doc/guix.texi:1660
  5562. 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 Bzip2 by default."
  5563. msgstr ""
  5564. #. type: item
  5565. #: guix-git/doc/guix.texi:1661
  5566. #, no-wrap
  5567. msgid "--discover[=yes|no]"
  5568. msgstr ""
  5569. #. type: table
  5570. #: guix-git/doc/guix.texi:1664 guix-git/doc/guix.texi:15638
  5571. msgid "Whether to discover substitute servers on the local network using mDNS and DNS-SD."
  5572. msgstr ""
  5573. #. type: table
  5574. #: guix-git/doc/guix.texi:1667
  5575. msgid "This feature is still experimental. However, here are a few considerations."
  5576. msgstr ""
  5577. #. type: enumerate
  5578. #: guix-git/doc/guix.texi:1671
  5579. msgid "It might be faster/less expensive than fetching from remote servers;"
  5580. msgstr ""
  5581. #. type: enumerate
  5582. #: guix-git/doc/guix.texi:1674
  5583. msgid "There are no security risks, only genuine substitutes will be used (@pxref{Substitute Authentication});"
  5584. msgstr ""
  5585. #. type: enumerate
  5586. #: guix-git/doc/guix.texi:1678
  5587. msgid "An attacker advertising @command{guix publish} on your LAN cannot serve you malicious binaries, but they can learn what software you’re installing;"
  5588. msgstr ""
  5589. #. type: enumerate
  5590. #: guix-git/doc/guix.texi:1681
  5591. msgid "Servers may serve substitute over HTTP, unencrypted, so anyone on the LAN can see what software you’re installing."
  5592. msgstr ""
  5593. #. type: table
  5594. #: guix-git/doc/guix.texi:1685
  5595. msgid "It is also possible to enable or disable substitute server discovery at run-time by running:"
  5596. msgstr ""
  5597. #. type: example
  5598. #: guix-git/doc/guix.texi:1689
  5599. #, no-wrap
  5600. msgid ""
  5601. "herd discover guix-daemon on\n"
  5602. "herd discover guix-daemon off\n"
  5603. msgstr ""
  5604. #. type: item
  5605. #: guix-git/doc/guix.texi:1691
  5606. #, no-wrap
  5607. msgid "--disable-deduplication"
  5608. msgstr "--disable-deduplication"
  5609. #. type: cindex
  5610. #: guix-git/doc/guix.texi:1692 guix-git/doc/guix.texi:4268
  5611. #, no-wrap
  5612. msgid "deduplication"
  5613. msgstr "deduplicação"
  5614. #. type: table
  5615. #: guix-git/doc/guix.texi:1694
  5616. msgid "Disable automatic file ``deduplication'' in the store."
  5617. msgstr "Desabilita ``deduplicação'' automática de arquivos no armazém."
  5618. #. type: table
  5619. #: guix-git/doc/guix.texi:1701
  5620. 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."
  5621. 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."
  5622. #. type: item
  5623. #: guix-git/doc/guix.texi:1702
  5624. #, no-wrap
  5625. msgid "--gc-keep-outputs[=yes|no]"
  5626. msgstr "--gc-keep-outputs[=yes|no]"
  5627. #. type: table
  5628. #: guix-git/doc/guix.texi:1705
  5629. msgid "Tell whether the garbage collector (GC) must keep outputs of live derivations."
  5630. msgstr "Diz se o coletor de lixo (GC) deve manter as saídas de derivações vivas."
  5631. #. type: cindex
  5632. #: guix-git/doc/guix.texi:1706 guix-git/doc/guix.texi:4081
  5633. #, no-wrap
  5634. msgid "GC roots"
  5635. msgstr "raízes de GC"
  5636. #. type: cindex
  5637. #: guix-git/doc/guix.texi:1707 guix-git/doc/guix.texi:4082
  5638. #, no-wrap
  5639. msgid "garbage collector roots"
  5640. msgstr "raízes de coletor de lixo"
  5641. #. type: table
  5642. #: guix-git/doc/guix.texi:1713
  5643. 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."
  5644. msgstr ""
  5645. #. type: item
  5646. #: guix-git/doc/guix.texi:1714
  5647. #, no-wrap
  5648. msgid "--gc-keep-derivations[=yes|no]"
  5649. msgstr "--gc-keep-derivations[=yes|no]"
  5650. #. type: table
  5651. #: guix-git/doc/guix.texi:1717
  5652. msgid "Tell whether the garbage collector (GC) must keep derivations corresponding to live outputs."
  5653. msgstr "Diz se o coletor de lixo (GC) deve manter as derivações correspondentes às saídas vivas."
  5654. #. type: table
  5655. #: guix-git/doc/guix.texi:1723
  5656. 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."
  5657. msgstr ""
  5658. #. type: table
  5659. #: guix-git/doc/guix.texi:1732
  5660. 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."
  5661. msgstr ""
  5662. #. type: item
  5663. #: guix-git/doc/guix.texi:1733
  5664. #, no-wrap
  5665. msgid "--impersonate-linux-2.6"
  5666. msgstr ""
  5667. #. type: table
  5668. #: guix-git/doc/guix.texi:1736
  5669. 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."
  5670. msgstr ""
  5671. #. type: table
  5672. #: guix-git/doc/guix.texi:1739
  5673. msgid "This might be helpful to build programs that (usually wrongfully) depend on the kernel version number."
  5674. msgstr ""
  5675. #. type: item
  5676. #: guix-git/doc/guix.texi:1740
  5677. #, no-wrap
  5678. msgid "--lose-logs"
  5679. msgstr ""
  5680. #. type: table
  5681. #: guix-git/doc/guix.texi:1743
  5682. msgid "Do not keep build logs. By default they are kept under @file{@var{localstatedir}/guix/log}."
  5683. msgstr ""
  5684. #. type: item
  5685. #: guix-git/doc/guix.texi:1744 guix-git/doc/guix.texi:4509
  5686. #: guix-git/doc/guix.texi:5808 guix-git/doc/guix.texi:6208
  5687. #: guix-git/doc/guix.texi:10867 guix-git/doc/guix.texi:12385
  5688. #: guix-git/doc/guix.texi:12636 guix-git/doc/guix.texi:13313
  5689. #: guix-git/doc/guix.texi:33044 guix-git/doc/guix.texi:33843
  5690. #, no-wrap
  5691. msgid "--system=@var{system}"
  5692. msgstr ""
  5693. #. type: table
  5694. #: guix-git/doc/guix.texi:1748
  5695. 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}."
  5696. msgstr ""
  5697. #. type: item
  5698. #: guix-git/doc/guix.texi:1749 guix-git/doc/guix.texi:10172
  5699. #, no-wrap
  5700. msgid "--listen=@var{endpoint}"
  5701. msgstr ""
  5702. #. type: table
  5703. #: guix-git/doc/guix.texi:1754
  5704. 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:"
  5705. msgstr ""
  5706. #. type: item
  5707. #: guix-git/doc/guix.texi:1756
  5708. #, no-wrap
  5709. msgid "--listen=/gnu/var/daemon"
  5710. msgstr ""
  5711. #. type: table
  5712. #: guix-git/doc/guix.texi:1759
  5713. msgid "Listen for connections on the @file{/gnu/var/daemon} Unix-domain socket, creating it if needed."
  5714. msgstr ""
  5715. #. type: item
  5716. #: guix-git/doc/guix.texi:1760
  5717. #, no-wrap
  5718. msgid "--listen=localhost"
  5719. msgstr ""
  5720. #. type: cindex
  5721. #: guix-git/doc/guix.texi:1761 guix-git/doc/guix.texi:8846
  5722. #, no-wrap
  5723. msgid "daemon, remote access"
  5724. msgstr ""
  5725. #. type: cindex
  5726. #: guix-git/doc/guix.texi:1762 guix-git/doc/guix.texi:8847
  5727. #, no-wrap
  5728. msgid "remote access to the daemon"
  5729. msgstr ""
  5730. #. type: cindex
  5731. #: guix-git/doc/guix.texi:1763 guix-git/doc/guix.texi:8848
  5732. #, no-wrap
  5733. msgid "daemon, cluster setup"
  5734. msgstr ""
  5735. #. type: cindex
  5736. #: guix-git/doc/guix.texi:1764 guix-git/doc/guix.texi:8849
  5737. #, no-wrap
  5738. msgid "clusters, daemon setup"
  5739. msgstr ""
  5740. #. type: table
  5741. #: guix-git/doc/guix.texi:1767
  5742. msgid "Listen for TCP connections on the network interface corresponding to @code{localhost}, on port 44146."
  5743. msgstr ""
  5744. #. type: item
  5745. #: guix-git/doc/guix.texi:1768
  5746. #, no-wrap
  5747. msgid "--listen=128.0.0.42:1234"
  5748. msgstr ""
  5749. #. type: table
  5750. #: guix-git/doc/guix.texi:1771
  5751. msgid "Listen for TCP connections on the network interface corresponding to @code{128.0.0.42}, on port 1234."
  5752. msgstr ""
  5753. #. type: table
  5754. #: guix-git/doc/guix.texi:1778
  5755. 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}})."
  5756. msgstr ""
  5757. #. type: quotation
  5758. #: guix-git/doc/guix.texi:1785
  5759. 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."
  5760. msgstr ""
  5761. #. type: table
  5762. #: guix-git/doc/guix.texi:1790
  5763. 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}."
  5764. msgstr ""
  5765. #. type: Plain text
  5766. #: guix-git/doc/guix.texi:1800
  5767. 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."
  5768. 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."
  5769. #. type: anchor{#1}
  5770. #: guix-git/doc/guix.texi:1804
  5771. msgid "locales-and-locpath"
  5772. msgstr "locales-and-locpath"
  5773. #. type: cindex
  5774. #: guix-git/doc/guix.texi:1804
  5775. #, no-wrap
  5776. msgid "locales, when not on Guix System"
  5777. msgstr "locales, quando não está no Guix System"
  5778. #. type: vindex
  5779. #: guix-git/doc/guix.texi:1805 guix-git/doc/guix.texi:14846
  5780. #, no-wrap
  5781. msgid "LOCPATH"
  5782. msgstr "LOCPATH"
  5783. #. type: vindex
  5784. #: guix-git/doc/guix.texi:1806
  5785. #, no-wrap
  5786. msgid "GUIX_LOCPATH"
  5787. msgstr "GUIX_LOCPATH"
  5788. #. type: Plain text
  5789. #: guix-git/doc/guix.texi:1811
  5790. 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:"
  5791. msgstr ""
  5792. #. type: example
  5793. #: guix-git/doc/guix.texi:1815
  5794. #, no-wrap
  5795. msgid ""
  5796. "$ guix install glibc-locales\n"
  5797. "$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale\n"
  5798. msgstr ""
  5799. #. type: Plain text
  5800. #: guix-git/doc/guix.texi:1821
  5801. 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 917@tie{}MiB@. Alternatively, the @code{glibc-utf8-locales} is smaller but limited to a few UTF-8 locales."
  5802. msgstr ""
  5803. #. type: Plain text
  5804. #: guix-git/doc/guix.texi:1825
  5805. 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:"
  5806. msgstr ""
  5807. #. type: enumerate
  5808. #: guix-git/doc/guix.texi:1832
  5809. 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."
  5810. msgstr ""
  5811. #. type: enumerate
  5812. #: guix-git/doc/guix.texi:1839
  5813. 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."
  5814. msgstr ""
  5815. #. type: Plain text
  5816. #: guix-git/doc/guix.texi:1843
  5817. msgid "This is important because the locale data format used by different libc versions may be incompatible."
  5818. msgstr ""
  5819. #. type: cindex
  5820. #: guix-git/doc/guix.texi:1846
  5821. #, no-wrap
  5822. msgid "name service switch, glibc"
  5823. msgstr ""
  5824. #. type: cindex
  5825. #: guix-git/doc/guix.texi:1847
  5826. #, no-wrap
  5827. msgid "NSS (name service switch), glibc"
  5828. msgstr ""
  5829. #. type: cindex
  5830. #: guix-git/doc/guix.texi:1848
  5831. #, no-wrap
  5832. msgid "nscd (name service caching daemon)"
  5833. msgstr ""
  5834. #. type: cindex
  5835. #: guix-git/doc/guix.texi:1849
  5836. #, no-wrap
  5837. msgid "name service caching daemon (nscd)"
  5838. msgstr ""
  5839. #. type: Plain text
  5840. #: guix-git/doc/guix.texi:1856
  5841. 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."
  5842. 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ê."
  5843. #. type: file{#1}
  5844. #: guix-git/doc/guix.texi:1857
  5845. #, no-wrap
  5846. msgid "nsswitch.conf"
  5847. msgstr ""
  5848. #. type: Plain text
  5849. #: guix-git/doc/guix.texi:1862
  5850. 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})."
  5851. msgstr ""
  5852. #. type: cindex
  5853. #: guix-git/doc/guix.texi:1863
  5854. #, no-wrap
  5855. msgid "Network information service (NIS)"
  5856. msgstr ""
  5857. #. type: cindex
  5858. #: guix-git/doc/guix.texi:1864
  5859. #, no-wrap
  5860. msgid "NIS (Network information service)"
  5861. msgstr ""
  5862. #. type: Plain text
  5863. #: guix-git/doc/guix.texi:1873
  5864. 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})."
  5865. msgstr ""
  5866. #. type: Plain text
  5867. #: guix-git/doc/guix.texi:1883
  5868. 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)."
  5869. msgstr ""
  5870. #. type: Plain text
  5871. #: guix-git/doc/guix.texi:1888
  5872. 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."
  5873. msgstr ""
  5874. #. type: Plain text
  5875. #: guix-git/doc/guix.texi:1893
  5876. 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."
  5877. msgstr ""
  5878. #. type: subsection
  5879. #: guix-git/doc/guix.texi:1894
  5880. #, no-wrap
  5881. msgid "X11 Fonts"
  5882. msgstr ""
  5883. #. type: Plain text
  5884. #: guix-git/doc/guix.texi:1904
  5885. 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{gs-fonts}, @code{font-dejavu}, and @code{font-gnu-freefont}."
  5886. msgstr ""
  5887. #. type: code{#1}
  5888. #: guix-git/doc/guix.texi:1905
  5889. #, no-wrap
  5890. msgid "fc-cache"
  5891. msgstr ""
  5892. #. type: cindex
  5893. #: guix-git/doc/guix.texi:1906
  5894. #, no-wrap
  5895. msgid "font cache"
  5896. msgstr ""
  5897. #. type: Plain text
  5898. #: guix-git/doc/guix.texi:1910
  5899. 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:"
  5900. msgstr ""
  5901. #. type: example
  5902. #: guix-git/doc/guix.texi:1914
  5903. #, no-wrap
  5904. msgid ""
  5905. "guix install fontconfig\n"
  5906. "fc-cache -rv\n"
  5907. msgstr ""
  5908. #. type: Plain text
  5909. #: guix-git/doc/guix.texi:1922
  5910. 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:"
  5911. msgstr ""
  5912. #. type: example
  5913. #: guix-git/doc/guix.texi:1925
  5914. #, no-wrap
  5915. msgid "guix install font-adobe-source-han-sans:cn\n"
  5916. msgstr ""
  5917. #. type: code{#1}
  5918. #: guix-git/doc/guix.texi:1927
  5919. #, no-wrap
  5920. msgid "xterm"
  5921. msgstr "xterm"
  5922. #. type: Plain text
  5923. #: guix-git/doc/guix.texi:1931
  5924. 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:"
  5925. msgstr ""
  5926. #. type: example
  5927. #: guix-git/doc/guix.texi:1934
  5928. #, no-wrap
  5929. msgid "-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1\n"
  5930. msgstr ""
  5931. #. type: Plain text
  5932. #: guix-git/doc/guix.texi:1938
  5933. 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:"
  5934. msgstr ""
  5935. #. type: example
  5936. #: guix-git/doc/guix.texi:1943
  5937. #, no-wrap
  5938. msgid "xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))\n"
  5939. msgstr ""
  5940. #. type: code{#1}
  5941. #: guix-git/doc/guix.texi:1945
  5942. #, no-wrap
  5943. msgid "xlsfonts"
  5944. msgstr ""
  5945. #. type: Plain text
  5946. #: guix-git/doc/guix.texi:1948
  5947. msgid "After that, you can run @code{xlsfonts} (from @code{xlsfonts} package) to make sure your TrueType fonts are listed there."
  5948. msgstr ""
  5949. #. type: code{#1}
  5950. #: guix-git/doc/guix.texi:1952 guix-git/doc/guix.texi:32782
  5951. #, no-wrap
  5952. msgid "nss-certs"
  5953. msgstr ""
  5954. #. type: Plain text
  5955. #: guix-git/doc/guix.texi:1955
  5956. msgid "The @code{nss-certs} package provides X.509 certificates, which allow programs to authenticate Web servers accessed over HTTPS."
  5957. msgstr ""
  5958. #. type: Plain text
  5959. #: guix-git/doc/guix.texi:1960
  5960. 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."
  5961. 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."
  5962. #. type: code{#1}
  5963. #: guix-git/doc/guix.texi:1963
  5964. #, no-wrap
  5965. msgid "emacs"
  5966. msgstr ""
  5967. #. type: Plain text
  5968. #: guix-git/doc/guix.texi:1969
  5969. 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."
  5970. msgstr ""
  5971. #. type: Plain text
  5972. #: guix-git/doc/guix.texi:1976
  5973. 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})."
  5974. msgstr ""
  5975. #. type: cindex
  5976. #: guix-git/doc/guix.texi:1981
  5977. #, no-wrap
  5978. msgid "Upgrading Guix, on a foreign distro"
  5979. msgstr ""
  5980. #. type: Plain text
  5981. #: guix-git/doc/guix.texi:1984
  5982. msgid "To upgrade Guix, run:"
  5983. msgstr ""
  5984. #. type: example
  5985. #: guix-git/doc/guix.texi:1987 guix-git/doc/guix.texi:2834
  5986. #, no-wrap
  5987. msgid "guix pull\n"
  5988. msgstr ""
  5989. #. type: Plain text
  5990. #: guix-git/doc/guix.texi:1990
  5991. msgid "@xref{Invoking guix pull}, for more information."
  5992. msgstr ""
  5993. #. type: cindex
  5994. #: guix-git/doc/guix.texi:1991
  5995. #, no-wrap
  5996. msgid "upgrading Guix for the root user, on a foreign distro"
  5997. msgstr ""
  5998. #. type: cindex
  5999. #: guix-git/doc/guix.texi:1992
  6000. #, no-wrap
  6001. msgid "upgrading the Guix daemon, on a foreign distro"
  6002. msgstr ""
  6003. #. type: cindex
  6004. #: guix-git/doc/guix.texi:1993
  6005. #, no-wrap
  6006. msgid "@command{guix pull} for the root user, on a foreign distro"
  6007. msgstr ""
  6008. #. type: Plain text
  6009. #: guix-git/doc/guix.texi:1996
  6010. msgid "On a foreign distro, you can upgrade the build daemon by running:"
  6011. msgstr ""
  6012. #. type: example
  6013. #: guix-git/doc/guix.texi:1999
  6014. #, no-wrap
  6015. msgid "sudo -i guix pull\n"
  6016. msgstr ""
  6017. #. type: Plain text
  6018. #: guix-git/doc/guix.texi:2004
  6019. msgid "followed by (assuming your distro uses the systemd service management tool):"
  6020. msgstr ""
  6021. #. type: example
  6022. #: guix-git/doc/guix.texi:2007
  6023. #, no-wrap
  6024. msgid "systemctl restart guix-daemon.service\n"
  6025. msgstr ""
  6026. #. type: Plain text
  6027. #: guix-git/doc/guix.texi:2011
  6028. msgid "On Guix System, upgrading the daemon is achieved by reconfiguring the system (@pxref{Invoking guix system, @code{guix system reconfigure}})."
  6029. msgstr ""
  6030. #. type: cindex
  6031. #: guix-git/doc/guix.texi:2018
  6032. #, no-wrap
  6033. msgid "installing Guix System"
  6034. msgstr "instalando o Guix System"
  6035. #. type: cindex
  6036. #: guix-git/doc/guix.texi:2019
  6037. #, no-wrap
  6038. msgid "Guix System, installation"
  6039. msgstr "Guix System, instalação"
  6040. #. type: Plain text
  6041. #: guix-git/doc/guix.texi:2024
  6042. 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}."
  6043. msgstr ""
  6044. #. type: quotation
  6045. #: guix-git/doc/guix.texi:2033
  6046. 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."
  6047. msgstr ""
  6048. #. type: quotation
  6049. #: guix-git/doc/guix.texi:2036
  6050. msgid "Alternatively, run @command{info info} in another tty to keep the manual available."
  6051. msgstr ""
  6052. #. type: Plain text
  6053. #: guix-git/doc/guix.texi:2057
  6054. 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."
  6055. msgstr ""
  6056. #. type: Plain text
  6057. #: guix-git/doc/guix.texi:2060
  6058. msgid "Nevertheless, before you proceed with the installation, be aware of the following noteworthy limitations applicable to version @value{VERSION}:"
  6059. msgstr ""
  6060. #. type: itemize
  6061. #: guix-git/doc/guix.texi:2065
  6062. msgid "More and more system services are provided (@pxref{Services}), but some may be missing."
  6063. msgstr ""
  6064. #. type: itemize
  6065. #: guix-git/doc/guix.texi:2070
  6066. 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."
  6067. msgstr ""
  6068. #. type: Plain text
  6069. #: guix-git/doc/guix.texi:2075
  6070. 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."
  6071. msgstr ""
  6072. #. type: cindex
  6073. #: guix-git/doc/guix.texi:2080
  6074. #, no-wrap
  6075. msgid "hardware support on Guix System"
  6076. msgstr "suporte a hardware no Guix System"
  6077. #. type: Plain text
  6078. #: guix-git/doc/guix.texi:2089
  6079. 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."
  6080. msgstr ""
  6081. #. type: cindex
  6082. #: guix-git/doc/guix.texi:2090
  6083. #, no-wrap
  6084. msgid "WiFi, hardware support"
  6085. msgstr ""
  6086. #. type: Plain text
  6087. #: guix-git/doc/guix.texi:2099
  6088. 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}})."
  6089. msgstr ""
  6090. #. type: cindex
  6091. #: guix-git/doc/guix.texi:2100
  6092. #, no-wrap
  6093. msgid "RYF, Respects Your Freedom"
  6094. msgstr ""
  6095. #. type: Plain text
  6096. #: guix-git/doc/guix.texi:2106
  6097. 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."
  6098. msgstr ""
  6099. #. type: Plain text
  6100. #: guix-git/doc/guix.texi:2110
  6101. 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."
  6102. msgstr ""
  6103. #. type: Plain text
  6104. #: guix-git/doc/guix.texi:2119
  6105. 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:"
  6106. msgstr ""
  6107. #. type: table
  6108. #: guix-git/doc/guix.texi:2123
  6109. msgid "for a GNU/Linux system on Intel/AMD-compatible 64-bit CPUs;"
  6110. msgstr ""
  6111. #. type: table
  6112. #: guix-git/doc/guix.texi:2126
  6113. msgid "for a 32-bit GNU/Linux system on Intel-compatible CPUs."
  6114. msgstr ""
  6115. #. type: Plain text
  6116. #: guix-git/doc/guix.texi:2131
  6117. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the image against it, along these lines:"
  6118. msgstr ""
  6119. #. type: example
  6120. #: guix-git/doc/guix.texi:2135
  6121. #, no-wrap
  6122. msgid ""
  6123. "$ wget @value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  6124. "$ gpg --verify guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  6125. msgstr ""
  6126. #. type: example
  6127. #: guix-git/doc/guix.texi:2143
  6128. #, no-wrap
  6129. msgid ""
  6130. "$ wget @value{OPENPGP-SIGNING-KEY-URL} \\\n"
  6131. " -qO - | gpg --import -\n"
  6132. msgstr ""
  6133. #. type: Plain text
  6134. #: guix-git/doc/guix.texi:2155
  6135. 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."
  6136. msgstr ""
  6137. #. type: unnumberedsubsec
  6138. #: guix-git/doc/guix.texi:2156
  6139. #, no-wrap
  6140. msgid "Copying to a USB Stick"
  6141. msgstr ""
  6142. #. type: Plain text
  6143. #: guix-git/doc/guix.texi:2161
  6144. 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:"
  6145. msgstr ""
  6146. #. type: example
  6147. #: guix-git/doc/guix.texi:2165
  6148. #, no-wrap
  6149. msgid ""
  6150. "dd if=guix-system-install-@value{VERSION}.x86_64-linux.iso of=/dev/sdX status=progress\n"
  6151. "sync\n"
  6152. msgstr ""
  6153. #. type: Plain text
  6154. #: guix-git/doc/guix.texi:2168
  6155. msgid "Access to @file{/dev/sdX} usually requires root privileges."
  6156. msgstr ""
  6157. #. type: unnumberedsubsec
  6158. #: guix-git/doc/guix.texi:2169
  6159. #, no-wrap
  6160. msgid "Burning on a DVD"
  6161. msgstr ""
  6162. #. type: Plain text
  6163. #: guix-git/doc/guix.texi:2174
  6164. 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:"
  6165. msgstr ""
  6166. #. type: example
  6167. #: guix-git/doc/guix.texi:2177
  6168. #, no-wrap
  6169. msgid "growisofs -dvd-compat -Z /dev/srX=guix-system-install-@value{VERSION}.x86_64-linux.iso\n"
  6170. msgstr ""
  6171. #. type: Plain text
  6172. #: guix-git/doc/guix.texi:2180
  6173. msgid "Access to @file{/dev/srX} usually requires root privileges."
  6174. msgstr ""
  6175. #. type: unnumberedsubsec
  6176. #: guix-git/doc/guix.texi:2181
  6177. #, no-wrap
  6178. msgid "Booting"
  6179. msgstr ""
  6180. #. type: Plain text
  6181. #: guix-git/doc/guix.texi:2188
  6182. 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}."
  6183. msgstr ""
  6184. #. type: Plain text
  6185. #: guix-git/doc/guix.texi:2191
  6186. msgid "@xref{Installing Guix in a VM}, if, instead, you would like to install Guix System in a virtual machine (VM)."
  6187. msgstr ""
  6188. #. type: Plain text
  6189. #: guix-git/doc/guix.texi:2201
  6190. 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})."
  6191. msgstr ""
  6192. #. type: Plain text
  6193. #: guix-git/doc/guix.texi:2209
  6194. 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."
  6195. msgstr ""
  6196. #. type: quotation
  6197. #: guix-git/doc/guix.texi:2214
  6198. msgid "Installation requires access to the Internet so that any missing dependencies of your system configuration can be downloaded. See the ``Networking'' section below."
  6199. msgstr ""
  6200. #. type: Plain text
  6201. #: guix-git/doc/guix.texi:2221
  6202. 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."
  6203. msgstr ""
  6204. #. type: Plain text
  6205. #: guix-git/doc/guix.texi:2226
  6206. 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."
  6207. msgstr ""
  6208. #. type: Plain text
  6209. #: guix-git/doc/guix.texi:2228
  6210. msgid "@image{images/installer-network,5in,, networking setup with the graphical installer}"
  6211. msgstr ""
  6212. #. type: Plain text
  6213. #: guix-git/doc/guix.texi:2233
  6214. 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."
  6215. msgstr ""
  6216. #. type: Plain text
  6217. #: guix-git/doc/guix.texi:2235
  6218. msgid "@image{images/installer-partitions,5in,, partitioning with the graphical installer}"
  6219. msgstr ""
  6220. #. type: Plain text
  6221. #: guix-git/doc/guix.texi:2238
  6222. 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."
  6223. msgstr ""
  6224. #. type: Plain text
  6225. #: guix-git/doc/guix.texi:2240
  6226. msgid "@image{images/installer-resume,5in,, resuming the installation process}"
  6227. msgstr ""
  6228. #. type: Plain text
  6229. #: guix-git/doc/guix.texi:2245
  6230. 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!"
  6231. msgstr ""
  6232. #. type: Plain text
  6233. #: guix-git/doc/guix.texi:2255
  6234. 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})."
  6235. msgstr ""
  6236. #. type: Plain text
  6237. #: guix-git/doc/guix.texi:2261
  6238. 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})."
  6239. msgstr ""
  6240. #. type: subsection
  6241. #: guix-git/doc/guix.texi:2268
  6242. #, no-wrap
  6243. msgid "Keyboard Layout, Networking, and Partitioning"
  6244. msgstr ""
  6245. #. type: Plain text
  6246. #: guix-git/doc/guix.texi:2273
  6247. 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."
  6248. msgstr ""
  6249. #. type: cindex
  6250. #: guix-git/doc/guix.texi:2276 guix-git/doc/guix.texi:14660
  6251. #, no-wrap
  6252. msgid "keyboard layout"
  6253. msgstr "disposição do teclado"
  6254. #. type: Plain text
  6255. #: guix-git/doc/guix.texi:2280
  6256. 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:"
  6257. msgstr ""
  6258. #. type: example
  6259. #: guix-git/doc/guix.texi:2283
  6260. #, no-wrap
  6261. msgid "loadkeys dvorak\n"
  6262. msgstr ""
  6263. #. type: Plain text
  6264. #: guix-git/doc/guix.texi:2288
  6265. 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."
  6266. msgstr ""
  6267. #. type: subsubsection
  6268. #: guix-git/doc/guix.texi:2289
  6269. #, no-wrap
  6270. msgid "Networking"
  6271. msgstr "Rede"
  6272. #. type: Plain text
  6273. #: guix-git/doc/guix.texi:2292
  6274. msgid "Run the following command to see what your network interfaces are called:"
  6275. msgstr ""
  6276. #. type: example
  6277. #: guix-git/doc/guix.texi:2295
  6278. #, no-wrap
  6279. msgid "ifconfig -a\n"
  6280. msgstr ""
  6281. #. type: table
  6282. #: guix-git/doc/guix.texi:2299 guix-git/doc/guix.texi:2321
  6283. msgid "@dots{} or, using the GNU/Linux-specific @command{ip} command:"
  6284. msgstr ""
  6285. #. type: example
  6286. #: guix-git/doc/guix.texi:2302
  6287. #, no-wrap
  6288. msgid "ip address\n"
  6289. msgstr ""
  6290. #. type: Plain text
  6291. #: guix-git/doc/guix.texi:2309
  6292. 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}."
  6293. msgstr ""
  6294. #. type: item
  6295. #: guix-git/doc/guix.texi:2311
  6296. #, no-wrap
  6297. msgid "Wired connection"
  6298. msgstr "Conexão cabeada"
  6299. #. type: table
  6300. #: guix-git/doc/guix.texi:2314
  6301. msgid "To configure a wired network run the following command, substituting @var{interface} with the name of the wired interface you want to use."
  6302. msgstr ""
  6303. #. type: example
  6304. #: guix-git/doc/guix.texi:2317
  6305. #, no-wrap
  6306. msgid "ifconfig @var{interface} up\n"
  6307. msgstr ""
  6308. #. type: example
  6309. #: guix-git/doc/guix.texi:2324
  6310. #, no-wrap
  6311. msgid "ip link set @var{interface} up\n"
  6312. msgstr ""
  6313. #. type: item
  6314. #: guix-git/doc/guix.texi:2326
  6315. #, no-wrap
  6316. msgid "Wireless connection"
  6317. msgstr ""
  6318. #. type: cindex
  6319. #: guix-git/doc/guix.texi:2327 guix-git/doc/guix.texi:16305
  6320. #, no-wrap
  6321. msgid "wireless"
  6322. msgstr "sem fio"
  6323. #. type: cindex
  6324. #: guix-git/doc/guix.texi:2328 guix-git/doc/guix.texi:16306
  6325. #, no-wrap
  6326. msgid "WiFi"
  6327. msgstr ""
  6328. #. type: table
  6329. #: guix-git/doc/guix.texi:2333
  6330. 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}:"
  6331. msgstr ""
  6332. #. type: example
  6333. #: guix-git/doc/guix.texi:2336
  6334. #, no-wrap
  6335. msgid "nano wpa_supplicant.conf\n"
  6336. msgstr ""
  6337. #. type: table
  6338. #: guix-git/doc/guix.texi:2341
  6339. 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:"
  6340. msgstr ""
  6341. #. type: example
  6342. #: guix-git/doc/guix.texi:2348
  6343. #, no-wrap
  6344. msgid ""
  6345. "network=@{\n"
  6346. " ssid=\"@var{my-ssid}\"\n"
  6347. " key_mgmt=WPA-PSK\n"
  6348. " psk=\"the network's secret passphrase\"\n"
  6349. "@}\n"
  6350. msgstr ""
  6351. #. type: table
  6352. #: guix-git/doc/guix.texi:2353
  6353. 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):"
  6354. msgstr ""
  6355. #. type: example
  6356. #: guix-git/doc/guix.texi:2356
  6357. #, no-wrap
  6358. msgid "wpa_supplicant -c wpa_supplicant.conf -i @var{interface} -B\n"
  6359. msgstr ""
  6360. #. type: table
  6361. #: guix-git/doc/guix.texi:2359
  6362. msgid "Run @command{man wpa_supplicant} for more information."
  6363. msgstr ""
  6364. #. type: cindex
  6365. #: guix-git/doc/guix.texi:2361
  6366. #, no-wrap
  6367. msgid "DHCP"
  6368. msgstr ""
  6369. #. type: Plain text
  6370. #: guix-git/doc/guix.texi:2364
  6371. 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:"
  6372. msgstr ""
  6373. #. type: example
  6374. #: guix-git/doc/guix.texi:2367
  6375. #, no-wrap
  6376. msgid "dhclient -v @var{interface}\n"
  6377. msgstr ""
  6378. #. type: Plain text
  6379. #: guix-git/doc/guix.texi:2370
  6380. msgid "Try to ping a server to see if networking is up and running:"
  6381. msgstr ""
  6382. #. type: example
  6383. #: guix-git/doc/guix.texi:2373
  6384. #, no-wrap
  6385. msgid "ping -c 3 gnu.org\n"
  6386. msgstr ""
  6387. #. type: Plain text
  6388. #: guix-git/doc/guix.texi:2377
  6389. 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."
  6390. msgstr ""
  6391. #. type: cindex
  6392. #: guix-git/doc/guix.texi:2378
  6393. #, no-wrap
  6394. msgid "proxy, during system installation"
  6395. msgstr ""
  6396. #. type: Plain text
  6397. #: guix-git/doc/guix.texi:2381
  6398. msgid "If you need HTTP and HTTPS access to go through a proxy, run the following command:"
  6399. msgstr ""
  6400. #. type: example
  6401. #: guix-git/doc/guix.texi:2384
  6402. #, no-wrap
  6403. msgid "herd set-http-proxy guix-daemon @var{URL}\n"
  6404. msgstr ""
  6405. #. type: Plain text
  6406. #: guix-git/doc/guix.texi:2389
  6407. msgid "where @var{URL} is the proxy URL, for example @code{http://example.org:8118}."
  6408. msgstr ""
  6409. #. type: cindex
  6410. #: guix-git/doc/guix.texi:2390
  6411. #, no-wrap
  6412. msgid "installing over SSH"
  6413. msgstr ""
  6414. #. type: Plain text
  6415. #: guix-git/doc/guix.texi:2393
  6416. msgid "If you want to, you can continue the installation remotely by starting an SSH server:"
  6417. msgstr ""
  6418. #. type: example
  6419. #: guix-git/doc/guix.texi:2396
  6420. #, no-wrap
  6421. msgid "herd start ssh-daemon\n"
  6422. msgstr ""
  6423. #. type: Plain text
  6424. #: guix-git/doc/guix.texi:2400
  6425. msgid "Make sure to either set a password with @command{passwd}, or configure OpenSSH public key authentication before logging in."
  6426. msgstr ""
  6427. #. type: subsubsection
  6428. #: guix-git/doc/guix.texi:2401
  6429. #, no-wrap
  6430. msgid "Disk Partitioning"
  6431. msgstr ""
  6432. #. type: Plain text
  6433. #: guix-git/doc/guix.texi:2405
  6434. msgid "Unless this has already been done, the next step is to partition, and then format the target partition(s)."
  6435. msgstr ""
  6436. #. type: Plain text
  6437. #: guix-git/doc/guix.texi:2410
  6438. 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:"
  6439. msgstr ""
  6440. #. type: example
  6441. #: guix-git/doc/guix.texi:2413
  6442. #, no-wrap
  6443. msgid "cfdisk\n"
  6444. msgstr ""
  6445. #. type: Plain text
  6446. #: guix-git/doc/guix.texi:2419
  6447. 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})."
  6448. msgstr ""
  6449. #. type: cindex
  6450. #: guix-git/doc/guix.texi:2420
  6451. #, no-wrap
  6452. msgid "EFI, installation"
  6453. msgstr ""
  6454. #. type: cindex
  6455. #: guix-git/doc/guix.texi:2421
  6456. #, no-wrap
  6457. msgid "UEFI, installation"
  6458. msgstr ""
  6459. #. type: cindex
  6460. #: guix-git/doc/guix.texi:2422
  6461. #, no-wrap
  6462. msgid "ESP, EFI system partition"
  6463. msgstr ""
  6464. #. type: Plain text
  6465. #: guix-git/doc/guix.texi:2426
  6466. 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}:"
  6467. msgstr ""
  6468. #. type: example
  6469. #: guix-git/doc/guix.texi:2429
  6470. #, no-wrap
  6471. msgid "parted /dev/sda set 1 esp on\n"
  6472. msgstr ""
  6473. #. type: vindex
  6474. #: guix-git/doc/guix.texi:2432 guix-git/doc/guix.texi:33182
  6475. #, no-wrap
  6476. msgid "grub-bootloader"
  6477. msgstr ""
  6478. #. type: vindex
  6479. #: guix-git/doc/guix.texi:2433 guix-git/doc/guix.texi:33176
  6480. #, no-wrap
  6481. msgid "grub-efi-bootloader"
  6482. msgstr ""
  6483. #. type: quotation
  6484. #: guix-git/doc/guix.texi:2440
  6485. 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."
  6486. msgstr ""
  6487. #. type: Plain text
  6488. #: guix-git/doc/guix.texi:2448
  6489. 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, and F2FS 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:"
  6490. msgstr ""
  6491. #. type: example
  6492. #: guix-git/doc/guix.texi:2451
  6493. #, no-wrap
  6494. msgid "mkfs.fat -F32 /dev/sda1\n"
  6495. msgstr ""
  6496. #. type: Plain text
  6497. #: guix-git/doc/guix.texi:2458
  6498. 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})."
  6499. msgstr ""
  6500. #. type: Plain text
  6501. #: guix-git/doc/guix.texi:2465
  6502. 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:"
  6503. msgstr ""
  6504. #. type: example
  6505. #: guix-git/doc/guix.texi:2468
  6506. #, no-wrap
  6507. msgid "mkfs.ext4 -L my-root /dev/sda2\n"
  6508. msgstr ""
  6509. #. type: cindex
  6510. #: guix-git/doc/guix.texi:2470 guix-git/doc/guix.texi:13658
  6511. #, no-wrap
  6512. msgid "encrypted disk"
  6513. msgstr ""
  6514. #. type: Plain text
  6515. #: guix-git/doc/guix.texi:2477
  6516. 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). Assuming you want to store the root partition on @file{/dev/sda2}, the command sequence would be along these lines:"
  6517. msgstr ""
  6518. #. type: example
  6519. #: guix-git/doc/guix.texi:2482
  6520. #, no-wrap
  6521. msgid ""
  6522. "cryptsetup luksFormat /dev/sda2\n"
  6523. "cryptsetup open --type luks /dev/sda2 my-partition\n"
  6524. "mkfs.ext4 -L my-root /dev/mapper/my-partition\n"
  6525. msgstr ""
  6526. #. type: Plain text
  6527. #: guix-git/doc/guix.texi:2487
  6528. 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):"
  6529. msgstr ""
  6530. #. type: example
  6531. #: guix-git/doc/guix.texi:2490
  6532. #, no-wrap
  6533. msgid "mount LABEL=my-root /mnt\n"
  6534. msgstr ""
  6535. #. type: Plain text
  6536. #: guix-git/doc/guix.texi:2496
  6537. 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."
  6538. msgstr ""
  6539. #. type: Plain text
  6540. #: guix-git/doc/guix.texi:2501
  6541. msgid "Finally, if you plan to use one or more swap partitions (@pxref{Memory Concepts, swap space,, libc, The GNU C Library Reference Manual}), make sure to initialize them with @command{mkswap}. Assuming you have one swap partition on @file{/dev/sda3}, you would run:"
  6542. msgstr ""
  6543. #. type: example
  6544. #: guix-git/doc/guix.texi:2505
  6545. #, no-wrap
  6546. msgid ""
  6547. "mkswap /dev/sda3\n"
  6548. "swapon /dev/sda3\n"
  6549. msgstr ""
  6550. #. type: Plain text
  6551. #: guix-git/doc/guix.texi:2513
  6552. 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}.}:"
  6553. msgstr ""
  6554. #. type: example
  6555. #: guix-git/doc/guix.texi:2521
  6556. #, no-wrap
  6557. msgid ""
  6558. "# This is 10 GiB of swap space. Adjust \"count\" to change the size.\n"
  6559. "dd if=/dev/zero of=/mnt/swapfile bs=1MiB count=10240\n"
  6560. "# For security, make the file readable and writable only by root.\n"
  6561. "chmod 600 /mnt/swapfile\n"
  6562. "mkswap /mnt/swapfile\n"
  6563. "swapon /mnt/swapfile\n"
  6564. msgstr ""
  6565. #. type: Plain text
  6566. #: guix-git/doc/guix.texi:2526
  6567. 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."
  6568. msgstr ""
  6569. #. type: Plain text
  6570. #: guix-git/doc/guix.texi:2532
  6571. msgid "With the target partitions ready and the target root mounted on @file{/mnt}, we're ready to go. First, run:"
  6572. msgstr ""
  6573. #. type: example
  6574. #: guix-git/doc/guix.texi:2535
  6575. #, no-wrap
  6576. msgid "herd start cow-store /mnt\n"
  6577. msgstr ""
  6578. #. type: Plain text
  6579. #: guix-git/doc/guix.texi:2542
  6580. 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."
  6581. msgstr ""
  6582. #. type: Plain text
  6583. #: guix-git/doc/guix.texi:2553
  6584. 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."
  6585. msgstr ""
  6586. #. type: Plain text
  6587. #: guix-git/doc/guix.texi:2560
  6588. 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:"
  6589. msgstr ""
  6590. #. type: example
  6591. #: guix-git/doc/guix.texi:2565
  6592. #, no-wrap
  6593. msgid ""
  6594. "# mkdir /mnt/etc\n"
  6595. "# cp /etc/configuration/desktop.scm /mnt/etc/config.scm\n"
  6596. "# nano /mnt/etc/config.scm\n"
  6597. msgstr ""
  6598. #. type: Plain text
  6599. #: guix-git/doc/guix.texi:2569
  6600. msgid "You should pay attention to what your configuration file contains, and in particular:"
  6601. msgstr ""
  6602. #. type: itemize
  6603. #: guix-git/doc/guix.texi:2580
  6604. msgid "Make sure the @code{bootloader-configuration} form refers to the target 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{target} field names a device, like @code{/dev/sda}; for UEFI systems it names a path to a mounted EFI partition, like @code{/boot/efi}; do make sure the path is currently mounted and a @code{file-system} entry is specified in your configuration."
  6605. msgstr ""
  6606. #. type: itemize
  6607. #: guix-git/doc/guix.texi:2586
  6608. 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."
  6609. msgstr ""
  6610. #. type: itemize
  6611. #: guix-git/doc/guix.texi:2590
  6612. msgid "If there are encrypted or RAID partitions, make sure to add a @code{mapped-devices} field to describe them (@pxref{Mapped Devices})."
  6613. msgstr ""
  6614. #. type: Plain text
  6615. #: guix-git/doc/guix.texi:2595
  6616. 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}):"
  6617. msgstr ""
  6618. #. type: example
  6619. #: guix-git/doc/guix.texi:2598
  6620. #, no-wrap
  6621. msgid "guix system init /mnt/etc/config.scm /mnt\n"
  6622. msgstr ""
  6623. #. type: Plain text
  6624. #: guix-git/doc/guix.texi:2605
  6625. 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."
  6626. msgstr ""
  6627. #. type: Plain text
  6628. #: guix-git/doc/guix.texi:2613
  6629. 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!"
  6630. 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!"
  6631. #. type: Plain text
  6632. #: guix-git/doc/guix.texi:2620
  6633. msgid "Success, you've now booted into Guix System! From then on, you can update the system whenever you want by running, say:"
  6634. msgstr ""
  6635. #. type: example
  6636. #: guix-git/doc/guix.texi:2624
  6637. #, no-wrap
  6638. msgid ""
  6639. "guix pull\n"
  6640. "sudo guix system reconfigure /etc/config.scm\n"
  6641. msgstr ""
  6642. #. type: Plain text
  6643. #: guix-git/doc/guix.texi:2630
  6644. 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})."
  6645. msgstr ""
  6646. #. type: cindex
  6647. #: guix-git/doc/guix.texi:2633
  6648. #, no-wrap
  6649. msgid "sudo vs. @command{guix pull}"
  6650. msgstr ""
  6651. #. type: quotation
  6652. #: guix-git/doc/guix.texi:2637
  6653. 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{}}."
  6654. msgstr ""
  6655. #. type: quotation
  6656. #: guix-git/doc/guix.texi:2642
  6657. 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."
  6658. msgstr ""
  6659. #. type: Plain text
  6660. #: guix-git/doc/guix.texi:2647
  6661. 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!"
  6662. msgstr ""
  6663. #. type: section
  6664. #: guix-git/doc/guix.texi:2650
  6665. #, no-wrap
  6666. msgid "Installing Guix in a Virtual Machine"
  6667. msgstr ""
  6668. #. type: cindex
  6669. #: guix-git/doc/guix.texi:2652
  6670. #, no-wrap
  6671. msgid "virtual machine, Guix System installation"
  6672. msgstr "máquina virtual, instalação do Guix System"
  6673. #. type: cindex
  6674. #: guix-git/doc/guix.texi:2653
  6675. #, no-wrap
  6676. msgid "virtual private server (VPS)"
  6677. msgstr ""
  6678. #. type: cindex
  6679. #: guix-git/doc/guix.texi:2654
  6680. #, no-wrap
  6681. msgid "VPS (virtual private server)"
  6682. msgstr ""
  6683. #. type: Plain text
  6684. #: guix-git/doc/guix.texi:2658
  6685. 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."
  6686. msgstr ""
  6687. #. type: Plain text
  6688. #: guix-git/doc/guix.texi:2661
  6689. msgid "To boot a @uref{https://qemu.org/,QEMU} VM for installing Guix System in a disk image, follow these steps:"
  6690. msgstr ""
  6691. #. type: enumerate
  6692. #: guix-git/doc/guix.texi:2666
  6693. msgid "First, retrieve and decompress the Guix system installation image as described previously (@pxref{USB Stick and DVD Installation})."
  6694. msgstr ""
  6695. #. type: enumerate
  6696. #: guix-git/doc/guix.texi:2670
  6697. msgid "Create a disk image that will hold the installed system. To make a qcow2-formatted disk image, use the @command{qemu-img} command:"
  6698. msgstr ""
  6699. #. type: example
  6700. #: guix-git/doc/guix.texi:2673
  6701. #, no-wrap
  6702. msgid "qemu-img create -f qcow2 guix-system.img 50G\n"
  6703. msgstr ""
  6704. #. type: enumerate
  6705. #: guix-git/doc/guix.texi:2677
  6706. 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."
  6707. msgstr ""
  6708. #. type: enumerate
  6709. #: guix-git/doc/guix.texi:2680
  6710. msgid "Boot the USB installation image in an VM:"
  6711. msgstr ""
  6712. #. type: example
  6713. #: guix-git/doc/guix.texi:2686
  6714. #, no-wrap
  6715. msgid ""
  6716. "qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \\\n"
  6717. " -nic user,model=virtio-net-pci -boot menu=on,order=d \\\n"
  6718. " -drive file=guix-system.img \\\n"
  6719. " -drive media=cdrom,file=guix-system-install-@value{VERSION}.@var{system}.iso\n"
  6720. msgstr ""
  6721. #. type: enumerate
  6722. #: guix-git/doc/guix.texi:2690
  6723. msgid "@code{-enable-kvm} is optional, but significantly improves performance, @pxref{Running Guix in a VM}."
  6724. msgstr ""
  6725. #. type: enumerate
  6726. #: guix-git/doc/guix.texi:2694
  6727. msgid "You're now root in the VM, proceed with the installation process. @xref{Preparing for Installation}, and follow the instructions."
  6728. msgstr ""
  6729. #. type: Plain text
  6730. #: guix-git/doc/guix.texi:2699
  6731. 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."
  6732. msgstr ""
  6733. #. type: cindex
  6734. #: guix-git/doc/guix.texi:2703
  6735. #, no-wrap
  6736. msgid "installation image"
  6737. msgstr ""
  6738. #. type: Plain text
  6739. #: guix-git/doc/guix.texi:2706
  6740. msgid "The installation image described above was built using the @command{guix system} command, specifically:"
  6741. msgstr ""
  6742. #. type: example
  6743. #: guix-git/doc/guix.texi:2709
  6744. #, no-wrap
  6745. msgid "guix system image -t iso9660 gnu/system/install.scm\n"
  6746. msgstr ""
  6747. #. type: Plain text
  6748. #: guix-git/doc/guix.texi:2714
  6749. 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."
  6750. msgstr ""
  6751. #. type: section
  6752. #: guix-git/doc/guix.texi:2715
  6753. #, no-wrap
  6754. msgid "Building the Installation Image for ARM Boards"
  6755. msgstr ""
  6756. #. type: Plain text
  6757. #: guix-git/doc/guix.texi:2719
  6758. msgid "Many ARM boards require a specific variant of the @uref{https://www.denx.de/wiki/U-Boot/, U-Boot} bootloader."
  6759. msgstr ""
  6760. #. type: Plain text
  6761. #: guix-git/doc/guix.texi:2723
  6762. 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:"
  6763. msgstr ""
  6764. #. type: example
  6765. #: guix-git/doc/guix.texi:2726
  6766. #, no-wrap
  6767. msgid "guix system image --system=armhf-linux -e '((@@ (gnu system install) os-with-u-boot) (@@ (gnu system install) installation-os) \"A20-OLinuXino-Lime2\")'\n"
  6768. msgstr ""
  6769. #. type: Plain text
  6770. #: guix-git/doc/guix.texi:2730
  6771. 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."
  6772. msgstr ""
  6773. #. type: Plain text
  6774. #: guix-git/doc/guix.texi:2740
  6775. 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."
  6776. msgstr ""
  6777. #. type: Plain text
  6778. #: guix-git/doc/guix.texi:2744
  6779. 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:"
  6780. msgstr ""
  6781. #. type: example
  6782. #: guix-git/doc/guix.texi:2747
  6783. #, no-wrap
  6784. msgid "guix search text editor\n"
  6785. msgstr ""
  6786. #. type: Plain text
  6787. #: guix-git/doc/guix.texi:2754
  6788. 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}!):"
  6789. msgstr ""
  6790. #. type: example
  6791. #: guix-git/doc/guix.texi:2757
  6792. #, no-wrap
  6793. msgid "guix install emacs\n"
  6794. msgstr ""
  6795. #. type: cindex
  6796. #: guix-git/doc/guix.texi:2759 guix-git/doc/guix.texi:3071
  6797. #: guix-git/doc/guix.texi:3123
  6798. #, no-wrap
  6799. msgid "profile"
  6800. msgstr ""
  6801. #. type: Plain text
  6802. #: guix-git/doc/guix.texi:2767
  6803. 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)."
  6804. msgstr ""
  6805. #. type: Plain text
  6806. #: guix-git/doc/guix.texi:2770
  6807. msgid "Unless you're using Guix System, the @command{guix install} command must have printed this hint:"
  6808. msgstr ""
  6809. #. type: example
  6810. #: guix-git/doc/guix.texi:2773
  6811. #, no-wrap
  6812. msgid ""
  6813. "hint: Consider setting the necessary environment variables by running:\n"
  6814. "\n"
  6815. msgstr ""
  6816. #. type: example
  6817. #: guix-git/doc/guix.texi:2776
  6818. #, no-wrap
  6819. msgid ""
  6820. " GUIX_PROFILE=\"$HOME/.guix-profile\"\n"
  6821. " . \"$GUIX_PROFILE/etc/profile\"\n"
  6822. "\n"
  6823. msgstr ""
  6824. #. type: example
  6825. #: guix-git/doc/guix.texi:2778
  6826. #, no-wrap
  6827. msgid "Alternately, see `guix package --search-paths -p \"$HOME/.guix-profile\"'.\n"
  6828. msgstr ""
  6829. #. type: Plain text
  6830. #: guix-git/doc/guix.texi:2792
  6831. 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, @code{PYTHONPATH} will be defined."
  6832. msgstr ""
  6833. #. type: Plain text
  6834. #: guix-git/doc/guix.texi:2795
  6835. msgid "You can go on installing packages at your will. To list installed packages, run:"
  6836. msgstr ""
  6837. #. type: example
  6838. #: guix-git/doc/guix.texi:2798
  6839. #, no-wrap
  6840. msgid "guix package --list-installed\n"
  6841. msgstr ""
  6842. #. type: Plain text
  6843. #: guix-git/doc/guix.texi:2803
  6844. 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:"
  6845. msgstr ""
  6846. #. type: example
  6847. #: guix-git/doc/guix.texi:2806
  6848. #, no-wrap
  6849. msgid "guix package --roll-back\n"
  6850. msgstr ""
  6851. #. type: Plain text
  6852. #: guix-git/doc/guix.texi:2811
  6853. 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:"
  6854. msgstr ""
  6855. #. type: example
  6856. #: guix-git/doc/guix.texi:2814
  6857. #, no-wrap
  6858. msgid "guix package --list-generations\n"
  6859. msgstr ""
  6860. #. type: Plain text
  6861. #: guix-git/doc/guix.texi:2817
  6862. msgid "Now you know the basics of package management!"
  6863. msgstr ""
  6864. #. type: quotation
  6865. #: guix-git/doc/guix.texi:2818 guix-git/doc/guix.texi:2877
  6866. #, no-wrap
  6867. msgid "Going further"
  6868. msgstr ""
  6869. #. type: quotation
  6870. #: guix-git/doc/guix.texi:2826
  6871. 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."
  6872. msgstr ""
  6873. #. type: Plain text
  6874. #: guix-git/doc/guix.texi:2831
  6875. 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:"
  6876. msgstr ""
  6877. #. type: Plain text
  6878. #: guix-git/doc/guix.texi:2841
  6879. 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}:"
  6880. msgstr ""
  6881. #. type: example
  6882. #: guix-git/doc/guix.texi:2845
  6883. #, no-wrap
  6884. msgid ""
  6885. "GUIX_PROFILE=\"$HOME/.config/guix/current\"\n"
  6886. ". \"$GUIX_PROFILE/etc/profile\"\n"
  6887. msgstr ""
  6888. #. type: Plain text
  6889. #: guix-git/doc/guix.texi:2849
  6890. msgid "You must also instruct your shell to point to this new @command{guix}:"
  6891. msgstr ""
  6892. #. type: example
  6893. #: guix-git/doc/guix.texi:2852
  6894. #, no-wrap
  6895. msgid "hash guix\n"
  6896. msgstr ""
  6897. #. type: Plain text
  6898. #: guix-git/doc/guix.texi:2856
  6899. 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:"
  6900. msgstr ""
  6901. #. type: example
  6902. #: guix-git/doc/guix.texi:2859
  6903. #, no-wrap
  6904. msgid "guix upgrade\n"
  6905. msgstr ""
  6906. #. type: Plain text
  6907. #: guix-git/doc/guix.texi:2865
  6908. 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!"
  6909. msgstr ""
  6910. #. type: Plain text
  6911. #: guix-git/doc/guix.texi:2868
  6912. msgid "You can display the exact revision of Guix you're currently using by running:"
  6913. msgstr ""
  6914. #. type: example
  6915. #: guix-git/doc/guix.texi:2871
  6916. #, no-wrap
  6917. msgid "guix describe\n"
  6918. msgstr ""
  6919. #. type: Plain text
  6920. #: guix-git/doc/guix.texi:2876
  6921. 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."
  6922. msgstr ""
  6923. #. type: quotation
  6924. #: guix-git/doc/guix.texi:2882
  6925. 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})."
  6926. msgstr ""
  6927. #. type: Plain text
  6928. #: guix-git/doc/guix.texi:2887
  6929. 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:"
  6930. msgstr ""
  6931. #. type: example
  6932. #: guix-git/doc/guix.texi:2890
  6933. #, no-wrap
  6934. msgid "sudo guix system reconfigure /etc/config.scm\n"
  6935. msgstr ""
  6936. #. type: Plain text
  6937. #: guix-git/doc/guix.texi:2899
  6938. 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}:"
  6939. msgstr ""
  6940. #. type: example
  6941. #: guix-git/doc/guix.texi:2902
  6942. #, no-wrap
  6943. msgid "sudo guix system roll-back\n"
  6944. msgstr ""
  6945. #. type: Plain text
  6946. #: guix-git/doc/guix.texi:2909
  6947. 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."
  6948. msgstr ""
  6949. #. type: Plain text
  6950. #: guix-git/doc/guix.texi:2911
  6951. msgid "Now you know enough to get started!"
  6952. msgstr ""
  6953. #. type: quotation
  6954. #: guix-git/doc/guix.texi:2912
  6955. #, no-wrap
  6956. msgid "Resources"
  6957. msgstr ""
  6958. #. type: quotation
  6959. #: guix-git/doc/guix.texi:2915
  6960. msgid "The rest of this manual provides a reference for all things Guix. Here are some additional resources you may find useful:"
  6961. msgstr ""
  6962. #. type: itemize
  6963. #: guix-git/doc/guix.texi:2920
  6964. msgid "@xref{Top,,, guix-cookbook, The GNU Guix Cookbook}, for a list of ``how-to'' style of recipes for a variety of applications."
  6965. msgstr ""
  6966. #. type: itemize
  6967. #: guix-git/doc/guix.texi:2925
  6968. 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."
  6969. msgstr ""
  6970. #. type: itemize
  6971. #: guix-git/doc/guix.texi:2930
  6972. 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."
  6973. msgstr ""
  6974. #. type: itemize
  6975. #: guix-git/doc/guix.texi:2934
  6976. msgid "@xref{Documentation}, to learn how to access documentation on your computer."
  6977. msgstr ""
  6978. #. type: quotation
  6979. #: guix-git/doc/guix.texi:2937
  6980. msgid "We hope you will enjoy Guix as much as the community enjoys building it!"
  6981. msgstr ""
  6982. #. type: Plain text
  6983. #: guix-git/doc/guix.texi:2948
  6984. 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."
  6985. msgstr ""
  6986. #. type: Plain text
  6987. #: guix-git/doc/guix.texi:2956
  6988. 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):"
  6989. msgstr ""
  6990. #. type: example
  6991. #: guix-git/doc/guix.texi:2959
  6992. #, no-wrap
  6993. msgid "guix install emacs-guix\n"
  6994. msgstr ""
  6995. #. type: Plain text
  6996. #: guix-git/doc/guix.texi:2980
  6997. 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."
  6998. msgstr ""
  6999. #. type: Plain text
  7000. #: guix-git/doc/guix.texi:2984
  7001. 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."
  7002. msgstr ""
  7003. #. type: Plain text
  7004. #: guix-git/doc/guix.texi:2989
  7005. 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}."
  7006. msgstr ""
  7007. #. type: Plain text
  7008. #: guix-git/doc/guix.texi:2997
  7009. 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."
  7010. msgstr ""
  7011. #. type: Plain text
  7012. #: guix-git/doc/guix.texi:3001
  7013. 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}."
  7014. msgstr ""
  7015. #. type: cindex
  7016. #: guix-git/doc/guix.texi:3002 guix-git/doc/guix.texi:3085
  7017. #, no-wrap
  7018. msgid "transactions"
  7019. msgstr ""
  7020. #. type: Plain text
  7021. #: guix-git/doc/guix.texi:3009
  7022. 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."
  7023. msgstr ""
  7024. #. type: Plain text
  7025. #: guix-git/doc/guix.texi:3017
  7026. 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})."
  7027. msgstr ""
  7028. #. type: Plain text
  7029. #: guix-git/doc/guix.texi:3024
  7030. 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."
  7031. msgstr ""
  7032. #. type: Plain text
  7033. #: guix-git/doc/guix.texi:3037
  7034. 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})."
  7035. msgstr ""
  7036. #. type: Plain text
  7037. #: guix-git/doc/guix.texi:3048
  7038. 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})."
  7039. msgstr ""
  7040. #. type: Plain text
  7041. #: guix-git/doc/guix.texi:3054
  7042. msgid "Control over the build environment is a feature that is also useful for developers. The @command{guix environment} 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 environment})."
  7043. msgstr ""
  7044. #. type: cindex
  7045. #: guix-git/doc/guix.texi:3055
  7046. #, no-wrap
  7047. msgid "replication, of software environments"
  7048. msgstr ""
  7049. #. type: cindex
  7050. #: guix-git/doc/guix.texi:3056
  7051. #, no-wrap
  7052. msgid "provenance tracking, of software artifacts"
  7053. msgstr ""
  7054. #. type: Plain text
  7055. #: guix-git/doc/guix.texi:3063
  7056. 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."
  7057. msgstr ""
  7058. #. type: section
  7059. #: guix-git/doc/guix.texi:3065
  7060. #, no-wrap
  7061. msgid "Invoking @command{guix package}"
  7062. msgstr "Invocando @command{guix package}"
  7063. #. type: cindex
  7064. #: guix-git/doc/guix.texi:3067
  7065. #, no-wrap
  7066. msgid "installing packages"
  7067. msgstr ""
  7068. #. type: cindex
  7069. #: guix-git/doc/guix.texi:3068
  7070. #, no-wrap
  7071. msgid "removing packages"
  7072. msgstr ""
  7073. #. type: cindex
  7074. #: guix-git/doc/guix.texi:3069
  7075. #, no-wrap
  7076. msgid "package installation"
  7077. msgstr ""
  7078. #. type: cindex
  7079. #: guix-git/doc/guix.texi:3070
  7080. #, no-wrap
  7081. msgid "package removal"
  7082. msgstr ""
  7083. #. type: Plain text
  7084. #: guix-git/doc/guix.texi:3080
  7085. 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:"
  7086. msgstr ""
  7087. #. type: example
  7088. #: guix-git/doc/guix.texi:3083
  7089. #, no-wrap
  7090. msgid "guix package @var{options}\n"
  7091. msgstr "guix package @var{opções}\n"
  7092. #. type: Plain text
  7093. #: guix-git/doc/guix.texi:3090
  7094. 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."
  7095. msgstr ""
  7096. #. type: Plain text
  7097. #: guix-git/doc/guix.texi:3093
  7098. msgid "For example, to remove @code{lua} and install @code{guile} and @code{guile-cairo} in a single transaction:"
  7099. msgstr ""
  7100. #. type: example
  7101. #: guix-git/doc/guix.texi:3096
  7102. #, no-wrap
  7103. msgid "guix package -r lua -i guile guile-cairo\n"
  7104. msgstr ""
  7105. #. type: cindex
  7106. #: guix-git/doc/guix.texi:3098
  7107. #, no-wrap
  7108. msgid "aliases, for @command{guix package}"
  7109. msgstr ""
  7110. #. type: Plain text
  7111. #: guix-git/doc/guix.texi:3100
  7112. msgid "For your convenience, we also provide the following aliases:"
  7113. msgstr ""
  7114. #. type: itemize
  7115. #: guix-git/doc/guix.texi:3104
  7116. msgid "@command{guix search} is an alias for @command{guix package -s},"
  7117. msgstr ""
  7118. #. type: itemize
  7119. #: guix-git/doc/guix.texi:3106
  7120. msgid "@command{guix install} is an alias for @command{guix package -i},"
  7121. msgstr ""
  7122. #. type: itemize
  7123. #: guix-git/doc/guix.texi:3108
  7124. msgid "@command{guix remove} is an alias for @command{guix package -r},"
  7125. msgstr ""
  7126. #. type: itemize
  7127. #: guix-git/doc/guix.texi:3110
  7128. msgid "@command{guix upgrade} is an alias for @command{guix package -u},"
  7129. msgstr ""
  7130. #. type: itemize
  7131. #: guix-git/doc/guix.texi:3112
  7132. msgid "and @command{guix show} is an alias for @command{guix package --show=}."
  7133. msgstr ""
  7134. #. type: Plain text
  7135. #: guix-git/doc/guix.texi:3117
  7136. 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."
  7137. msgstr ""
  7138. #. type: Plain text
  7139. #: guix-git/doc/guix.texi:3122
  7140. 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}})."
  7141. msgstr ""
  7142. #. type: Plain text
  7143. #: guix-git/doc/guix.texi:3129
  7144. 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."
  7145. msgstr ""
  7146. #. type: cindex
  7147. #: guix-git/doc/guix.texi:3129 guix-git/doc/guix.texi:3362
  7148. #, no-wrap
  7149. msgid "search paths"
  7150. msgstr ""
  7151. #. type: Plain text
  7152. #: guix-git/doc/guix.texi:3134
  7153. 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:"
  7154. msgstr ""
  7155. #. type: example
  7156. #: guix-git/doc/guix.texi:3138
  7157. #, no-wrap
  7158. msgid ""
  7159. "GUIX_PROFILE=\"$HOME/.guix-profile\" ; \\\n"
  7160. "source \"$GUIX_PROFILE/etc/profile\"\n"
  7161. msgstr ""
  7162. #. type: Plain text
  7163. #: guix-git/doc/guix.texi:3149
  7164. 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}."
  7165. msgstr ""
  7166. #. type: Plain text
  7167. #: guix-git/doc/guix.texi:3151
  7168. msgid "The @var{options} can be among the following:"
  7169. msgstr ""
  7170. #. type: item
  7171. #: guix-git/doc/guix.texi:3154
  7172. #, no-wrap
  7173. msgid "--install=@var{package} @dots{}"
  7174. msgstr ""
  7175. #. type: itemx
  7176. #: guix-git/doc/guix.texi:3155
  7177. #, no-wrap
  7178. msgid "-i @var{package} @dots{}"
  7179. msgstr ""
  7180. #. type: table
  7181. #: guix-git/doc/guix.texi:3157
  7182. msgid "Install the specified @var{package}s."
  7183. msgstr ""
  7184. #. type: table
  7185. #: guix-git/doc/guix.texi:3162
  7186. 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)."
  7187. msgstr ""
  7188. #. type: table
  7189. #: guix-git/doc/guix.texi:3170
  7190. 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})."
  7191. msgstr ""
  7192. #. type: cindex
  7193. #: guix-git/doc/guix.texi:3171
  7194. #, no-wrap
  7195. msgid "propagated inputs"
  7196. msgstr ""
  7197. #. type: table
  7198. #: guix-git/doc/guix.texi:3177
  7199. 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)."
  7200. msgstr ""
  7201. #. type: anchor{#1}
  7202. #: guix-git/doc/guix.texi:3184
  7203. msgid "package-cmd-propagated-inputs"
  7204. msgstr ""
  7205. #. type: table
  7206. #: guix-git/doc/guix.texi:3184
  7207. 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."
  7208. msgstr ""
  7209. #. type: table
  7210. #: guix-git/doc/guix.texi:3189
  7211. 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."
  7212. msgstr ""
  7213. #. type: item
  7214. #: guix-git/doc/guix.texi:3190
  7215. #, no-wrap
  7216. msgid "--install-from-expression=@var{exp}"
  7217. msgstr ""
  7218. #. type: itemx
  7219. #: guix-git/doc/guix.texi:3191
  7220. #, no-wrap
  7221. msgid "-e @var{exp}"
  7222. msgstr ""
  7223. #. type: table
  7224. #: guix-git/doc/guix.texi:3193
  7225. msgid "Install the package @var{exp} evaluates to."
  7226. msgstr ""
  7227. #. type: table
  7228. #: guix-git/doc/guix.texi:3198
  7229. 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)}."
  7230. msgstr ""
  7231. #. type: table
  7232. #: guix-git/doc/guix.texi:3202
  7233. 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."
  7234. msgstr ""
  7235. #. type: item
  7236. #: guix-git/doc/guix.texi:3203
  7237. #, no-wrap
  7238. msgid "--install-from-file=@var{file}"
  7239. msgstr ""
  7240. #. type: itemx
  7241. #: guix-git/doc/guix.texi:3204 guix-git/doc/guix.texi:10758
  7242. #, no-wrap
  7243. msgid "-f @var{file}"
  7244. msgstr "-f @var{arquivo}"
  7245. #. type: table
  7246. #: guix-git/doc/guix.texi:3206
  7247. msgid "Install the package that the code within @var{file} evaluates to."
  7248. msgstr ""
  7249. #. type: table
  7250. #: guix-git/doc/guix.texi:3209 guix-git/doc/guix.texi:5741
  7251. msgid "As an example, @var{file} might contain a definition like this (@pxref{Defining Packages}):"
  7252. msgstr ""
  7253. #. type: include
  7254. #: guix-git/doc/guix.texi:3211 guix-git/doc/guix.texi:10766
  7255. #, no-wrap
  7256. msgid "package-hello.scm"
  7257. msgstr ""
  7258. #. type: table
  7259. #: guix-git/doc/guix.texi:3218
  7260. 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 environment})."
  7261. msgstr ""
  7262. #. type: table
  7263. #: guix-git/doc/guix.texi:3223
  7264. 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}:"
  7265. msgstr ""
  7266. #. type: example
  7267. #: guix-git/doc/guix.texi:3226 guix-git/doc/guix.texi:10776
  7268. #, no-wrap
  7269. msgid "@verbatiminclude package-hello.json\n"
  7270. msgstr ""
  7271. #. type: item
  7272. #: guix-git/doc/guix.texi:3228
  7273. #, no-wrap
  7274. msgid "--remove=@var{package} @dots{}"
  7275. msgstr ""
  7276. #. type: itemx
  7277. #: guix-git/doc/guix.texi:3229
  7278. #, no-wrap
  7279. msgid "-r @var{package} @dots{}"
  7280. msgstr "-r @var{pacote} @dots{}"
  7281. #. type: table
  7282. #: guix-git/doc/guix.texi:3231
  7283. msgid "Remove the specified @var{package}s."
  7284. msgstr ""
  7285. #. type: table
  7286. #: guix-git/doc/guix.texi:3236
  7287. 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}."
  7288. msgstr ""
  7289. #. type: item
  7290. #: guix-git/doc/guix.texi:3237
  7291. #, no-wrap
  7292. msgid "--upgrade[=@var{regexp} @dots{}]"
  7293. msgstr ""
  7294. #. type: itemx
  7295. #: guix-git/doc/guix.texi:3238
  7296. #, no-wrap
  7297. msgid "-u [@var{regexp} @dots{}]"
  7298. msgstr ""
  7299. #. type: cindex
  7300. #: guix-git/doc/guix.texi:3239
  7301. #, no-wrap
  7302. msgid "upgrading packages"
  7303. msgstr ""
  7304. #. type: table
  7305. #: guix-git/doc/guix.texi:3243
  7306. 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."
  7307. msgstr ""
  7308. #. type: table
  7309. #: guix-git/doc/guix.texi:3248
  7310. 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})."
  7311. msgstr ""
  7312. #. type: cindex
  7313. #: guix-git/doc/guix.texi:3249
  7314. #, no-wrap
  7315. msgid "package transformations, upgrades"
  7316. msgstr ""
  7317. #. type: table
  7318. #: guix-git/doc/guix.texi:3254
  7319. 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:"
  7320. msgstr ""
  7321. #. type: example
  7322. #: guix-git/doc/guix.texi:3257
  7323. #, no-wrap
  7324. msgid "guix install emacs-next --with-branch=emacs-next=master\n"
  7325. msgstr ""
  7326. #. type: table
  7327. #: guix-git/doc/guix.texi:3262
  7328. 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."
  7329. msgstr ""
  7330. #. type: table
  7331. #: guix-git/doc/guix.texi:3267
  7332. 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:"
  7333. msgstr ""
  7334. #. type: example
  7335. #: guix-git/doc/guix.texi:3270
  7336. #, no-wrap
  7337. msgid "guix install @var{package}\n"
  7338. msgstr ""
  7339. #. type: item
  7340. #: guix-git/doc/guix.texi:3272
  7341. #, no-wrap
  7342. msgid "--do-not-upgrade[=@var{regexp} @dots{}]"
  7343. msgstr ""
  7344. #. type: table
  7345. #: guix-git/doc/guix.texi:3277
  7346. 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'':"
  7347. msgstr ""
  7348. #. type: example
  7349. #: guix-git/doc/guix.texi:3280
  7350. #, no-wrap
  7351. msgid "$ guix package --upgrade . --do-not-upgrade emacs\n"
  7352. msgstr ""
  7353. #. type: anchor{#1}
  7354. #: guix-git/doc/guix.texi:3282
  7355. #, no-wrap
  7356. msgid "profile-manifest"
  7357. msgstr "profile-manifest"
  7358. #. type: item
  7359. #: guix-git/doc/guix.texi:3282 guix-git/doc/guix.texi:5746
  7360. #: guix-git/doc/guix.texi:6194 guix-git/doc/guix.texi:11870
  7361. #: guix-git/doc/guix.texi:13319
  7362. #, no-wrap
  7363. msgid "--manifest=@var{file}"
  7364. msgstr "--manifest=@var{arquivo}"
  7365. #. type: itemx
  7366. #: guix-git/doc/guix.texi:3283 guix-git/doc/guix.texi:5747
  7367. #: guix-git/doc/guix.texi:6195 guix-git/doc/guix.texi:11871
  7368. #, no-wrap
  7369. msgid "-m @var{file}"
  7370. msgstr "-m @var{arquivo}"
  7371. #. type: cindex
  7372. #: guix-git/doc/guix.texi:3284
  7373. #, no-wrap
  7374. msgid "profile declaration"
  7375. msgstr "declaração de perfil"
  7376. #. type: cindex
  7377. #: guix-git/doc/guix.texi:3285
  7378. #, no-wrap
  7379. msgid "profile manifest"
  7380. msgstr "manifsto de perfil"
  7381. #. type: table
  7382. #: guix-git/doc/guix.texi:3289
  7383. 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."
  7384. msgstr ""
  7385. #. type: table
  7386. #: guix-git/doc/guix.texi:3295
  7387. 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."
  7388. msgstr ""
  7389. #. type: table
  7390. #: guix-git/doc/guix.texi:3299
  7391. msgid "@var{file} must return a @dfn{manifest} object, which is roughly a list of packages:"
  7392. msgstr ""
  7393. #. type: findex
  7394. #: guix-git/doc/guix.texi:3300
  7395. #, no-wrap
  7396. msgid "packages->manifest"
  7397. msgstr "packages->manifest"
  7398. #. type: lisp
  7399. #: guix-git/doc/guix.texi:3303
  7400. #, no-wrap
  7401. msgid ""
  7402. "(use-package-modules guile emacs)\n"
  7403. "\n"
  7404. msgstr ""
  7405. "(use-package-modules guile emacs)\n"
  7406. "\n"
  7407. #. type: lisp
  7408. #: guix-git/doc/guix.texi:3309
  7409. #, no-wrap
  7410. msgid ""
  7411. "(packages->manifest\n"
  7412. " (list emacs\n"
  7413. " guile-2.0\n"
  7414. " ;; Use a specific package output.\n"
  7415. " (list guile-2.0 \"debug\")))\n"
  7416. msgstr ""
  7417. "(packages->manifest\n"
  7418. " (list emacs\n"
  7419. " guile-2.0\n"
  7420. " ;; Usa uma saída de pacote específica.\n"
  7421. " (list guile-2.0 \"debug\")))\n"
  7422. #. type: findex
  7423. #: guix-git/doc/guix.texi:3311
  7424. #, no-wrap
  7425. msgid "specifications->manifest"
  7426. msgstr ""
  7427. #. type: table
  7428. #: guix-git/doc/guix.texi:3318
  7429. 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:"
  7430. msgstr ""
  7431. #. type: lisp
  7432. #: guix-git/doc/guix.texi:3322
  7433. #, no-wrap
  7434. msgid ""
  7435. "(specifications->manifest\n"
  7436. " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  7437. msgstr ""
  7438. "(specifications->manifest\n"
  7439. " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  7440. #. type: table
  7441. #: guix-git/doc/guix.texi:3326
  7442. msgid "@xref{export-manifest, @option{--export-manifest}}, to learn how to obtain a manifest file from an existing profile."
  7443. msgstr ""
  7444. #. type: item
  7445. #: guix-git/doc/guix.texi:3327 guix-git/doc/guix.texi:4434
  7446. #, no-wrap
  7447. msgid "--roll-back"
  7448. msgstr "--roll-back"
  7449. #. type: cindex
  7450. #: guix-git/doc/guix.texi:3328 guix-git/doc/guix.texi:4435
  7451. #: guix-git/doc/guix.texi:33604
  7452. #, no-wrap
  7453. msgid "rolling back"
  7454. msgstr ""
  7455. #. type: cindex
  7456. #: guix-git/doc/guix.texi:3329 guix-git/doc/guix.texi:4436
  7457. #, no-wrap
  7458. msgid "undoing transactions"
  7459. msgstr "desfazendo transações"
  7460. #. type: cindex
  7461. #: guix-git/doc/guix.texi:3330 guix-git/doc/guix.texi:4437
  7462. #, no-wrap
  7463. msgid "transactions, undoing"
  7464. msgstr "transações, desfazendo"
  7465. #. type: table
  7466. #: guix-git/doc/guix.texi:3333
  7467. msgid "Roll back to the previous @dfn{generation} of the profile---i.e., undo the last transaction."
  7468. msgstr ""
  7469. #. type: table
  7470. #: guix-git/doc/guix.texi:3336
  7471. msgid "When combined with options such as @option{--install}, roll back occurs before any other actions."
  7472. msgstr ""
  7473. #. type: table
  7474. #: guix-git/doc/guix.texi:3340
  7475. 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."
  7476. msgstr ""
  7477. #. type: table
  7478. #: guix-git/doc/guix.texi:3344
  7479. 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."
  7480. msgstr ""
  7481. #. type: item
  7482. #: guix-git/doc/guix.texi:3345 guix-git/doc/guix.texi:4441
  7483. #, no-wrap
  7484. msgid "--switch-generation=@var{pattern}"
  7485. msgstr "--switch-generation=@var{padrão}"
  7486. #. type: itemx
  7487. #: guix-git/doc/guix.texi:3346 guix-git/doc/guix.texi:4442
  7488. #, no-wrap
  7489. msgid "-S @var{pattern}"
  7490. msgstr "-S @var{padrão}"
  7491. #. type: cindex
  7492. #: guix-git/doc/guix.texi:3347 guix-git/doc/guix.texi:3577
  7493. #: guix-git/doc/guix.texi:4443 guix-git/doc/guix.texi:33562
  7494. #, no-wrap
  7495. msgid "generations"
  7496. msgstr "gerações"
  7497. #. type: table
  7498. #: guix-git/doc/guix.texi:3349 guix-git/doc/guix.texi:4445
  7499. msgid "Switch to a particular generation defined by @var{pattern}."
  7500. msgstr ""
  7501. #. type: table
  7502. #: guix-git/doc/guix.texi:3355 guix-git/doc/guix.texi:4451
  7503. 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}."
  7504. msgstr ""
  7505. #. type: table
  7506. #: guix-git/doc/guix.texi:3360
  7507. 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."
  7508. msgstr ""
  7509. #. type: item
  7510. #: guix-git/doc/guix.texi:3361
  7511. #, no-wrap
  7512. msgid "--search-paths[=@var{kind}]"
  7513. msgstr "--search-paths[=@var{tipo}]"
  7514. #. type: table
  7515. #: guix-git/doc/guix.texi:3367
  7516. 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."
  7517. msgstr ""
  7518. #. type: table
  7519. #: guix-git/doc/guix.texi:3375
  7520. 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."
  7521. msgstr ""
  7522. #. type: table
  7523. #: guix-git/doc/guix.texi:3378
  7524. msgid "The typical use case is to define these environment variables in the shell:"
  7525. msgstr ""
  7526. #. type: example
  7527. #: guix-git/doc/guix.texi:3381
  7528. #, no-wrap
  7529. msgid "$ eval `guix package --search-paths`\n"
  7530. msgstr "$ eval `guix package --search-paths`\n"
  7531. #. type: table
  7532. #: guix-git/doc/guix.texi:3387
  7533. 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}."
  7534. msgstr ""
  7535. #. type: table
  7536. #: guix-git/doc/guix.texi:3390
  7537. msgid "This option can also be used to compute the @emph{combined} search paths of several profiles. Consider this example:"
  7538. msgstr ""
  7539. #. type: example
  7540. #: guix-git/doc/guix.texi:3395
  7541. #, no-wrap
  7542. msgid ""
  7543. "$ guix package -p foo -i guile\n"
  7544. "$ guix package -p bar -i guile-json\n"
  7545. "$ guix package -p foo -p bar --search-paths\n"
  7546. msgstr ""
  7547. "$ guix package -p foo -i guile\n"
  7548. "$ guix package -p bar -i guile-json\n"
  7549. "$ guix package -p foo -p bar --search-paths\n"
  7550. #. type: table
  7551. #: guix-git/doc/guix.texi:3400
  7552. 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."
  7553. msgstr ""
  7554. #. type: cindex
  7555. #: guix-git/doc/guix.texi:3402
  7556. #, fuzzy, no-wrap
  7557. msgid "profile, choosing"
  7558. msgstr "declaração de perfil"
  7559. #. type: item
  7560. #: guix-git/doc/guix.texi:3403 guix-git/doc/guix.texi:4471
  7561. #: guix-git/doc/guix.texi:4800
  7562. #, no-wrap
  7563. msgid "--profile=@var{profile}"
  7564. msgstr "--profile=@var{perfil}"
  7565. #. type: itemx
  7566. #: guix-git/doc/guix.texi:3404 guix-git/doc/guix.texi:4472
  7567. #: guix-git/doc/guix.texi:4801
  7568. #, no-wrap
  7569. msgid "-p @var{profile}"
  7570. msgstr "-p @var{perfil}"
  7571. #. type: table
  7572. #: guix-git/doc/guix.texi:3406
  7573. msgid "Use @var{profile} instead of the user's default profile."
  7574. msgstr ""
  7575. #. type: table
  7576. #: guix-git/doc/guix.texi:3411
  7577. 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:"
  7578. msgstr ""
  7579. #. type: example
  7580. #: guix-git/doc/guix.texi:3417
  7581. #, no-wrap
  7582. msgid ""
  7583. "$ guix install hello -p ~/code/my-profile\n"
  7584. "@dots{}\n"
  7585. "$ ~/code/my-profile/bin/hello\n"
  7586. "Hello, world!\n"
  7587. msgstr ""
  7588. #. type: table
  7589. #: guix-git/doc/guix.texi:3421
  7590. msgid "All it takes to get rid of the profile is to remove this symlink and its siblings that point to specific generations:"
  7591. msgstr ""
  7592. #. type: example
  7593. #: guix-git/doc/guix.texi:3424
  7594. #, no-wrap
  7595. msgid "$ rm ~/code/my-profile ~/code/my-profile-*-link\n"
  7596. msgstr ""
  7597. #. type: item
  7598. #: guix-git/doc/guix.texi:3426
  7599. #, no-wrap
  7600. msgid "--list-profiles"
  7601. msgstr ""
  7602. #. type: table
  7603. #: guix-git/doc/guix.texi:3428
  7604. msgid "List all the user's profiles:"
  7605. msgstr ""
  7606. #. type: example
  7607. #: guix-git/doc/guix.texi:3435
  7608. #, no-wrap
  7609. msgid ""
  7610. "$ guix package --list-profiles\n"
  7611. "/home/charlie/.guix-profile\n"
  7612. "/home/charlie/code/my-profile\n"
  7613. "/home/charlie/code/devel-profile\n"
  7614. "/home/charlie/tmp/test\n"
  7615. msgstr ""
  7616. #. type: table
  7617. #: guix-git/doc/guix.texi:3438
  7618. msgid "When running as root, list all the profiles of all the users."
  7619. msgstr ""
  7620. #. type: cindex
  7621. #: guix-git/doc/guix.texi:3439
  7622. #, no-wrap
  7623. msgid "collisions, in a profile"
  7624. msgstr "colisões, em um perfil"
  7625. #. type: cindex
  7626. #: guix-git/doc/guix.texi:3440
  7627. #, no-wrap
  7628. msgid "colliding packages in profiles"
  7629. msgstr ""
  7630. #. type: cindex
  7631. #: guix-git/doc/guix.texi:3441
  7632. #, no-wrap
  7633. msgid "profile collisions"
  7634. msgstr ""
  7635. #. type: item
  7636. #: guix-git/doc/guix.texi:3442
  7637. #, no-wrap
  7638. msgid "--allow-collisions"
  7639. msgstr ""
  7640. #. type: table
  7641. #: guix-git/doc/guix.texi:3444
  7642. msgid "Allow colliding packages in the new profile. Use at your own risk!"
  7643. msgstr ""
  7644. #. type: table
  7645. #: guix-git/doc/guix.texi:3448
  7646. 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."
  7647. msgstr ""
  7648. #. type: item
  7649. #: guix-git/doc/guix.texi:3449 guix-git/doc/guix.texi:4514
  7650. #: guix-git/doc/guix.texi:6280
  7651. #, no-wrap
  7652. msgid "--bootstrap"
  7653. msgstr ""
  7654. #. type: table
  7655. #: guix-git/doc/guix.texi:3452
  7656. msgid "Use the bootstrap Guile to build the profile. This option is only useful to distribution developers."
  7657. msgstr ""
  7658. #. type: Plain text
  7659. #: guix-git/doc/guix.texi:3458
  7660. 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:"
  7661. msgstr ""
  7662. #. type: item
  7663. #: guix-git/doc/guix.texi:3461
  7664. #, no-wrap
  7665. msgid "--search=@var{regexp}"
  7666. msgstr ""
  7667. #. type: itemx
  7668. #: guix-git/doc/guix.texi:3462
  7669. #, no-wrap
  7670. msgid "-s @var{regexp}"
  7671. msgstr ""
  7672. #. type: anchor{#1}
  7673. #: guix-git/doc/guix.texi:3464
  7674. msgid "guix-search"
  7675. msgstr ""
  7676. #. type: cindex
  7677. #: guix-git/doc/guix.texi:3464
  7678. #, no-wrap
  7679. msgid "searching for packages"
  7680. msgstr ""
  7681. #. type: table
  7682. #: guix-git/doc/guix.texi:3470
  7683. 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})."
  7684. msgstr ""
  7685. #. type: table
  7686. #: guix-git/doc/guix.texi:3473
  7687. msgid "This allows specific fields to be extracted using the @command{recsel} command, for instance:"
  7688. msgstr ""
  7689. #. type: example
  7690. #: guix-git/doc/guix.texi:3479
  7691. #, no-wrap
  7692. msgid ""
  7693. "$ guix package -s malloc | recsel -p name,version,relevance\n"
  7694. "name: jemalloc\n"
  7695. "version: 4.5.0\n"
  7696. "relevance: 6\n"
  7697. "\n"
  7698. msgstr ""
  7699. #. type: example
  7700. #: guix-git/doc/guix.texi:3483
  7701. #, no-wrap
  7702. msgid ""
  7703. "name: glibc\n"
  7704. "version: 2.25\n"
  7705. "relevance: 1\n"
  7706. "\n"
  7707. msgstr ""
  7708. #. type: example
  7709. #: guix-git/doc/guix.texi:3487
  7710. #, no-wrap
  7711. msgid ""
  7712. "name: libgc\n"
  7713. "version: 7.6.0\n"
  7714. "relevance: 1\n"
  7715. msgstr ""
  7716. #. type: table
  7717. #: guix-git/doc/guix.texi:3491
  7718. msgid "Similarly, to show the name of all the packages available under the terms of the GNU@tie{}LGPL version 3:"
  7719. msgstr ""
  7720. #. type: example
  7721. #: guix-git/doc/guix.texi:3495
  7722. #, no-wrap
  7723. msgid ""
  7724. "$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n"
  7725. "name: elfutils\n"
  7726. "\n"
  7727. msgstr ""
  7728. #. type: example
  7729. #: guix-git/doc/guix.texi:3498
  7730. #, no-wrap
  7731. msgid ""
  7732. "name: gmp\n"
  7733. "@dots{}\n"
  7734. msgstr ""
  7735. #. type: table
  7736. #: guix-git/doc/guix.texi:3504
  7737. 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):"
  7738. msgstr ""
  7739. #. type: example
  7740. #: guix-git/doc/guix.texi:3509
  7741. #, no-wrap
  7742. msgid ""
  7743. "$ guix search '\\<board\\>' game | recsel -p name\n"
  7744. "name: gnubg\n"
  7745. "@dots{}\n"
  7746. msgstr ""
  7747. #. type: table
  7748. #: guix-git/doc/guix.texi:3515
  7749. 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."
  7750. msgstr ""
  7751. #. type: table
  7752. #: guix-git/doc/guix.texi:3519
  7753. 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:"
  7754. msgstr ""
  7755. #. type: example
  7756. #: guix-git/doc/guix.texi:3523
  7757. #, no-wrap
  7758. msgid ""
  7759. "$ guix search crypto library | \\\n"
  7760. " recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n"
  7761. msgstr ""
  7762. #. type: table
  7763. #: guix-git/doc/guix.texi:3528
  7764. msgid "@xref{Selection Expressions,,, recutils, GNU recutils manual}, for more information on @dfn{selection expressions} for @code{recsel -e}."
  7765. msgstr ""
  7766. #. type: item
  7767. #: guix-git/doc/guix.texi:3529
  7768. #, no-wrap
  7769. msgid "--show=@var{package}"
  7770. msgstr ""
  7771. #. type: table
  7772. #: guix-git/doc/guix.texi:3533
  7773. 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})."
  7774. msgstr ""
  7775. #. type: example
  7776. #: guix-git/doc/guix.texi:3538
  7777. #, no-wrap
  7778. msgid ""
  7779. "$ guix package --show=python | recsel -p name,version\n"
  7780. "name: python\n"
  7781. "version: 2.7.6\n"
  7782. "\n"
  7783. msgstr ""
  7784. #. type: example
  7785. #: guix-git/doc/guix.texi:3541
  7786. #, no-wrap
  7787. msgid ""
  7788. "name: python\n"
  7789. "version: 3.3.5\n"
  7790. msgstr ""
  7791. "name: python\n"
  7792. "version: 3.3.5\n"
  7793. #. type: table
  7794. #: guix-git/doc/guix.texi:3545
  7795. 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):"
  7796. msgstr ""
  7797. #. type: example
  7798. #: guix-git/doc/guix.texi:3549
  7799. #, no-wrap
  7800. msgid ""
  7801. "$ guix show python@@3.4 | recsel -p name,version\n"
  7802. "name: python\n"
  7803. "version: 3.4.3\n"
  7804. msgstr ""
  7805. #. type: item
  7806. #: guix-git/doc/guix.texi:3553
  7807. #, no-wrap
  7808. msgid "--list-installed[=@var{regexp}]"
  7809. msgstr ""
  7810. #. type: itemx
  7811. #: guix-git/doc/guix.texi:3554
  7812. #, no-wrap
  7813. msgid "-I [@var{regexp}]"
  7814. msgstr ""
  7815. #. type: table
  7816. #: guix-git/doc/guix.texi:3558
  7817. 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}."
  7818. msgstr ""
  7819. #. type: table
  7820. #: guix-git/doc/guix.texi:3564
  7821. 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."
  7822. msgstr ""
  7823. #. type: item
  7824. #: guix-git/doc/guix.texi:3565
  7825. #, no-wrap
  7826. msgid "--list-available[=@var{regexp}]"
  7827. msgstr ""
  7828. #. type: itemx
  7829. #: guix-git/doc/guix.texi:3566
  7830. #, no-wrap
  7831. msgid "-A [@var{regexp}]"
  7832. msgstr ""
  7833. #. type: table
  7834. #: guix-git/doc/guix.texi:3570
  7835. 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}."
  7836. msgstr ""
  7837. #. type: table
  7838. #: guix-git/doc/guix.texi:3574
  7839. 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."
  7840. msgstr ""
  7841. #. type: item
  7842. #: guix-git/doc/guix.texi:3575 guix-git/doc/guix.texi:4427
  7843. #, no-wrap
  7844. msgid "--list-generations[=@var{pattern}]"
  7845. msgstr "--list-generations[=@var{padrão}]"
  7846. #. type: itemx
  7847. #: guix-git/doc/guix.texi:3576 guix-git/doc/guix.texi:4428
  7848. #, no-wrap
  7849. msgid "-l [@var{pattern}]"
  7850. msgstr "-l [@var{padrão}]"
  7851. #. type: table
  7852. #: guix-git/doc/guix.texi:3582
  7853. 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."
  7854. msgstr ""
  7855. #. type: table
  7856. #: guix-git/doc/guix.texi:3587
  7857. 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."
  7858. msgstr ""
  7859. #. type: table
  7860. #: guix-git/doc/guix.texi:3590
  7861. msgid "When @var{pattern} is used, the command returns only matching generations. Valid patterns include:"
  7862. msgstr ""
  7863. #. type: item
  7864. #: guix-git/doc/guix.texi:3592
  7865. #, no-wrap
  7866. msgid "@emph{Integers and comma-separated integers}. Both patterns denote"
  7867. msgstr ""
  7868. #. type: itemize
  7869. #: guix-git/doc/guix.texi:3595
  7870. msgid "generation numbers. For instance, @option{--list-generations=1} returns the first one."
  7871. msgstr ""
  7872. #. type: itemize
  7873. #: guix-git/doc/guix.texi:3598
  7874. msgid "And @option{--list-generations=1,8,2} outputs three generations in the specified order. Neither spaces nor trailing commas are allowed."
  7875. msgstr ""
  7876. #. type: item
  7877. #: guix-git/doc/guix.texi:3599
  7878. #, no-wrap
  7879. msgid "@emph{Ranges}. @option{--list-generations=2..9} prints the"
  7880. msgstr ""
  7881. #. type: itemize
  7882. #: guix-git/doc/guix.texi:3602
  7883. msgid "specified generations and everything in between. Note that the start of a range must be smaller than its end."
  7884. msgstr ""
  7885. #. type: itemize
  7886. #: guix-git/doc/guix.texi:3606
  7887. msgid "It is also possible to omit the endpoint. For example, @option{--list-generations=2..}, returns all generations starting from the second one."
  7888. msgstr ""
  7889. #. type: item
  7890. #: guix-git/doc/guix.texi:3607
  7891. #, no-wrap
  7892. msgid "@emph{Durations}. You can also get the last @emph{N}@tie{}days, weeks,"
  7893. msgstr ""
  7894. #. type: itemize
  7895. #: guix-git/doc/guix.texi:3611
  7896. 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."
  7897. msgstr ""
  7898. #. type: item
  7899. #: guix-git/doc/guix.texi:3613 guix-git/doc/guix.texi:4452
  7900. #, no-wrap
  7901. msgid "--delete-generations[=@var{pattern}]"
  7902. msgstr ""
  7903. #. type: itemx
  7904. #: guix-git/doc/guix.texi:3614 guix-git/doc/guix.texi:4453
  7905. #, no-wrap
  7906. msgid "-d [@var{pattern}]"
  7907. msgstr ""
  7908. #. type: table
  7909. #: guix-git/doc/guix.texi:3617 guix-git/doc/guix.texi:4456
  7910. msgid "When @var{pattern} is omitted, delete all generations except the current one."
  7911. msgstr ""
  7912. #. type: table
  7913. #: guix-git/doc/guix.texi:3623 guix-git/doc/guix.texi:4462
  7914. 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."
  7915. msgstr ""
  7916. #. type: table
  7917. #: guix-git/doc/guix.texi:3626
  7918. msgid "If the current generation matches, it is @emph{not} deleted. Also, the zeroth generation is never deleted."
  7919. msgstr ""
  7920. #. type: table
  7921. #: guix-git/doc/guix.texi:3629 guix-git/doc/guix.texi:4467
  7922. msgid "Note that deleting generations prevents rolling back to them. Consequently, this command must be used with care."
  7923. msgstr ""
  7924. #. type: cindex
  7925. #: guix-git/doc/guix.texi:3630
  7926. #, no-wrap
  7927. msgid "manifest, exporting"
  7928. msgstr ""
  7929. #. type: anchor{#1}
  7930. #: guix-git/doc/guix.texi:3632
  7931. msgid "export-manifest"
  7932. msgstr ""
  7933. #. type: item
  7934. #: guix-git/doc/guix.texi:3632
  7935. #, no-wrap
  7936. msgid "--export-manifest"
  7937. msgstr ""
  7938. #. type: table
  7939. #: guix-git/doc/guix.texi:3635
  7940. msgid "Write to standard output a manifest suitable for @option{--manifest} corresponding to the chosen profile(s)."
  7941. msgstr ""
  7942. #. type: table
  7943. #: guix-git/doc/guix.texi:3639
  7944. 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."
  7945. msgstr ""
  7946. #. type: table
  7947. #: guix-git/doc/guix.texi:3644
  7948. 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."
  7949. msgstr ""
  7950. #. type: table
  7951. #: guix-git/doc/guix.texi:3649
  7952. 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."
  7953. msgstr ""
  7954. #. type: cindex
  7955. #: guix-git/doc/guix.texi:3650
  7956. #, no-wrap
  7957. msgid "pinning, channel revisions of a profile"
  7958. msgstr ""
  7959. #. type: item
  7960. #: guix-git/doc/guix.texi:3651
  7961. #, no-wrap
  7962. msgid "--export-channels"
  7963. msgstr ""
  7964. #. type: table
  7965. #: guix-git/doc/guix.texi:3655
  7966. 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})."
  7967. msgstr ""
  7968. #. type: table
  7969. #: guix-git/doc/guix.texi:3659
  7970. msgid "Together with @option{--export-manifest}, this option provides information allowing you to replicate the current profile (@pxref{Replicating Guix})."
  7971. msgstr ""
  7972. #. type: table
  7973. #: guix-git/doc/guix.texi:3667
  7974. 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})."
  7975. msgstr ""
  7976. #. type: table
  7977. #: guix-git/doc/guix.texi:3672
  7978. 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."
  7979. msgstr ""
  7980. #. type: Plain text
  7981. #: guix-git/doc/guix.texi:3679
  7982. 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})."
  7983. msgstr ""
  7984. #. type: cindex
  7985. #: guix-git/doc/guix.texi:3684
  7986. #, no-wrap
  7987. msgid "pre-built binaries"
  7988. msgstr ""
  7989. #. type: Plain text
  7990. #: guix-git/doc/guix.texi:3690
  7991. 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."
  7992. msgstr ""
  7993. #. type: Plain text
  7994. #: guix-git/doc/guix.texi:3695
  7995. 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."
  7996. msgstr ""
  7997. #. type: cindex
  7998. #: guix-git/doc/guix.texi:3709
  7999. #, no-wrap
  8000. msgid "build farm"
  8001. msgstr ""
  8002. #. type: Plain text
  8003. #: guix-git/doc/guix.texi:3720
  8004. 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})."
  8005. msgstr ""
  8006. #. type: Plain text
  8007. #: guix-git/doc/guix.texi:3726
  8008. 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."
  8009. msgstr ""
  8010. #. type: Plain text
  8011. #: guix-git/doc/guix.texi:3735
  8012. 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."
  8013. msgstr ""
  8014. #. type: cindex
  8015. #: guix-git/doc/guix.texi:3739
  8016. #, no-wrap
  8017. msgid "security"
  8018. msgstr ""
  8019. #. type: cindex
  8020. #: guix-git/doc/guix.texi:3741
  8021. #, no-wrap
  8022. msgid "access control list (ACL), for substitutes"
  8023. msgstr ""
  8024. #. type: cindex
  8025. #: guix-git/doc/guix.texi:3742
  8026. #, no-wrap
  8027. msgid "ACL (access control list), for substitutes"
  8028. msgstr ""
  8029. #. type: Plain text
  8030. #: guix-git/doc/guix.texi:3748
  8031. 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."
  8032. msgstr ""
  8033. #. type: quotation
  8034. #: guix-git/doc/guix.texi:3753
  8035. 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."
  8036. msgstr ""
  8037. #. type: Plain text
  8038. #: guix-git/doc/guix.texi:3761
  8039. 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:"
  8040. msgstr ""
  8041. #. type: example
  8042. #: guix-git/doc/guix.texi:3765
  8043. #, fuzzy, no-wrap
  8044. #| msgid ""
  8045. #| "# guix archive --authorize < \\\n"
  8046. #| " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER}.pub\n"
  8047. msgid ""
  8048. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  8049. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  8050. msgstr ""
  8051. "# guix archive --authorize < \\\n"
  8052. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER}.pub\n"
  8053. #. type: Plain text
  8054. #: guix-git/doc/guix.texi:3769
  8055. msgid "Once this is in place, the output of a command like @code{guix build} should change from something like:"
  8056. msgstr ""
  8057. #. type: example
  8058. #: guix-git/doc/guix.texi:3778
  8059. #, no-wrap
  8060. msgid ""
  8061. "$ guix build emacs --dry-run\n"
  8062. "The following derivations would be built:\n"
  8063. " /gnu/store/yr7bnx8xwcayd6j95r2clmkdl1qh688w-emacs-24.3.drv\n"
  8064. " /gnu/store/x8qsh1hlhgjx6cwsjyvybnfv2i37z23w-dbus-1.6.4.tar.gz.drv\n"
  8065. " /gnu/store/1ixwp12fl950d15h2cj11c73733jay0z-alsa-lib-1.0.27.1.tar.bz2.drv\n"
  8066. " /gnu/store/nlma1pw0p603fpfiqy7kn4zm105r5dmw-util-linux-2.21.drv\n"
  8067. "@dots{}\n"
  8068. msgstr ""
  8069. #. type: Plain text
  8070. #: guix-git/doc/guix.texi:3782
  8071. msgid "to something like:"
  8072. msgstr ""
  8073. #. type: example
  8074. #: guix-git/doc/guix.texi:3791
  8075. #, no-wrap
  8076. msgid ""
  8077. "$ guix build emacs --dry-run\n"
  8078. "112.3 MB would be downloaded:\n"
  8079. " /gnu/store/pk3n22lbq6ydamyymqkkz7i69wiwjiwi-emacs-24.3\n"
  8080. " /gnu/store/2ygn4ncnhrpr61rssa6z0d9x22si0va3-libjpeg-8d\n"
  8081. " /gnu/store/71yz6lgx4dazma9dwn2mcjxaah9w77jq-cairo-1.12.16\n"
  8082. " /gnu/store/7zdhgp0n1518lvfn8mb96sxqfmvqrl7v-libxrender-0.9.7\n"
  8083. "@dots{}\n"
  8084. msgstr ""
  8085. #. type: Plain text
  8086. #: guix-git/doc/guix.texi:3798
  8087. 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."
  8088. msgstr ""
  8089. #. type: cindex
  8090. #: guix-git/doc/guix.texi:3799
  8091. #, no-wrap
  8092. msgid "substitutes, how to disable"
  8093. msgstr ""
  8094. #. type: Plain text
  8095. #: guix-git/doc/guix.texi:3805
  8096. 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."
  8097. msgstr ""
  8098. #. type: cindex
  8099. #: guix-git/doc/guix.texi:3809
  8100. #, no-wrap
  8101. msgid "substitute servers, adding more"
  8102. msgstr ""
  8103. #. type: Plain text
  8104. #: guix-git/doc/guix.texi:3816
  8105. 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."
  8106. msgstr ""
  8107. #. type: Plain text
  8108. #: guix-git/doc/guix.texi:3821
  8109. 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."
  8110. msgstr ""
  8111. #. type: Plain text
  8112. #: guix-git/doc/guix.texi:3828
  8113. 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}})."
  8114. msgstr ""
  8115. #. type: Plain text
  8116. #: guix-git/doc/guix.texi:3834
  8117. 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:"
  8118. msgstr ""
  8119. #. type: lisp
  8120. #: guix-git/doc/guix.texi:3851
  8121. #, no-wrap
  8122. msgid ""
  8123. "(operating-system\n"
  8124. " ;; @dots{}\n"
  8125. " (services\n"
  8126. " ;; Assume we're starting from '%desktop-services'. Replace it\n"
  8127. " ;; with the list of services you're actually using.\n"
  8128. " (modify-services %desktop-services\n"
  8129. " (guix-service-type config =>\n"
  8130. " (guix-configuration\n"
  8131. " (inherit config)\n"
  8132. " (substitute-urls\n"
  8133. " (append (list \"https://guix.example.org\")\n"
  8134. " %default-substitute-urls))\n"
  8135. " (authorized-keys\n"
  8136. " (append (list (local-file \"./key.pub\"))\n"
  8137. " %default-authorized-guix-keys)))))))\n"
  8138. msgstr ""
  8139. #. type: Plain text
  8140. #: guix-git/doc/guix.texi:3858
  8141. 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:"
  8142. msgstr ""
  8143. #. type: example
  8144. #: guix-git/doc/guix.texi:3862
  8145. #, no-wrap
  8146. msgid ""
  8147. "$ sudo guix system reconfigure /etc/config.scm\n"
  8148. "$ sudo herd restart guix-daemon\n"
  8149. msgstr ""
  8150. #. type: Plain text
  8151. #: guix-git/doc/guix.texi:3866
  8152. msgid "If you're running Guix on a ``foreign distro'', you would instead take the following steps to get substitutes from additional servers:"
  8153. msgstr ""
  8154. #. type: enumerate
  8155. #: guix-git/doc/guix.texi:3875
  8156. 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}}):"
  8157. msgstr ""
  8158. #. type: example
  8159. #: guix-git/doc/guix.texi:3878
  8160. #, no-wrap
  8161. msgid "@dots{} --substitute-urls='https://guix.example.org @value{SUBSTITUTE-URLS}'\n"
  8162. msgstr ""
  8163. #. type: enumerate
  8164. #: guix-git/doc/guix.texi:3882
  8165. msgid "Restart the daemon. For systemd, it goes like this:"
  8166. msgstr ""
  8167. #. type: example
  8168. #: guix-git/doc/guix.texi:3886
  8169. #, no-wrap
  8170. msgid ""
  8171. "systemctl daemon-reload\n"
  8172. "systemctl restart guix-daemon.service\n"
  8173. msgstr ""
  8174. #. type: enumerate
  8175. #: guix-git/doc/guix.texi:3890
  8176. msgid "Authorize the key of the new server (@pxref{Invoking guix archive}):"
  8177. msgstr ""
  8178. #. type: example
  8179. #: guix-git/doc/guix.texi:3893
  8180. #, no-wrap
  8181. msgid "guix archive --authorize < key.pub\n"
  8182. msgstr ""
  8183. #. type: enumerate
  8184. #: guix-git/doc/guix.texi:3897
  8185. msgid "Again this assumes @file{key.pub} contains the public key that @code{guix.example.org} uses to sign substitutes."
  8186. msgstr ""
  8187. #. type: Plain text
  8188. #: guix-git/doc/guix.texi:3906
  8189. 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."
  8190. msgstr ""
  8191. #. type: Plain text
  8192. #: guix-git/doc/guix.texi:3910
  8193. 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."
  8194. msgstr ""
  8195. #. type: cindex
  8196. #: guix-git/doc/guix.texi:3914
  8197. #, no-wrap
  8198. msgid "digital signatures"
  8199. msgstr ""
  8200. #. type: Plain text
  8201. #: guix-git/doc/guix.texi:3918
  8202. 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."
  8203. msgstr ""
  8204. #. type: Plain text
  8205. #: guix-git/doc/guix.texi:3924
  8206. 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:"
  8207. msgstr ""
  8208. #. type: example
  8209. #: guix-git/doc/guix.texi:3927
  8210. #, no-wrap
  8211. msgid "--substitute-urls=\"https://a.example.org https://b.example.org\"\n"
  8212. msgstr ""
  8213. #. type: Plain text
  8214. #: guix-git/doc/guix.texi:3938
  8215. 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)."
  8216. msgstr ""
  8217. #. type: Plain text
  8218. #: guix-git/doc/guix.texi:3945
  8219. 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)."
  8220. msgstr ""
  8221. #. type: Plain text
  8222. #: guix-git/doc/guix.texi:3957
  8223. 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}."
  8224. msgstr ""
  8225. #. type: Plain text
  8226. #: guix-git/doc/guix.texi:3966
  8227. 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."
  8228. msgstr ""
  8229. #. type: Plain text
  8230. #: guix-git/doc/guix.texi:3980
  8231. 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."
  8232. msgstr ""
  8233. #. type: Plain text
  8234. #: guix-git/doc/guix.texi:3985
  8235. 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."
  8236. msgstr ""
  8237. #. type: cindex
  8238. #: guix-git/doc/guix.texi:3989
  8239. #, no-wrap
  8240. msgid "trust, of pre-built binaries"
  8241. msgstr ""
  8242. #. type: Plain text
  8243. #: guix-git/doc/guix.texi:3999
  8244. 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})."
  8245. msgstr ""
  8246. #. type: Plain text
  8247. #: guix-git/doc/guix.texi:4011
  8248. 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}})."
  8249. msgstr ""
  8250. #. type: Plain text
  8251. #: guix-git/doc/guix.texi:4015
  8252. 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}."
  8253. msgstr ""
  8254. #. type: cindex
  8255. #: guix-git/doc/guix.texi:4019
  8256. #, no-wrap
  8257. msgid "multiple-output packages"
  8258. msgstr ""
  8259. #. type: cindex
  8260. #: guix-git/doc/guix.texi:4020
  8261. #, no-wrap
  8262. msgid "package outputs"
  8263. msgstr ""
  8264. #. type: cindex
  8265. #: guix-git/doc/guix.texi:4021
  8266. #, no-wrap
  8267. msgid "outputs"
  8268. msgstr ""
  8269. #. type: Plain text
  8270. #: guix-git/doc/guix.texi:4031
  8271. 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."
  8272. msgstr ""
  8273. #. type: Plain text
  8274. #: guix-git/doc/guix.texi:4039
  8275. 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:"
  8276. msgstr ""
  8277. #. type: example
  8278. #: guix-git/doc/guix.texi:4042
  8279. #, no-wrap
  8280. msgid "guix install glib\n"
  8281. msgstr ""
  8282. #. type: item
  8283. #: guix-git/doc/guix.texi:4044 guix-git/doc/guix.texi:34950
  8284. #: guix-git/doc/guix.texi:35007
  8285. #, no-wrap
  8286. msgid "documentation"
  8287. msgstr ""
  8288. #. type: Plain text
  8289. #: guix-git/doc/guix.texi:4046
  8290. msgid "The command to install its documentation is:"
  8291. msgstr ""
  8292. #. type: example
  8293. #: guix-git/doc/guix.texi:4049
  8294. #, no-wrap
  8295. msgid "guix install glib:doc\n"
  8296. msgstr ""
  8297. #. type: Plain text
  8298. #: guix-git/doc/guix.texi:4060
  8299. 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})."
  8300. msgstr ""
  8301. #. type: Plain text
  8302. #: guix-git/doc/guix.texi:4068
  8303. 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})."
  8304. msgstr ""
  8305. #. type: section
  8306. #: guix-git/doc/guix.texi:4071
  8307. #, no-wrap
  8308. msgid "Invoking @command{guix gc}"
  8309. msgstr "Invocando @command{guix gc}"
  8310. #. type: cindex
  8311. #: guix-git/doc/guix.texi:4073
  8312. #, no-wrap
  8313. msgid "garbage collector"
  8314. msgstr "coletor de lixo"
  8315. #. type: cindex
  8316. #: guix-git/doc/guix.texi:4074
  8317. #, no-wrap
  8318. msgid "disk space"
  8319. msgstr ""
  8320. #. type: Plain text
  8321. #: guix-git/doc/guix.texi:4080
  8322. 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!"
  8323. msgstr ""
  8324. #. type: Plain text
  8325. #: guix-git/doc/guix.texi:4091
  8326. 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."
  8327. msgstr ""
  8328. #. type: Plain text
  8329. #: guix-git/doc/guix.texi:4097
  8330. 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})."
  8331. msgstr ""
  8332. #. type: Plain text
  8333. #: guix-git/doc/guix.texi:4101
  8334. 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:"
  8335. msgstr ""
  8336. #. type: example
  8337. #: guix-git/doc/guix.texi:4104
  8338. #, no-wrap
  8339. msgid "guix gc -F 5G\n"
  8340. msgstr ""
  8341. #. type: Plain text
  8342. #: guix-git/doc/guix.texi:4113
  8343. 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."
  8344. msgstr ""
  8345. #. type: Plain text
  8346. #: guix-git/doc/guix.texi:4119
  8347. 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:"
  8348. msgstr ""
  8349. #. type: item
  8350. #: guix-git/doc/guix.texi:4121
  8351. #, no-wrap
  8352. msgid "--collect-garbage[=@var{min}]"
  8353. msgstr ""
  8354. #. type: itemx
  8355. #: guix-git/doc/guix.texi:4122
  8356. #, no-wrap
  8357. msgid "-C [@var{min}]"
  8358. msgstr ""
  8359. #. type: table
  8360. #: guix-git/doc/guix.texi:4126
  8361. msgid "Collect garbage---i.e., unreachable @file{/gnu/store} files and sub-directories. This is the default operation when no option is specified."
  8362. msgstr ""
  8363. #. type: table
  8364. #: guix-git/doc/guix.texi:4131
  8365. 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})."
  8366. msgstr ""
  8367. #. type: table
  8368. #: guix-git/doc/guix.texi:4133
  8369. msgid "When @var{min} is omitted, collect all the garbage."
  8370. msgstr ""
  8371. #. type: item
  8372. #: guix-git/doc/guix.texi:4134
  8373. #, no-wrap
  8374. msgid "--free-space=@var{free}"
  8375. msgstr ""
  8376. #. type: itemx
  8377. #: guix-git/doc/guix.texi:4135
  8378. #, no-wrap
  8379. msgid "-F @var{free}"
  8380. msgstr ""
  8381. #. type: table
  8382. #: guix-git/doc/guix.texi:4139
  8383. 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."
  8384. msgstr ""
  8385. #. type: table
  8386. #: guix-git/doc/guix.texi:4142
  8387. msgid "When @var{free} or more is already available in @file{/gnu/store}, do nothing and exit immediately."
  8388. msgstr ""
  8389. #. type: item
  8390. #: guix-git/doc/guix.texi:4143
  8391. #, no-wrap
  8392. msgid "--delete-generations[=@var{duration}]"
  8393. msgstr "--delete-generations[=@var{duração}]"
  8394. #. type: itemx
  8395. #: guix-git/doc/guix.texi:4144
  8396. #, no-wrap
  8397. msgid "-d [@var{duration}]"
  8398. msgstr ""
  8399. #. type: table
  8400. #: guix-git/doc/guix.texi:4148
  8401. 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}."
  8402. msgstr ""
  8403. #. type: table
  8404. #: guix-git/doc/guix.texi:4152
  8405. 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:"
  8406. msgstr ""
  8407. #. type: example
  8408. #: guix-git/doc/guix.texi:4155
  8409. #, no-wrap
  8410. msgid "guix gc -d 2m -F 10G\n"
  8411. msgstr ""
  8412. #. type: item
  8413. #: guix-git/doc/guix.texi:4157
  8414. #, no-wrap
  8415. msgid "--delete"
  8416. msgstr ""
  8417. #. type: itemx
  8418. #: guix-git/doc/guix.texi:4158
  8419. #, no-wrap
  8420. msgid "-D"
  8421. msgstr ""
  8422. #. type: table
  8423. #: guix-git/doc/guix.texi:4162
  8424. 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."
  8425. msgstr ""
  8426. #. type: item
  8427. #: guix-git/doc/guix.texi:4163
  8428. #, no-wrap
  8429. msgid "--list-failures"
  8430. msgstr "--list-failures"
  8431. #. type: table
  8432. #: guix-git/doc/guix.texi:4165
  8433. msgid "List store items corresponding to cached build failures."
  8434. msgstr ""
  8435. #. type: table
  8436. #: guix-git/doc/guix.texi:4169
  8437. msgid "This prints nothing unless the daemon was started with @option{--cache-failures} (@pxref{Invoking guix-daemon, @option{--cache-failures}})."
  8438. msgstr ""
  8439. #. type: item
  8440. #: guix-git/doc/guix.texi:4170
  8441. #, no-wrap
  8442. msgid "--list-roots"
  8443. msgstr ""
  8444. #. type: table
  8445. #: guix-git/doc/guix.texi:4173
  8446. msgid "List the GC roots owned by the user; when run as root, list @emph{all} the GC roots."
  8447. msgstr ""
  8448. #. type: item
  8449. #: guix-git/doc/guix.texi:4174
  8450. #, no-wrap
  8451. msgid "--list-busy"
  8452. msgstr ""
  8453. #. type: table
  8454. #: guix-git/doc/guix.texi:4177
  8455. msgid "List store items in use by currently running processes. These store items are effectively considered GC roots: they cannot be deleted."
  8456. msgstr ""
  8457. #. type: item
  8458. #: guix-git/doc/guix.texi:4178
  8459. #, no-wrap
  8460. msgid "--clear-failures"
  8461. msgstr "--clear-failures"
  8462. #. type: table
  8463. #: guix-git/doc/guix.texi:4180
  8464. msgid "Remove the specified store items from the failed-build cache."
  8465. msgstr ""
  8466. #. type: table
  8467. #: guix-git/doc/guix.texi:4183
  8468. msgid "Again, this option only makes sense when the daemon is started with @option{--cache-failures}. Otherwise, it does nothing."
  8469. msgstr ""
  8470. #. type: item
  8471. #: guix-git/doc/guix.texi:4184
  8472. #, no-wrap
  8473. msgid "--list-dead"
  8474. msgstr "--list-dead"
  8475. #. type: table
  8476. #: guix-git/doc/guix.texi:4187
  8477. 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."
  8478. msgstr ""
  8479. #. type: item
  8480. #: guix-git/doc/guix.texi:4188
  8481. #, no-wrap
  8482. msgid "--list-live"
  8483. msgstr "--list-live"
  8484. #. type: table
  8485. #: guix-git/doc/guix.texi:4190
  8486. msgid "Show the list of live store files and directories."
  8487. msgstr ""
  8488. #. type: Plain text
  8489. #: guix-git/doc/guix.texi:4194
  8490. msgid "In addition, the references among existing store files can be queried:"
  8491. msgstr ""
  8492. #. type: item
  8493. #: guix-git/doc/guix.texi:4197
  8494. #, no-wrap
  8495. msgid "--references"
  8496. msgstr ""
  8497. #. type: itemx
  8498. #: guix-git/doc/guix.texi:4198
  8499. #, no-wrap
  8500. msgid "--referrers"
  8501. msgstr ""
  8502. #. type: cindex
  8503. #: guix-git/doc/guix.texi:4199 guix-git/doc/guix.texi:12403
  8504. #, no-wrap
  8505. msgid "package dependencies"
  8506. msgstr ""
  8507. #. type: table
  8508. #: guix-git/doc/guix.texi:4202
  8509. msgid "List the references (respectively, the referrers) of store files given as arguments."
  8510. msgstr ""
  8511. #. type: item
  8512. #: guix-git/doc/guix.texi:4203
  8513. #, no-wrap
  8514. msgid "--requisites"
  8515. msgstr "--requisites"
  8516. #. type: itemx
  8517. #: guix-git/doc/guix.texi:4204 guix-git/doc/guix.texi:6080
  8518. #, no-wrap
  8519. msgid "-R"
  8520. msgstr ""
  8521. #. type: item
  8522. #: guix-git/doc/guix.texi:4205 guix-git/doc/guix.texi:12259
  8523. #: guix-git/doc/guix.texi:12287 guix-git/doc/guix.texi:12368
  8524. #, no-wrap
  8525. msgid "closure"
  8526. msgstr ""
  8527. #. type: table
  8528. #: guix-git/doc/guix.texi:4210
  8529. 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."
  8530. msgstr ""
  8531. #. type: table
  8532. #: guix-git/doc/guix.texi:4214
  8533. 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."
  8534. msgstr ""
  8535. #. type: item
  8536. #: guix-git/doc/guix.texi:4215
  8537. #, no-wrap
  8538. msgid "--derivers"
  8539. msgstr ""
  8540. #. type: item
  8541. #: guix-git/doc/guix.texi:4216 guix-git/doc/guix.texi:6394
  8542. #: guix-git/doc/guix.texi:12122 guix-git/doc/guix.texi:12512
  8543. #, no-wrap
  8544. msgid "derivation"
  8545. msgstr ""
  8546. #. type: table
  8547. #: guix-git/doc/guix.texi:4219
  8548. msgid "Return the derivation(s) leading to the given store items (@pxref{Derivations})."
  8549. msgstr ""
  8550. #. type: table
  8551. #: guix-git/doc/guix.texi:4221
  8552. msgid "For example, this command:"
  8553. msgstr ""
  8554. #. type: example
  8555. #: guix-git/doc/guix.texi:4224
  8556. #, no-wrap
  8557. msgid "guix gc --derivers $(guix package -I ^emacs$ | cut -f4)\n"
  8558. msgstr ""
  8559. #. type: table
  8560. #: guix-git/doc/guix.texi:4229
  8561. msgid "returns the @file{.drv} file(s) leading to the @code{emacs} package installed in your profile."
  8562. msgstr ""
  8563. #. type: table
  8564. #: guix-git/doc/guix.texi:4233
  8565. 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."
  8566. msgstr ""
  8567. #. type: Plain text
  8568. #: guix-git/doc/guix.texi:4237
  8569. msgid "Lastly, the following options allow you to check the integrity of the store and to control disk usage."
  8570. msgstr ""
  8571. #. type: item
  8572. #: guix-git/doc/guix.texi:4240
  8573. #, no-wrap
  8574. msgid "--verify[=@var{options}]"
  8575. msgstr ""
  8576. #. type: cindex
  8577. #: guix-git/doc/guix.texi:4241
  8578. #, no-wrap
  8579. msgid "integrity, of the store"
  8580. msgstr ""
  8581. #. type: cindex
  8582. #: guix-git/doc/guix.texi:4242
  8583. #, no-wrap
  8584. msgid "integrity checking"
  8585. msgstr ""
  8586. #. type: table
  8587. #: guix-git/doc/guix.texi:4244
  8588. msgid "Verify the integrity of the store."
  8589. msgstr ""
  8590. #. type: table
  8591. #: guix-git/doc/guix.texi:4247
  8592. 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}."
  8593. msgstr ""
  8594. #. type: table
  8595. #: guix-git/doc/guix.texi:4250
  8596. msgid "When provided, @var{options} must be a comma-separated list containing one or more of @code{contents} and @code{repair}."
  8597. msgstr ""
  8598. #. type: table
  8599. #: guix-git/doc/guix.texi:4256
  8600. 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."
  8601. msgstr ""
  8602. #. type: cindex
  8603. #: guix-git/doc/guix.texi:4257
  8604. #, no-wrap
  8605. msgid "repairing the store"
  8606. msgstr ""
  8607. #. type: cindex
  8608. #: guix-git/doc/guix.texi:4258 guix-git/doc/guix.texi:10926
  8609. #, no-wrap
  8610. msgid "corruption, recovering from"
  8611. msgstr ""
  8612. #. type: table
  8613. #: guix-git/doc/guix.texi:4266
  8614. 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})."
  8615. msgstr ""
  8616. #. type: item
  8617. #: guix-git/doc/guix.texi:4267
  8618. #, no-wrap
  8619. msgid "--optimize"
  8620. msgstr "--optimize"
  8621. #. type: table
  8622. #: guix-git/doc/guix.texi:4271
  8623. msgid "Optimize the store by hard-linking identical files---this is @dfn{deduplication}."
  8624. msgstr ""
  8625. #. type: table
  8626. #: guix-git/doc/guix.texi:4277
  8627. 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}."
  8628. msgstr ""
  8629. #. type: section
  8630. #: guix-git/doc/guix.texi:4281
  8631. #, no-wrap
  8632. msgid "Invoking @command{guix pull}"
  8633. msgstr "Invocando @command{guix pull}"
  8634. #. type: cindex
  8635. #: guix-git/doc/guix.texi:4283
  8636. #, no-wrap
  8637. msgid "upgrading Guix"
  8638. msgstr ""
  8639. #. type: cindex
  8640. #: guix-git/doc/guix.texi:4284
  8641. #, no-wrap
  8642. msgid "updating Guix"
  8643. msgstr ""
  8644. #. type: command{#1}
  8645. #: guix-git/doc/guix.texi:4285
  8646. #, no-wrap
  8647. msgid "guix pull"
  8648. msgstr ""
  8649. #. type: cindex
  8650. #: guix-git/doc/guix.texi:4286
  8651. #, no-wrap
  8652. msgid "pull"
  8653. msgstr ""
  8654. #. type: cindex
  8655. #: guix-git/doc/guix.texi:4287
  8656. #, no-wrap
  8657. msgid "security, @command{guix pull}"
  8658. msgstr ""
  8659. #. type: cindex
  8660. #: guix-git/doc/guix.texi:4288
  8661. #, no-wrap
  8662. msgid "authenticity, of code obtained with @command{guix pull}"
  8663. msgstr ""
  8664. #. type: Plain text
  8665. #: guix-git/doc/guix.texi:4298
  8666. 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."
  8667. msgstr ""
  8668. #. type: Plain text
  8669. #: guix-git/doc/guix.texi:4301
  8670. msgid "Specifically, @command{guix pull} downloads code from the @dfn{channels} (@pxref{Channels}) specified by one of the followings, in this order:"
  8671. msgstr ""
  8672. #. type: enumerate
  8673. #: guix-git/doc/guix.texi:4305
  8674. msgid "the @option{--channels} option;"
  8675. msgstr ""
  8676. #. type: enumerate
  8677. #: guix-git/doc/guix.texi:4307
  8678. msgid "the user's @file{~/.config/guix/channels.scm} file;"
  8679. msgstr ""
  8680. #. type: enumerate
  8681. #: guix-git/doc/guix.texi:4309
  8682. msgid "the system-wide @file{/etc/guix/channels.scm} file;"
  8683. msgstr ""
  8684. #. type: enumerate
  8685. #: guix-git/doc/guix.texi:4312
  8686. msgid "the built-in default channels specified in the @code{%default-channels} variable."
  8687. msgstr ""
  8688. #. type: Plain text
  8689. #: guix-git/doc/guix.texi:4319
  8690. 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."
  8691. msgstr ""
  8692. #. type: Plain text
  8693. #: guix-git/doc/guix.texi:4325
  8694. 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."
  8695. msgstr ""
  8696. #. type: Plain text
  8697. #: guix-git/doc/guix.texi:4331
  8698. 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}):"
  8699. msgstr ""
  8700. #. type: example
  8701. #: guix-git/doc/guix.texi:4335
  8702. #, no-wrap
  8703. msgid ""
  8704. "export PATH=\"$HOME/.config/guix/current/bin:$PATH\"\n"
  8705. "export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"\n"
  8706. msgstr ""
  8707. #. type: Plain text
  8708. #: guix-git/doc/guix.texi:4339
  8709. msgid "The @option{--list-generations} or @option{-l} option lists past generations produced by @command{guix pull}, along with details about their provenance:"
  8710. msgstr ""
  8711. #. type: example
  8712. #: guix-git/doc/guix.texi:4347
  8713. #, no-wrap
  8714. msgid ""
  8715. "$ guix pull -l\n"
  8716. "Generation 1\tJun 10 2018 00:18:18\n"
  8717. " guix 65956ad\n"
  8718. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8719. " branch: origin/master\n"
  8720. " commit: 65956ad3526ba09e1f7a40722c96c6ef7c0936fe\n"
  8721. "\n"
  8722. msgstr ""
  8723. #. type: example
  8724. #: guix-git/doc/guix.texi:4357
  8725. #, no-wrap
  8726. msgid ""
  8727. "Generation 2\tJun 11 2018 11:02:49\n"
  8728. " guix e0cc7f6\n"
  8729. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8730. " branch: origin/master\n"
  8731. " commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d\n"
  8732. " 2 new packages: keepalived, libnfnetlink\n"
  8733. " 6 packages upgraded: emacs-nix-mode@@2.0.4,\n"
  8734. " guile2.0-guix@@0.14.0-12.77a1aac, guix@@0.14.0-12.77a1aac,\n"
  8735. " heimdal@@7.5.0, milkytracker@@1.02.00, nix@@2.0.4\n"
  8736. "\n"
  8737. msgstr ""
  8738. #. type: example
  8739. #: guix-git/doc/guix.texi:4365
  8740. #, no-wrap
  8741. msgid ""
  8742. "Generation 3\tJun 13 2018 23:31:07\t(current)\n"
  8743. " guix 844cc1c\n"
  8744. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8745. " branch: origin/master\n"
  8746. " commit: 844cc1c8f394f03b404c5bb3aee086922373490c\n"
  8747. " 28 new packages: emacs-helm-ls-git, emacs-helm-mu, @dots{}\n"
  8748. " 69 packages upgraded: borg@@1.1.6, cheese@@3.28.0, @dots{}\n"
  8749. msgstr ""
  8750. #. type: Plain text
  8751. #: guix-git/doc/guix.texi:4369
  8752. msgid "@xref{Invoking guix describe, @command{guix describe}}, for other ways to describe the current status of Guix."
  8753. msgstr ""
  8754. #. type: Plain text
  8755. #: guix-git/doc/guix.texi:4374
  8756. 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:"
  8757. msgstr ""
  8758. #. type: example
  8759. #: guix-git/doc/guix.texi:4380
  8760. #, no-wrap
  8761. msgid ""
  8762. "$ guix pull --roll-back\n"
  8763. "switched from generation 3 to 2\n"
  8764. "$ guix pull --delete-generations=1\n"
  8765. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8766. msgstr ""
  8767. #. type: Plain text
  8768. #: guix-git/doc/guix.texi:4384
  8769. msgid "You can also use @command{guix package} (@pxref{Invoking guix package}) to manage the profile by naming it explicitly:"
  8770. msgstr ""
  8771. #. type: example
  8772. #: guix-git/doc/guix.texi:4389
  8773. #, no-wrap
  8774. msgid ""
  8775. "$ guix package -p ~/.config/guix/current --roll-back\n"
  8776. "switched from generation 3 to 2\n"
  8777. "$ guix package -p ~/.config/guix/current --delete-generations=1\n"
  8778. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8779. msgstr ""
  8780. #. type: Plain text
  8781. #: guix-git/doc/guix.texi:4393
  8782. msgid "The @command{guix pull} command is usually invoked with no arguments, but it supports the following options:"
  8783. msgstr ""
  8784. #. type: item
  8785. #: guix-git/doc/guix.texi:4395 guix-git/doc/guix.texi:4553
  8786. #, no-wrap
  8787. msgid "--url=@var{url}"
  8788. msgstr ""
  8789. #. type: itemx
  8790. #: guix-git/doc/guix.texi:4396 guix-git/doc/guix.texi:4554
  8791. #, no-wrap
  8792. msgid "--commit=@var{commit}"
  8793. msgstr "--commit=@var{commit}"
  8794. #. type: itemx
  8795. #: guix-git/doc/guix.texi:4397 guix-git/doc/guix.texi:4555
  8796. #, no-wrap
  8797. msgid "--branch=@var{branch}"
  8798. msgstr "--branch=@var{ramo}"
  8799. #. type: table
  8800. #: guix-git/doc/guix.texi:4401
  8801. 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}."
  8802. msgstr ""
  8803. #. type: cindex
  8804. #: guix-git/doc/guix.texi:4402 guix-git/doc/guix.texi:4999
  8805. #, no-wrap
  8806. msgid "@file{channels.scm}, configuration file"
  8807. msgstr ""
  8808. #. type: cindex
  8809. #: guix-git/doc/guix.texi:4403 guix-git/doc/guix.texi:5000
  8810. #, no-wrap
  8811. msgid "configuration file for channels"
  8812. msgstr ""
  8813. #. type: table
  8814. #: guix-git/doc/guix.texi:4407
  8815. 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)."
  8816. msgstr ""
  8817. #. type: item
  8818. #: guix-git/doc/guix.texi:4408 guix-git/doc/guix.texi:4560
  8819. #, no-wrap
  8820. msgid "--channels=@var{file}"
  8821. msgstr ""
  8822. #. type: itemx
  8823. #: guix-git/doc/guix.texi:4409 guix-git/doc/guix.texi:4561
  8824. #, no-wrap
  8825. msgid "-C @var{file}"
  8826. msgstr "-C @var{arquivo}"
  8827. #. type: table
  8828. #: guix-git/doc/guix.texi:4415
  8829. 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."
  8830. msgstr ""
  8831. #. type: cindex
  8832. #: guix-git/doc/guix.texi:4416
  8833. #, no-wrap
  8834. msgid "channel news"
  8835. msgstr ""
  8836. #. type: item
  8837. #: guix-git/doc/guix.texi:4417
  8838. #, no-wrap
  8839. msgid "--news"
  8840. msgstr ""
  8841. #. type: itemx
  8842. #: guix-git/doc/guix.texi:4418 guix-git/doc/guix.texi:5826
  8843. #: guix-git/doc/guix.texi:33896
  8844. #, no-wrap
  8845. msgid "-N"
  8846. msgstr ""
  8847. #. type: table
  8848. #: guix-git/doc/guix.texi:4422
  8849. msgid "Display the list of packages added or upgraded since the previous generation, as well as, occasionally, news written by channel authors for their users (@pxref{Channels, Writing Channel News})."
  8850. msgstr ""
  8851. #. type: table
  8852. #: guix-git/doc/guix.texi:4426
  8853. msgid "The package information is the same as displayed upon @command{guix pull} completion, but without ellipses; it is also similar to the output of @command{guix pull -l} for the last generation (see below)."
  8854. msgstr ""
  8855. #. type: table
  8856. #: guix-git/doc/guix.texi:4433
  8857. 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})."
  8858. msgstr ""
  8859. #. type: table
  8860. #: guix-git/doc/guix.texi:4440
  8861. msgid "Roll back to the previous @dfn{generation} of @file{~/.config/guix/current}---i.e., undo the last transaction."
  8862. msgstr ""
  8863. #. type: table
  8864. #: guix-git/doc/guix.texi:4464
  8865. msgid "If the current generation matches, it is @emph{not} deleted."
  8866. msgstr ""
  8867. #. type: table
  8868. #: guix-git/doc/guix.texi:4470
  8869. msgid "@xref{Invoking guix describe}, for a way to display information about the current generation only."
  8870. msgstr ""
  8871. #. type: table
  8872. #: guix-git/doc/guix.texi:4474
  8873. msgid "Use @var{profile} instead of @file{~/.config/guix/current}."
  8874. msgstr ""
  8875. #. type: item
  8876. #: guix-git/doc/guix.texi:4475 guix-git/doc/guix.texi:10317
  8877. #, no-wrap
  8878. msgid "--dry-run"
  8879. msgstr ""
  8880. #. type: itemx
  8881. #: guix-git/doc/guix.texi:4476 guix-git/doc/guix.texi:10318
  8882. #: guix-git/doc/guix.texi:12241
  8883. #, no-wrap
  8884. msgid "-n"
  8885. msgstr ""
  8886. #. type: table
  8887. #: guix-git/doc/guix.texi:4479
  8888. msgid "Show which channel commit(s) would be used and what would be built or substituted but do not actually do it."
  8889. msgstr ""
  8890. #. type: item
  8891. #: guix-git/doc/guix.texi:4480 guix-git/doc/guix.texi:33915
  8892. #, no-wrap
  8893. msgid "--allow-downgrades"
  8894. msgstr ""
  8895. #. type: table
  8896. #: guix-git/doc/guix.texi:4483
  8897. msgid "Allow pulling older or unrelated revisions of channels than those currently in use."
  8898. msgstr ""
  8899. #. type: cindex
  8900. #: guix-git/doc/guix.texi:4484
  8901. #, no-wrap
  8902. msgid "downgrade attacks, protection against"
  8903. msgstr ""
  8904. #. type: table
  8905. #: guix-git/doc/guix.texi:4489
  8906. 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."
  8907. msgstr ""
  8908. #. type: quotation
  8909. #: guix-git/doc/guix.texi:4493 guix-git/doc/guix.texi:33929
  8910. msgid "Make sure you understand its security implications before using @option{--allow-downgrades}."
  8911. msgstr ""
  8912. #. type: item
  8913. #: guix-git/doc/guix.texi:4495
  8914. #, no-wrap
  8915. msgid "--disable-authentication"
  8916. msgstr ""
  8917. #. type: table
  8918. #: guix-git/doc/guix.texi:4497
  8919. msgid "Allow pulling channel code without authenticating it."
  8920. msgstr ""
  8921. #. type: cindex
  8922. #: guix-git/doc/guix.texi:4498 guix-git/doc/guix.texi:5145
  8923. #, no-wrap
  8924. msgid "authentication, of channel code"
  8925. msgstr ""
  8926. #. type: table
  8927. #: guix-git/doc/guix.texi:4503
  8928. 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."
  8929. msgstr ""
  8930. #. type: quotation
  8931. #: guix-git/doc/guix.texi:4507
  8932. msgid "Make sure you understand its security implications before using @option{--disable-authentication}."
  8933. msgstr ""
  8934. #. type: itemx
  8935. #: guix-git/doc/guix.texi:4510 guix-git/doc/guix.texi:5809
  8936. #: guix-git/doc/guix.texi:6209 guix-git/doc/guix.texi:10868
  8937. #: guix-git/doc/guix.texi:12386 guix-git/doc/guix.texi:12637
  8938. #: guix-git/doc/guix.texi:13314 guix-git/doc/guix.texi:33844
  8939. #, no-wrap
  8940. msgid "-s @var{system}"
  8941. msgstr "-s @var{sistema}"
  8942. #. type: table
  8943. #: guix-git/doc/guix.texi:4513 guix-git/doc/guix.texi:6212
  8944. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host."
  8945. msgstr ""
  8946. #. type: table
  8947. #: guix-git/doc/guix.texi:4517
  8948. msgid "Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers."
  8949. msgstr ""
  8950. #. type: Plain text
  8951. #: guix-git/doc/guix.texi:4523
  8952. 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."
  8953. msgstr ""
  8954. #. type: Plain text
  8955. #: guix-git/doc/guix.texi:4526
  8956. msgid "In addition, @command{guix pull} supports all the common build options (@pxref{Common Build Options})."
  8957. msgstr ""
  8958. #. type: section
  8959. #: guix-git/doc/guix.texi:4528
  8960. #, no-wrap
  8961. msgid "Invoking @command{guix time-machine}"
  8962. msgstr ""
  8963. #. type: command{#1}
  8964. #: guix-git/doc/guix.texi:4530
  8965. #, no-wrap
  8966. msgid "guix time-machine"
  8967. msgstr ""
  8968. #. type: cindex
  8969. #: guix-git/doc/guix.texi:4531 guix-git/doc/guix.texi:5103
  8970. #, no-wrap
  8971. msgid "pinning, channels"
  8972. msgstr ""
  8973. #. type: cindex
  8974. #: guix-git/doc/guix.texi:4532 guix-git/doc/guix.texi:4714
  8975. #: guix-git/doc/guix.texi:5104
  8976. #, no-wrap
  8977. msgid "replicating Guix"
  8978. msgstr ""
  8979. #. type: cindex
  8980. #: guix-git/doc/guix.texi:4533 guix-git/doc/guix.texi:5105
  8981. #, no-wrap
  8982. msgid "reproducibility, of Guix"
  8983. msgstr ""
  8984. #. type: Plain text
  8985. #: guix-git/doc/guix.texi:4541
  8986. 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})."
  8987. msgstr ""
  8988. #. type: Plain text
  8989. #: guix-git/doc/guix.texi:4543 guix-git/doc/guix.texi:5558
  8990. #: guix-git/doc/guix.texi:6332 guix-git/doc/guix.texi:10114
  8991. #: guix-git/doc/guix.texi:10237 guix-git/doc/guix.texi:11159
  8992. #: guix-git/doc/guix.texi:11236 guix-git/doc/guix.texi:12216
  8993. #: guix-git/doc/guix.texi:12695 guix-git/doc/guix.texi:13068
  8994. #: guix-git/doc/guix.texi:13157 guix-git/doc/guix.texi:13196
  8995. #: guix-git/doc/guix.texi:13293
  8996. msgid "The general syntax is:"
  8997. msgstr ""
  8998. #. type: example
  8999. #: guix-git/doc/guix.texi:4546
  9000. #, no-wrap
  9001. msgid "guix time-machine @var{options}@dots{} -- @var{command} @var {arg}@dots{}\n"
  9002. msgstr ""
  9003. #. type: Plain text
  9004. #: guix-git/doc/guix.texi:4551
  9005. 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}):"
  9006. msgstr ""
  9007. #. type: table
  9008. #: guix-git/doc/guix.texi:4559
  9009. 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}."
  9010. msgstr ""
  9011. #. type: table
  9012. #: guix-git/doc/guix.texi:4565
  9013. 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."
  9014. msgstr ""
  9015. #. type: Plain text
  9016. #: guix-git/doc/guix.texi:4569
  9017. 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"
  9018. msgstr ""
  9019. #. type: example
  9020. #: guix-git/doc/guix.texi:4572
  9021. #, no-wrap
  9022. msgid "guix time-machine -- build hello\n"
  9023. msgstr ""
  9024. #. type: Plain text
  9025. #: guix-git/doc/guix.texi:4577
  9026. 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!"
  9027. msgstr ""
  9028. #. type: Plain text
  9029. #: guix-git/doc/guix.texi:4581
  9030. 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})."
  9031. msgstr ""
  9032. #. type: quotation
  9033. #: guix-git/doc/guix.texi:4589
  9034. msgid "The functionality described here is a ``technology preview'' as of version @value{VERSION}. As such, the interface is subject to change."
  9035. msgstr ""
  9036. #. type: cindex
  9037. #: guix-git/doc/guix.texi:4591 guix-git/doc/guix.texi:10151
  9038. #, no-wrap
  9039. msgid "inferiors"
  9040. msgstr ""
  9041. #. type: cindex
  9042. #: guix-git/doc/guix.texi:4592
  9043. #, no-wrap
  9044. msgid "composition of Guix revisions"
  9045. msgstr ""
  9046. #. type: Plain text
  9047. #: guix-git/doc/guix.texi:4597
  9048. 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."
  9049. msgstr ""
  9050. #. type: cindex
  9051. #: guix-git/doc/guix.texi:4598 guix-git/doc/guix.texi:4663
  9052. #, no-wrap
  9053. msgid "inferior packages"
  9054. msgstr ""
  9055. #. type: Plain text
  9056. #: guix-git/doc/guix.texi:4604
  9057. 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}."
  9058. msgstr ""
  9059. #. type: Plain text
  9060. #: guix-git/doc/guix.texi:4614
  9061. 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:"
  9062. msgstr ""
  9063. #. type: lisp
  9064. #: guix-git/doc/guix.texi:4618
  9065. #, no-wrap
  9066. msgid ""
  9067. "(use-modules (guix inferior) (guix channels)\n"
  9068. " (srfi srfi-1)) ;for 'first'\n"
  9069. "\n"
  9070. msgstr ""
  9071. #. type: lisp
  9072. #: guix-git/doc/guix.texi:4627
  9073. #, no-wrap
  9074. msgid ""
  9075. "(define channels\n"
  9076. " ;; This is the old revision from which we want to\n"
  9077. " ;; extract guile-json.\n"
  9078. " (list (channel\n"
  9079. " (name 'guix)\n"
  9080. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9081. " (commit\n"
  9082. " \"65956ad3526ba09e1f7a40722c96c6ef7c0936fe\"))))\n"
  9083. "\n"
  9084. msgstr ""
  9085. #. type: lisp
  9086. #: guix-git/doc/guix.texi:4631
  9087. #, no-wrap
  9088. msgid ""
  9089. "(define inferior\n"
  9090. " ;; An inferior representing the above revision.\n"
  9091. " (inferior-for-channels channels))\n"
  9092. "\n"
  9093. msgstr ""
  9094. #. type: lisp
  9095. #: guix-git/doc/guix.texi:4637
  9096. #, no-wrap
  9097. msgid ""
  9098. ";; Now create a manifest with the current \"guile\" package\n"
  9099. ";; and the old \"guile-json\" package.\n"
  9100. "(packages->manifest\n"
  9101. " (list (first (lookup-inferior-packages inferior \"guile-json\"))\n"
  9102. " (specification->package \"guile\")))\n"
  9103. msgstr ""
  9104. #. type: Plain text
  9105. #: guix-git/doc/guix.texi:4642
  9106. 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."
  9107. msgstr ""
  9108. #. type: Plain text
  9109. #: guix-git/doc/guix.texi:4645
  9110. msgid "The @code{(guix inferior)} module provides the following procedures to open an inferior:"
  9111. msgstr ""
  9112. #. type: deffn
  9113. #: guix-git/doc/guix.texi:4646
  9114. #, no-wrap
  9115. msgid "{Scheme Procedure} inferior-for-channels @var{channels} @"
  9116. msgstr ""
  9117. #. type: deffn
  9118. #: guix-git/doc/guix.texi:4651
  9119. 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."
  9120. msgstr ""
  9121. #. type: deffn
  9122. #: guix-git/doc/guix.texi:4654
  9123. msgid "As a side effect, this procedure may build or substitute binaries for @var{channels}, which can take time."
  9124. msgstr ""
  9125. #. type: deffn
  9126. #: guix-git/doc/guix.texi:4656
  9127. #, no-wrap
  9128. msgid "{Scheme Procedure} open-inferior @var{directory} @"
  9129. msgstr ""
  9130. #. type: deffn
  9131. #: guix-git/doc/guix.texi:4661
  9132. 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."
  9133. msgstr ""
  9134. #. type: Plain text
  9135. #: guix-git/doc/guix.texi:4666
  9136. msgid "The procedures listed below allow you to obtain and manipulate inferior packages."
  9137. msgstr ""
  9138. #. type: deffn
  9139. #: guix-git/doc/guix.texi:4667
  9140. #, no-wrap
  9141. msgid "{Scheme Procedure} inferior-packages @var{inferior}"
  9142. msgstr ""
  9143. #. type: deffn
  9144. #: guix-git/doc/guix.texi:4669
  9145. msgid "Return the list of packages known to @var{inferior}."
  9146. msgstr ""
  9147. #. type: deffn
  9148. #: guix-git/doc/guix.texi:4671
  9149. #, no-wrap
  9150. msgid "{Scheme Procedure} lookup-inferior-packages @var{inferior} @var{name} @"
  9151. msgstr ""
  9152. #. type: deffn
  9153. #: guix-git/doc/guix.texi:4676
  9154. 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}."
  9155. msgstr ""
  9156. #. type: deffn
  9157. #: guix-git/doc/guix.texi:4678
  9158. #, no-wrap
  9159. msgid "{Scheme Procedure} inferior-package? @var{obj}"
  9160. msgstr ""
  9161. #. type: deffn
  9162. #: guix-git/doc/guix.texi:4680
  9163. msgid "Return true if @var{obj} is an inferior package."
  9164. msgstr ""
  9165. #. type: deffn
  9166. #: guix-git/doc/guix.texi:4682
  9167. #, no-wrap
  9168. msgid "{Scheme Procedure} inferior-package-name @var{package}"
  9169. msgstr ""
  9170. #. type: deffnx
  9171. #: guix-git/doc/guix.texi:4683
  9172. #, no-wrap
  9173. msgid "{Scheme Procedure} inferior-package-version @var{package}"
  9174. msgstr ""
  9175. #. type: deffnx
  9176. #: guix-git/doc/guix.texi:4684
  9177. #, no-wrap
  9178. msgid "{Scheme Procedure} inferior-package-synopsis @var{package}"
  9179. msgstr ""
  9180. #. type: deffnx
  9181. #: guix-git/doc/guix.texi:4685
  9182. #, no-wrap
  9183. msgid "{Scheme Procedure} inferior-package-description @var{package}"
  9184. msgstr ""
  9185. #. type: deffnx
  9186. #: guix-git/doc/guix.texi:4686
  9187. #, no-wrap
  9188. msgid "{Scheme Procedure} inferior-package-home-page @var{package}"
  9189. msgstr ""
  9190. #. type: deffnx
  9191. #: guix-git/doc/guix.texi:4687
  9192. #, no-wrap
  9193. msgid "{Scheme Procedure} inferior-package-location @var{package}"
  9194. msgstr ""
  9195. #. type: deffnx
  9196. #: guix-git/doc/guix.texi:4688
  9197. #, no-wrap
  9198. msgid "{Scheme Procedure} inferior-package-inputs @var{package}"
  9199. msgstr ""
  9200. #. type: deffnx
  9201. #: guix-git/doc/guix.texi:4689
  9202. #, no-wrap
  9203. msgid "{Scheme Procedure} inferior-package-native-inputs @var{package}"
  9204. msgstr ""
  9205. #. type: deffnx
  9206. #: guix-git/doc/guix.texi:4690
  9207. #, no-wrap
  9208. msgid "{Scheme Procedure} inferior-package-propagated-inputs @var{package}"
  9209. msgstr ""
  9210. #. type: deffnx
  9211. #: guix-git/doc/guix.texi:4691
  9212. #, no-wrap
  9213. msgid "{Scheme Procedure} inferior-package-transitive-propagated-inputs @var{package}"
  9214. msgstr ""
  9215. #. type: deffnx
  9216. #: guix-git/doc/guix.texi:4692
  9217. #, no-wrap
  9218. msgid "{Scheme Procedure} inferior-package-native-search-paths @var{package}"
  9219. msgstr ""
  9220. #. type: deffnx
  9221. #: guix-git/doc/guix.texi:4693
  9222. #, no-wrap
  9223. msgid "{Scheme Procedure} inferior-package-transitive-native-search-paths @var{package}"
  9224. msgstr ""
  9225. #. type: deffnx
  9226. #: guix-git/doc/guix.texi:4694
  9227. #, no-wrap
  9228. msgid "{Scheme Procedure} inferior-package-search-paths @var{package}"
  9229. msgstr ""
  9230. #. type: deffn
  9231. #: guix-git/doc/guix.texi:4699
  9232. 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."
  9233. msgstr ""
  9234. #. type: Plain text
  9235. #: guix-git/doc/guix.texi:4709
  9236. 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."
  9237. msgstr ""
  9238. #. type: section
  9239. #: guix-git/doc/guix.texi:4711
  9240. #, no-wrap
  9241. msgid "Invoking @command{guix describe}"
  9242. msgstr "Invocando @command{guix describe}"
  9243. #. type: Plain text
  9244. #: guix-git/doc/guix.texi:4722
  9245. 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."
  9246. msgstr ""
  9247. #. type: Plain text
  9248. #: guix-git/doc/guix.texi:4726
  9249. 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}):"
  9250. msgstr ""
  9251. #. type: example
  9252. #: guix-git/doc/guix.texi:4734
  9253. #, no-wrap
  9254. msgid ""
  9255. "$ guix describe\n"
  9256. "Generation 10\tSep 03 2018 17:32:44\t(current)\n"
  9257. " guix e0fa68c\n"
  9258. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9259. " branch: master\n"
  9260. " commit: e0fa68c7718fffd33d81af415279d6ddb518f727\n"
  9261. msgstr ""
  9262. #. type: Plain text
  9263. #: guix-git/doc/guix.texi:4743
  9264. 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."
  9265. msgstr ""
  9266. #. type: Plain text
  9267. #: guix-git/doc/guix.texi:4746
  9268. 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:"
  9269. msgstr ""
  9270. #. type: example
  9271. #: guix-git/doc/guix.texi:4759
  9272. #, no-wrap
  9273. msgid ""
  9274. "$ guix describe -f channels\n"
  9275. "(list (channel\n"
  9276. " (name 'guix)\n"
  9277. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9278. " (commit\n"
  9279. " \"e0fa68c7718fffd33d81af415279d6ddb518f727\")\n"
  9280. " (introduction\n"
  9281. " (make-channel-introduction\n"
  9282. " \"9edb3f66fd807b096b48283debdcddccfea34bad\"\n"
  9283. " (openpgp-fingerprint\n"
  9284. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\")))))\n"
  9285. msgstr ""
  9286. #. type: Plain text
  9287. #: guix-git/doc/guix.texi:4768
  9288. 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!"
  9289. msgstr ""
  9290. #. type: Plain text
  9291. #: guix-git/doc/guix.texi:4771
  9292. msgid "The details of the options supported by @command{guix describe} are as follows:"
  9293. msgstr ""
  9294. #. type: item
  9295. #: guix-git/doc/guix.texi:4773 guix-git/doc/guix.texi:6010
  9296. #: guix-git/doc/guix.texi:13426
  9297. #, no-wrap
  9298. msgid "--format=@var{format}"
  9299. msgstr ""
  9300. #. type: itemx
  9301. #: guix-git/doc/guix.texi:4774 guix-git/doc/guix.texi:6011
  9302. #: guix-git/doc/guix.texi:13427
  9303. #, no-wrap
  9304. msgid "-f @var{format}"
  9305. msgstr ""
  9306. #. type: table
  9307. #: guix-git/doc/guix.texi:4776 guix-git/doc/guix.texi:13429
  9308. msgid "Produce output in the specified @var{format}, one of:"
  9309. msgstr ""
  9310. #. type: item
  9311. #: guix-git/doc/guix.texi:4778
  9312. #, no-wrap
  9313. msgid "human"
  9314. msgstr ""
  9315. #. type: table
  9316. #: guix-git/doc/guix.texi:4780
  9317. msgid "produce human-readable output;"
  9318. msgstr ""
  9319. #. type: cindex
  9320. #: guix-git/doc/guix.texi:4780 guix-git/doc/guix.texi:4998
  9321. #, no-wrap
  9322. msgid "channels"
  9323. msgstr ""
  9324. #. type: table
  9325. #: guix-git/doc/guix.texi:4784
  9326. 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});"
  9327. msgstr ""
  9328. #. type: item
  9329. #: guix-git/doc/guix.texi:4784
  9330. #, no-wrap
  9331. msgid "channels-sans-intro"
  9332. msgstr ""
  9333. #. type: table
  9334. #: guix-git/doc/guix.texi:4790
  9335. 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;"
  9336. msgstr ""
  9337. #. type: item
  9338. #: guix-git/doc/guix.texi:4790 guix-git/doc/guix.texi:11454
  9339. #, no-wrap
  9340. msgid "json"
  9341. msgstr ""
  9342. #. type: cindex
  9343. #: guix-git/doc/guix.texi:4791
  9344. #, no-wrap
  9345. msgid "JSON"
  9346. msgstr ""
  9347. #. type: table
  9348. #: guix-git/doc/guix.texi:4793
  9349. msgid "produce a list of channel specifications in JSON format;"
  9350. msgstr ""
  9351. #. type: item
  9352. #: guix-git/doc/guix.texi:4793 guix-git/doc/guix.texi:13431
  9353. #, no-wrap
  9354. msgid "recutils"
  9355. msgstr ""
  9356. #. type: table
  9357. #: guix-git/doc/guix.texi:4795
  9358. msgid "produce a list of channel specifications in Recutils format."
  9359. msgstr ""
  9360. #. type: item
  9361. #: guix-git/doc/guix.texi:4797
  9362. #, no-wrap
  9363. msgid "--list-formats"
  9364. msgstr ""
  9365. #. type: table
  9366. #: guix-git/doc/guix.texi:4799
  9367. msgid "Display available formats for @option{--format} option."
  9368. msgstr ""
  9369. #. type: table
  9370. #: guix-git/doc/guix.texi:4803
  9371. msgid "Display information about @var{profile}."
  9372. msgstr ""
  9373. #. type: section
  9374. #: guix-git/doc/guix.texi:4806
  9375. #, no-wrap
  9376. msgid "Invoking @command{guix archive}"
  9377. msgstr "Invocando @command{guix archive}"
  9378. #. type: command{#1}
  9379. #: guix-git/doc/guix.texi:4808
  9380. #, no-wrap
  9381. msgid "guix archive"
  9382. msgstr ""
  9383. #. type: cindex
  9384. #: guix-git/doc/guix.texi:4809
  9385. #, no-wrap
  9386. msgid "archive"
  9387. msgstr "pacote"
  9388. #. type: Plain text
  9389. #: guix-git/doc/guix.texi:4815
  9390. 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."
  9391. msgstr ""
  9392. #. type: quotation
  9393. #: guix-git/doc/guix.texi:4819
  9394. msgid "If you're looking for a way to produce archives in a format suitable for tools other than Guix, @pxref{Invoking guix pack}."
  9395. msgstr ""
  9396. #. type: cindex
  9397. #: guix-git/doc/guix.texi:4821
  9398. #, no-wrap
  9399. msgid "exporting store items"
  9400. msgstr ""
  9401. #. type: Plain text
  9402. #: guix-git/doc/guix.texi:4823
  9403. msgid "To export store files as an archive to standard output, run:"
  9404. msgstr ""
  9405. #. type: example
  9406. #: guix-git/doc/guix.texi:4826
  9407. #, no-wrap
  9408. msgid "guix archive --export @var{options} @var{specifications}...\n"
  9409. msgstr ""
  9410. #. type: Plain text
  9411. #: guix-git/doc/guix.texi:4833
  9412. 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}:"
  9413. msgstr ""
  9414. #. type: example
  9415. #: guix-git/doc/guix.texi:4836
  9416. #, no-wrap
  9417. msgid "guix archive --export git:gui /gnu/store/...-emacs-24.3 > great.nar\n"
  9418. msgstr ""
  9419. #. type: Plain text
  9420. #: guix-git/doc/guix.texi:4841
  9421. 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})."
  9422. msgstr ""
  9423. #. type: Plain text
  9424. #: guix-git/doc/guix.texi:4844
  9425. msgid "To transfer the @code{emacs} package to a machine connected over SSH, one would run:"
  9426. msgstr ""
  9427. #. type: example
  9428. #: guix-git/doc/guix.texi:4847
  9429. #, no-wrap
  9430. msgid "guix archive --export -r emacs | ssh the-machine guix archive --import\n"
  9431. msgstr ""
  9432. #. type: Plain text
  9433. #: guix-git/doc/guix.texi:4852
  9434. msgid "Similarly, a complete user profile may be transferred from one machine to another like this:"
  9435. msgstr ""
  9436. #. type: example
  9437. #: guix-git/doc/guix.texi:4856
  9438. #, no-wrap
  9439. msgid ""
  9440. "guix archive --export -r $(readlink -f ~/.guix-profile) | \\\n"
  9441. " ssh the-machine guix archive --import\n"
  9442. msgstr ""
  9443. #. type: Plain text
  9444. #: guix-git/doc/guix.texi:4866
  9445. 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})."
  9446. msgstr ""
  9447. #. type: cindex
  9448. #: guix-git/doc/guix.texi:4867
  9449. #, no-wrap
  9450. msgid "nar, archive format"
  9451. msgstr ""
  9452. #. type: cindex
  9453. #: guix-git/doc/guix.texi:4868
  9454. #, no-wrap
  9455. msgid "normalized archive (nar)"
  9456. msgstr ""
  9457. #. type: cindex
  9458. #: guix-git/doc/guix.texi:4869
  9459. #, no-wrap
  9460. msgid "nar bundle, archive format"
  9461. msgstr ""
  9462. #. type: Plain text
  9463. #: guix-git/doc/guix.texi:4874
  9464. 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}."
  9465. msgstr ""
  9466. #. type: Plain text
  9467. #: guix-git/doc/guix.texi:4884
  9468. 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."
  9469. msgstr ""
  9470. #. type: Plain text
  9471. #: guix-git/doc/guix.texi:4888
  9472. 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."
  9473. msgstr ""
  9474. #. type: Plain text
  9475. #: guix-git/doc/guix.texi:4894
  9476. 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."
  9477. msgstr ""
  9478. #. type: Plain text
  9479. #: guix-git/doc/guix.texi:4896
  9480. msgid "The main options are:"
  9481. msgstr ""
  9482. #. type: item
  9483. #: guix-git/doc/guix.texi:4898
  9484. #, no-wrap
  9485. msgid "--export"
  9486. msgstr ""
  9487. #. type: table
  9488. #: guix-git/doc/guix.texi:4901
  9489. msgid "Export the specified store files or packages (see below). Write the resulting archive to the standard output."
  9490. msgstr ""
  9491. #. type: table
  9492. #: guix-git/doc/guix.texi:4904
  9493. msgid "Dependencies are @emph{not} included in the output, unless @option{--recursive} is passed."
  9494. msgstr ""
  9495. #. type: itemx
  9496. #: guix-git/doc/guix.texi:4905 guix-git/doc/guix.texi:11192
  9497. #: guix-git/doc/guix.texi:11294 guix-git/doc/guix.texi:11319
  9498. #: guix-git/doc/guix.texi:11351 guix-git/doc/guix.texi:11529
  9499. #: guix-git/doc/guix.texi:11570 guix-git/doc/guix.texi:11617
  9500. #: guix-git/doc/guix.texi:11642 guix-git/doc/guix.texi:11658
  9501. #: guix-git/doc/guix.texi:11706 guix-git/doc/guix.texi:11736
  9502. #, no-wrap
  9503. msgid "-r"
  9504. msgstr ""
  9505. #. type: item
  9506. #: guix-git/doc/guix.texi:4906 guix-git/doc/guix.texi:11191
  9507. #: guix-git/doc/guix.texi:11293 guix-git/doc/guix.texi:11318
  9508. #: guix-git/doc/guix.texi:11350 guix-git/doc/guix.texi:11528
  9509. #: guix-git/doc/guix.texi:11569 guix-git/doc/guix.texi:11616
  9510. #: guix-git/doc/guix.texi:11641 guix-git/doc/guix.texi:11657
  9511. #: guix-git/doc/guix.texi:11705 guix-git/doc/guix.texi:11735
  9512. #: guix-git/doc/guix.texi:11784
  9513. #, no-wrap
  9514. msgid "--recursive"
  9515. msgstr ""
  9516. #. type: table
  9517. #: guix-git/doc/guix.texi:4911
  9518. 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."
  9519. msgstr ""
  9520. #. type: item
  9521. #: guix-git/doc/guix.texi:4912
  9522. #, no-wrap
  9523. msgid "--import"
  9524. msgstr ""
  9525. #. type: table
  9526. #: guix-git/doc/guix.texi:4917
  9527. 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)."
  9528. msgstr ""
  9529. #. type: item
  9530. #: guix-git/doc/guix.texi:4918
  9531. #, no-wrap
  9532. msgid "--missing"
  9533. msgstr ""
  9534. #. type: table
  9535. #: guix-git/doc/guix.texi:4922
  9536. 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."
  9537. msgstr ""
  9538. #. type: item
  9539. #: guix-git/doc/guix.texi:4923
  9540. #, no-wrap
  9541. msgid "--generate-key[=@var{parameters}]"
  9542. msgstr ""
  9543. #. type: cindex
  9544. #: guix-git/doc/guix.texi:4924
  9545. #, no-wrap
  9546. msgid "signing, archives"
  9547. msgstr ""
  9548. #. type: table
  9549. #: guix-git/doc/guix.texi:4931
  9550. 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."
  9551. msgstr ""
  9552. #. type: table
  9553. #: guix-git/doc/guix.texi:4941
  9554. 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})."
  9555. msgstr ""
  9556. #. type: item
  9557. #: guix-git/doc/guix.texi:4942
  9558. #, no-wrap
  9559. msgid "--authorize"
  9560. msgstr ""
  9561. #. type: cindex
  9562. #: guix-git/doc/guix.texi:4943
  9563. #, no-wrap
  9564. msgid "authorizing, archives"
  9565. msgstr ""
  9566. #. type: table
  9567. #: guix-git/doc/guix.texi:4947
  9568. 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."
  9569. msgstr ""
  9570. #. type: table
  9571. #: guix-git/doc/guix.texi:4954
  9572. 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)}."
  9573. msgstr ""
  9574. #. type: item
  9575. #: guix-git/doc/guix.texi:4955
  9576. #, no-wrap
  9577. msgid "--extract=@var{directory}"
  9578. msgstr ""
  9579. #. type: itemx
  9580. #: guix-git/doc/guix.texi:4956
  9581. #, no-wrap
  9582. msgid "-x @var{directory}"
  9583. msgstr ""
  9584. #. type: table
  9585. #: guix-git/doc/guix.texi:4960
  9586. 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."
  9587. msgstr ""
  9588. #. type: table
  9589. #: guix-git/doc/guix.texi:4963
  9590. msgid "For example, the following command extracts the substitute for Emacs served by @code{@value{SUBSTITUTE-SERVER-1}} to @file{/tmp/emacs}:"
  9591. msgstr ""
  9592. #. type: example
  9593. #: guix-git/doc/guix.texi:4968
  9594. #, no-wrap
  9595. msgid ""
  9596. "$ wget -O - \\\n"
  9597. " https://@value{SUBSTITUTE-SERVER-1}/nar/gzip/@dots{}-emacs-24.5 \\\n"
  9598. " | gunzip | guix archive -x /tmp/emacs\n"
  9599. msgstr ""
  9600. #. type: table
  9601. #: guix-git/doc/guix.texi:4975
  9602. 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."
  9603. msgstr ""
  9604. #. type: table
  9605. #: guix-git/doc/guix.texi:4979
  9606. msgid "The primary purpose of this operation is to facilitate inspection of archive contents coming from possibly untrusted substitute servers (@pxref{Invoking guix challenge})."
  9607. msgstr ""
  9608. #. type: item
  9609. #: guix-git/doc/guix.texi:4980
  9610. #, no-wrap
  9611. msgid "--list"
  9612. msgstr ""
  9613. #. type: itemx
  9614. #: guix-git/doc/guix.texi:4981 guix-git/doc/guix.texi:11516
  9615. #: guix-git/doc/guix.texi:11563
  9616. #, no-wrap
  9617. msgid "-t"
  9618. msgstr ""
  9619. #. type: table
  9620. #: guix-git/doc/guix.texi:4985
  9621. 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:"
  9622. msgstr ""
  9623. #. type: example
  9624. #: guix-git/doc/guix.texi:4990
  9625. #, no-wrap
  9626. msgid ""
  9627. "$ wget -O - \\\n"
  9628. " https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-emacs-26.3 \\\n"
  9629. " | lzip -d | guix archive -t\n"
  9630. msgstr ""
  9631. #. type: cindex
  9632. #: guix-git/doc/guix.texi:5001
  9633. #, no-wrap
  9634. msgid "@command{guix pull}, configuration file"
  9635. msgstr ""
  9636. #. type: cindex
  9637. #: guix-git/doc/guix.texi:5002
  9638. #, no-wrap
  9639. msgid "configuration of @command{guix pull}"
  9640. msgstr ""
  9641. #. type: Plain text
  9642. #: guix-git/doc/guix.texi:5013
  9643. 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."
  9644. msgstr ""
  9645. #. type: cindex
  9646. #: guix-git/doc/guix.texi:5031
  9647. #, no-wrap
  9648. msgid "extending the package collection (channels)"
  9649. msgstr ""
  9650. #. type: cindex
  9651. #: guix-git/doc/guix.texi:5032
  9652. #, no-wrap
  9653. msgid "variant packages (channels)"
  9654. msgstr ""
  9655. #. type: Plain text
  9656. #: guix-git/doc/guix.texi:5036
  9657. 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):"
  9658. msgstr ""
  9659. #. type: vindex
  9660. #: guix-git/doc/guix.texi:5037
  9661. #, no-wrap
  9662. msgid "%default-channels"
  9663. msgstr ""
  9664. #. type: lisp
  9665. #: guix-git/doc/guix.texi:5044
  9666. #, no-wrap
  9667. msgid ""
  9668. ";; Add variant packages to those Guix provides.\n"
  9669. "(cons (channel\n"
  9670. " (name 'variant-packages)\n"
  9671. " (url \"https://example.org/variant-packages.git\"))\n"
  9672. " %default-channels)\n"
  9673. msgstr ""
  9674. #. type: Plain text
  9675. #: guix-git/doc/guix.texi:5054
  9676. 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:"
  9677. msgstr ""
  9678. #. type: example
  9679. #: guix-git/doc/guix.texi:5069
  9680. #, no-wrap
  9681. msgid ""
  9682. "$ guix pull --list-generations\n"
  9683. "@dots{}\n"
  9684. "Generation 19\tAug 27 2018 16:20:48\n"
  9685. " guix d894ab8\n"
  9686. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9687. " branch: master\n"
  9688. " commit: d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300\n"
  9689. " variant-packages dd3df5e\n"
  9690. " repository URL: https://example.org/variant-packages.git\n"
  9691. " branch: master\n"
  9692. " commit: dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\n"
  9693. " 11 new packages: variant-gimp, variant-emacs-with-cool-features, @dots{}\n"
  9694. " 4 packages upgraded: emacs-racket-mode@@0.0.2-2.1b78827, @dots{}\n"
  9695. msgstr ""
  9696. #. type: Plain text
  9697. #: guix-git/doc/guix.texi:5077
  9698. 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."
  9699. msgstr ""
  9700. #. type: Plain text
  9701. #: guix-git/doc/guix.texi:5086
  9702. 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:"
  9703. msgstr ""
  9704. #. type: lisp
  9705. #: guix-git/doc/guix.texi:5093
  9706. #, no-wrap
  9707. msgid ""
  9708. ";; Tell 'guix pull' to use another repo.\n"
  9709. "(list (channel\n"
  9710. " (name 'guix)\n"
  9711. " (url \"https://example.org/another-guix.git\")\n"
  9712. " (branch \"super-hacks\")))\n"
  9713. msgstr ""
  9714. #. type: Plain text
  9715. #: guix-git/doc/guix.texi:5099
  9716. 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})."
  9717. msgstr ""
  9718. #. type: Plain text
  9719. #: guix-git/doc/guix.texi:5110
  9720. 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:"
  9721. msgstr ""
  9722. #. type: lisp
  9723. #: guix-git/doc/guix.texi:5121
  9724. #, no-wrap
  9725. msgid ""
  9726. ";; Deploy specific commits of my channels of interest.\n"
  9727. "(list (channel\n"
  9728. " (name 'guix)\n"
  9729. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9730. " (commit \"6298c3ffd9654d3231a6f25390b056483e8f407c\"))\n"
  9731. " (channel\n"
  9732. " (name 'variant-packages)\n"
  9733. " (url \"https://example.org/variant-packages.git\")\n"
  9734. " (commit \"dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\")))\n"
  9735. msgstr ""
  9736. #. type: Plain text
  9737. #: guix-git/doc/guix.texi:5128
  9738. 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})."
  9739. msgstr ""
  9740. #. type: Plain text
  9741. #: guix-git/doc/guix.texi:5135
  9742. 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."
  9743. msgstr ""
  9744. #. type: Plain text
  9745. #: guix-git/doc/guix.texi:5140
  9746. 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."
  9747. msgstr ""
  9748. #. type: anchor{#1}
  9749. #: guix-git/doc/guix.texi:5145
  9750. msgid "channel-authentication"
  9751. msgstr ""
  9752. #. type: Plain text
  9753. #: guix-git/doc/guix.texi:5151
  9754. 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."
  9755. msgstr ""
  9756. #. type: Plain text
  9757. #: guix-git/doc/guix.texi:5156
  9758. 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:"
  9759. msgstr ""
  9760. #. type: lisp
  9761. #: guix-git/doc/guix.texi:5166
  9762. #, no-wrap
  9763. msgid ""
  9764. "(channel\n"
  9765. " (name 'some-channel)\n"
  9766. " (url \"https://example.org/some-channel.git\")\n"
  9767. " (introduction\n"
  9768. " (make-channel-introduction\n"
  9769. " \"6f0d8cc0d88abb59c324b2990bfee2876016bb86\"\n"
  9770. " (openpgp-fingerprint\n"
  9771. " \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9772. msgstr ""
  9773. #. type: Plain text
  9774. #: guix-git/doc/guix.texi:5172
  9775. 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{}}."
  9776. msgstr ""
  9777. #. type: Plain text
  9778. #: guix-git/doc/guix.texi:5178
  9779. 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."
  9780. msgstr ""
  9781. #. type: Plain text
  9782. #: guix-git/doc/guix.texi:5180
  9783. msgid "If you're curious about the authentication mechanics, read on!"
  9784. msgstr ""
  9785. #. type: Plain text
  9786. #: guix-git/doc/guix.texi:5191
  9787. 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}."
  9788. msgstr ""
  9789. #. type: lisp
  9790. #: guix-git/doc/guix.texi:5194
  9791. #, no-wrap
  9792. msgid ""
  9793. "(use-modules (guix ci))\n"
  9794. "\n"
  9795. msgstr ""
  9796. #. type: lisp
  9797. #: guix-git/doc/guix.texi:5198
  9798. #, no-wrap
  9799. msgid ""
  9800. "(list (channel-with-substitutes-available\n"
  9801. " %default-guix-channel\n"
  9802. " \"https://ci.guix.gnu.org\"))\n"
  9803. msgstr ""
  9804. #. type: Plain text
  9805. #: guix-git/doc/guix.texi:5205
  9806. 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."
  9807. msgstr ""
  9808. #. type: cindex
  9809. #: guix-git/doc/guix.texi:5209
  9810. #, no-wrap
  9811. msgid "personal packages (channels)"
  9812. msgstr ""
  9813. #. type: cindex
  9814. #: guix-git/doc/guix.texi:5210
  9815. #, no-wrap
  9816. msgid "channels, for personal packages"
  9817. msgstr ""
  9818. #. type: Plain text
  9819. #: guix-git/doc/guix.texi:5218
  9820. 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?"
  9821. msgstr ""
  9822. #. type: quotation
  9823. #: guix-git/doc/guix.texi:5222 guix-git/doc/guix.texi:6068
  9824. #: guix-git/doc/guix.texi:13784 guix-git/doc/guix.texi:19856
  9825. #: guix-git/doc/guix.texi:19863
  9826. #, no-wrap
  9827. msgid "Warning"
  9828. msgstr ""
  9829. #. type: quotation
  9830. #: guix-git/doc/guix.texi:5226
  9831. 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:"
  9832. msgstr ""
  9833. #. type: itemize
  9834. #: guix-git/doc/guix.texi:5234
  9835. 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."
  9836. msgstr ""
  9837. #. type: itemize
  9838. #: guix-git/doc/guix.texi:5243
  9839. 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."
  9840. msgstr ""
  9841. #. type: itemize
  9842. #: guix-git/doc/guix.texi:5247
  9843. 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."
  9844. msgstr ""
  9845. #. type: quotation
  9846. #: guix-git/doc/guix.texi:5254
  9847. 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."
  9848. msgstr ""
  9849. #. type: Plain text
  9850. #: guix-git/doc/guix.texi:5266
  9851. 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})."
  9852. msgstr ""
  9853. #. type: Plain text
  9854. #: guix-git/doc/guix.texi:5271
  9855. 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."
  9856. msgstr ""
  9857. #. type: cindex
  9858. #: guix-git/doc/guix.texi:5276
  9859. #, no-wrap
  9860. msgid "subdirectory, channels"
  9861. msgstr ""
  9862. #. type: Plain text
  9863. #: guix-git/doc/guix.texi:5280
  9864. 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:"
  9865. msgstr ""
  9866. #. type: lisp
  9867. #: guix-git/doc/guix.texi:5285
  9868. #, no-wrap
  9869. msgid ""
  9870. "(channel\n"
  9871. " (version 0)\n"
  9872. " (directory \"guix\"))\n"
  9873. msgstr ""
  9874. #. type: cindex
  9875. #: guix-git/doc/guix.texi:5290
  9876. #, no-wrap
  9877. msgid "dependencies, channels"
  9878. msgstr ""
  9879. #. type: cindex
  9880. #: guix-git/doc/guix.texi:5291
  9881. #, no-wrap
  9882. msgid "meta-data, channels"
  9883. msgstr ""
  9884. #. type: Plain text
  9885. #: guix-git/doc/guix.texi:5296
  9886. 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."
  9887. msgstr ""
  9888. #. type: Plain text
  9889. #: guix-git/doc/guix.texi:5298
  9890. msgid "The meta-data file should contain a simple S-expression like this:"
  9891. msgstr ""
  9892. #. type: lisp
  9893. #: guix-git/doc/guix.texi:5306
  9894. #, no-wrap
  9895. msgid ""
  9896. "(channel\n"
  9897. " (version 0)\n"
  9898. " (dependencies\n"
  9899. " (channel\n"
  9900. " (name some-collection)\n"
  9901. " (url \"https://example.org/first-collection.git\")\n"
  9902. "\n"
  9903. msgstr ""
  9904. #. type: lisp
  9905. #: guix-git/doc/guix.texi:5318
  9906. #, no-wrap
  9907. msgid ""
  9908. " ;; The 'introduction' bit below is optional: you would\n"
  9909. " ;; provide it for dependencies that can be authenticated.\n"
  9910. " (introduction\n"
  9911. " (channel-introduction\n"
  9912. " (version 0)\n"
  9913. " (commit \"a8883b58dc82e167c96506cf05095f37c2c2c6cd\")\n"
  9914. " (signer \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9915. " (channel\n"
  9916. " (name some-other-collection)\n"
  9917. " (url \"https://example.org/second-collection.git\")\n"
  9918. " (branch \"testing\"))))\n"
  9919. msgstr ""
  9920. #. type: Plain text
  9921. #: guix-git/doc/guix.texi:5324
  9922. 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."
  9923. msgstr ""
  9924. #. type: Plain text
  9925. #: guix-git/doc/guix.texi:5328
  9926. 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."
  9927. msgstr ""
  9928. #. type: cindex
  9929. #: guix-git/doc/guix.texi:5332
  9930. #, no-wrap
  9931. msgid "channel authorizations"
  9932. msgstr ""
  9933. #. type: anchor{#1}
  9934. #: guix-git/doc/guix.texi:5346
  9935. msgid "channel-authorizations"
  9936. msgstr ""
  9937. #. type: Plain text
  9938. #: guix-git/doc/guix.texi:5346
  9939. 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:"
  9940. msgstr ""
  9941. #. type: lisp
  9942. #: guix-git/doc/guix.texi:5349
  9943. #, no-wrap
  9944. msgid ""
  9945. ";; Example '.guix-authorizations' file.\n"
  9946. "\n"
  9947. msgstr ""
  9948. #. type: lisp
  9949. #: guix-git/doc/guix.texi:5352
  9950. #, no-wrap
  9951. msgid ""
  9952. "(authorizations\n"
  9953. " (version 0) ;current file format version\n"
  9954. "\n"
  9955. msgstr ""
  9956. #. type: lisp
  9957. #: guix-git/doc/guix.texi:5359
  9958. #, no-wrap
  9959. msgid ""
  9960. " ((\"AD17 A21E F8AE D8F1 CC02 DBD9 F8AE D8F1 765C 61E3\"\n"
  9961. " (name \"alice\"))\n"
  9962. " (\"2A39 3FFF 68F4 EF7A 3D29 12AF 68F4 EF7A 22FB B2D5\"\n"
  9963. " (name \"bob\"))\n"
  9964. " (\"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"\n"
  9965. " (name \"charlie\"))))\n"
  9966. msgstr ""
  9967. #. type: Plain text
  9968. #: guix-git/doc/guix.texi:5363
  9969. msgid "Each fingerprint is followed by optional key/value pairs, as in the example above. Currently these key/value pairs are ignored."
  9970. msgstr ""
  9971. #. type: Plain text
  9972. #: guix-git/doc/guix.texi:5368
  9973. 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?"
  9974. msgstr ""
  9975. #. type: cindex
  9976. #: guix-git/doc/guix.texi:5369
  9977. #, no-wrap
  9978. msgid "channel introduction"
  9979. msgstr ""
  9980. #. type: Plain text
  9981. #: guix-git/doc/guix.texi:5376
  9982. 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."
  9983. msgstr ""
  9984. #. type: Plain text
  9985. #: guix-git/doc/guix.texi:5383
  9986. 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:"
  9987. msgstr ""
  9988. #. type: lisp
  9989. #: guix-git/doc/guix.texi:5388
  9990. #, no-wrap
  9991. msgid ""
  9992. "(channel\n"
  9993. " (version 0)\n"
  9994. " (keyring-reference \"my-keyring-branch\"))\n"
  9995. msgstr ""
  9996. #. type: Plain text
  9997. #: guix-git/doc/guix.texi:5392
  9998. msgid "To summarize, as the author of a channel, there are three things you have to do to allow users to authenticate your code:"
  9999. msgstr ""
  10000. #. type: enumerate
  10001. #: guix-git/doc/guix.texi:5398
  10002. 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})."
  10003. msgstr ""
  10004. #. type: enumerate
  10005. #: guix-git/doc/guix.texi:5403
  10006. 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.)"
  10007. msgstr ""
  10008. #. type: enumerate
  10009. #: guix-git/doc/guix.texi:5409
  10010. 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."
  10011. msgstr ""
  10012. #. type: Plain text
  10013. #: guix-git/doc/guix.texi:5414
  10014. 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:"
  10015. msgstr ""
  10016. #. type: example
  10017. #: guix-git/doc/guix.texi:5417
  10018. #, no-wrap
  10019. msgid "guix git authenticate @var{commit} @var{signer}\n"
  10020. msgstr ""
  10021. #. type: Plain text
  10022. #: guix-git/doc/guix.texi:5422
  10023. msgid "where @var{commit} and @var{signer} are your channel introduction. @xref{Invoking guix git authenticate}, for details."
  10024. msgstr ""
  10025. #. type: Plain text
  10026. #: guix-git/doc/guix.texi:5429
  10027. 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."
  10028. msgstr ""
  10029. #. type: cindex
  10030. #: guix-git/doc/guix.texi:5433
  10031. #, no-wrap
  10032. msgid "primary URL, channels"
  10033. msgstr ""
  10034. #. type: Plain text
  10035. #: guix-git/doc/guix.texi:5436
  10036. msgid "Channel authors can indicate the primary URL of their channel's Git repository in the @file{.guix-channel} file, like so:"
  10037. msgstr ""
  10038. #. type: lisp
  10039. #: guix-git/doc/guix.texi:5441
  10040. #, no-wrap
  10041. msgid ""
  10042. "(channel\n"
  10043. " (version 0)\n"
  10044. " (url \"https://example.org/guix.git\"))\n"
  10045. msgstr ""
  10046. #. type: Plain text
  10047. #: guix-git/doc/guix.texi:5448
  10048. 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."
  10049. msgstr ""
  10050. #. type: Plain text
  10051. #: guix-git/doc/guix.texi:5452
  10052. 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."
  10053. msgstr ""
  10054. #. type: cindex
  10055. #: guix-git/doc/guix.texi:5456
  10056. #, no-wrap
  10057. msgid "news, for channels"
  10058. msgstr ""
  10059. #. type: Plain text
  10060. #: guix-git/doc/guix.texi:5460
  10061. 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."
  10062. msgstr ""
  10063. #. type: Plain text
  10064. #: guix-git/doc/guix.texi:5465
  10065. 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."
  10066. msgstr ""
  10067. #. type: Plain text
  10068. #: guix-git/doc/guix.texi:5468
  10069. msgid "To do that, channel authors must first declare the name of the news file in their @file{.guix-channel} file:"
  10070. msgstr ""
  10071. #. type: lisp
  10072. #: guix-git/doc/guix.texi:5473
  10073. #, no-wrap
  10074. msgid ""
  10075. "(channel\n"
  10076. " (version 0)\n"
  10077. " (news-file \"etc/news.txt\"))\n"
  10078. msgstr ""
  10079. #. type: Plain text
  10080. #: guix-git/doc/guix.texi:5477
  10081. msgid "The news file itself, @file{etc/news.txt} in this example, must look something like this:"
  10082. msgstr ""
  10083. #. type: lisp
  10084. #: guix-git/doc/guix.texi:5490
  10085. #, no-wrap
  10086. msgid ""
  10087. "(channel-news\n"
  10088. " (version 0)\n"
  10089. " (entry (tag \"the-bug-fix\")\n"
  10090. " (title (en \"Fixed terrible bug\")\n"
  10091. " (fr \"Oh la la\"))\n"
  10092. " (body (en \"@@emph@{Good news@}! It's fixed!\")\n"
  10093. " (eo \"Certe ĝi pli bone funkcias nun!\")))\n"
  10094. " (entry (commit \"bdcabe815cd28144a2d2b4bc3c5057b051fa9906\")\n"
  10095. " (title (en \"Added a great package\")\n"
  10096. " (ca \"Què vol dir guix?\"))\n"
  10097. " (body (en \"Don't miss the @@code@{hello@} package!\"))))\n"
  10098. msgstr ""
  10099. #. type: Plain text
  10100. #: guix-git/doc/guix.texi:5497
  10101. 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."
  10102. msgstr ""
  10103. #. type: Plain text
  10104. #: guix-git/doc/guix.texi:5502
  10105. 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."
  10106. msgstr ""
  10107. #. type: Plain text
  10108. #: guix-git/doc/guix.texi:5508
  10109. 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."
  10110. msgstr ""
  10111. #. type: Plain text
  10112. #: guix-git/doc/guix.texi:5514
  10113. 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:"
  10114. msgstr ""
  10115. #. type: example
  10116. #: guix-git/doc/guix.texi:5517
  10117. #, no-wrap
  10118. msgid "xgettext -o news.po -l scheme -ken etc/news.txt\n"
  10119. msgstr ""
  10120. #. type: Plain text
  10121. #: guix-git/doc/guix.texi:5521
  10122. 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."
  10123. msgstr ""
  10124. #. type: cindex
  10125. #: guix-git/doc/guix.texi:5526
  10126. #, no-wrap
  10127. msgid "software development"
  10128. msgstr "desenvolvimento de software"
  10129. #. type: Plain text
  10130. #: guix-git/doc/guix.texi:5530
  10131. 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."
  10132. msgstr ""
  10133. #. type: Plain text
  10134. #: guix-git/doc/guix.texi:5536
  10135. msgid "The @command{guix environment} command provides a convenient way to set up @dfn{development environments} containing all the dependencies and tools necessary to work on the software package of your choice. The @command{guix pack} command allows you to create @dfn{application bundles} that can be easily distributed to users who do not run Guix."
  10136. msgstr ""
  10137. #. type: section
  10138. #: guix-git/doc/guix.texi:5545
  10139. #, no-wrap
  10140. msgid "Invoking @command{guix environment}"
  10141. msgstr "Invocando @command{guix environment}"
  10142. #. type: cindex
  10143. #: guix-git/doc/guix.texi:5547
  10144. #, no-wrap
  10145. msgid "reproducible build environments"
  10146. msgstr ""
  10147. #. type: cindex
  10148. #: guix-git/doc/guix.texi:5548
  10149. #, no-wrap
  10150. msgid "development environments"
  10151. msgstr ""
  10152. #. type: command{#1}
  10153. #: guix-git/doc/guix.texi:5549
  10154. #, no-wrap
  10155. msgid "guix environment"
  10156. msgstr ""
  10157. #. type: cindex
  10158. #: guix-git/doc/guix.texi:5550
  10159. #, no-wrap
  10160. msgid "environment, package build environment"
  10161. msgstr ""
  10162. #. type: Plain text
  10163. #: guix-git/doc/guix.texi:5556
  10164. msgid "The purpose of @command{guix environment} is to assist hackers in creating reproducible development environments without polluting their package profile. The @command{guix environment} tool takes one or more packages, builds all of their inputs, and creates a shell environment to use them."
  10165. msgstr ""
  10166. #. type: example
  10167. #: guix-git/doc/guix.texi:5561
  10168. #, no-wrap
  10169. msgid "guix environment @var{options} @var{package}@dots{}\n"
  10170. msgstr ""
  10171. #. type: Plain text
  10172. #: guix-git/doc/guix.texi:5565
  10173. msgid "The following example spawns a new shell set up for the development of GNU@tie{}Guile:"
  10174. msgstr ""
  10175. #. type: example
  10176. #: guix-git/doc/guix.texi:5568
  10177. #, no-wrap
  10178. msgid "guix environment guile\n"
  10179. msgstr ""
  10180. #. type: Plain text
  10181. #: guix-git/doc/guix.texi:5585
  10182. 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.}."
  10183. msgstr ""
  10184. #. type: Plain text
  10185. #: guix-git/doc/guix.texi:5591
  10186. 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."
  10187. msgstr ""
  10188. #. type: vindex
  10189. #: guix-git/doc/guix.texi:5592
  10190. #, no-wrap
  10191. msgid "GUIX_ENVIRONMENT"
  10192. msgstr "GUIX_ENVIRONMENT"
  10193. #. type: Plain text
  10194. #: guix-git/doc/guix.texi:5598
  10195. 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}):"
  10196. msgstr ""
  10197. #. type: example
  10198. #: guix-git/doc/guix.texi:5604
  10199. #, no-wrap
  10200. msgid ""
  10201. "if [ -n \"$GUIX_ENVIRONMENT\" ]\n"
  10202. "then\n"
  10203. " export PS1=\"\\u@@\\h \\w [dev]\\$ \"\n"
  10204. "fi\n"
  10205. msgstr ""
  10206. #. type: Plain text
  10207. #: guix-git/doc/guix.texi:5608
  10208. msgid "...@: or to browse the profile:"
  10209. msgstr ""
  10210. #. type: example
  10211. #: guix-git/doc/guix.texi:5611
  10212. #, no-wrap
  10213. msgid "$ ls \"$GUIX_ENVIRONMENT/bin\"\n"
  10214. msgstr ""
  10215. #. type: Plain text
  10216. #: guix-git/doc/guix.texi:5617
  10217. 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:"
  10218. msgstr ""
  10219. #. type: example
  10220. #: guix-git/doc/guix.texi:5620
  10221. #, no-wrap
  10222. msgid "guix environment guile emacs\n"
  10223. msgstr ""
  10224. #. type: Plain text
  10225. #: guix-git/doc/guix.texi:5625
  10226. 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:"
  10227. msgstr ""
  10228. #. type: example
  10229. #: guix-git/doc/guix.texi:5628
  10230. #, no-wrap
  10231. msgid "guix environment guile -- make -j4\n"
  10232. msgstr ""
  10233. #. type: Plain text
  10234. #: guix-git/doc/guix.texi:5634
  10235. 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{}2.7 and NumPy:"
  10236. msgstr ""
  10237. #. type: example
  10238. #: guix-git/doc/guix.texi:5637
  10239. #, no-wrap
  10240. msgid "guix environment --ad-hoc python2-numpy python-2.7 -- python\n"
  10241. msgstr ""
  10242. #. type: Plain text
  10243. #: guix-git/doc/guix.texi:5648
  10244. 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:"
  10245. msgstr ""
  10246. #. type: example
  10247. #: guix-git/doc/guix.texi:5651
  10248. #, no-wrap
  10249. msgid "guix environment --pure guix --ad-hoc git strace\n"
  10250. msgstr ""
  10251. #. type: item
  10252. #: guix-git/doc/guix.texi:5653 guix-git/doc/guix.texi:5814
  10253. #: guix-git/doc/guix.texi:13182 guix-git/doc/guix.texi:33803
  10254. #, no-wrap
  10255. msgid "container"
  10256. msgstr "recipiente"
  10257. #. type: Plain text
  10258. #: guix-git/doc/guix.texi:5661
  10259. 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:"
  10260. msgstr ""
  10261. #. type: example
  10262. #: guix-git/doc/guix.texi:5664
  10263. #, no-wrap
  10264. msgid "guix environment --ad-hoc --container guile -- guile\n"
  10265. msgstr ""
  10266. #. type: quotation
  10267. #: guix-git/doc/guix.texi:5668
  10268. msgid "The @option{--container} option requires Linux-libre 3.19 or newer."
  10269. msgstr ""
  10270. #. type: cindex
  10271. #: guix-git/doc/guix.texi:5670
  10272. #, no-wrap
  10273. msgid "certificates"
  10274. msgstr ""
  10275. #. type: Plain text
  10276. #: guix-git/doc/guix.texi:5677
  10277. 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."
  10278. msgstr ""
  10279. #. type: example
  10280. #: guix-git/doc/guix.texi:5684
  10281. #, no-wrap
  10282. msgid ""
  10283. "guix environment --preserve='^DISPLAY$' --container --network \\\n"
  10284. " --expose=/etc/machine-id \\\n"
  10285. " --expose=/etc/ssl/certs/ \\\n"
  10286. " --share=$HOME/.local/share/eolie/=$HOME/.local/share/eolie/ \\\n"
  10287. " --ad-hoc eolie nss-certs dbus -- eolie\n"
  10288. msgstr ""
  10289. #. type: Plain text
  10290. #: guix-git/doc/guix.texi:5687
  10291. msgid "The available options are summarized below."
  10292. msgstr ""
  10293. #. type: item
  10294. #: guix-git/doc/guix.texi:5689 guix-git/doc/guix.texi:6254
  10295. #: guix-git/doc/guix.texi:10937 guix-git/doc/guix.texi:33900
  10296. #, no-wrap
  10297. msgid "--root=@var{file}"
  10298. msgstr "--root=@var{arquivo}"
  10299. #. type: itemx
  10300. #: guix-git/doc/guix.texi:5690 guix-git/doc/guix.texi:6255
  10301. #: guix-git/doc/guix.texi:10938 guix-git/doc/guix.texi:33901
  10302. #, no-wrap
  10303. msgid "-r @var{file}"
  10304. msgstr "-r @var{arquivo}"
  10305. #. type: cindex
  10306. #: guix-git/doc/guix.texi:5691
  10307. #, no-wrap
  10308. msgid "persistent environment"
  10309. msgstr "ambiente persistente"
  10310. #. type: cindex
  10311. #: guix-git/doc/guix.texi:5692
  10312. #, no-wrap
  10313. msgid "garbage collector root, for environments"
  10314. msgstr ""
  10315. #. type: table
  10316. #: guix-git/doc/guix.texi:5695
  10317. msgid "Make @var{file} a symlink to the profile for this environment, and register it as a garbage collector root."
  10318. msgstr ""
  10319. #. type: table
  10320. #: guix-git/doc/guix.texi:5698
  10321. msgid "This is useful if you want to protect your environment from garbage collection, to make it ``persistent''."
  10322. msgstr ""
  10323. #. type: table
  10324. #: guix-git/doc/guix.texi:5704
  10325. 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."
  10326. msgstr ""
  10327. #. type: item
  10328. #: guix-git/doc/guix.texi:5705 guix-git/doc/guix.texi:6186
  10329. #: guix-git/doc/guix.texi:10783 guix-git/doc/guix.texi:11829
  10330. #: guix-git/doc/guix.texi:12626 guix-git/doc/guix.texi:33835
  10331. #, no-wrap
  10332. msgid "--expression=@var{expr}"
  10333. msgstr ""
  10334. #. type: itemx
  10335. #: guix-git/doc/guix.texi:5706 guix-git/doc/guix.texi:6187
  10336. #: guix-git/doc/guix.texi:10784 guix-git/doc/guix.texi:11830
  10337. #: guix-git/doc/guix.texi:12627 guix-git/doc/guix.texi:33836
  10338. #, no-wrap
  10339. msgid "-e @var{expr}"
  10340. msgstr ""
  10341. #. type: table
  10342. #: guix-git/doc/guix.texi:5709
  10343. msgid "Create an environment for the package or list of packages that @var{expr} evaluates to."
  10344. msgstr ""
  10345. #. type: table
  10346. #: guix-git/doc/guix.texi:5711
  10347. msgid "For example, running:"
  10348. msgstr ""
  10349. #. type: example
  10350. #: guix-git/doc/guix.texi:5714
  10351. #, no-wrap
  10352. msgid "guix environment -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  10353. msgstr ""
  10354. #. type: table
  10355. #: guix-git/doc/guix.texi:5718
  10356. msgid "starts a shell with the environment for this specific variant of the PETSc package."
  10357. msgstr ""
  10358. #. type: table
  10359. #: guix-git/doc/guix.texi:5720
  10360. msgid "Running:"
  10361. msgstr ""
  10362. #. type: example
  10363. #: guix-git/doc/guix.texi:5723
  10364. #, no-wrap
  10365. msgid "guix environment --ad-hoc -e '(@@ (gnu) %base-packages)'\n"
  10366. msgstr ""
  10367. #. type: table
  10368. #: guix-git/doc/guix.texi:5726
  10369. msgid "starts a shell with all the base system packages available."
  10370. msgstr ""
  10371. #. type: table
  10372. #: guix-git/doc/guix.texi:5729
  10373. msgid "The above commands only use the default output of the given packages. To select other outputs, two element tuples can be specified:"
  10374. msgstr ""
  10375. #. type: example
  10376. #: guix-git/doc/guix.texi:5732
  10377. #, no-wrap
  10378. msgid "guix environment --ad-hoc -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  10379. msgstr ""
  10380. #. type: item
  10381. #: guix-git/doc/guix.texi:5734
  10382. #, no-wrap
  10383. msgid "--load=@var{file}"
  10384. msgstr "--load=@var{arquivo}"
  10385. #. type: itemx
  10386. #: guix-git/doc/guix.texi:5735
  10387. #, no-wrap
  10388. msgid "-l @var{file}"
  10389. msgstr "-l @var{arquivo}"
  10390. #. type: table
  10391. #: guix-git/doc/guix.texi:5738
  10392. msgid "Create an environment for the package or list of packages that the code within @var{file} evaluates to."
  10393. msgstr ""
  10394. #. type: lisp
  10395. #: guix-git/doc/guix.texi:5744
  10396. #, no-wrap
  10397. msgid "@verbatiminclude environment-gdb.scm\n"
  10398. msgstr ""
  10399. #. type: table
  10400. #: guix-git/doc/guix.texi:5751
  10401. 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."
  10402. msgstr ""
  10403. #. type: table
  10404. #: guix-git/doc/guix.texi:5755
  10405. msgid "This is similar to the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files."
  10406. msgstr ""
  10407. #. type: item
  10408. #: guix-git/doc/guix.texi:5756
  10409. #, no-wrap
  10410. msgid "--ad-hoc"
  10411. msgstr ""
  10412. #. type: table
  10413. #: guix-git/doc/guix.texi:5761
  10414. 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."
  10415. msgstr ""
  10416. #. type: table
  10417. #: guix-git/doc/guix.texi:5763
  10418. msgid "For instance, the command:"
  10419. msgstr ""
  10420. #. type: example
  10421. #: guix-git/doc/guix.texi:5766
  10422. #, no-wrap
  10423. msgid "guix environment --ad-hoc guile guile-sdl -- guile\n"
  10424. msgstr ""
  10425. #. type: table
  10426. #: guix-git/doc/guix.texi:5770
  10427. msgid "runs @command{guile} in an environment where Guile and Guile-SDL are available."
  10428. msgstr ""
  10429. #. type: table
  10430. #: guix-git/doc/guix.texi:5775
  10431. 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})."
  10432. msgstr ""
  10433. #. type: table
  10434. #: guix-git/doc/guix.texi:5781
  10435. 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."
  10436. msgstr ""
  10437. #. type: item
  10438. #: guix-git/doc/guix.texi:5782
  10439. #, no-wrap
  10440. msgid "--pure"
  10441. msgstr ""
  10442. #. type: table
  10443. #: guix-git/doc/guix.texi:5786
  10444. 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."
  10445. msgstr ""
  10446. #. type: item
  10447. #: guix-git/doc/guix.texi:5787
  10448. #, no-wrap
  10449. msgid "--preserve=@var{regexp}"
  10450. msgstr ""
  10451. #. type: itemx
  10452. #: guix-git/doc/guix.texi:5788
  10453. #, no-wrap
  10454. msgid "-E @var{regexp}"
  10455. msgstr ""
  10456. #. type: table
  10457. #: guix-git/doc/guix.texi:5793
  10458. 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."
  10459. msgstr ""
  10460. #. type: example
  10461. #: guix-git/doc/guix.texi:5797
  10462. #, no-wrap
  10463. msgid ""
  10464. "guix environment --pure --preserve=^SLURM --ad-hoc openmpi @dots{} \\\n"
  10465. " -- mpirun @dots{}\n"
  10466. msgstr ""
  10467. #. type: table
  10468. #: guix-git/doc/guix.texi:5803
  10469. 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.)."
  10470. msgstr ""
  10471. #. type: item
  10472. #: guix-git/doc/guix.texi:5804
  10473. #, no-wrap
  10474. msgid "--search-paths"
  10475. msgstr "--search-paths"
  10476. #. type: table
  10477. #: guix-git/doc/guix.texi:5807
  10478. msgid "Display the environment variable definitions that make up the environment."
  10479. msgstr ""
  10480. #. type: table
  10481. #: guix-git/doc/guix.texi:5811
  10482. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}."
  10483. msgstr ""
  10484. #. type: item
  10485. #: guix-git/doc/guix.texi:5812
  10486. #, no-wrap
  10487. msgid "--container"
  10488. msgstr ""
  10489. #. type: itemx
  10490. #: guix-git/doc/guix.texi:5813
  10491. #, no-wrap
  10492. msgid "-C"
  10493. msgstr "-C"
  10494. #. type: table
  10495. #: guix-git/doc/guix.texi:5820
  10496. 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."
  10497. msgstr ""
  10498. #. type: table
  10499. #: guix-git/doc/guix.texi:5824
  10500. 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)."
  10501. msgstr ""
  10502. #. type: item
  10503. #: guix-git/doc/guix.texi:5825 guix-git/doc/guix.texi:33895
  10504. #, no-wrap
  10505. msgid "--network"
  10506. msgstr ""
  10507. #. type: table
  10508. #: guix-git/doc/guix.texi:5830
  10509. msgid "For containers, share the network namespace with the host system. Containers created without this flag only have access to the loopback device."
  10510. msgstr ""
  10511. #. type: item
  10512. #: guix-git/doc/guix.texi:5831
  10513. #, no-wrap
  10514. msgid "--link-profile"
  10515. msgstr ""
  10516. #. type: itemx
  10517. #: guix-git/doc/guix.texi:5832
  10518. #, no-wrap
  10519. msgid "-P"
  10520. msgstr ""
  10521. #. type: table
  10522. #: guix-git/doc/guix.texi:5840
  10523. 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."
  10524. msgstr ""
  10525. #. type: table
  10526. #: guix-git/doc/guix.texi:5846
  10527. 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."
  10528. msgstr ""
  10529. #. type: item
  10530. #: guix-git/doc/guix.texi:5847 guix-git/doc/guix.texi:12759
  10531. #, no-wrap
  10532. msgid "--user=@var{user}"
  10533. msgstr ""
  10534. #. type: itemx
  10535. #: guix-git/doc/guix.texi:5848 guix-git/doc/guix.texi:12760
  10536. #, no-wrap
  10537. msgid "-u @var{user}"
  10538. msgstr "-u @var{usuário}"
  10539. #. type: table
  10540. #: guix-git/doc/guix.texi:5855
  10541. 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."
  10542. msgstr ""
  10543. #. type: table
  10544. #: guix-git/doc/guix.texi:5860
  10545. 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."
  10546. msgstr ""
  10547. #. type: example
  10548. #: guix-git/doc/guix.texi:5867
  10549. #, no-wrap
  10550. msgid ""
  10551. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  10552. "cd $HOME/wd\n"
  10553. "guix environment --container --user=foo \\\n"
  10554. " --expose=$HOME/test \\\n"
  10555. " --expose=/tmp/target=$HOME/target\n"
  10556. msgstr ""
  10557. #. type: table
  10558. #: guix-git/doc/guix.texi:5872
  10559. 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."
  10560. msgstr ""
  10561. #. type: item
  10562. #: guix-git/doc/guix.texi:5873
  10563. #, no-wrap
  10564. msgid "--no-cwd"
  10565. msgstr ""
  10566. #. type: table
  10567. #: guix-git/doc/guix.texi:5880
  10568. 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}."
  10569. msgstr ""
  10570. #. type: item
  10571. #: guix-git/doc/guix.texi:5881
  10572. #, no-wrap
  10573. msgid "--expose=@var{source}[=@var{target}]"
  10574. msgstr "--expose=@var{fonte}[=@var{alvo}]"
  10575. #. type: itemx
  10576. #: guix-git/doc/guix.texi:5882
  10577. #, no-wrap
  10578. msgid "--share=@var{source}[=@var{target}]"
  10579. msgstr "--share=@var{fonte}[=@var{alvo}]"
  10580. #. type: table
  10581. #: guix-git/doc/guix.texi:5888
  10582. 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."
  10583. msgstr ""
  10584. #. type: table
  10585. #: guix-git/doc/guix.texi:5892
  10586. 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:"
  10587. msgstr ""
  10588. #. type: example
  10589. #: guix-git/doc/guix.texi:5895
  10590. #, no-wrap
  10591. msgid "guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile\n"
  10592. msgstr ""
  10593. #. type: Plain text
  10594. #: guix-git/doc/guix.texi:5903
  10595. 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})."
  10596. msgstr ""
  10597. #. type: section
  10598. #: guix-git/doc/guix.texi:5905
  10599. #, no-wrap
  10600. msgid "Invoking @command{guix pack}"
  10601. msgstr "Invocando @command{guix pack}"
  10602. #. type: Plain text
  10603. #: guix-git/doc/guix.texi:5911
  10604. 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."
  10605. msgstr ""
  10606. #. type: quotation
  10607. #: guix-git/doc/guix.texi:5916
  10608. 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}."
  10609. msgstr ""
  10610. #. type: cindex
  10611. #: guix-git/doc/guix.texi:5918
  10612. #, no-wrap
  10613. msgid "pack"
  10614. msgstr ""
  10615. #. type: cindex
  10616. #: guix-git/doc/guix.texi:5919
  10617. #, no-wrap
  10618. msgid "bundle"
  10619. msgstr ""
  10620. #. type: cindex
  10621. #: guix-git/doc/guix.texi:5920
  10622. #, no-wrap
  10623. msgid "application bundle"
  10624. msgstr ""
  10625. #. type: cindex
  10626. #: guix-git/doc/guix.texi:5921
  10627. #, no-wrap
  10628. msgid "software bundle"
  10629. msgstr ""
  10630. #. type: Plain text
  10631. #: guix-git/doc/guix.texi:5930
  10632. 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."
  10633. msgstr ""
  10634. #. type: Plain text
  10635. #: guix-git/doc/guix.texi:5933
  10636. msgid "For example, to create a bundle containing Guile, Emacs, Geiser, and all their dependencies, you can run:"
  10637. msgstr ""
  10638. #. type: example
  10639. #: guix-git/doc/guix.texi:5938
  10640. #, no-wrap
  10641. msgid ""
  10642. "$ guix pack guile emacs emacs-geiser\n"
  10643. "@dots{}\n"
  10644. "/gnu/store/@dots{}-pack.tar.gz\n"
  10645. msgstr ""
  10646. #. type: Plain text
  10647. #: guix-git/doc/guix.texi:5946
  10648. 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})."
  10649. msgstr ""
  10650. #. type: Plain text
  10651. #: guix-git/doc/guix.texi:5951
  10652. 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:"
  10653. msgstr ""
  10654. #. type: example
  10655. #: guix-git/doc/guix.texi:5954
  10656. #, fuzzy, no-wrap
  10657. #| msgid "guix package -i emacs guile emacs-geiser\n"
  10658. msgid "guix pack -S /opt/gnu/bin=bin guile emacs emacs-geiser\n"
  10659. msgstr "guix package -i emacs guile emacs-geiser\n"
  10660. #. type: Plain text
  10661. #: guix-git/doc/guix.texi:5958
  10662. msgid "That way, users can happily type @file{/opt/gnu/bin/guile} and enjoy."
  10663. msgstr ""
  10664. #. type: cindex
  10665. #: guix-git/doc/guix.texi:5959
  10666. #, no-wrap
  10667. msgid "relocatable binaries, with @command{guix pack}"
  10668. msgstr ""
  10669. #. type: Plain text
  10670. #: guix-git/doc/guix.texi:5967
  10671. 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}."
  10672. msgstr ""
  10673. #. type: cindex
  10674. #: guix-git/doc/guix.texi:5968
  10675. #, no-wrap
  10676. msgid "Docker, build an image with guix pack"
  10677. msgstr ""
  10678. #. type: Plain text
  10679. #: guix-git/doc/guix.texi:5971
  10680. msgid "Alternatively, you can produce a pack in the Docker image format using the following command:"
  10681. msgstr ""
  10682. #. type: example
  10683. #: guix-git/doc/guix.texi:5974
  10684. #, no-wrap
  10685. msgid "guix pack -f docker -S /bin=bin guile guile-readline\n"
  10686. msgstr ""
  10687. #. type: Plain text
  10688. #: guix-git/doc/guix.texi:5979
  10689. msgid "The result is a tarball that can be passed to the @command{docker load} command, followed by @code{docker run}:"
  10690. msgstr ""
  10691. #. type: example
  10692. #: guix-git/doc/guix.texi:5983
  10693. #, no-wrap
  10694. msgid ""
  10695. "docker load < @var{file}\n"
  10696. "docker run -ti guile-guile-readline /bin/guile\n"
  10697. msgstr ""
  10698. #. type: Plain text
  10699. #: guix-git/doc/guix.texi:5990
  10700. 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."
  10701. msgstr ""
  10702. #. type: cindex
  10703. #: guix-git/doc/guix.texi:5991
  10704. #, no-wrap
  10705. msgid "Singularity, build an image with guix pack"
  10706. msgstr ""
  10707. #. type: cindex
  10708. #: guix-git/doc/guix.texi:5992
  10709. #, no-wrap
  10710. msgid "SquashFS, build an image with guix pack"
  10711. msgstr ""
  10712. #. type: Plain text
  10713. #: guix-git/doc/guix.texi:5995
  10714. msgid "Yet another option is to produce a SquashFS image with the following command:"
  10715. msgstr ""
  10716. #. type: example
  10717. #: guix-git/doc/guix.texi:5998
  10718. #, fuzzy, no-wrap
  10719. #| msgid "guix package -i emacs guile emacs-geiser\n"
  10720. msgid "guix pack -f squashfs bash guile emacs emacs-geiser\n"
  10721. msgstr "guix package -i emacs guile emacs-geiser\n"
  10722. #. type: Plain text
  10723. #: guix-git/doc/guix.texi:6006
  10724. 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}."
  10725. msgstr ""
  10726. #. type: Plain text
  10727. #: guix-git/doc/guix.texi:6008
  10728. msgid "Several command-line options allow you to customize your pack:"
  10729. msgstr ""
  10730. #. type: table
  10731. #: guix-git/doc/guix.texi:6013
  10732. msgid "Produce a pack in the given @var{format}."
  10733. msgstr ""
  10734. #. type: table
  10735. #: guix-git/doc/guix.texi:6015
  10736. msgid "The available formats are:"
  10737. msgstr ""
  10738. #. type: item
  10739. #: guix-git/doc/guix.texi:6017
  10740. #, no-wrap
  10741. msgid "tarball"
  10742. msgstr "tarball"
  10743. #. type: table
  10744. #: guix-git/doc/guix.texi:6020
  10745. msgid "This is the default format. It produces a tarball containing all the specified binaries and symlinks."
  10746. msgstr ""
  10747. #. type: item
  10748. #: guix-git/doc/guix.texi:6021
  10749. #, no-wrap
  10750. msgid "docker"
  10751. msgstr ""
  10752. #. type: table
  10753. #: guix-git/doc/guix.texi:6027
  10754. 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."
  10755. msgstr ""
  10756. #. type: item
  10757. #: guix-git/doc/guix.texi:6028
  10758. #, no-wrap
  10759. msgid "squashfs"
  10760. msgstr ""
  10761. #. type: table
  10762. #: guix-git/doc/guix.texi:6032
  10763. 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."
  10764. msgstr ""
  10765. #. type: quotation
  10766. #: guix-git/doc/guix.texi:6038
  10767. 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:"
  10768. msgstr ""
  10769. #. type: example
  10770. #: guix-git/doc/guix.texi:6041
  10771. #, no-wrap
  10772. msgid "guix pack -f squashfs bash @dots{}\n"
  10773. msgstr ""
  10774. #. type: quotation
  10775. #: guix-git/doc/guix.texi:6046
  10776. 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."
  10777. msgstr ""
  10778. #. type: item
  10779. #: guix-git/doc/guix.texi:6048
  10780. #, fuzzy, no-wrap
  10781. #| msgid "debug"
  10782. msgid "deb"
  10783. msgstr "depuração"
  10784. #. type: table
  10785. #: guix-git/doc/guix.texi:6056
  10786. 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."
  10787. msgstr ""
  10788. #. type: example
  10789. #: guix-git/doc/guix.texi:6059
  10790. #, no-wrap
  10791. msgid "guix pack -f deb -C xz -S /usr/bin/hello=bin/hello hello\n"
  10792. msgstr ""
  10793. #. type: quotation
  10794. #: guix-git/doc/guix.texi:6066
  10795. 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."
  10796. msgstr ""
  10797. #. type: quotation
  10798. #: guix-git/doc/guix.texi:6074
  10799. 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."
  10800. msgstr ""
  10801. #. type: cindex
  10802. #: guix-git/doc/guix.texi:6078
  10803. #, no-wrap
  10804. msgid "relocatable binaries"
  10805. msgstr ""
  10806. #. type: item
  10807. #: guix-git/doc/guix.texi:6079
  10808. #, no-wrap
  10809. msgid "--relocatable"
  10810. msgstr "--relocatable"
  10811. #. type: table
  10812. #: guix-git/doc/guix.texi:6083
  10813. msgid "Produce @dfn{relocatable binaries}---i.e., binaries that can be placed anywhere in the file system hierarchy and run from there."
  10814. msgstr ""
  10815. #. type: table
  10816. #: guix-git/doc/guix.texi:6091
  10817. 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."
  10818. msgstr ""
  10819. #. type: table
  10820. #: guix-git/doc/guix.texi:6093
  10821. msgid "For example, if you create a pack containing Bash with:"
  10822. msgstr ""
  10823. #. type: example
  10824. #: guix-git/doc/guix.texi:6096
  10825. #, no-wrap
  10826. msgid "guix pack -RR -S /mybin=bin bash\n"
  10827. msgstr ""
  10828. #. type: table
  10829. #: guix-git/doc/guix.texi:6101
  10830. msgid "...@: you can copy that pack to a machine that lacks Guix, and from your home directory as a normal user, run:"
  10831. msgstr ""
  10832. #. type: example
  10833. #: guix-git/doc/guix.texi:6105
  10834. #, no-wrap
  10835. msgid ""
  10836. "tar xf pack.tar.gz\n"
  10837. "./mybin/sh\n"
  10838. msgstr ""
  10839. #. type: table
  10840. #: guix-git/doc/guix.texi:6113
  10841. 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."
  10842. msgstr ""
  10843. #. type: quotation
  10844. #: guix-git/doc/guix.texi:6119
  10845. 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."
  10846. msgstr ""
  10847. #. type: quotation
  10848. #: guix-git/doc/guix.texi:6125
  10849. 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:"
  10850. msgstr ""
  10851. #. type: item
  10852. #: guix-git/doc/guix.texi:6127 guix-git/doc/guix.texi:16403
  10853. #, no-wrap
  10854. msgid "default"
  10855. msgstr ""
  10856. #. type: table
  10857. #: guix-git/doc/guix.texi:6130
  10858. msgid "Try user namespaces and fall back to PRoot if user namespaces are not supported (see below)."
  10859. msgstr ""
  10860. #. type: item
  10861. #: guix-git/doc/guix.texi:6131
  10862. #, no-wrap
  10863. msgid "performance"
  10864. msgstr ""
  10865. #. type: table
  10866. #: guix-git/doc/guix.texi:6134
  10867. msgid "Try user namespaces and fall back to Fakechroot if user namespaces are not supported (see below)."
  10868. msgstr ""
  10869. #. type: item
  10870. #: guix-git/doc/guix.texi:6135
  10871. #, no-wrap
  10872. msgid "userns"
  10873. msgstr ""
  10874. #. type: table
  10875. #: guix-git/doc/guix.texi:6138
  10876. msgid "Run the program through user namespaces and abort if they are not supported."
  10877. msgstr ""
  10878. #. type: item
  10879. #: guix-git/doc/guix.texi:6139
  10880. #, no-wrap
  10881. msgid "proot"
  10882. msgstr ""
  10883. #. type: table
  10884. #: guix-git/doc/guix.texi:6146
  10885. 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."
  10886. msgstr ""
  10887. #. type: item
  10888. #: guix-git/doc/guix.texi:6147
  10889. #, no-wrap
  10890. msgid "fakechroot"
  10891. msgstr ""
  10892. #. type: table
  10893. #: guix-git/doc/guix.texi:6155
  10894. 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."
  10895. msgstr ""
  10896. #. type: vindex
  10897. #: guix-git/doc/guix.texi:6157
  10898. #, no-wrap
  10899. msgid "GUIX_EXECUTION_ENGINE"
  10900. msgstr ""
  10901. #. type: quotation
  10902. #: guix-git/doc/guix.texi:6161
  10903. 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."
  10904. msgstr ""
  10905. #. type: cindex
  10906. #: guix-git/doc/guix.texi:6163
  10907. #, no-wrap
  10908. msgid "entry point, for Docker images"
  10909. msgstr ""
  10910. #. type: item
  10911. #: guix-git/doc/guix.texi:6164
  10912. #, no-wrap
  10913. msgid "--entry-point=@var{command}"
  10914. msgstr ""
  10915. #. type: table
  10916. #: guix-git/doc/guix.texi:6169
  10917. 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."
  10918. msgstr ""
  10919. #. type: table
  10920. #: guix-git/doc/guix.texi:6173
  10921. 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:"
  10922. msgstr ""
  10923. #. type: example
  10924. #: guix-git/doc/guix.texi:6176
  10925. #, no-wrap
  10926. msgid "guix pack -f docker --entry-point=bin/guile guile\n"
  10927. msgstr ""
  10928. #. type: table
  10929. #: guix-git/doc/guix.texi:6180
  10930. msgid "The resulting pack can easily be loaded and @code{docker run} with no extra arguments will spawn @code{bin/guile}:"
  10931. msgstr ""
  10932. #. type: example
  10933. #: guix-git/doc/guix.texi:6184
  10934. #, no-wrap
  10935. msgid ""
  10936. "docker load -i pack.tar.gz\n"
  10937. "docker run @var{image-id}\n"
  10938. msgstr ""
  10939. #. type: table
  10940. #: guix-git/doc/guix.texi:6189 guix-git/doc/guix.texi:11832
  10941. #: guix-git/doc/guix.texi:12629
  10942. msgid "Consider the package @var{expr} evaluates to."
  10943. msgstr ""
  10944. #. type: table
  10945. #: guix-git/doc/guix.texi:6193
  10946. 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}})."
  10947. msgstr ""
  10948. #. type: table
  10949. #: guix-git/doc/guix.texi:6199
  10950. 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."
  10951. msgstr ""
  10952. #. type: table
  10953. #: guix-git/doc/guix.texi:6207
  10954. 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."
  10955. msgstr ""
  10956. #. type: item
  10957. #: guix-git/doc/guix.texi:6213 guix-git/doc/guix.texi:10901
  10958. #, no-wrap
  10959. msgid "--target=@var{triplet}"
  10960. msgstr ""
  10961. #. type: cindex
  10962. #: guix-git/doc/guix.texi:6214 guix-git/doc/guix.texi:6665
  10963. #: guix-git/doc/guix.texi:10902
  10964. #, no-wrap
  10965. msgid "cross-compilation"
  10966. msgstr ""
  10967. #. type: table
  10968. #: guix-git/doc/guix.texi:6218
  10969. 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})."
  10970. msgstr ""
  10971. #. type: item
  10972. #: guix-git/doc/guix.texi:6219
  10973. #, no-wrap
  10974. msgid "--compression=@var{tool}"
  10975. msgstr ""
  10976. #. type: itemx
  10977. #: guix-git/doc/guix.texi:6220
  10978. #, no-wrap
  10979. msgid "-C @var{tool}"
  10980. msgstr ""
  10981. #. type: table
  10982. #: guix-git/doc/guix.texi:6224
  10983. 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."
  10984. msgstr ""
  10985. #. type: item
  10986. #: guix-git/doc/guix.texi:6225
  10987. #, no-wrap
  10988. msgid "--symlink=@var{spec}"
  10989. msgstr ""
  10990. #. type: itemx
  10991. #: guix-git/doc/guix.texi:6226
  10992. #, no-wrap
  10993. msgid "-S @var{spec}"
  10994. msgstr ""
  10995. #. type: table
  10996. #: guix-git/doc/guix.texi:6229
  10997. msgid "Add the symlinks specified by @var{spec} to the pack. This option can appear several times."
  10998. msgstr ""
  10999. #. type: table
  11000. #: guix-git/doc/guix.texi:6233
  11001. 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."
  11002. msgstr ""
  11003. #. type: table
  11004. #: guix-git/doc/guix.texi:6236
  11005. 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."
  11006. msgstr ""
  11007. #. type: item
  11008. #: guix-git/doc/guix.texi:6237 guix-git/doc/guix.texi:33854
  11009. #, no-wrap
  11010. msgid "--save-provenance"
  11011. msgstr ""
  11012. #. type: table
  11013. #: guix-git/doc/guix.texi:6241
  11014. 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})."
  11015. msgstr ""
  11016. #. type: table
  11017. #: guix-git/doc/guix.texi:6247
  11018. 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."
  11019. msgstr ""
  11020. #. type: table
  11021. #: guix-git/doc/guix.texi:6253
  11022. 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."
  11023. msgstr ""
  11024. #. type: cindex
  11025. #: guix-git/doc/guix.texi:6256
  11026. #, no-wrap
  11027. msgid "garbage collector root, for packs"
  11028. msgstr ""
  11029. #. type: table
  11030. #: guix-git/doc/guix.texi:6259
  11031. msgid "Make @var{file} a symlink to the resulting pack, and register it as a garbage collector root."
  11032. msgstr ""
  11033. #. type: item
  11034. #: guix-git/doc/guix.texi:6260
  11035. #, no-wrap
  11036. msgid "--localstatedir"
  11037. msgstr "--localstatedir"
  11038. #. type: itemx
  11039. #: guix-git/doc/guix.texi:6261
  11040. #, no-wrap
  11041. msgid "--profile-name=@var{name}"
  11042. msgstr ""
  11043. #. type: table
  11044. #: guix-git/doc/guix.texi:6266
  11045. 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}."
  11046. msgstr ""
  11047. #. type: table
  11048. #: guix-git/doc/guix.texi:6272
  11049. 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."
  11050. msgstr ""
  11051. #. type: table
  11052. #: guix-git/doc/guix.texi:6275
  11053. msgid "One use case for this is the Guix self-contained binary tarball (@pxref{Binary Installation})."
  11054. msgstr ""
  11055. #. type: item
  11056. #: guix-git/doc/guix.texi:6276 guix-git/doc/guix.texi:33848
  11057. #, no-wrap
  11058. msgid "--derivation"
  11059. msgstr ""
  11060. #. type: itemx
  11061. #: guix-git/doc/guix.texi:6277 guix-git/doc/guix.texi:10933
  11062. #: guix-git/doc/guix.texi:33849
  11063. #, no-wrap
  11064. msgid "-d"
  11065. msgstr ""
  11066. #. type: table
  11067. #: guix-git/doc/guix.texi:6279
  11068. msgid "Print the name of the derivation that builds the pack."
  11069. msgstr ""
  11070. #. type: table
  11071. #: guix-git/doc/guix.texi:6283
  11072. msgid "Use the bootstrap binaries to build the pack. This option is only useful to Guix developers."
  11073. msgstr ""
  11074. #. type: Plain text
  11075. #: guix-git/doc/guix.texi:6288
  11076. 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})."
  11077. msgstr ""
  11078. #. type: cindex
  11079. #: guix-git/doc/guix.texi:6293
  11080. #, no-wrap
  11081. msgid "GCC"
  11082. msgstr ""
  11083. #. type: cindex
  11084. #: guix-git/doc/guix.texi:6294
  11085. #, no-wrap
  11086. msgid "ld-wrapper"
  11087. msgstr ""
  11088. #. type: cindex
  11089. #: guix-git/doc/guix.texi:6295
  11090. #, no-wrap
  11091. msgid "linker wrapper"
  11092. msgstr ""
  11093. #. type: cindex
  11094. #: guix-git/doc/guix.texi:6296
  11095. #, no-wrap
  11096. msgid "toolchain, for C development"
  11097. msgstr ""
  11098. #. type: cindex
  11099. #: guix-git/doc/guix.texi:6297
  11100. #, no-wrap
  11101. msgid "toolchain, for Fortran development"
  11102. msgstr ""
  11103. #. type: Plain text
  11104. #: guix-git/doc/guix.texi:6304
  11105. 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."
  11106. msgstr ""
  11107. #. type: Plain text
  11108. #: guix-git/doc/guix.texi:6310
  11109. 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}."
  11110. msgstr ""
  11111. #. type: Plain text
  11112. #: guix-git/doc/guix.texi:6314
  11113. 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})."
  11114. msgstr ""
  11115. #. type: section
  11116. #: guix-git/doc/guix.texi:6317
  11117. #, no-wrap
  11118. msgid "Invoking @command{guix git authenticate}"
  11119. msgstr ""
  11120. #. type: Plain text
  11121. #: guix-git/doc/guix.texi:6325
  11122. 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)."
  11123. msgstr ""
  11124. #. type: Plain text
  11125. #: guix-git/doc/guix.texi:6330
  11126. 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."
  11127. msgstr ""
  11128. #. type: example
  11129. #: guix-git/doc/guix.texi:6335
  11130. #, no-wrap
  11131. msgid "guix git authenticate @var{commit} @var{signer} [@var{options}@dots{}]\n"
  11132. msgstr ""
  11133. #. type: Plain text
  11134. #: guix-git/doc/guix.texi:6344
  11135. 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."
  11136. msgstr ""
  11137. #. type: item
  11138. #: guix-git/doc/guix.texi:6346
  11139. #, no-wrap
  11140. msgid "--repository=@var{directory}"
  11141. msgstr ""
  11142. #. type: itemx
  11143. #: guix-git/doc/guix.texi:6347
  11144. #, no-wrap
  11145. msgid "-r @var{directory}"
  11146. msgstr ""
  11147. #. type: table
  11148. #: guix-git/doc/guix.texi:6350
  11149. msgid "Open the Git repository in @var{directory} instead of the current directory."
  11150. msgstr ""
  11151. #. type: item
  11152. #: guix-git/doc/guix.texi:6351
  11153. #, no-wrap
  11154. msgid "--keyring=@var{reference}"
  11155. msgstr ""
  11156. #. type: itemx
  11157. #: guix-git/doc/guix.texi:6352
  11158. #, no-wrap
  11159. msgid "-k @var{reference}"
  11160. msgstr ""
  11161. #. type: table
  11162. #: guix-git/doc/guix.texi:6358
  11163. 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}."
  11164. msgstr ""
  11165. #. type: item
  11166. #: guix-git/doc/guix.texi:6359
  11167. #, no-wrap
  11168. msgid "--stats"
  11169. msgstr ""
  11170. #. type: table
  11171. #: guix-git/doc/guix.texi:6361
  11172. msgid "Display commit signing statistics upon completion."
  11173. msgstr ""
  11174. #. type: item
  11175. #: guix-git/doc/guix.texi:6362
  11176. #, no-wrap
  11177. msgid "--cache-key=@var{key}"
  11178. msgstr ""
  11179. #. type: table
  11180. #: guix-git/doc/guix.texi:6366
  11181. 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."
  11182. msgstr ""
  11183. #. type: item
  11184. #: guix-git/doc/guix.texi:6367
  11185. #, no-wrap
  11186. msgid "--historical-authorizations=@var{file}"
  11187. msgstr ""
  11188. #. type: table
  11189. #: guix-git/doc/guix.texi:6374
  11190. 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})."
  11191. msgstr ""
  11192. #. type: Plain text
  11193. #: guix-git/doc/guix.texi:6387
  11194. 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."
  11195. msgstr ""
  11196. #. type: Plain text
  11197. #: guix-git/doc/guix.texi:6393
  11198. 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."
  11199. msgstr ""
  11200. #. type: Plain text
  11201. #: guix-git/doc/guix.texi:6402
  11202. 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."
  11203. msgstr ""
  11204. #. type: Plain text
  11205. #: guix-git/doc/guix.texi:6405
  11206. msgid "This chapter describes all these APIs in turn, starting from high-level package definitions."
  11207. msgstr ""
  11208. #. type: menuentry
  11209. #: guix-git/doc/guix.texi:6418
  11210. msgid "Programming Guix in Guile"
  11211. msgstr ""
  11212. #. type: Plain text
  11213. #: guix-git/doc/guix.texi:6434
  11214. 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})."
  11215. msgstr ""
  11216. #. type: Plain text
  11217. #: guix-git/doc/guix.texi:6441
  11218. 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."
  11219. msgstr ""
  11220. #. type: cindex
  11221. #: guix-git/doc/guix.texi:6443
  11222. #, no-wrap
  11223. msgid "package module search path"
  11224. msgstr ""
  11225. #. type: Plain text
  11226. #: guix-git/doc/guix.texi:6452
  11227. 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:"
  11228. msgstr ""
  11229. #. type: enumerate
  11230. #: guix-git/doc/guix.texi:6459
  11231. 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."
  11232. msgstr ""
  11233. #. type: enumerate
  11234. #: guix-git/doc/guix.texi:6465
  11235. 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."
  11236. msgstr ""
  11237. #. type: Plain text
  11238. #: guix-git/doc/guix.texi:6468
  11239. msgid "@env{GUIX_PACKAGE_PATH} works similarly to other search path variables:"
  11240. msgstr ""
  11241. #. type: defvr
  11242. #: guix-git/doc/guix.texi:6469
  11243. #, no-wrap
  11244. msgid "{Environment Variable} GUIX_PACKAGE_PATH"
  11245. msgstr ""
  11246. #. type: defvr
  11247. #: guix-git/doc/guix.texi:6473
  11248. 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."
  11249. msgstr ""
  11250. #. type: Plain text
  11251. #: guix-git/doc/guix.texi:6481
  11252. 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}."
  11253. msgstr ""
  11254. #. type: Plain text
  11255. #: guix-git/doc/guix.texi:6489
  11256. 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:"
  11257. msgstr ""
  11258. #. type: lisp
  11259. #: guix-git/doc/guix.texi:6497
  11260. #, no-wrap
  11261. msgid ""
  11262. "(define-module (gnu packages hello)\n"
  11263. " #:use-module (guix packages)\n"
  11264. " #:use-module (guix download)\n"
  11265. " #:use-module (guix build-system gnu)\n"
  11266. " #:use-module (guix licenses)\n"
  11267. " #:use-module (gnu packages gawk))\n"
  11268. "\n"
  11269. msgstr ""
  11270. #. type: lisp
  11271. #: guix-git/doc/guix.texi:6516
  11272. #, no-wrap
  11273. msgid ""
  11274. "(define-public hello\n"
  11275. " (package\n"
  11276. " (name \"hello\")\n"
  11277. " (version \"2.10\")\n"
  11278. " (source (origin\n"
  11279. " (method url-fetch)\n"
  11280. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  11281. " \".tar.gz\"))\n"
  11282. " (sha256\n"
  11283. " (base32\n"
  11284. " \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"))))\n"
  11285. " (build-system gnu-build-system)\n"
  11286. " (arguments '(#:configure-flags '(\"--enable-silent-rules\")))\n"
  11287. " (inputs `((\"gawk\" ,gawk)))\n"
  11288. " (synopsis \"Hello, GNU world: An example GNU package\")\n"
  11289. " (description \"Guess what GNU Hello prints!\")\n"
  11290. " (home-page \"https://www.gnu.org/software/hello/\")\n"
  11291. " (license gpl3+)))\n"
  11292. msgstr ""
  11293. #. type: Plain text
  11294. #: guix-git/doc/guix.texi:6526
  11295. 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\"}."
  11296. msgstr ""
  11297. #. type: Plain text
  11298. #: guix-git/doc/guix.texi:6530
  11299. 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})."
  11300. msgstr ""
  11301. #. type: Plain text
  11302. #: guix-git/doc/guix.texi:6536
  11303. 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})."
  11304. msgstr ""
  11305. #. type: Plain text
  11306. #: guix-git/doc/guix.texi:6538
  11307. msgid "There are a few points worth noting in the above package definition:"
  11308. msgstr ""
  11309. #. type: itemize
  11310. #: guix-git/doc/guix.texi:6545
  11311. 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."
  11312. msgstr ""
  11313. #. type: itemize
  11314. #: guix-git/doc/guix.texi:6548
  11315. msgid "The @code{mirror://gnu} prefix instructs @code{url-fetch} to use one of the GNU mirrors defined in @code{(guix download)}."
  11316. msgstr ""
  11317. #. type: itemize
  11318. #: guix-git/doc/guix.texi:6555
  11319. 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})."
  11320. msgstr ""
  11321. #. type: cindex
  11322. #: guix-git/doc/guix.texi:6556
  11323. #, no-wrap
  11324. msgid "patches"
  11325. msgstr ""
  11326. #. type: itemize
  11327. #: guix-git/doc/guix.texi:6560
  11328. 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."
  11329. msgstr ""
  11330. #. type: cindex
  11331. #: guix-git/doc/guix.texi:6562
  11332. #, no-wrap
  11333. msgid "GNU Build System"
  11334. msgstr ""
  11335. #. type: itemize
  11336. #: guix-git/doc/guix.texi:6568
  11337. 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."
  11338. msgstr ""
  11339. #. type: itemize
  11340. #: guix-git/doc/guix.texi:6572
  11341. 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."
  11342. msgstr ""
  11343. #. type: itemize
  11344. #: guix-git/doc/guix.texi:6578
  11345. 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."
  11346. msgstr ""
  11347. #. type: findex
  11348. #: guix-git/doc/guix.texi:6579 guix-git/doc/guix.texi:6582
  11349. #, no-wrap
  11350. msgid "quote"
  11351. msgstr ""
  11352. #. type: cindex
  11353. #: guix-git/doc/guix.texi:6580
  11354. #, no-wrap
  11355. msgid "quoting"
  11356. msgstr ""
  11357. #. type: findex
  11358. #: guix-git/doc/guix.texi:6581
  11359. #, no-wrap
  11360. msgid "'"
  11361. msgstr ""
  11362. #. type: itemize
  11363. #: guix-git/doc/guix.texi:6590
  11364. msgid "What about these quote (@code{'}) characters? They are Scheme syntax to introduce a literal list; @code{'} is synonymous with @code{quote}. @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})."
  11365. msgstr ""
  11366. #. type: itemize
  11367. #: guix-git/doc/guix.texi:6596
  11368. 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})."
  11369. msgstr ""
  11370. #. type: itemize
  11371. #: guix-git/doc/guix.texi:6602
  11372. msgid "The @code{inputs} field specifies inputs to the build process---i.e., build-time or run-time dependencies of the package. Here, we define an input called @code{\"gawk\"} whose value is that of the @code{gawk} variable; @code{gawk} is itself bound to a @code{<package>} object."
  11373. msgstr ""
  11374. #. type: cindex
  11375. #: guix-git/doc/guix.texi:6603
  11376. #, no-wrap
  11377. msgid "backquote (quasiquote)"
  11378. msgstr ""
  11379. #. type: findex
  11380. #: guix-git/doc/guix.texi:6604
  11381. #, no-wrap
  11382. msgid "`"
  11383. msgstr ""
  11384. #. type: findex
  11385. #: guix-git/doc/guix.texi:6605
  11386. #, no-wrap
  11387. msgid "quasiquote"
  11388. msgstr ""
  11389. #. type: cindex
  11390. #: guix-git/doc/guix.texi:6606
  11391. #, no-wrap
  11392. msgid "comma (unquote)"
  11393. msgstr ""
  11394. #. type: findex
  11395. #: guix-git/doc/guix.texi:6607
  11396. #, no-wrap
  11397. msgid ","
  11398. msgstr ""
  11399. #. type: findex
  11400. #: guix-git/doc/guix.texi:6608
  11401. #, no-wrap
  11402. msgid "unquote"
  11403. msgstr ""
  11404. #. type: findex
  11405. #: guix-git/doc/guix.texi:6609
  11406. #, no-wrap
  11407. msgid ",@@"
  11408. msgstr ""
  11409. #. type: findex
  11410. #: guix-git/doc/guix.texi:6610
  11411. #, no-wrap
  11412. msgid "unquote-splicing"
  11413. msgstr ""
  11414. #. type: itemize
  11415. #: guix-git/doc/guix.texi:6616
  11416. msgid "Again, @code{`} (a backquote, synonymous with @code{quasiquote}) allows us to introduce a literal list in the @code{inputs} field, while @code{,} (a comma, synonymous with @code{unquote}) allows us to insert a value in that list (@pxref{Expression Syntax, unquote,, guile, GNU Guile Reference Manual})."
  11417. msgstr ""
  11418. #. type: itemize
  11419. #: guix-git/doc/guix.texi:6620
  11420. 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})."
  11421. msgstr ""
  11422. #. type: itemize
  11423. #: guix-git/doc/guix.texi:6624
  11424. 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."
  11425. msgstr ""
  11426. #. type: Plain text
  11427. #: guix-git/doc/guix.texi:6627
  11428. msgid "@xref{package Reference}, for a full description of possible fields."
  11429. msgstr ""
  11430. #. type: Plain text
  11431. #: guix-git/doc/guix.texi:6638
  11432. 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."
  11433. msgstr ""
  11434. #. type: vindex
  11435. #: guix-git/doc/guix.texi:6638
  11436. #, no-wrap
  11437. msgid "GUIX_PACKAGE_PATH"
  11438. msgstr "GUIX_PACKAGE_PATH"
  11439. #. type: Plain text
  11440. #: guix-git/doc/guix.texi:6642
  11441. msgid "Lastly, @pxref{Channels}, for information on how to extend the distribution by adding your own package definitions in a ``channel''."
  11442. msgstr ""
  11443. #. type: Plain text
  11444. #: guix-git/doc/guix.texi:6646
  11445. 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})."
  11446. msgstr ""
  11447. #. type: Plain text
  11448. #: guix-git/doc/guix.texi:6652
  11449. 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})."
  11450. msgstr ""
  11451. #. type: deffn
  11452. #: guix-git/doc/guix.texi:6653
  11453. #, no-wrap
  11454. msgid "{Scheme Procedure} package-derivation @var{store} @var{package} [@var{system}]"
  11455. msgstr ""
  11456. #. type: deffn
  11457. #: guix-git/doc/guix.texi:6656
  11458. msgid "Return the @code{<derivation>} object of @var{package} for @var{system} (@pxref{Derivations})."
  11459. msgstr ""
  11460. #. type: deffn
  11461. #: guix-git/doc/guix.texi:6662
  11462. 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})."
  11463. msgstr ""
  11464. #. type: Plain text
  11465. #: guix-git/doc/guix.texi:6668
  11466. msgid "Similarly, it is possible to compute a derivation that cross-builds a package for some other system:"
  11467. msgstr ""
  11468. #. type: deffn
  11469. #: guix-git/doc/guix.texi:6669
  11470. #, no-wrap
  11471. msgid "{Scheme Procedure} package-cross-derivation @var{store} @"
  11472. msgstr ""
  11473. #. type: deffn
  11474. #: guix-git/doc/guix.texi:6673
  11475. msgid "@var{package} @var{target} [@var{system}] Return the @code{<derivation>} object of @var{package} cross-built from @var{system} to @var{target}."
  11476. msgstr ""
  11477. #. type: deffn
  11478. #: guix-git/doc/guix.texi:6677
  11479. 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})."
  11480. msgstr ""
  11481. #. type: Plain text
  11482. #: guix-git/doc/guix.texi:6681
  11483. msgid "Once you have package definitions, you can easily define @emph{variants} of those packages. @xref{Defining Package Variants}, for more on that."
  11484. msgstr ""
  11485. #. type: subsection
  11486. #: guix-git/doc/guix.texi:6689
  11487. #, no-wrap
  11488. msgid "@code{package} Reference"
  11489. msgstr ""
  11490. #. type: Plain text
  11491. #: guix-git/doc/guix.texi:6693
  11492. msgid "This section summarizes all the options available in @code{package} declarations (@pxref{Defining Packages})."
  11493. msgstr ""
  11494. #. type: deftp
  11495. #: guix-git/doc/guix.texi:6694
  11496. #, no-wrap
  11497. msgid "{Data Type} package"
  11498. msgstr ""
  11499. #. type: deftp
  11500. #: guix-git/doc/guix.texi:6696
  11501. msgid "This is the data type representing a package recipe."
  11502. msgstr ""
  11503. #. type: table
  11504. #: guix-git/doc/guix.texi:6700
  11505. msgid "The name of the package, as a string."
  11506. msgstr ""
  11507. #. type: code{#1}
  11508. #: guix-git/doc/guix.texi:6701
  11509. #, no-wrap
  11510. msgid "version"
  11511. msgstr ""
  11512. #. type: table
  11513. #: guix-git/doc/guix.texi:6704
  11514. msgid "The version of the package, as a string. @xref{Version Numbers}, for guidelines."
  11515. msgstr ""
  11516. #. type: code{#1}
  11517. #: guix-git/doc/guix.texi:6705 guix-git/doc/guix.texi:12105
  11518. #: guix-git/doc/guix.texi:14363 guix-git/doc/guix.texi:14866
  11519. #, no-wrap
  11520. msgid "source"
  11521. msgstr ""
  11522. #. type: table
  11523. #: guix-git/doc/guix.texi:6712
  11524. 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}})."
  11525. msgstr ""
  11526. #. type: code{#1}
  11527. #: guix-git/doc/guix.texi:6713
  11528. #, no-wrap
  11529. msgid "build-system"
  11530. msgstr ""
  11531. #. type: table
  11532. #: guix-git/doc/guix.texi:6716
  11533. msgid "The build system that should be used to build the package (@pxref{Build Systems})."
  11534. msgstr ""
  11535. #. type: item
  11536. #: guix-git/doc/guix.texi:6717 guix-git/doc/guix.texi:16851
  11537. #, no-wrap
  11538. msgid "@code{arguments} (default: @code{'()})"
  11539. msgstr ""
  11540. #. type: table
  11541. #: guix-git/doc/guix.texi:6720
  11542. msgid "The arguments that should be passed to the build system. This is a list, typically containing sequential keyword-value pairs."
  11543. msgstr ""
  11544. #. type: item
  11545. #: guix-git/doc/guix.texi:6721
  11546. #, no-wrap
  11547. msgid "@code{inputs} (default: @code{'()})"
  11548. msgstr ""
  11549. #. type: itemx
  11550. #: guix-git/doc/guix.texi:6722
  11551. #, no-wrap
  11552. msgid "@code{native-inputs} (default: @code{'()})"
  11553. msgstr ""
  11554. #. type: itemx
  11555. #: guix-git/doc/guix.texi:6723
  11556. #, no-wrap
  11557. msgid "@code{propagated-inputs} (default: @code{'()})"
  11558. msgstr ""
  11559. #. type: cindex
  11560. #: guix-git/doc/guix.texi:6724
  11561. #, no-wrap
  11562. msgid "inputs, of packages"
  11563. msgstr ""
  11564. #. type: table
  11565. #: guix-git/doc/guix.texi:6732
  11566. msgid "These fields list dependencies of the package. Each one is 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\"} (@pxref{Packages with Multiple Outputs}, for more on package outputs). For example, the list below specifies three inputs:"
  11567. msgstr ""
  11568. #. type: lisp
  11569. #: guix-git/doc/guix.texi:6737
  11570. #, no-wrap
  11571. msgid ""
  11572. "`((\"libffi\" ,libffi)\n"
  11573. " (\"libunistring\" ,libunistring)\n"
  11574. " (\"glib:bin\" ,glib \"bin\")) ;the \"bin\" output of Glib\n"
  11575. msgstr ""
  11576. #. type: cindex
  11577. #: guix-git/doc/guix.texi:6739
  11578. #, no-wrap
  11579. msgid "cross compilation, package dependencies"
  11580. msgstr ""
  11581. #. type: table
  11582. #: guix-git/doc/guix.texi:6745
  11583. 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."
  11584. msgstr ""
  11585. #. type: table
  11586. #: guix-git/doc/guix.texi:6750
  11587. 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})."
  11588. msgstr ""
  11589. #. type: anchor{#1}
  11590. #: guix-git/doc/guix.texi:6758
  11591. msgid "package-propagated-inputs"
  11592. msgstr ""
  11593. #. type: table
  11594. #: guix-git/doc/guix.texi:6758
  11595. 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)."
  11596. msgstr ""
  11597. #. type: table
  11598. #: guix-git/doc/guix.texi:6762
  11599. 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."
  11600. msgstr ""
  11601. #. type: table
  11602. #: guix-git/doc/guix.texi:6769
  11603. 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}."
  11604. msgstr ""
  11605. #. type: item
  11606. #: guix-git/doc/guix.texi:6770
  11607. #, no-wrap
  11608. msgid "@code{outputs} (default: @code{'(\"out\")})"
  11609. msgstr ""
  11610. #. type: table
  11611. #: guix-git/doc/guix.texi:6773
  11612. msgid "The list of output names of the package. @xref{Packages with Multiple Outputs}, for typical uses of additional outputs."
  11613. msgstr ""
  11614. #. type: item
  11615. #: guix-git/doc/guix.texi:6774
  11616. #, no-wrap
  11617. msgid "@code{native-search-paths} (default: @code{'()})"
  11618. msgstr ""
  11619. #. type: itemx
  11620. #: guix-git/doc/guix.texi:6775
  11621. #, no-wrap
  11622. msgid "@code{search-paths} (default: @code{'()})"
  11623. msgstr ""
  11624. #. type: table
  11625. #: guix-git/doc/guix.texi:6778
  11626. msgid "A list of @code{search-path-specification} objects describing search-path environment variables honored by the package."
  11627. msgstr ""
  11628. #. type: item
  11629. #: guix-git/doc/guix.texi:6779
  11630. #, no-wrap
  11631. msgid "@code{replacement} (default: @code{#f})"
  11632. msgstr "@code{replacement} (default: @code{#f})"
  11633. #. type: table
  11634. #: guix-git/doc/guix.texi:6783
  11635. 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."
  11636. msgstr ""
  11637. #. type: item
  11638. #: guix-git/doc/guix.texi:6784 guix-git/doc/guix.texi:12097
  11639. #, no-wrap
  11640. msgid "synopsis"
  11641. msgstr ""
  11642. #. type: table
  11643. #: guix-git/doc/guix.texi:6786
  11644. msgid "A one-line description of the package."
  11645. msgstr ""
  11646. #. type: code{#1}
  11647. #: guix-git/doc/guix.texi:6787 guix-git/doc/guix.texi:12098
  11648. #: guix-git/doc/guix.texi:34550 guix-git/doc/guix.texi:34701
  11649. #, no-wrap
  11650. msgid "description"
  11651. msgstr ""
  11652. #. type: table
  11653. #: guix-git/doc/guix.texi:6789
  11654. msgid "A more elaborate description of the package."
  11655. msgstr ""
  11656. #. type: code{#1}
  11657. #: guix-git/doc/guix.texi:6790
  11658. #, no-wrap
  11659. msgid "license"
  11660. msgstr ""
  11661. #. type: cindex
  11662. #: guix-git/doc/guix.texi:6791
  11663. #, no-wrap
  11664. msgid "license, of packages"
  11665. msgstr ""
  11666. #. type: table
  11667. #: guix-git/doc/guix.texi:6794
  11668. msgid "The license of the package; a value from @code{(guix licenses)}, or a list of such values."
  11669. msgstr ""
  11670. #. type: itemx
  11671. #: guix-git/doc/guix.texi:6795 guix-git/doc/guix.texi:12106
  11672. #, no-wrap
  11673. msgid "home-page"
  11674. msgstr ""
  11675. #. type: table
  11676. #: guix-git/doc/guix.texi:6797
  11677. msgid "The URL to the home-page of the package, as a string."
  11678. msgstr ""
  11679. #. type: item
  11680. #: guix-git/doc/guix.texi:6798
  11681. #, no-wrap
  11682. msgid "@code{supported-systems} (default: @code{%supported-systems})"
  11683. msgstr ""
  11684. #. type: table
  11685. #: guix-git/doc/guix.texi:6801
  11686. msgid "The list of systems supported by the package, as strings of the form @code{architecture-kernel}, for example @code{\"x86_64-linux\"}."
  11687. msgstr ""
  11688. #. type: item
  11689. #: guix-git/doc/guix.texi:6802
  11690. #, no-wrap
  11691. msgid "@code{location} (default: source location of the @code{package} form)"
  11692. msgstr ""
  11693. #. type: table
  11694. #: guix-git/doc/guix.texi:6806
  11695. 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."
  11696. msgstr ""
  11697. #. type: deffn
  11698. #: guix-git/doc/guix.texi:6809
  11699. #, no-wrap
  11700. msgid "{Scheme Syntax} this-package"
  11701. msgstr ""
  11702. #. type: deffn
  11703. #: guix-git/doc/guix.texi:6812
  11704. msgid "When used in the @emph{lexical scope} of a package field definition, this identifier resolves to the package being defined."
  11705. msgstr ""
  11706. #. type: deffn
  11707. #: guix-git/doc/guix.texi:6815
  11708. msgid "The example below shows how to add a package as a native input of itself when cross-compiling:"
  11709. msgstr ""
  11710. #. type: lisp
  11711. #: guix-git/doc/guix.texi:6820
  11712. #, no-wrap
  11713. msgid ""
  11714. "(package\n"
  11715. " (name \"guile\")\n"
  11716. " ;; ...\n"
  11717. "\n"
  11718. msgstr ""
  11719. #. type: lisp
  11720. #: guix-git/doc/guix.texi:6826
  11721. #, no-wrap
  11722. msgid ""
  11723. " ;; When cross-compiled, Guile, for example, depends on\n"
  11724. " ;; a native version of itself. Add it here.\n"
  11725. " (native-inputs (if (%current-target-system)\n"
  11726. " `((\"self\" ,this-package))\n"
  11727. " '())))\n"
  11728. msgstr ""
  11729. #. type: deffn
  11730. #: guix-git/doc/guix.texi:6829
  11731. msgid "It is an error to refer to @code{this-package} outside a package definition."
  11732. msgstr ""
  11733. #. type: Plain text
  11734. #: guix-git/doc/guix.texi:6835
  11735. 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."
  11736. msgstr ""
  11737. #. type: cindex
  11738. #: guix-git/doc/guix.texi:6836
  11739. #, no-wrap
  11740. msgid "tool chain, choosing a package's tool chain"
  11741. msgstr ""
  11742. #. type: deffn
  11743. #: guix-git/doc/guix.texi:6837
  11744. #, no-wrap
  11745. msgid "{Scheme Procedure} package-with-c-toolchain @var{package} @var{toolchain}"
  11746. msgstr ""
  11747. #. type: deffn
  11748. #: guix-git/doc/guix.texi:6842
  11749. 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."
  11750. msgstr ""
  11751. #. type: deffn
  11752. #: guix-git/doc/guix.texi:6846
  11753. 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:"
  11754. msgstr ""
  11755. #. type: lisp
  11756. #: guix-git/doc/guix.texi:6850
  11757. #, no-wrap
  11758. msgid ""
  11759. "(let ((toolchain (specification->package \"gcc-toolchain@@10\")))\n"
  11760. " (package-with-c-toolchain hello `((\"toolchain\" ,toolchain))))\n"
  11761. msgstr ""
  11762. #. type: deffn
  11763. #: guix-git/doc/guix.texi:6858
  11764. 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."
  11765. msgstr ""
  11766. #. type: subsection
  11767. #: guix-git/doc/guix.texi:6861
  11768. #, no-wrap
  11769. msgid "@code{origin} Reference"
  11770. msgstr ""
  11771. #. type: Plain text
  11772. #: guix-git/doc/guix.texi:6869
  11773. 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."
  11774. msgstr ""
  11775. #. type: deftp
  11776. #: guix-git/doc/guix.texi:6870
  11777. #, no-wrap
  11778. msgid "{Data Type} origin"
  11779. msgstr ""
  11780. #. type: deftp
  11781. #: guix-git/doc/guix.texi:6872
  11782. msgid "This is the data type representing a source code origin."
  11783. msgstr ""
  11784. #. type: code{#1}
  11785. #: guix-git/doc/guix.texi:6874 guix-git/doc/guix.texi:25394
  11786. #, no-wrap
  11787. msgid "uri"
  11788. msgstr "uri"
  11789. #. type: table
  11790. #: guix-git/doc/guix.texi:6879
  11791. 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."
  11792. msgstr ""
  11793. #. type: cindex
  11794. #: guix-git/doc/guix.texi:6880
  11795. #, no-wrap
  11796. msgid "fixed-output derivations, for download"
  11797. msgstr ""
  11798. #. type: code{#1}
  11799. #: guix-git/doc/guix.texi:6881
  11800. #, no-wrap
  11801. msgid "method"
  11802. msgstr ""
  11803. #. type: table
  11804. #: guix-git/doc/guix.texi:6888
  11805. 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})."
  11806. msgstr ""
  11807. #. type: table
  11808. #: guix-git/doc/guix.texi:6892
  11809. 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)."
  11810. msgstr ""
  11811. #. type: code{#1}
  11812. #: guix-git/doc/guix.texi:6893
  11813. #, no-wrap
  11814. msgid "sha256"
  11815. msgstr ""
  11816. #. type: table
  11817. #: guix-git/doc/guix.texi:6897
  11818. 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."
  11819. msgstr ""
  11820. #. type: code{#1}
  11821. #: guix-git/doc/guix.texi:6898
  11822. #, no-wrap
  11823. msgid "hash"
  11824. msgstr "hash (masc.)"
  11825. #. type: table
  11826. #: guix-git/doc/guix.texi:6901
  11827. msgid "The @code{content-hash} object of the source---see below for how to use @code{content-hash}."
  11828. msgstr ""
  11829. #. type: table
  11830. #: guix-git/doc/guix.texi:6905
  11831. msgid "You can obtain this information using @code{guix download} (@pxref{Invoking guix download}) or @code{guix hash} (@pxref{Invoking guix hash})."
  11832. msgstr ""
  11833. #. type: item
  11834. #: guix-git/doc/guix.texi:6906
  11835. #, no-wrap
  11836. msgid "@code{file-name} (default: @code{#f})"
  11837. msgstr ""
  11838. #. type: table
  11839. #: guix-git/doc/guix.texi:6912
  11840. 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."
  11841. msgstr ""
  11842. #. type: item
  11843. #: guix-git/doc/guix.texi:6913
  11844. #, no-wrap
  11845. msgid "@code{patches} (default: @code{'()})"
  11846. msgstr ""
  11847. #. type: table
  11848. #: guix-git/doc/guix.texi:6916
  11849. 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."
  11850. msgstr ""
  11851. #. type: table
  11852. #: guix-git/doc/guix.texi:6920
  11853. 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}."
  11854. msgstr ""
  11855. #. type: item
  11856. #: guix-git/doc/guix.texi:6921
  11857. #, no-wrap
  11858. msgid "@code{snippet} (default: @code{#f})"
  11859. msgstr "@code{snippet} (default: @code{#f})"
  11860. #. type: table
  11861. #: guix-git/doc/guix.texi:6925
  11862. 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."
  11863. msgstr ""
  11864. #. type: item
  11865. #: guix-git/doc/guix.texi:6926
  11866. #, no-wrap
  11867. msgid "@code{patch-flags} (default: @code{'(\"-p1\")})"
  11868. msgstr ""
  11869. #. type: table
  11870. #: guix-git/doc/guix.texi:6929
  11871. msgid "A list of command-line flags that should be passed to the @code{patch} command."
  11872. msgstr ""
  11873. #. type: item
  11874. #: guix-git/doc/guix.texi:6930
  11875. #, no-wrap
  11876. msgid "@code{patch-inputs} (default: @code{#f})"
  11877. msgstr ""
  11878. #. type: table
  11879. #: guix-git/doc/guix.texi:6934
  11880. 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."
  11881. msgstr ""
  11882. #. type: item
  11883. #: guix-git/doc/guix.texi:6935 guix-git/doc/guix.texi:25267
  11884. #, no-wrap
  11885. msgid "@code{modules} (default: @code{'()})"
  11886. msgstr ""
  11887. #. type: table
  11888. #: guix-git/doc/guix.texi:6938
  11889. msgid "A list of Guile modules that should be loaded during the patching process and while running the code in the @code{snippet} field."
  11890. msgstr ""
  11891. #. type: item
  11892. #: guix-git/doc/guix.texi:6939
  11893. #, no-wrap
  11894. msgid "@code{patch-guile} (default: @code{#f})"
  11895. msgstr ""
  11896. #. type: table
  11897. #: guix-git/doc/guix.texi:6942
  11898. msgid "The Guile package that should be used in the patching process. When this is @code{#f}, a sensible default is used."
  11899. msgstr ""
  11900. #. type: deftp
  11901. #: guix-git/doc/guix.texi:6945
  11902. #, no-wrap
  11903. msgid "{Data Type} content-hash @var{value} [@var{algorithm}]"
  11904. msgstr ""
  11905. #. type: deftp
  11906. #: guix-git/doc/guix.texi:6949
  11907. 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}."
  11908. msgstr ""
  11909. #. type: deftp
  11910. #: guix-git/doc/guix.texi:6952
  11911. msgid "@var{value} can be a literal string, in which case it is base32-decoded, or it can be a bytevector."
  11912. msgstr ""
  11913. #. type: deftp
  11914. #: guix-git/doc/guix.texi:6954
  11915. msgid "The following forms are all equivalent:"
  11916. msgstr ""
  11917. #. type: lisp
  11918. #: guix-git/doc/guix.texi:6963
  11919. #, no-wrap
  11920. msgid ""
  11921. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\")\n"
  11922. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"\n"
  11923. " sha256)\n"
  11924. "(content-hash (base32\n"
  11925. " \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"))\n"
  11926. "(content-hash (base64 \"kkb+RPaP7uyMZmu4eXPVkM4BN8yhRd8BTHLslb6f/Rc=\")\n"
  11927. " sha256)\n"
  11928. msgstr ""
  11929. #. type: deftp
  11930. #: guix-git/doc/guix.texi:6968
  11931. 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}."
  11932. msgstr ""
  11933. #. type: Plain text
  11934. #: guix-git/doc/guix.texi:6974
  11935. 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."
  11936. msgstr ""
  11937. #. type: deffn
  11938. #: guix-git/doc/guix.texi:6975
  11939. #, no-wrap
  11940. msgid "{Scheme Procedure} url-fetch @var{url} @var{hash-algo} @var{hash} @"
  11941. msgstr ""
  11942. #. type: deffn
  11943. #: guix-git/doc/guix.texi:6983
  11944. 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."
  11945. msgstr ""
  11946. #. type: deffn
  11947. #: guix-git/doc/guix.texi:6986
  11948. 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}."
  11949. msgstr ""
  11950. #. type: deffn
  11951. #: guix-git/doc/guix.texi:6989
  11952. msgid "Alternatively, when URL starts with @code{file://}, return the corresponding file name in the store."
  11953. msgstr ""
  11954. #. type: Plain text
  11955. #: guix-git/doc/guix.texi:6995
  11956. 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."
  11957. msgstr ""
  11958. #. type: deffn
  11959. #: guix-git/doc/guix.texi:6996
  11960. #, no-wrap
  11961. msgid "{Scheme Procedure} git-fetch @var{ref} @var{hash-algo} @var{hash}"
  11962. msgstr ""
  11963. #. type: deffn
  11964. #: guix-git/doc/guix.texi:7001
  11965. 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}."
  11966. msgstr ""
  11967. #. type: deftp
  11968. #: guix-git/doc/guix.texi:7003
  11969. #, no-wrap
  11970. msgid "{Data Type} git-reference"
  11971. msgstr ""
  11972. #. type: deftp
  11973. #: guix-git/doc/guix.texi:7006
  11974. msgid "This data type represents a Git reference for @code{git-fetch} to retrieve."
  11975. msgstr ""
  11976. #. type: code{#1}
  11977. #: guix-git/doc/guix.texi:7008 guix-git/doc/guix.texi:23029
  11978. #, no-wrap
  11979. msgid "url"
  11980. msgstr "url"
  11981. #. type: table
  11982. #: guix-git/doc/guix.texi:7010
  11983. msgid "The URL of the Git repository to clone."
  11984. msgstr ""
  11985. #. type: code{#1}
  11986. #: guix-git/doc/guix.texi:7011
  11987. #, no-wrap
  11988. msgid "commit"
  11989. msgstr ""
  11990. #. type: table
  11991. #: guix-git/doc/guix.texi:7015
  11992. msgid "This string denotes either the commit to fetch (a hexadecimal string, either the full SHA1 commit or a ``short'' commit string; the latter is not recommended) or the tag to fetch."
  11993. msgstr ""
  11994. #. type: item
  11995. #: guix-git/doc/guix.texi:7016
  11996. #, no-wrap
  11997. msgid "@code{recursive?} (default: @code{#f})"
  11998. msgstr ""
  11999. #. type: table
  12000. #: guix-git/doc/guix.texi:7018
  12001. msgid "This Boolean indicates whether to recursively fetch Git sub-modules."
  12002. msgstr ""
  12003. #. type: deftp
  12004. #: guix-git/doc/guix.texi:7022
  12005. msgid "The example below denotes the @code{v2.10} tag of the GNU@tie{}Hello repository:"
  12006. msgstr ""
  12007. #. type: lisp
  12008. #: guix-git/doc/guix.texi:7027
  12009. #, no-wrap
  12010. msgid ""
  12011. "(git-reference\n"
  12012. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  12013. " (commit \"v2.10\"))\n"
  12014. msgstr ""
  12015. #. type: deftp
  12016. #: guix-git/doc/guix.texi:7031
  12017. msgid "This is equivalent to the reference below, which explicitly names the commit:"
  12018. msgstr ""
  12019. #. type: lisp
  12020. #: guix-git/doc/guix.texi:7036
  12021. #, no-wrap
  12022. msgid ""
  12023. "(git-reference\n"
  12024. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  12025. " (commit \"dc7dc56a00e48fe6f231a58f6537139fe2908fb9\"))\n"
  12026. msgstr ""
  12027. #. type: Plain text
  12028. #: guix-git/doc/guix.texi:7042
  12029. 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."
  12030. msgstr ""
  12031. #. type: deffn
  12032. #: guix-git/doc/guix.texi:7043
  12033. #, no-wrap
  12034. msgid "{Scheme Procedure} hg-fetch @var{ref} @var{hash-algo} @var{hash} @"
  12035. msgstr ""
  12036. #. type: deffn
  12037. #: guix-git/doc/guix.texi:7049
  12038. 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}."
  12039. msgstr ""
  12040. #. type: cindex
  12041. #: guix-git/doc/guix.texi:7054
  12042. #, no-wrap
  12043. msgid "customizing packages"
  12044. msgstr ""
  12045. #. type: cindex
  12046. #: guix-git/doc/guix.texi:7055
  12047. #, no-wrap
  12048. msgid "variants, of packages"
  12049. msgstr ""
  12050. #. type: Plain text
  12051. #: guix-git/doc/guix.texi:7065
  12052. 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!"
  12053. msgstr ""
  12054. #. type: cindex
  12055. #: guix-git/doc/guix.texi:7066
  12056. #, no-wrap
  12057. msgid "inherit, for package definitions"
  12058. msgstr ""
  12059. #. type: Plain text
  12060. #: guix-git/doc/guix.texi:7073
  12061. 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."
  12062. msgstr ""
  12063. #. type: Plain text
  12064. #: guix-git/doc/guix.texi:7078
  12065. 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!):"
  12066. msgstr ""
  12067. #. type: lisp
  12068. #: guix-git/doc/guix.texi:7081
  12069. #, no-wrap
  12070. msgid ""
  12071. "(use-modules (gnu packages base)) ;for 'hello'\n"
  12072. "\n"
  12073. msgstr ""
  12074. #. type: lisp
  12075. #: guix-git/doc/guix.texi:7093
  12076. #, no-wrap
  12077. msgid ""
  12078. "(define hello-2.2\n"
  12079. " (package\n"
  12080. " (inherit hello)\n"
  12081. " (version \"2.2\")\n"
  12082. " (source (origin\n"
  12083. " (method url-fetch)\n"
  12084. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  12085. " \".tar.gz\"))\n"
  12086. " (sha256\n"
  12087. " (base32\n"
  12088. " \"0lappv4slgb5spyqbh6yl5r013zv72yqg2pcl30mginf3wdqd8k9\"))))))\n"
  12089. msgstr ""
  12090. #. type: Plain text
  12091. #: guix-git/doc/guix.texi:7102
  12092. 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."
  12093. msgstr ""
  12094. #. type: Plain text
  12095. #: guix-git/doc/guix.texi:7108
  12096. 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:"
  12097. msgstr ""
  12098. #. type: lisp
  12099. #: guix-git/doc/guix.texi:7112
  12100. #, no-wrap
  12101. msgid ""
  12102. "(use-modules (gnu packages gdb) ;for 'gdb'\n"
  12103. " (srfi srfi-1)) ;for 'alist-delete'\n"
  12104. "\n"
  12105. msgstr ""
  12106. #. type: lisp
  12107. #: guix-git/doc/guix.texi:7118
  12108. #, no-wrap
  12109. msgid ""
  12110. "(define gdb-sans-guile\n"
  12111. " (package\n"
  12112. " (inherit gdb)\n"
  12113. " (inputs (alist-delete \"guile\"\n"
  12114. " (package-inputs gdb)))))\n"
  12115. msgstr ""
  12116. #. type: Plain text
  12117. #: guix-git/doc/guix.texi:7124
  12118. msgid "The @code{alist-delete} call above removes the tuple from the @code{inputs} field that has @code{\"guile\"} as its first element (@pxref{SRFI-1 Association Lists,,, guile, GNU Guile Reference Manual})."
  12119. msgstr ""
  12120. #. type: Plain text
  12121. #: guix-git/doc/guix.texi:7132
  12122. 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:"
  12123. msgstr ""
  12124. #. type: lisp
  12125. #: guix-git/doc/guix.texi:7143
  12126. #, no-wrap
  12127. msgid ""
  12128. "(define (make-lua-socket name lua)\n"
  12129. " ;; Return a luasocket package built with LUA.\n"
  12130. " (package\n"
  12131. " (name name)\n"
  12132. " (version \"3.0\")\n"
  12133. " ;; several fields omitted\n"
  12134. " (inputs\n"
  12135. " `((\"lua\" ,lua)))\n"
  12136. " (synopsis \"Socket library for Lua\")))\n"
  12137. "\n"
  12138. msgstr ""
  12139. #. type: lisp
  12140. #: guix-git/doc/guix.texi:7146
  12141. #, no-wrap
  12142. msgid ""
  12143. "(define-public lua5.1-socket\n"
  12144. " (make-lua-socket \"lua5.1-socket\" lua-5.1))\n"
  12145. "\n"
  12146. msgstr ""
  12147. #. type: lisp
  12148. #: guix-git/doc/guix.texi:7149
  12149. #, no-wrap
  12150. msgid ""
  12151. "(define-public lua5.2-socket\n"
  12152. " (make-lua-socket \"lua5.2-socket\" lua-5.2))\n"
  12153. msgstr ""
  12154. #. type: Plain text
  12155. #: guix-git/doc/guix.texi:7157
  12156. 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})."
  12157. msgstr ""
  12158. #. type: cindex
  12159. #: guix-git/doc/guix.texi:7158
  12160. #, no-wrap
  12161. msgid "package transformations"
  12162. msgstr ""
  12163. #. type: Plain text
  12164. #: guix-git/doc/guix.texi:7163
  12165. 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}):"
  12166. msgstr ""
  12167. #. type: deffn
  12168. #: guix-git/doc/guix.texi:7164
  12169. #, no-wrap
  12170. msgid "{Scheme Procedure} options->transformation @var{opts}"
  12171. msgstr ""
  12172. #. type: deffn
  12173. #: guix-git/doc/guix.texi:7168
  12174. 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:"
  12175. msgstr ""
  12176. #. type: lisp
  12177. #: guix-git/doc/guix.texi:7172
  12178. #, no-wrap
  12179. msgid ""
  12180. "((with-branch . \"guile-gcrypt=master\")\n"
  12181. " (without-tests . \"libgcrypt\"))\n"
  12182. msgstr ""
  12183. #. type: deffn
  12184. #: guix-git/doc/guix.texi:7176
  12185. msgid "Each symbol names a transformation and the corresponding string is an argument to that transformation."
  12186. msgstr ""
  12187. #. type: Plain text
  12188. #: guix-git/doc/guix.texi:7179
  12189. msgid "For instance, a manifest equivalent to this command:"
  12190. msgstr ""
  12191. #. type: example
  12192. #: guix-git/doc/guix.texi:7184
  12193. #, no-wrap
  12194. msgid ""
  12195. "guix build guix \\\n"
  12196. " --with-branch=guile-gcrypt=master \\\n"
  12197. " --with-debug-info=zlib\n"
  12198. msgstr ""
  12199. #. type: Plain text
  12200. #: guix-git/doc/guix.texi:7188
  12201. msgid "... would look like this:"
  12202. msgstr ""
  12203. #. type: lisp
  12204. #: guix-git/doc/guix.texi:7191
  12205. #, no-wrap
  12206. msgid ""
  12207. "(use-modules (guix transformations))\n"
  12208. "\n"
  12209. msgstr ""
  12210. #. type: lisp
  12211. #: guix-git/doc/guix.texi:7197
  12212. #, no-wrap
  12213. msgid ""
  12214. "(define transform\n"
  12215. " ;; The package transformation procedure.\n"
  12216. " (options->transformation\n"
  12217. " '((with-branch . \"guile-gcrypt=master\")\n"
  12218. " (with-debug-info . \"zlib\"))))\n"
  12219. "\n"
  12220. msgstr ""
  12221. #. type: lisp
  12222. #: guix-git/doc/guix.texi:7200
  12223. #, no-wrap
  12224. msgid ""
  12225. "(packages->manifest\n"
  12226. " (list (transform (specification->package \"guix\"))))\n"
  12227. msgstr ""
  12228. #. type: cindex
  12229. #: guix-git/doc/guix.texi:7202
  12230. #, no-wrap
  12231. msgid "input rewriting"
  12232. msgstr ""
  12233. #. type: cindex
  12234. #: guix-git/doc/guix.texi:7203
  12235. #, no-wrap
  12236. msgid "dependency graph rewriting"
  12237. msgstr ""
  12238. #. type: Plain text
  12239. #: guix-git/doc/guix.texi:7210
  12240. 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."
  12241. msgstr ""
  12242. #. type: Plain text
  12243. #: guix-git/doc/guix.texi:7214
  12244. 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."
  12245. msgstr ""
  12246. #. type: deffn
  12247. #: guix-git/doc/guix.texi:7215
  12248. #, no-wrap
  12249. msgid "{Scheme Procedure} package-input-rewriting @var{replacements} @"
  12250. msgstr ""
  12251. #. type: deffn
  12252. #: guix-git/doc/guix.texi:7222
  12253. 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."
  12254. msgstr ""
  12255. #. type: deffn
  12256. #: guix-git/doc/guix.texi:7225
  12257. msgid "Optionally, @var{rewrite-name} is a one-argument procedure that takes the name of a package and returns its new name after rewrite."
  12258. msgstr ""
  12259. #. type: table
  12260. #: guix-git/doc/guix.texi:7229 guix-git/doc/guix.texi:10579
  12261. msgid "Consider this example:"
  12262. msgstr ""
  12263. #. type: lisp
  12264. #: guix-git/doc/guix.texi:7235
  12265. #, no-wrap
  12266. msgid ""
  12267. "(define libressl-instead-of-openssl\n"
  12268. " ;; This is a procedure to replace OPENSSL by LIBRESSL,\n"
  12269. " ;; recursively.\n"
  12270. " (package-input-rewriting `((,openssl . ,libressl))))\n"
  12271. "\n"
  12272. msgstr ""
  12273. #. type: lisp
  12274. #: guix-git/doc/guix.texi:7238
  12275. #, no-wrap
  12276. msgid ""
  12277. "(define git-with-libressl\n"
  12278. " (libressl-instead-of-openssl git))\n"
  12279. msgstr ""
  12280. #. type: Plain text
  12281. #: guix-git/doc/guix.texi:7246
  12282. 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}})."
  12283. msgstr ""
  12284. #. type: Plain text
  12285. #: guix-git/doc/guix.texi:7249
  12286. msgid "The following variant of @code{package-input-rewriting} can match packages to be replaced by name rather than by identity."
  12287. msgstr ""
  12288. #. type: deffn
  12289. #: guix-git/doc/guix.texi:7250
  12290. #, no-wrap
  12291. msgid "{Scheme Procedure} package-input-rewriting/spec @var{replacements} [#:deep? #t]"
  12292. msgstr ""
  12293. #. type: deffn
  12294. #: guix-git/doc/guix.texi:7257
  12295. 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."
  12296. msgstr ""
  12297. #. type: Plain text
  12298. #: guix-git/doc/guix.texi:7260
  12299. msgid "The example above could be rewritten this way:"
  12300. msgstr ""
  12301. #. type: lisp
  12302. #: guix-git/doc/guix.texi:7265
  12303. #, no-wrap
  12304. msgid ""
  12305. "(define libressl-instead-of-openssl\n"
  12306. " ;; Replace all the packages called \"openssl\" with LibreSSL.\n"
  12307. " (package-input-rewriting/spec `((\"openssl\" . ,(const libressl)))))\n"
  12308. msgstr ""
  12309. #. type: Plain text
  12310. #: guix-git/doc/guix.texi:7270
  12311. 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."
  12312. msgstr ""
  12313. #. type: Plain text
  12314. #: guix-git/doc/guix.texi:7274
  12315. msgid "A more generic procedure to rewrite a package dependency graph is @code{package-mapping}: it supports arbitrary changes to nodes in the graph."
  12316. msgstr ""
  12317. #. type: deffn
  12318. #: guix-git/doc/guix.texi:7275
  12319. #, no-wrap
  12320. msgid "{Scheme Procedure} package-mapping @var{proc} [@var{cut?}] [#:deep? #f]"
  12321. msgstr ""
  12322. #. type: deffn
  12323. #: guix-git/doc/guix.texi:7280
  12324. 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."
  12325. msgstr ""
  12326. #. type: cindex
  12327. #: guix-git/doc/guix.texi:7286
  12328. #, no-wrap
  12329. msgid "build system"
  12330. msgstr ""
  12331. #. type: Plain text
  12332. #: guix-git/doc/guix.texi:7291
  12333. 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."
  12334. msgstr ""
  12335. #. type: Plain text
  12336. #: guix-git/doc/guix.texi:7295
  12337. 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."
  12338. msgstr ""
  12339. #. type: cindex
  12340. #: guix-git/doc/guix.texi:7296
  12341. #, no-wrap
  12342. msgid "bag (low-level package representation)"
  12343. msgstr ""
  12344. #. type: Plain text
  12345. #: guix-git/doc/guix.texi:7306
  12346. 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}})."
  12347. msgstr ""
  12348. #. type: Plain text
  12349. #: guix-git/doc/guix.texi:7314
  12350. 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})."
  12351. msgstr ""
  12352. #. type: Plain text
  12353. #: guix-git/doc/guix.texi:7318
  12354. 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."
  12355. msgstr ""
  12356. #. type: defvr
  12357. #: guix-git/doc/guix.texi:7319
  12358. #, no-wrap
  12359. msgid "{Scheme Variable} gnu-build-system"
  12360. msgstr ""
  12361. #. type: defvr
  12362. #: guix-git/doc/guix.texi:7323
  12363. msgid "@code{gnu-build-system} represents the GNU Build System, and variants thereof (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards})."
  12364. msgstr ""
  12365. #. type: cindex
  12366. #: guix-git/doc/guix.texi:7324 guix-git/doc/guix.texi:8264
  12367. #: guix-git/doc/guix.texi:8719
  12368. #, no-wrap
  12369. msgid "build phases"
  12370. msgstr ""
  12371. #. type: defvr
  12372. #: guix-git/doc/guix.texi:7331
  12373. 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."
  12374. msgstr ""
  12375. #. type: defvr
  12376. #: guix-git/doc/guix.texi:7338
  12377. 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."
  12378. msgstr ""
  12379. #. type: defvr
  12380. #: guix-git/doc/guix.texi:7342
  12381. 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:"
  12382. msgstr ""
  12383. #. type: item
  12384. #: guix-git/doc/guix.texi:7344
  12385. #, no-wrap
  12386. msgid "#:phases"
  12387. msgstr ""
  12388. #. type: table
  12389. #: guix-git/doc/guix.texi:7347
  12390. msgid "This argument specifies build-side code that evaluates to an alist of build phases. @xref{Build Phases}, for more information."
  12391. msgstr ""
  12392. #. type: item
  12393. #: guix-git/doc/guix.texi:7348
  12394. #, no-wrap
  12395. msgid "#:configure-flags"
  12396. msgstr ""
  12397. #. type: table
  12398. #: guix-git/doc/guix.texi:7351
  12399. msgid "This is a list of flags (strings) passed to the @command{configure} script. @xref{Defining Packages}, for an example."
  12400. msgstr ""
  12401. #. type: item
  12402. #: guix-git/doc/guix.texi:7352
  12403. #, no-wrap
  12404. msgid "#:make-flags"
  12405. msgstr ""
  12406. #. type: table
  12407. #: guix-git/doc/guix.texi:7356
  12408. msgid "This list of strings contains flags passed as arguments to @command{make} invocations in the @code{build}, @code{check}, and @code{install} phases."
  12409. msgstr ""
  12410. #. type: item
  12411. #: guix-git/doc/guix.texi:7357
  12412. #, no-wrap
  12413. msgid "#:out-of-source?"
  12414. msgstr ""
  12415. #. type: table
  12416. #: guix-git/doc/guix.texi:7360
  12417. msgid "This Boolean, @code{#f} by default, indicates whether to run builds in a build directory separate from the source tree."
  12418. msgstr ""
  12419. #. type: table
  12420. #: guix-git/doc/guix.texi:7365
  12421. 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}."
  12422. msgstr ""
  12423. #. type: item
  12424. #: guix-git/doc/guix.texi:7366
  12425. #, no-wrap
  12426. msgid "#:tests?"
  12427. msgstr ""
  12428. #. type: table
  12429. #: guix-git/doc/guix.texi:7369
  12430. msgid "This Boolean, @code{#t} by default, indicates whether the @code{check} phase should run the package's test suite."
  12431. msgstr ""
  12432. #. type: item
  12433. #: guix-git/doc/guix.texi:7370
  12434. #, no-wrap
  12435. msgid "#:test-target"
  12436. msgstr ""
  12437. #. type: table
  12438. #: guix-git/doc/guix.texi:7373
  12439. msgid "This string, @code{\"check\"} by default, gives the name of the makefile target used by the @code{check} phase."
  12440. msgstr ""
  12441. #. type: item
  12442. #: guix-git/doc/guix.texi:7374
  12443. #, no-wrap
  12444. msgid "#:parallel-build?"
  12445. msgstr ""
  12446. #. type: itemx
  12447. #: guix-git/doc/guix.texi:7375
  12448. #, no-wrap
  12449. msgid "#:parallel-tests?"
  12450. msgstr ""
  12451. #. type: table
  12452. #: guix-git/doc/guix.texi:7382
  12453. 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}})."
  12454. msgstr ""
  12455. #. type: cindex
  12456. #: guix-git/doc/guix.texi:7383
  12457. #, no-wrap
  12458. msgid "RUNPATH, validation"
  12459. msgstr ""
  12460. #. type: item
  12461. #: guix-git/doc/guix.texi:7384
  12462. #, no-wrap
  12463. msgid "#:validate-runpath?"
  12464. msgstr ""
  12465. #. type: table
  12466. #: guix-git/doc/guix.texi:7388
  12467. 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."
  12468. msgstr ""
  12469. #. type: table
  12470. #: guix-git/doc/guix.texi:7396
  12471. 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}."
  12472. msgstr ""
  12473. #. type: item
  12474. #: guix-git/doc/guix.texi:7397
  12475. #, fuzzy, no-wrap
  12476. msgid "#:substitutable?"
  12477. msgstr "substituidor"
  12478. #. type: table
  12479. #: guix-git/doc/guix.texi:7401
  12480. 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})."
  12481. msgstr ""
  12482. #. type: item
  12483. #: guix-git/doc/guix.texi:7402
  12484. #, no-wrap
  12485. msgid "#:allowed-references"
  12486. msgstr ""
  12487. #. type: itemx
  12488. #: guix-git/doc/guix.texi:7403
  12489. #, no-wrap
  12490. msgid "#:disallowed-references"
  12491. msgstr ""
  12492. #. type: table
  12493. #: guix-git/doc/guix.texi:7408
  12494. 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."
  12495. msgstr ""
  12496. #. type: table
  12497. #: guix-git/doc/guix.texi:7413
  12498. 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})."
  12499. msgstr ""
  12500. #. type: defvr
  12501. #: guix-git/doc/guix.texi:7416
  12502. msgid "Most other build systems support these keyword arguments."
  12503. msgstr ""
  12504. #. type: Plain text
  12505. #: guix-git/doc/guix.texi:7423
  12506. 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."
  12507. msgstr ""
  12508. #. type: defvr
  12509. #: guix-git/doc/guix.texi:7424
  12510. #, no-wrap
  12511. msgid "{Scheme Variable} ant-build-system"
  12512. msgstr ""
  12513. #. type: defvr
  12514. #: guix-git/doc/guix.texi:7428
  12515. 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}."
  12516. msgstr ""
  12517. #. type: defvr
  12518. #: guix-git/doc/guix.texi:7433
  12519. 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."
  12520. msgstr ""
  12521. #. type: defvr
  12522. #: guix-git/doc/guix.texi:7439
  12523. 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''."
  12524. msgstr ""
  12525. #. type: defvr
  12526. #: guix-git/doc/guix.texi:7447
  12527. 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."
  12528. msgstr ""
  12529. #. type: defvr
  12530. #: guix-git/doc/guix.texi:7451
  12531. 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."
  12532. msgstr ""
  12533. #. type: defvr
  12534. #: guix-git/doc/guix.texi:7454
  12535. #, no-wrap
  12536. msgid "{Scheme Variable} android-ndk-build-system"
  12537. msgstr ""
  12538. #. type: cindex
  12539. #: guix-git/doc/guix.texi:7455
  12540. #, no-wrap
  12541. msgid "Android distribution"
  12542. msgstr ""
  12543. #. type: cindex
  12544. #: guix-git/doc/guix.texi:7456
  12545. #, no-wrap
  12546. msgid "Android NDK build system"
  12547. msgstr ""
  12548. #. type: defvr
  12549. #: guix-git/doc/guix.texi:7460
  12550. 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."
  12551. msgstr ""
  12552. #. type: defvr
  12553. #: guix-git/doc/guix.texi:7464
  12554. 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."
  12555. msgstr ""
  12556. #. type: defvr
  12557. #: guix-git/doc/guix.texi:7467
  12558. msgid "It's also assumed that the union of all the dependencies of a package has no conflicting files."
  12559. msgstr ""
  12560. #. type: defvr
  12561. #: guix-git/doc/guix.texi:7470
  12562. msgid "For the time being, cross-compilation is not supported - so right now the libraries and header files are assumed to be host tools."
  12563. msgstr ""
  12564. #. type: defvr
  12565. #: guix-git/doc/guix.texi:7473
  12566. #, no-wrap
  12567. msgid "{Scheme Variable} asdf-build-system/source"
  12568. msgstr ""
  12569. #. type: defvrx
  12570. #: guix-git/doc/guix.texi:7474
  12571. #, no-wrap
  12572. msgid "{Scheme Variable} asdf-build-system/sbcl"
  12573. msgstr ""
  12574. #. type: defvrx
  12575. #: guix-git/doc/guix.texi:7475
  12576. #, no-wrap
  12577. msgid "{Scheme Variable} asdf-build-system/ecl"
  12578. msgstr ""
  12579. #. type: defvr
  12580. #: guix-git/doc/guix.texi:7481
  12581. 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."
  12582. msgstr ""
  12583. #. type: defvr
  12584. #: guix-git/doc/guix.texi:7488
  12585. 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."
  12586. msgstr ""
  12587. #. type: defvr
  12588. #: guix-git/doc/guix.texi:7492
  12589. 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}."
  12590. msgstr ""
  12591. #. type: defvr
  12592. #: guix-git/doc/guix.texi:7496
  12593. 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."
  12594. msgstr ""
  12595. #. type: defvr
  12596. #: guix-git/doc/guix.texi:7504
  12597. 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."
  12598. msgstr ""
  12599. #. type: defvr
  12600. #: guix-git/doc/guix.texi:7513
  12601. 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."
  12602. msgstr ""
  12603. #. type: defvr
  12604. #: guix-git/doc/guix.texi:7518
  12605. 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."
  12606. msgstr ""
  12607. #. type: defvr
  12608. #: guix-git/doc/guix.texi:7521
  12609. #, no-wrap
  12610. msgid "{Scheme Variable} cargo-build-system"
  12611. msgstr ""
  12612. #. type: cindex
  12613. #: guix-git/doc/guix.texi:7522
  12614. #, no-wrap
  12615. msgid "Rust programming language"
  12616. msgstr ""
  12617. #. type: cindex
  12618. #: guix-git/doc/guix.texi:7523
  12619. #, no-wrap
  12620. msgid "Cargo (Rust build system)"
  12621. msgstr ""
  12622. #. type: defvr
  12623. #: guix-git/doc/guix.texi:7527
  12624. 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}."
  12625. msgstr ""
  12626. #. type: defvr
  12627. #: guix-git/doc/guix.texi:7530
  12628. 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."
  12629. msgstr ""
  12630. #. type: defvr
  12631. #: guix-git/doc/guix.texi:7540
  12632. 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."
  12633. msgstr ""
  12634. #. type: defvr
  12635. #: guix-git/doc/guix.texi:7550
  12636. 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."
  12637. msgstr ""
  12638. #. type: defvr
  12639. #: guix-git/doc/guix.texi:7552
  12640. #, no-wrap
  12641. msgid "{Scheme Variable} chicken-build-system"
  12642. msgstr ""
  12643. #. type: defvr
  12644. #: guix-git/doc/guix.texi:7557
  12645. 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."
  12646. msgstr ""
  12647. #. type: defvr
  12648. #: guix-git/doc/guix.texi:7560
  12649. msgid "This build system adds @code{chicken} to the package inputs, as well as the packages of @code{gnu-build-system}."
  12650. msgstr ""
  12651. #. type: defvr
  12652. #: guix-git/doc/guix.texi:7564
  12653. 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."
  12654. msgstr ""
  12655. #. type: defvr
  12656. #: guix-git/doc/guix.texi:7566
  12657. msgid "For example, if you are packaging the @code{srfi-1} egg:"
  12658. msgstr ""
  12659. #. type: lisp
  12660. #: guix-git/doc/guix.texi:7569
  12661. #, no-wrap
  12662. msgid "(arguments '(#:egg-name \"srfi-1\"))\n"
  12663. msgstr ""
  12664. #. type: defvr
  12665. #: guix-git/doc/guix.texi:7574
  12666. 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."
  12667. msgstr ""
  12668. #. type: defvr
  12669. #: guix-git/doc/guix.texi:7576
  12670. #, no-wrap
  12671. msgid "{Scheme Variable} copy-build-system"
  12672. msgstr ""
  12673. #. type: defvr
  12674. #: guix-git/doc/guix.texi:7580
  12675. 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."
  12676. msgstr ""
  12677. #. type: defvr
  12678. #: guix-git/doc/guix.texi:7585
  12679. 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}."
  12680. msgstr ""
  12681. #. type: defvr
  12682. #: guix-git/doc/guix.texi:7590
  12683. 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."
  12684. msgstr ""
  12685. #. type: item
  12686. #: guix-git/doc/guix.texi:7592
  12687. #, no-wrap
  12688. msgid "When @var{source} matches a file or directory without trailing slash, install it to @var{target}."
  12689. msgstr ""
  12690. #. type: item
  12691. #: guix-git/doc/guix.texi:7594
  12692. #, no-wrap
  12693. msgid "If @var{target} has a trailing slash, install @var{source} basename beneath @var{target}."
  12694. msgstr ""
  12695. #. type: item
  12696. #: guix-git/doc/guix.texi:7595
  12697. #, no-wrap
  12698. msgid "Otherwise install @var{source} as @var{target}."
  12699. msgstr ""
  12700. #. type: item
  12701. #: guix-git/doc/guix.texi:7598
  12702. #, no-wrap
  12703. msgid "When @var{source} is a directory with a trailing slash, or when @var{filters} are used,"
  12704. msgstr ""
  12705. #. type: itemize
  12706. #: guix-git/doc/guix.texi:7601
  12707. msgid "the trailing slash of @var{target} is implied with the same meaning as above."
  12708. msgstr ""
  12709. #. type: item
  12710. #: guix-git/doc/guix.texi:7602
  12711. #, no-wrap
  12712. msgid "Without @var{filters}, install the full @var{source} @emph{content} to @var{target}."
  12713. msgstr ""
  12714. #. type: item
  12715. #: guix-git/doc/guix.texi:7603
  12716. #, no-wrap
  12717. msgid "With @var{filters} among @code{#:include}, @code{#:include-regexp}, @code{#:exclude},"
  12718. msgstr ""
  12719. #. type: itemize
  12720. #: guix-git/doc/guix.texi:7606
  12721. msgid "@code{#:exclude-regexp}, only select files are installed depending on the filters. Each filters is specified by a list of strings."
  12722. msgstr ""
  12723. #. type: item
  12724. #: guix-git/doc/guix.texi:7607
  12725. #, no-wrap
  12726. msgid "With @code{#:include}, install all the files which the path suffix matches"
  12727. msgstr ""
  12728. #. type: itemize
  12729. #: guix-git/doc/guix.texi:7609
  12730. msgid "at least one of the elements in the given list."
  12731. msgstr ""
  12732. #. type: item
  12733. #: guix-git/doc/guix.texi:7609
  12734. #, no-wrap
  12735. msgid "With @code{#:include-regexp}, install all the files which the"
  12736. msgstr ""
  12737. #. type: itemize
  12738. #: guix-git/doc/guix.texi:7612
  12739. msgid "subpaths match at least one of the regular expressions in the given list."
  12740. msgstr ""
  12741. #. type: item
  12742. #: guix-git/doc/guix.texi:7612
  12743. #, no-wrap
  12744. msgid "The @code{#:exclude} and @code{#:exclude-regexp} filters"
  12745. msgstr ""
  12746. #. type: itemize
  12747. #: guix-git/doc/guix.texi:7617
  12748. 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."
  12749. msgstr ""
  12750. #. type: itemize
  12751. #: guix-git/doc/guix.texi:7621
  12752. msgid "In all cases, the paths relative to @var{source} are preserved within @var{target}."
  12753. msgstr ""
  12754. #. type: defvr
  12755. #: guix-git/doc/guix.texi:7624
  12756. msgid "Examples:"
  12757. msgstr ""
  12758. #. type: item
  12759. #: guix-git/doc/guix.texi:7626
  12760. #, no-wrap
  12761. msgid "@code{(\"foo/bar\" \"share/my-app/\")}: Install @file{bar} to @file{share/my-app/bar}."
  12762. msgstr ""
  12763. #. type: item
  12764. #: guix-git/doc/guix.texi:7627
  12765. #, no-wrap
  12766. msgid "@code{(\"foo/bar\" \"share/my-app/baz\")}: Install @file{bar} to @file{share/my-app/baz}."
  12767. msgstr ""
  12768. #. type: item
  12769. #: guix-git/doc/guix.texi:7628
  12770. #, no-wrap
  12771. msgid "@code{(\"foo/\" \"share/my-app\")}: Install the content of @file{foo} inside @file{share/my-app},"
  12772. msgstr ""
  12773. #. type: itemize
  12774. #: guix-git/doc/guix.texi:7630
  12775. msgid "e.g., install @file{foo/sub/file} to @file{share/my-app/sub/file}."
  12776. msgstr ""
  12777. #. type: item
  12778. #: guix-git/doc/guix.texi:7630
  12779. #, no-wrap
  12780. msgid "@code{(\"foo/\" \"share/my-app\" #:include (\"sub/file\"))}: Install only @file{foo/sub/file} to"
  12781. msgstr ""
  12782. #. type: itemize
  12783. #: guix-git/doc/guix.texi:7632
  12784. msgid "@file{share/my-app/sub/file}."
  12785. msgstr ""
  12786. #. type: item
  12787. #: guix-git/doc/guix.texi:7632
  12788. #, no-wrap
  12789. msgid "@code{(\"foo/sub\" \"share/my-app\" #:include (\"file\"))}: Install @file{foo/sub/file} to"
  12790. msgstr ""
  12791. #. type: itemize
  12792. #: guix-git/doc/guix.texi:7634
  12793. msgid "@file{share/my-app/file}."
  12794. msgstr ""
  12795. #. type: cindex
  12796. #: guix-git/doc/guix.texi:7638
  12797. #, no-wrap
  12798. msgid "Clojure (programming language)"
  12799. msgstr ""
  12800. #. type: cindex
  12801. #: guix-git/doc/guix.texi:7639
  12802. #, no-wrap
  12803. msgid "simple Clojure build system"
  12804. msgstr ""
  12805. #. type: defvr
  12806. #: guix-git/doc/guix.texi:7640
  12807. #, no-wrap
  12808. msgid "{Scheme Variable} clojure-build-system"
  12809. msgstr ""
  12810. #. type: defvr
  12811. #: guix-git/doc/guix.texi:7645
  12812. 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."
  12813. msgstr ""
  12814. #. type: defvr
  12815. #: guix-git/doc/guix.texi:7649
  12816. 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."
  12817. msgstr ""
  12818. #. type: defvr
  12819. #: guix-git/doc/guix.texi:7655
  12820. 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."
  12821. msgstr ""
  12822. #. type: defvr
  12823. #: guix-git/doc/guix.texi:7658
  12824. msgid "This build system is an extension of @code{ant-build-system}, but with the following phases changed:"
  12825. msgstr ""
  12826. #. type: item
  12827. #: guix-git/doc/guix.texi:7661 guix-git/doc/guix.texi:8227
  12828. #: guix-git/doc/guix.texi:8274 guix-git/doc/guix.texi:8343
  12829. #: guix-git/doc/guix.texi:33640
  12830. #, no-wrap
  12831. msgid "build"
  12832. msgstr "build"
  12833. #. type: table
  12834. #: guix-git/doc/guix.texi:7670
  12835. 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."
  12836. msgstr ""
  12837. #. type: item
  12838. #: guix-git/doc/guix.texi:7671 guix-git/doc/guix.texi:8231
  12839. #: guix-git/doc/guix.texi:8348
  12840. #, no-wrap
  12841. msgid "check"
  12842. msgstr "marcar"
  12843. #. type: table
  12844. #: guix-git/doc/guix.texi:7678
  12845. 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."
  12846. msgstr ""
  12847. #. type: item
  12848. #: guix-git/doc/guix.texi:7679 guix-git/doc/guix.texi:8235
  12849. #: guix-git/doc/guix.texi:8278 guix-git/doc/guix.texi:8354
  12850. #, no-wrap
  12851. msgid "install"
  12852. msgstr "instalar"
  12853. #. type: table
  12854. #: guix-git/doc/guix.texi:7681
  12855. msgid "This phase installs all jars built previously."
  12856. msgstr ""
  12857. #. type: defvr
  12858. #: guix-git/doc/guix.texi:7684
  12859. msgid "Apart from the above, this build system also contains an additional phase:"
  12860. msgstr ""
  12861. #. type: item
  12862. #: guix-git/doc/guix.texi:7687
  12863. #, no-wrap
  12864. msgid "install-doc"
  12865. msgstr ""
  12866. #. type: table
  12867. #: guix-git/doc/guix.texi:7692
  12868. 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."
  12869. msgstr ""
  12870. #. type: defvr
  12871. #: guix-git/doc/guix.texi:7695
  12872. #, no-wrap
  12873. msgid "{Scheme Variable} cmake-build-system"
  12874. msgstr ""
  12875. #. type: defvr
  12876. #: guix-git/doc/guix.texi:7699
  12877. 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}."
  12878. msgstr ""
  12879. #. type: defvr
  12880. #: guix-git/doc/guix.texi:7703
  12881. 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."
  12882. msgstr ""
  12883. #. type: defvr
  12884. #: guix-git/doc/guix.texi:7710
  12885. 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."
  12886. msgstr ""
  12887. #. type: defvr
  12888. #: guix-git/doc/guix.texi:7712
  12889. #, no-wrap
  12890. msgid "{Scheme Variable} dune-build-system"
  12891. msgstr ""
  12892. #. type: defvr
  12893. #: guix-git/doc/guix.texi:7719
  12894. 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."
  12895. msgstr ""
  12896. #. type: defvr
  12897. #: guix-git/doc/guix.texi:7723
  12898. 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."
  12899. msgstr ""
  12900. #. type: defvr
  12901. #: guix-git/doc/guix.texi:7727
  12902. 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."
  12903. msgstr ""
  12904. #. type: defvr
  12905. #: guix-git/doc/guix.texi:7731
  12906. 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}."
  12907. msgstr ""
  12908. #. type: defvr
  12909. #: guix-git/doc/guix.texi:7736
  12910. 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}."
  12911. msgstr ""
  12912. #. type: defvr
  12913. #: guix-git/doc/guix.texi:7741
  12914. msgid "The @code{#:profile} parameter can be passed to specify the @uref{https://dune.readthedocs.io/en/stable/dune-files.html#profile, dune build profile}. This is equivalent to passing the @code{--profile} argument to @code{dune}. Its default value is @code{\"release\"}."
  12915. msgstr ""
  12916. #. type: defvr
  12917. #: guix-git/doc/guix.texi:7744
  12918. #, no-wrap
  12919. msgid "{Scheme Variable} go-build-system"
  12920. msgstr ""
  12921. #. type: defvr
  12922. #: guix-git/doc/guix.texi:7749
  12923. 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}."
  12924. msgstr ""
  12925. #. type: defvr
  12926. #: guix-git/doc/guix.texi:7760
  12927. 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."
  12928. msgstr ""
  12929. #. type: defvr
  12930. #: guix-git/doc/guix.texi:7765
  12931. 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."
  12932. msgstr ""
  12933. #. type: defvr
  12934. #: guix-git/doc/guix.texi:7767
  12935. #, no-wrap
  12936. msgid "{Scheme Variable} glib-or-gtk-build-system"
  12937. msgstr ""
  12938. #. type: defvr
  12939. #: guix-git/doc/guix.texi:7770
  12940. 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+."
  12941. msgstr ""
  12942. #. type: defvr
  12943. #: guix-git/doc/guix.texi:7773
  12944. msgid "This build system adds the following two phases to the ones defined by @code{gnu-build-system}:"
  12945. msgstr ""
  12946. #. type: item
  12947. #: guix-git/doc/guix.texi:7775 guix-git/doc/guix.texi:8251
  12948. #, no-wrap
  12949. msgid "glib-or-gtk-wrap"
  12950. msgstr ""
  12951. #. type: table
  12952. #: guix-git/doc/guix.texi:7782
  12953. 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."
  12954. msgstr ""
  12955. #. type: table
  12956. #: guix-git/doc/guix.texi:7789
  12957. 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+."
  12958. msgstr ""
  12959. #. type: item
  12960. #: guix-git/doc/guix.texi:7790 guix-git/doc/guix.texi:8255
  12961. #, no-wrap
  12962. msgid "glib-or-gtk-compile-schemas"
  12963. msgstr ""
  12964. #. type: table
  12965. #: guix-git/doc/guix.texi:7798
  12966. 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."
  12967. msgstr ""
  12968. #. type: defvr
  12969. #: guix-git/doc/guix.texi:7801
  12970. msgid "Both phases are executed after the @code{install} phase."
  12971. msgstr ""
  12972. #. type: defvr
  12973. #: guix-git/doc/guix.texi:7803
  12974. #, no-wrap
  12975. msgid "{Scheme Variable} guile-build-system"
  12976. msgstr ""
  12977. #. type: defvr
  12978. #: guix-git/doc/guix.texi:7810
  12979. 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."
  12980. msgstr ""
  12981. #. type: defvr
  12982. #: guix-git/doc/guix.texi:7813
  12983. msgid "This build system supports cross-compilation by using the @option{--target} option of @samp{guild compile}."
  12984. msgstr ""
  12985. #. type: defvr
  12986. #: guix-git/doc/guix.texi:7816
  12987. msgid "Packages built with @code{guile-build-system} must provide a Guile package in their @code{native-inputs} field."
  12988. msgstr ""
  12989. #. type: defvr
  12990. #: guix-git/doc/guix.texi:7818
  12991. #, no-wrap
  12992. msgid "{Scheme Variable} julia-build-system"
  12993. msgstr ""
  12994. #. type: defvr
  12995. #: guix-git/doc/guix.texi:7825
  12996. 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}."
  12997. msgstr ""
  12998. #. type: defvr
  12999. #: guix-git/doc/guix.texi:7829
  13000. msgid "The Julia package name is read from the file @file{Project.toml}. This value can be overridden by passing the argument @code{#:julia-package-name} (which must be correctly capitalized)."
  13001. msgstr ""
  13002. #. type: defvr
  13003. #: guix-git/doc/guix.texi:7833
  13004. 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}."
  13005. msgstr ""
  13006. #. type: defvr
  13007. #: guix-git/doc/guix.texi:7838
  13008. 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."
  13009. msgstr ""
  13010. #. type: defvr
  13011. #: guix-git/doc/guix.texi:7842
  13012. 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:"
  13013. msgstr ""
  13014. #. type: lisp
  13015. #: guix-git/doc/guix.texi:7854
  13016. #, no-wrap
  13017. msgid ""
  13018. "(add-after 'unpack 'override-binary-path\n"
  13019. " (lambda* (#:key inputs #:allow-other-keys)\n"
  13020. " (for-each (lambda (wrapper)\n"
  13021. " (substitute* wrapper\n"
  13022. " ((\"generate_wrapper_header.*\")\n"
  13023. " (string-append\n"
  13024. " \"generate_wrapper_header(\\\"MbedTLS\\\", \\\"\"\n"
  13025. " (assoc-ref inputs \"mbedtls-apache\") \"\\\")\\n\"))))\n"
  13026. " ;; There's a Julia file for each platform, override them all.\n"
  13027. " (find-files \"src/wrappers/\" \"\\\\.jl$\"))))\n"
  13028. msgstr ""
  13029. #. type: defvr
  13030. #: guix-git/doc/guix.texi:7862
  13031. msgid "Some older packages that aren't using @file{Package.toml} yet, will require this file to be created, too. The function @code{julia-create-package-toml} helps creating the file. You need to pass the outputs and the source of the package, its name (the same as the @code{file-name} parameter), the package uuid, the package version, and a list of dependencies specified by their name and their uuid."
  13032. msgstr ""
  13033. #. type: defvr
  13034. #: guix-git/doc/guix.texi:7864
  13035. #, no-wrap
  13036. msgid "{Scheme Variable} maven-build-system"
  13037. msgstr ""
  13038. #. type: defvr
  13039. #: guix-git/doc/guix.texi:7871
  13040. 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."
  13041. msgstr ""
  13042. #. type: defvr
  13043. #: guix-git/doc/guix.texi:7881
  13044. 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."
  13045. msgstr ""
  13046. #. type: defvr
  13047. #: guix-git/doc/guix.texi:7884
  13048. 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."
  13049. msgstr ""
  13050. #. type: defvr
  13051. #: guix-git/doc/guix.texi:7890
  13052. 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}."
  13053. msgstr ""
  13054. #. type: defvr
  13055. #: guix-git/doc/guix.texi:7896
  13056. 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."
  13057. msgstr ""
  13058. #. type: defvr
  13059. #: guix-git/doc/guix.texi:7899
  13060. msgid "You can override the default @code{jdk} and @code{maven} packages with the corresponding argument, @code{#:jdk} and @code{#:maven}."
  13061. msgstr ""
  13062. #. type: defvr
  13063. #: guix-git/doc/guix.texi:7904
  13064. 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."
  13065. msgstr ""
  13066. #. type: defvr
  13067. #: guix-git/doc/guix.texi:7906
  13068. #, fuzzy, no-wrap
  13069. msgid "{Scheme Variable} minetest-mod-build-system"
  13070. msgstr "guix-publish-service-type"
  13071. #. type: defvr
  13072. #: guix-git/doc/guix.texi:7912
  13073. 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."
  13074. msgstr ""
  13075. #. type: defvr
  13076. #: guix-git/doc/guix.texi:7914
  13077. #, no-wrap
  13078. msgid "{Scheme Variable} minify-build-system"
  13079. msgstr ""
  13080. #. type: defvr
  13081. #: guix-git/doc/guix.texi:7917
  13082. msgid "This variable is exported by @code{(guix build-system minify)}. It implements a minification procedure for simple JavaScript packages."
  13083. msgstr ""
  13084. #. type: defvr
  13085. #: guix-git/doc/guix.texi:7923
  13086. 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."
  13087. msgstr ""
  13088. #. type: defvr
  13089. #: guix-git/doc/guix.texi:7927
  13090. 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."
  13091. msgstr ""
  13092. #. type: defvr
  13093. #: guix-git/doc/guix.texi:7929
  13094. #, no-wrap
  13095. msgid "{Scheme Variable} ocaml-build-system"
  13096. msgstr ""
  13097. #. type: defvr
  13098. #: guix-git/doc/guix.texi:7935
  13099. 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."
  13100. msgstr ""
  13101. #. type: defvr
  13102. #: guix-git/doc/guix.texi:7945
  13103. 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."
  13104. msgstr ""
  13105. #. type: defvr
  13106. #: guix-git/doc/guix.texi:7950
  13107. 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."
  13108. msgstr ""
  13109. #. type: defvr
  13110. #: guix-git/doc/guix.texi:7954
  13111. 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."
  13112. msgstr ""
  13113. #. type: defvr
  13114. #: guix-git/doc/guix.texi:7962
  13115. 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."
  13116. msgstr ""
  13117. #. type: defvr
  13118. #: guix-git/doc/guix.texi:7970
  13119. 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."
  13120. msgstr ""
  13121. #. type: defvr
  13122. #: guix-git/doc/guix.texi:7972
  13123. #, no-wrap
  13124. msgid "{Scheme Variable} python-build-system"
  13125. msgstr ""
  13126. #. type: defvr
  13127. #: guix-git/doc/guix.texi:7977
  13128. 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{}}."
  13129. msgstr ""
  13130. #. type: defvr
  13131. #: guix-git/doc/guix.texi:7981
  13132. msgid "For packages that install stand-alone Python programs under @code{bin/}, it takes care of wrapping these programs so that their @env{PYTHONPATH} environment variable points to all the Python libraries they depend on."
  13133. msgstr ""
  13134. #. type: defvr
  13135. #: guix-git/doc/guix.texi:7987
  13136. 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."
  13137. msgstr ""
  13138. #. type: defvr
  13139. #: guix-git/doc/guix.texi:7992
  13140. 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}."
  13141. msgstr ""
  13142. #. type: defvr
  13143. #: guix-git/doc/guix.texi:7994
  13144. #, no-wrap
  13145. msgid "{Scheme Variable} perl-build-system"
  13146. msgstr ""
  13147. #. type: defvr
  13148. #: guix-git/doc/guix.texi:8006
  13149. 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."
  13150. msgstr ""
  13151. #. type: defvr
  13152. #: guix-git/doc/guix.texi:8010
  13153. 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."
  13154. msgstr ""
  13155. #. type: defvr
  13156. #: guix-git/doc/guix.texi:8012
  13157. msgid "Which Perl package is used can be specified with @code{#:perl}."
  13158. msgstr ""
  13159. #. type: defvr
  13160. #: guix-git/doc/guix.texi:8014
  13161. #, no-wrap
  13162. msgid "{Scheme Variable} renpy-build-system"
  13163. msgstr ""
  13164. #. type: defvr
  13165. #: guix-git/doc/guix.texi:8018
  13166. 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."
  13167. msgstr ""
  13168. #. type: defvr
  13169. #: guix-git/doc/guix.texi:8021
  13170. 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."
  13171. msgstr ""
  13172. #. type: defvr
  13173. #: guix-git/doc/guix.texi:8025
  13174. 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}."
  13175. msgstr ""
  13176. #. type: defvr
  13177. #: guix-git/doc/guix.texi:8027
  13178. #, no-wrap
  13179. msgid "{Scheme Variable} qt-build-system"
  13180. msgstr ""
  13181. #. type: defvr
  13182. #: guix-git/doc/guix.texi:8030
  13183. msgid "This variable is exported by @code{(guix build-system qt)}. It is intended for use with applications using Qt or KDE."
  13184. msgstr ""
  13185. #. type: defvr
  13186. #: guix-git/doc/guix.texi:8033
  13187. msgid "This build system adds the following two phases to the ones defined by @code{cmake-build-system}:"
  13188. msgstr ""
  13189. #. type: item
  13190. #: guix-git/doc/guix.texi:8035
  13191. #, no-wrap
  13192. msgid "check-setup"
  13193. msgstr ""
  13194. #. type: table
  13195. #: guix-git/doc/guix.texi:8042
  13196. 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}."
  13197. msgstr ""
  13198. #. type: table
  13199. #: guix-git/doc/guix.texi:8045
  13200. msgid "This phase is added before the @code{check} phase. It's a separate phase to ease adjusting if necessary."
  13201. msgstr ""
  13202. #. type: item
  13203. #: guix-git/doc/guix.texi:8046
  13204. #, no-wrap
  13205. msgid "qt-wrap"
  13206. msgstr ""
  13207. #. type: table
  13208. #: guix-git/doc/guix.texi:8052
  13209. 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."
  13210. msgstr ""
  13211. #. type: table
  13212. #: guix-git/doc/guix.texi:8058
  13213. 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."
  13214. msgstr ""
  13215. #. type: table
  13216. #: guix-git/doc/guix.texi:8060
  13217. msgid "This phase is added after the @code{install} phase."
  13218. msgstr ""
  13219. #. type: defvr
  13220. #: guix-git/doc/guix.texi:8063
  13221. #, no-wrap
  13222. msgid "{Scheme Variable} r-build-system"
  13223. msgstr ""
  13224. #. type: defvr
  13225. #: guix-git/doc/guix.texi:8071
  13226. 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}."
  13227. msgstr ""
  13228. #. type: defvr
  13229. #: guix-git/doc/guix.texi:8073
  13230. #, no-wrap
  13231. msgid "{Scheme Variable} rakudo-build-system"
  13232. msgstr ""
  13233. #. type: defvr
  13234. #: guix-git/doc/guix.texi:8081
  13235. 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."
  13236. msgstr ""
  13237. #. type: defvr
  13238. #: guix-git/doc/guix.texi:8089
  13239. 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."
  13240. msgstr ""
  13241. #. type: defvr
  13242. #: guix-git/doc/guix.texi:8091
  13243. #, no-wrap
  13244. msgid "{Scheme Variable} texlive-build-system"
  13245. msgstr ""
  13246. #. type: defvr
  13247. #: guix-git/doc/guix.texi:8096
  13248. 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."
  13249. msgstr ""
  13250. #. type: defvr
  13251. #: guix-git/doc/guix.texi:8105
  13252. 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."
  13253. msgstr ""
  13254. #. type: defvr
  13255. #: guix-git/doc/guix.texi:8108
  13256. msgid "The @code{#:tex-directory} parameter tells the build system where to install the built files under the texmf tree."
  13257. msgstr ""
  13258. #. type: defvr
  13259. #: guix-git/doc/guix.texi:8110
  13260. #, no-wrap
  13261. msgid "{Scheme Variable} ruby-build-system"
  13262. msgstr ""
  13263. #. type: defvr
  13264. #: guix-git/doc/guix.texi:8114
  13265. 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}."
  13266. msgstr ""
  13267. #. type: defvr
  13268. #: guix-git/doc/guix.texi:8122
  13269. 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."
  13270. msgstr ""
  13271. #. type: defvr
  13272. #: guix-git/doc/guix.texi:8126
  13273. 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."
  13274. msgstr ""
  13275. #. type: defvr
  13276. #: guix-git/doc/guix.texi:8128
  13277. #, no-wrap
  13278. msgid "{Scheme Variable} waf-build-system"
  13279. msgstr ""
  13280. #. type: defvr
  13281. #: guix-git/doc/guix.texi:8134
  13282. 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."
  13283. msgstr ""
  13284. #. type: defvr
  13285. #: guix-git/doc/guix.texi:8138
  13286. 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."
  13287. msgstr ""
  13288. #. type: defvr
  13289. #: guix-git/doc/guix.texi:8140
  13290. #, no-wrap
  13291. msgid "{Scheme Variable} scons-build-system"
  13292. msgstr ""
  13293. #. type: defvr
  13294. #: guix-git/doc/guix.texi:8146
  13295. 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."
  13296. msgstr ""
  13297. #. type: defvr
  13298. #: guix-git/doc/guix.texi:8153
  13299. 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."
  13300. msgstr ""
  13301. #. type: defvr
  13302. #: guix-git/doc/guix.texi:8155
  13303. #, no-wrap
  13304. msgid "{Scheme Variable} haskell-build-system"
  13305. msgstr ""
  13306. #. type: defvr
  13307. #: guix-git/doc/guix.texi:8169
  13308. 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."
  13309. msgstr ""
  13310. #. type: defvr
  13311. #: guix-git/doc/guix.texi:8172
  13312. msgid "Which Haskell compiler is used can be specified with the @code{#:haskell} parameter which defaults to @code{ghc}."
  13313. msgstr ""
  13314. #. type: defvr
  13315. #: guix-git/doc/guix.texi:8174
  13316. #, no-wrap
  13317. msgid "{Scheme Variable} dub-build-system"
  13318. msgstr ""
  13319. #. type: defvr
  13320. #: guix-git/doc/guix.texi:8179
  13321. 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."
  13322. msgstr ""
  13323. #. type: defvr
  13324. #: guix-git/doc/guix.texi:8182
  13325. msgid "Which D compiler is used can be specified with the @code{#:ldc} parameter which defaults to @code{ldc}."
  13326. msgstr ""
  13327. #. type: anchor{#1}
  13328. #: guix-git/doc/guix.texi:8185
  13329. msgid "emacs-build-system"
  13330. msgstr ""
  13331. #. type: defvr
  13332. #: guix-git/doc/guix.texi:8185
  13333. #, no-wrap
  13334. msgid "{Scheme Variable} emacs-build-system"
  13335. msgstr ""
  13336. #. type: defvr
  13337. #: guix-git/doc/guix.texi:8189
  13338. 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})."
  13339. msgstr ""
  13340. #. type: defvr
  13341. #: guix-git/doc/guix.texi:8195
  13342. 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}."
  13343. msgstr ""
  13344. #. type: defvr
  13345. #: guix-git/doc/guix.texi:8197
  13346. #, no-wrap
  13347. msgid "{Scheme Variable} font-build-system"
  13348. msgstr ""
  13349. #. type: defvr
  13350. #: guix-git/doc/guix.texi:8203
  13351. 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."
  13352. msgstr ""
  13353. #. type: defvr
  13354. #: guix-git/doc/guix.texi:8205
  13355. #, no-wrap
  13356. msgid "{Scheme Variable} meson-build-system"
  13357. msgstr ""
  13358. #. type: defvr
  13359. #: guix-git/doc/guix.texi:8209
  13360. 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."
  13361. msgstr ""
  13362. #. type: defvr
  13363. #: guix-git/doc/guix.texi:8215
  13364. 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. The default Meson is @code{meson-for-build}, which is special because it doesn't clear the @code{RUNPATH} of binaries and libraries when they are installed."
  13365. msgstr ""
  13366. #. type: defvr
  13367. #: guix-git/doc/guix.texi:8218
  13368. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed to some specific for Meson:"
  13369. msgstr ""
  13370. #. type: item
  13371. #: guix-git/doc/guix.texi:8221 guix-git/doc/guix.texi:8270
  13372. #: guix-git/doc/guix.texi:8338
  13373. #, no-wrap
  13374. msgid "configure"
  13375. msgstr ""
  13376. #. type: table
  13377. #: guix-git/doc/guix.texi:8226
  13378. 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}."
  13379. msgstr ""
  13380. #. type: table
  13381. #: guix-git/doc/guix.texi:8230
  13382. msgid "The phase runs @code{ninja} to build the package in parallel by default, but this can be changed with @code{#:parallel-build?}."
  13383. msgstr ""
  13384. #. type: table
  13385. #: guix-git/doc/guix.texi:8234
  13386. msgid "The phase runs @code{ninja} with the target specified in @code{#:test-target}, which is @code{\"test\"} by default."
  13387. msgstr ""
  13388. #. type: table
  13389. #: guix-git/doc/guix.texi:8237
  13390. msgid "The phase runs @code{ninja install} and can not be changed."
  13391. msgstr ""
  13392. #. type: defvr
  13393. #: guix-git/doc/guix.texi:8240
  13394. msgid "Apart from that, the build system also adds the following phases:"
  13395. msgstr ""
  13396. #. type: item
  13397. #: guix-git/doc/guix.texi:8243
  13398. #, no-wrap
  13399. msgid "fix-runpath"
  13400. msgstr ""
  13401. #. type: table
  13402. #: guix-git/doc/guix.texi:8250
  13403. 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-for-build}, such as test dependencies, that aren't actually required for the program to run."
  13404. msgstr ""
  13405. #. type: table
  13406. #: guix-git/doc/guix.texi:8254 guix-git/doc/guix.texi:8258
  13407. 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?}."
  13408. msgstr ""
  13409. #. type: defvr
  13410. #: guix-git/doc/guix.texi:8261
  13411. #, no-wrap
  13412. msgid "{Scheme Variable} linux-module-build-system"
  13413. msgstr ""
  13414. #. type: defvr
  13415. #: guix-git/doc/guix.texi:8263
  13416. msgid "@code{linux-module-build-system} allows building Linux kernel modules."
  13417. msgstr ""
  13418. #. type: defvr
  13419. #: guix-git/doc/guix.texi:8267
  13420. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed:"
  13421. msgstr ""
  13422. #. type: table
  13423. #: guix-git/doc/guix.texi:8273
  13424. msgid "This phase configures the environment so that the Linux kernel's Makefile can be used to build the external kernel module."
  13425. msgstr ""
  13426. #. type: table
  13427. #: guix-git/doc/guix.texi:8277
  13428. msgid "This phase uses the Linux kernel's Makefile in order to build the external kernel module."
  13429. msgstr ""
  13430. #. type: table
  13431. #: guix-git/doc/guix.texi:8281
  13432. msgid "This phase uses the Linux kernel's Makefile in order to install the external kernel module."
  13433. msgstr ""
  13434. #. type: defvr
  13435. #: guix-git/doc/guix.texi:8286
  13436. 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)."
  13437. msgstr ""
  13438. #. type: defvr
  13439. #: guix-git/doc/guix.texi:8288
  13440. #, no-wrap
  13441. msgid "{Scheme Variable} node-build-system"
  13442. msgstr ""
  13443. #. type: defvr
  13444. #: guix-git/doc/guix.texi:8293
  13445. 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."
  13446. msgstr ""
  13447. #. type: defvr
  13448. #: guix-git/doc/guix.texi:8297
  13449. 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}."
  13450. msgstr ""
  13451. #. type: Plain text
  13452. #: guix-git/doc/guix.texi:8303
  13453. 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."
  13454. msgstr ""
  13455. #. type: defvr
  13456. #: guix-git/doc/guix.texi:8304
  13457. #, no-wrap
  13458. msgid "{Scheme Variable} trivial-build-system"
  13459. msgstr ""
  13460. #. type: defvr
  13461. #: guix-git/doc/guix.texi:8306
  13462. msgid "This variable is exported by @code{(guix build-system trivial)}."
  13463. msgstr ""
  13464. #. type: defvr
  13465. #: guix-git/doc/guix.texi:8311
  13466. 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}})."
  13467. msgstr ""
  13468. #. type: cindex
  13469. #: guix-git/doc/guix.texi:8316
  13470. #, no-wrap
  13471. msgid "build phases, for packages"
  13472. msgstr ""
  13473. #. type: Plain text
  13474. #: guix-git/doc/guix.texi:8322
  13475. 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})."
  13476. msgstr ""
  13477. #. type: Plain text
  13478. #: guix-git/doc/guix.texi:8326
  13479. 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:"
  13480. msgstr ""
  13481. #. type: item
  13482. #: guix-git/doc/guix.texi:8328
  13483. #, no-wrap
  13484. msgid "unpack"
  13485. msgstr ""
  13486. #. type: table
  13487. #: guix-git/doc/guix.texi:8332
  13488. 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."
  13489. msgstr ""
  13490. #. type: item
  13491. #: guix-git/doc/guix.texi:8333
  13492. #, no-wrap
  13493. msgid "patch-source-shebangs"
  13494. msgstr ""
  13495. #. type: table
  13496. #: guix-git/doc/guix.texi:8337
  13497. 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}."
  13498. msgstr ""
  13499. #. type: table
  13500. #: guix-git/doc/guix.texi:8342
  13501. 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."
  13502. msgstr ""
  13503. #. type: table
  13504. #: guix-git/doc/guix.texi:8347
  13505. 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}."
  13506. msgstr ""
  13507. #. type: table
  13508. #: guix-git/doc/guix.texi:8353
  13509. 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}."
  13510. msgstr ""
  13511. #. type: table
  13512. #: guix-git/doc/guix.texi:8356
  13513. msgid "Run @code{make install} with the flags listed in @code{#:make-flags}."
  13514. msgstr ""
  13515. #. type: item
  13516. #: guix-git/doc/guix.texi:8357
  13517. #, no-wrap
  13518. msgid "patch-shebangs"
  13519. msgstr ""
  13520. #. type: table
  13521. #: guix-git/doc/guix.texi:8359
  13522. msgid "Patch shebangs on the installed executable files."
  13523. msgstr ""
  13524. #. type: item
  13525. #: guix-git/doc/guix.texi:8360
  13526. #, no-wrap
  13527. msgid "strip"
  13528. msgstr ""
  13529. #. type: table
  13530. #: guix-git/doc/guix.texi:8364
  13531. 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})."
  13532. msgstr ""
  13533. #. type: Plain text
  13534. #: guix-git/doc/guix.texi:8373
  13535. 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})."
  13536. msgstr ""
  13537. #. type: Plain text
  13538. #: guix-git/doc/guix.texi:8380
  13539. 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."
  13540. msgstr ""
  13541. #. type: vindex
  13542. #: guix-git/doc/guix.texi:8381
  13543. #, no-wrap
  13544. msgid "%standard-phases"
  13545. msgstr ""
  13546. #. type: Plain text
  13547. #: guix-git/doc/guix.texi:8387
  13548. 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!}:"
  13549. msgstr ""
  13550. #. type: lisp
  13551. #: guix-git/doc/guix.texi:8390
  13552. #, no-wrap
  13553. msgid ""
  13554. ";; The build phases of 'gnu-build-system'.\n"
  13555. "\n"
  13556. msgstr ""
  13557. #. type: lisp
  13558. #: guix-git/doc/guix.texi:8394
  13559. #, no-wrap
  13560. msgid ""
  13561. "(define* (unpack #:key source #:allow-other-keys)\n"
  13562. " ;; Extract the source tarball.\n"
  13563. " (invoke \"tar\" \"xvf\" source))\n"
  13564. "\n"
  13565. msgstr ""
  13566. #. type: lisp
  13567. #: guix-git/doc/guix.texi:8400
  13568. #, no-wrap
  13569. msgid ""
  13570. "(define* (configure #:key outputs #:allow-other-keys)\n"
  13571. " ;; Run the 'configure' script. Install to output \"out\".\n"
  13572. " (let ((out (assoc-ref outputs \"out\")))\n"
  13573. " (invoke \"./configure\"\n"
  13574. " (string-append \"--prefix=\" out))))\n"
  13575. "\n"
  13576. msgstr ""
  13577. #. type: lisp
  13578. #: guix-git/doc/guix.texi:8404
  13579. #, no-wrap
  13580. msgid ""
  13581. "(define* (build #:allow-other-keys)\n"
  13582. " ;; Compile.\n"
  13583. " (invoke \"make\"))\n"
  13584. "\n"
  13585. msgstr ""
  13586. #. type: lisp
  13587. #: guix-git/doc/guix.texi:8411
  13588. #, no-wrap
  13589. msgid ""
  13590. "(define* (check #:key (test-target \"check\") (tests? #true)\n"
  13591. " #:allow-other-keys)\n"
  13592. " ;; Run the test suite.\n"
  13593. " (if tests?\n"
  13594. " (invoke \"make\" test-target)\n"
  13595. " (display \"test suite not run\\n\")))\n"
  13596. "\n"
  13597. msgstr ""
  13598. #. type: lisp
  13599. #: guix-git/doc/guix.texi:8415
  13600. #, no-wrap
  13601. msgid ""
  13602. "(define* (install #:allow-other-keys)\n"
  13603. " ;; Install files to the prefix 'configure' specified.\n"
  13604. " (invoke \"make\" \"install\"))\n"
  13605. "\n"
  13606. msgstr ""
  13607. #. type: lisp
  13608. #: guix-git/doc/guix.texi:8424
  13609. #, no-wrap
  13610. msgid ""
  13611. "(define %standard-phases\n"
  13612. " ;; The list of standard phases (quite a few are omitted\n"
  13613. " ;; for brevity). Each element is a symbol/procedure pair.\n"
  13614. " (list (cons 'unpack unpack)\n"
  13615. " (cons 'configure configure)\n"
  13616. " (cons 'build build)\n"
  13617. " (cons 'check check)\n"
  13618. " (cons 'install install)))\n"
  13619. msgstr ""
  13620. #. type: Plain text
  13621. #: guix-git/doc/guix.texi:8434
  13622. 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."
  13623. msgstr ""
  13624. #. type: Plain text
  13625. #: guix-git/doc/guix.texi:8440
  13626. 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})."
  13627. msgstr ""
  13628. #. type: Plain text
  13629. #: guix-git/doc/guix.texi:8456
  13630. 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."
  13631. msgstr ""
  13632. #. type: cindex
  13633. #: guix-git/doc/guix.texi:8457
  13634. #, no-wrap
  13635. msgid "build phases, customizing"
  13636. msgstr ""
  13637. #. type: Plain text
  13638. #: guix-git/doc/guix.texi:8466
  13639. 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}})."
  13640. msgstr ""
  13641. #. type: Plain text
  13642. #: guix-git/doc/guix.texi:8471
  13643. 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}:"
  13644. msgstr ""
  13645. #. type: lisp
  13646. #: guix-git/doc/guix.texi:8491
  13647. #, no-wrap
  13648. msgid ""
  13649. "(define-public example\n"
  13650. " (package\n"
  13651. " (name \"example\")\n"
  13652. " ;; other fields omitted\n"
  13653. " (build-system gnu-build-system)\n"
  13654. " (arguments\n"
  13655. " '(#:phases (modify-phases %standard-phases\n"
  13656. " (delete 'configure)\n"
  13657. " (add-before 'build 'set-prefix-in-makefile\n"
  13658. " (lambda* (#:key outputs #:allow-other-keys)\n"
  13659. " ;; Modify the makefile so that its\n"
  13660. " ;; 'PREFIX' variable points to \"out\".\n"
  13661. " (let ((out (assoc-ref outputs \"out\")))\n"
  13662. " (substitute* \"Makefile\"\n"
  13663. " ((\"PREFIX =.*\")\n"
  13664. " (string-append \"PREFIX = \"\n"
  13665. " out \"\\n\")))\n"
  13666. " #true))))))))\n"
  13667. msgstr ""
  13668. #. type: Plain text
  13669. #: guix-git/doc/guix.texi:8497
  13670. 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}."
  13671. msgstr ""
  13672. #. type: cindex
  13673. #: guix-git/doc/guix.texi:8498 guix-git/doc/guix.texi:9471
  13674. #, no-wrap
  13675. msgid "code staging"
  13676. msgstr ""
  13677. #. type: cindex
  13678. #: guix-git/doc/guix.texi:8499 guix-git/doc/guix.texi:9472
  13679. #, no-wrap
  13680. msgid "staging, of code"
  13681. msgstr ""
  13682. #. type: Plain text
  13683. #: guix-git/doc/guix.texi:8506
  13684. 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."
  13685. msgstr ""
  13686. #. type: Plain text
  13687. #: guix-git/doc/guix.texi:8516
  13688. 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."
  13689. msgstr ""
  13690. #. type: Plain text
  13691. #: guix-git/doc/guix.texi:8520
  13692. 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."
  13693. msgstr ""
  13694. #. type: Plain text
  13695. #: guix-git/doc/guix.texi:8525
  13696. 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}):"
  13697. msgstr ""
  13698. #. type: lisp
  13699. #: guix-git/doc/guix.texi:8532
  13700. #, no-wrap
  13701. msgid ""
  13702. "(with-imported-modules '((guix build utils)) ;import it\n"
  13703. " (computed-file \"empty-tree\"\n"
  13704. " #~(begin\n"
  13705. " ;; Put it in scope.\n"
  13706. " (use-modules (guix build utils))\n"
  13707. "\n"
  13708. msgstr ""
  13709. #. type: lisp
  13710. #: guix-git/doc/guix.texi:8535
  13711. #, no-wrap
  13712. msgid ""
  13713. " ;; Happily use its 'mkdir-p' procedure.\n"
  13714. " (mkdir-p (string-append #$output \"/a/b/c\")))))\n"
  13715. msgstr ""
  13716. #. type: Plain text
  13717. #: guix-git/doc/guix.texi:8539
  13718. msgid "The remainder of this section is the reference for most of the utility procedures provided by @code{(guix build utils)}."
  13719. msgstr ""
  13720. #. type: subsection
  13721. #: guix-git/doc/guix.texi:8542
  13722. #, no-wrap
  13723. msgid "Dealing with Store File Names"
  13724. msgstr ""
  13725. #. type: Plain text
  13726. #: guix-git/doc/guix.texi:8545
  13727. msgid "This section documents procedures that deal with store file names."
  13728. msgstr ""
  13729. #. type: deffn
  13730. #: guix-git/doc/guix.texi:8546
  13731. #, no-wrap
  13732. msgid "{Scheme Procedure} %store-directory"
  13733. msgstr ""
  13734. #. type: deffn
  13735. #: guix-git/doc/guix.texi:8548
  13736. msgid "Return the directory name of the store."
  13737. msgstr ""
  13738. #. type: deffn
  13739. #: guix-git/doc/guix.texi:8550
  13740. #, no-wrap
  13741. msgid "{Scheme Procedure} store-file-name? @var{file}"
  13742. msgstr ""
  13743. #. type: deffn
  13744. #: guix-git/doc/guix.texi:8552
  13745. msgid "Return true if @var{file} is in the store."
  13746. msgstr ""
  13747. #. type: deffn
  13748. #: guix-git/doc/guix.texi:8554
  13749. #, no-wrap
  13750. msgid "{Scheme Procedure} strip-store-file-name @var{file}"
  13751. msgstr ""
  13752. #. type: deffn
  13753. #: guix-git/doc/guix.texi:8557
  13754. 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."
  13755. msgstr ""
  13756. #. type: deffn
  13757. #: guix-git/doc/guix.texi:8559
  13758. #, no-wrap
  13759. msgid "{Scheme Procedure} package-name->name+version @var{name}"
  13760. msgstr ""
  13761. #. type: deffn
  13762. #: guix-git/doc/guix.texi:8564
  13763. 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."
  13764. msgstr ""
  13765. #. type: subsection
  13766. #: guix-git/doc/guix.texi:8566
  13767. #, no-wrap
  13768. msgid "File Types"
  13769. msgstr ""
  13770. #. type: Plain text
  13771. #: guix-git/doc/guix.texi:8569
  13772. msgid "The procedures below deal with files and file types."
  13773. msgstr ""
  13774. #. type: deffn
  13775. #: guix-git/doc/guix.texi:8570
  13776. #, no-wrap
  13777. msgid "{Scheme Procedure} directory-exists? @var{dir}"
  13778. msgstr ""
  13779. #. type: deffn
  13780. #: guix-git/doc/guix.texi:8572
  13781. msgid "Return @code{#t} if @var{dir} exists and is a directory."
  13782. msgstr ""
  13783. #. type: deffn
  13784. #: guix-git/doc/guix.texi:8574
  13785. #, no-wrap
  13786. msgid "{Scheme Procedure} executable-file? @var{file}"
  13787. msgstr ""
  13788. #. type: deffn
  13789. #: guix-git/doc/guix.texi:8576
  13790. msgid "Return @code{#t} if @var{file} exists and is executable."
  13791. msgstr ""
  13792. #. type: deffn
  13793. #: guix-git/doc/guix.texi:8578
  13794. #, no-wrap
  13795. msgid "{Scheme Procedure} symbolic-link? @var{file}"
  13796. msgstr ""
  13797. #. type: deffn
  13798. #: guix-git/doc/guix.texi:8580
  13799. msgid "Return @code{#t} if @var{file} is a symbolic link (aka. a ``symlink'')."
  13800. msgstr ""
  13801. #. type: deffn
  13802. #: guix-git/doc/guix.texi:8582
  13803. #, no-wrap
  13804. msgid "{Scheme Procedure} elf-file? @var{file}"
  13805. msgstr ""
  13806. #. type: deffnx
  13807. #: guix-git/doc/guix.texi:8583
  13808. #, no-wrap
  13809. msgid "{Scheme Procedure} ar-file? @var{file}"
  13810. msgstr ""
  13811. #. type: deffnx
  13812. #: guix-git/doc/guix.texi:8584
  13813. #, no-wrap
  13814. msgid "{Scheme Procedure} gzip-file? @var{file}"
  13815. msgstr ""
  13816. #. type: deffn
  13817. #: guix-git/doc/guix.texi:8587
  13818. 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."
  13819. msgstr ""
  13820. #. type: deffn
  13821. #: guix-git/doc/guix.texi:8589
  13822. #, no-wrap
  13823. msgid "{Scheme Procedure} reset-gzip-timestamp @var{file} [#:keep-mtime? #t]"
  13824. msgstr ""
  13825. #. type: deffn
  13826. #: guix-git/doc/guix.texi:8593
  13827. 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."
  13828. msgstr ""
  13829. #. type: subsection
  13830. #: guix-git/doc/guix.texi:8595
  13831. #, no-wrap
  13832. msgid "File Manipulation"
  13833. msgstr ""
  13834. #. type: Plain text
  13835. #: guix-git/doc/guix.texi:8602
  13836. 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})."
  13837. msgstr ""
  13838. #. type: deffn
  13839. #: guix-git/doc/guix.texi:8603
  13840. #, no-wrap
  13841. msgid "{Scheme Syntax} with-directory-excursion @var{directory} @var{body}@dots{}"
  13842. msgstr ""
  13843. #. type: deffn
  13844. #: guix-git/doc/guix.texi:8605
  13845. msgid "Run @var{body} with @var{directory} as the process's current directory."
  13846. msgstr ""
  13847. #. type: deffn
  13848. #: guix-git/doc/guix.texi:8612
  13849. 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."
  13850. msgstr ""
  13851. #. type: deffn
  13852. #: guix-git/doc/guix.texi:8614
  13853. #, no-wrap
  13854. msgid "{Scheme Procedure} mkdir-p @var{dir}"
  13855. msgstr ""
  13856. #. type: deffn
  13857. #: guix-git/doc/guix.texi:8616
  13858. msgid "Create directory @var{dir} and all its ancestors."
  13859. msgstr ""
  13860. #. type: deffn
  13861. #: guix-git/doc/guix.texi:8618
  13862. #, no-wrap
  13863. msgid "{Scheme Procedure} install-file @var{file} @var{directory}"
  13864. msgstr ""
  13865. #. type: deffn
  13866. #: guix-git/doc/guix.texi:8621
  13867. msgid "Create @var{directory} if it does not exist and copy @var{file} in there under the same name."
  13868. msgstr ""
  13869. #. type: deffn
  13870. #: guix-git/doc/guix.texi:8623
  13871. #, no-wrap
  13872. msgid "{Scheme Procedure} make-file-writable @var{file}"
  13873. msgstr ""
  13874. #. type: deffn
  13875. #: guix-git/doc/guix.texi:8625
  13876. msgid "Make @var{file} writable for its owner."
  13877. msgstr ""
  13878. #. type: deffn
  13879. #: guix-git/doc/guix.texi:8627
  13880. #, no-wrap
  13881. msgid "{Scheme Procedure} copy-recursively @var{source} @var{destination} @"
  13882. msgstr ""
  13883. #. type: deffn
  13884. #: guix-git/doc/guix.texi:8634
  13885. msgid "[#:log (current-output-port)] [#:follow-symlinks? #f] [#:keep-mtime? #f] Copy @var{source} directory to @var{destination}. Follow symlinks if @var{follow-symlinks?} is true; otherwise, just preserve them. When @var{keep-mtime?} is true, keep the modification time of the files in @var{source} on those of @var{destination}. Write verbose output to the @var{log} port."
  13886. msgstr ""
  13887. #. type: deffn
  13888. #: guix-git/doc/guix.texi:8636
  13889. #, no-wrap
  13890. msgid "{Scheme Procedure} delete-file-recursively @var{dir} @"
  13891. msgstr ""
  13892. #. type: deffn
  13893. #: guix-git/doc/guix.texi:8641
  13894. 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."
  13895. msgstr ""
  13896. #. type: deffn
  13897. #: guix-git/doc/guix.texi:8643
  13898. #, no-wrap
  13899. msgid "{Scheme Syntax} substitute* @var{file} @"
  13900. msgstr ""
  13901. #. type: deffn
  13902. #: guix-git/doc/guix.texi:8648
  13903. 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:"
  13904. msgstr ""
  13905. #. type: lisp
  13906. #: guix-git/doc/guix.texi:8655
  13907. #, no-wrap
  13908. msgid ""
  13909. "(substitute* file\n"
  13910. " ((\"hello\")\n"
  13911. " \"good morning\\n\")\n"
  13912. " ((\"foo([a-z]+)bar(.*)$\" all letters end)\n"
  13913. " (string-append \"baz\" letter end)))\n"
  13914. msgstr ""
  13915. #. type: deffn
  13916. #: guix-git/doc/guix.texi:8661
  13917. 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."
  13918. msgstr ""
  13919. #. type: deffn
  13920. #: guix-git/doc/guix.texi:8664
  13921. msgid "When one of the @var{match-var} is @code{_}, no variable is bound to the corresponding match substring."
  13922. msgstr ""
  13923. #. type: deffn
  13924. #: guix-git/doc/guix.texi:8667
  13925. msgid "Alternatively, @var{file} may be a list of file names, in which case they are all subject to the substitutions."
  13926. msgstr ""
  13927. #. type: deffn
  13928. #: guix-git/doc/guix.texi:8670
  13929. 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."
  13930. msgstr ""
  13931. #. type: subsection
  13932. #: guix-git/doc/guix.texi:8672
  13933. #, no-wrap
  13934. msgid "File Search"
  13935. msgstr ""
  13936. #. type: cindex
  13937. #: guix-git/doc/guix.texi:8674
  13938. #, no-wrap
  13939. msgid "file, searching"
  13940. msgstr ""
  13941. #. type: Plain text
  13942. #: guix-git/doc/guix.texi:8676
  13943. msgid "This section documents procedures to search and filter files."
  13944. msgstr ""
  13945. #. type: deffn
  13946. #: guix-git/doc/guix.texi:8677
  13947. #, no-wrap
  13948. msgid "{Scheme Procedure} file-name-predicate @var{regexp}"
  13949. msgstr ""
  13950. #. type: deffn
  13951. #: guix-git/doc/guix.texi:8680
  13952. msgid "Return a predicate that returns true when passed a file name whose base name matches @var{regexp}."
  13953. msgstr ""
  13954. #. type: deffn
  13955. #: guix-git/doc/guix.texi:8682
  13956. #, no-wrap
  13957. msgid "{Scheme Procedure} find-files @var{dir} [@var{pred}] @"
  13958. msgstr ""
  13959. #. type: deffn
  13960. #: guix-git/doc/guix.texi:8693
  13961. 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."
  13962. msgstr ""
  13963. #. type: Plain text
  13964. #: guix-git/doc/guix.texi:8697
  13965. msgid "Here are a few examples where we assume that the current directory is the root of the Guix source tree:"
  13966. msgstr ""
  13967. #. type: lisp
  13968. #: guix-git/doc/guix.texi:8702
  13969. #, no-wrap
  13970. msgid ""
  13971. ";; List all the regular files in the current directory.\n"
  13972. "(find-files \".\")\n"
  13973. "@result{} (\"./.dir-locals.el\" \"./.gitignore\" @dots{})\n"
  13974. "\n"
  13975. msgstr ""
  13976. #. type: lisp
  13977. #: guix-git/doc/guix.texi:8706
  13978. #, no-wrap
  13979. msgid ""
  13980. ";; List all the .scm files under gnu/services.\n"
  13981. "(find-files \"gnu/services\" \"\\\\.scm$\")\n"
  13982. "@result{} (\"gnu/services/admin.scm\" \"gnu/services/audio.scm\" @dots{})\n"
  13983. "\n"
  13984. msgstr ""
  13985. #. type: lisp
  13986. #: guix-git/doc/guix.texi:8710
  13987. #, no-wrap
  13988. msgid ""
  13989. ";; List ar files in the current directory.\n"
  13990. "(find-files \".\" (lambda (file stat) (ar-file? file)))\n"
  13991. "@result{} (\"./libformat.a\" \"./libstore.a\" @dots{})\n"
  13992. msgstr ""
  13993. #. type: deffn
  13994. #: guix-git/doc/guix.texi:8712
  13995. #, no-wrap
  13996. msgid "{Scheme Procedure} which @var{program}"
  13997. msgstr ""
  13998. #. type: deffn
  13999. #: guix-git/doc/guix.texi:8715
  14000. msgid "Return the complete file name for @var{program} as found in @code{$PATH}, or @code{#f} if @var{program} could not be found."
  14001. msgstr ""
  14002. #. type: Plain text
  14003. #: guix-git/doc/guix.texi:8726
  14004. 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})."
  14005. msgstr ""
  14006. #. type: Plain text
  14007. #: guix-git/doc/guix.texi:8730
  14008. 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."
  14009. msgstr ""
  14010. #. type: cindex
  14011. #: guix-git/doc/guix.texi:8731
  14012. #, no-wrap
  14013. msgid "build phases, modifying"
  14014. msgstr ""
  14015. #. type: deffn
  14016. #: guix-git/doc/guix.texi:8732
  14017. #, no-wrap
  14018. msgid "{Scheme Syntax} modify-phases @var{phases} @var{clause}@dots{}"
  14019. msgstr ""
  14020. #. type: deffn
  14021. #: guix-git/doc/guix.texi:8735
  14022. msgid "Modify @var{phases} sequentially as per each @var{clause}, which may have one of the following forms:"
  14023. msgstr ""
  14024. #. type: lisp
  14025. #: guix-git/doc/guix.texi:8741
  14026. #, no-wrap
  14027. msgid ""
  14028. "(delete @var{old-phase-name})\n"
  14029. "(replace @var{old-phase-name} @var{new-phase})\n"
  14030. "(add-before @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  14031. "(add-after @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  14032. msgstr ""
  14033. #. type: deffn
  14034. #: guix-git/doc/guix.texi:8745
  14035. msgid "Where every @var{phase-name} above is an expression evaluating to a symbol, and @var{new-phase} an expression evaluating to a procedure."
  14036. msgstr ""
  14037. #. type: Plain text
  14038. #: guix-git/doc/guix.texi:8756
  14039. 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:"
  14040. msgstr ""
  14041. #. type: lisp
  14042. #: guix-git/doc/guix.texi:8770
  14043. #, no-wrap
  14044. msgid ""
  14045. "(modify-phases %standard-phases\n"
  14046. " (add-after 'install 'fix-egrep-and-fgrep\n"
  14047. " ;; Patch 'egrep' and 'fgrep' to execute 'grep' via its\n"
  14048. " ;; absolute file name instead of searching for it in $PATH.\n"
  14049. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14050. " (let* ((out (assoc-ref outputs \"out\"))\n"
  14051. " (bin (string-append out \"/bin\")))\n"
  14052. " (substitute* (list (string-append bin \"/egrep\")\n"
  14053. " (string-append bin \"/fgrep\"))\n"
  14054. " ((\"^exec grep\")\n"
  14055. " (string-append \"exec \" bin \"/grep\")))\n"
  14056. " #t))))\n"
  14057. msgstr ""
  14058. #. type: Plain text
  14059. #: guix-git/doc/guix.texi:8777
  14060. 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:"
  14061. msgstr ""
  14062. #. type: lisp
  14063. #: guix-git/doc/guix.texi:8790
  14064. #, no-wrap
  14065. msgid ""
  14066. "(modify-phases %standard-phases\n"
  14067. " (delete 'configure) ;no 'configure' script\n"
  14068. " (replace 'install\n"
  14069. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14070. " ;; The package's Makefile doesn't provide an \"install\"\n"
  14071. " ;; rule so do it by ourselves.\n"
  14072. " (let ((bin (string-append (assoc-ref outputs \"out\")\n"
  14073. " \"/bin\")))\n"
  14074. " (install-file \"footswitch\" bin)\n"
  14075. " (install-file \"scythe\" bin)\n"
  14076. " #t))))\n"
  14077. msgstr ""
  14078. #. type: cindex
  14079. #: guix-git/doc/guix.texi:8798
  14080. #, no-wrap
  14081. msgid "store items"
  14082. msgstr ""
  14083. #. type: cindex
  14084. #: guix-git/doc/guix.texi:8799
  14085. #, no-wrap
  14086. msgid "store paths"
  14087. msgstr ""
  14088. #. type: Plain text
  14089. #: guix-git/doc/guix.texi:8810
  14090. 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}."
  14091. msgstr ""
  14092. #. type: Plain text
  14093. #: guix-git/doc/guix.texi:8815
  14094. 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."
  14095. msgstr ""
  14096. #. type: quotation
  14097. #: guix-git/doc/guix.texi:8820
  14098. 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})."
  14099. msgstr ""
  14100. #. type: quotation
  14101. #: guix-git/doc/guix.texi:8824
  14102. 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."
  14103. msgstr ""
  14104. #. type: Plain text
  14105. #: guix-git/doc/guix.texi:8831
  14106. 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."
  14107. msgstr ""
  14108. #. type: defvr
  14109. #: guix-git/doc/guix.texi:8832
  14110. #, no-wrap
  14111. msgid "{Environment Variable} GUIX_DAEMON_SOCKET"
  14112. msgstr ""
  14113. #. type: defvr
  14114. #: guix-git/doc/guix.texi:8837
  14115. 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:"
  14116. msgstr ""
  14117. #. type: code{#1}
  14118. #: guix-git/doc/guix.texi:8839 guix-git/doc/guix.texi:25026
  14119. #, no-wrap
  14120. msgid "file"
  14121. msgstr ""
  14122. #. type: itemx
  14123. #: guix-git/doc/guix.texi:8840
  14124. #, no-wrap
  14125. msgid "unix"
  14126. msgstr "unix"
  14127. #. type: table
  14128. #: guix-git/doc/guix.texi:8844
  14129. msgid "These are for Unix-domain sockets. @code{file:///var/guix/daemon-socket/socket} is equivalent to @file{/var/guix/daemon-socket/socket}."
  14130. msgstr ""
  14131. #. type: table
  14132. #: guix-git/doc/guix.texi:8853
  14133. 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):"
  14134. msgstr ""
  14135. #. type: example
  14136. #: guix-git/doc/guix.texi:8856
  14137. #, no-wrap
  14138. msgid "guix://master.guix.example.org:1234\n"
  14139. msgstr ""
  14140. #. type: table
  14141. #: guix-git/doc/guix.texi:8861
  14142. 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}."
  14143. msgstr ""
  14144. #. type: table
  14145. #: guix-git/doc/guix.texi:8865
  14146. 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}})."
  14147. msgstr ""
  14148. #. type: item
  14149. #: guix-git/doc/guix.texi:8866
  14150. #, no-wrap
  14151. msgid "ssh"
  14152. msgstr ""
  14153. #. type: cindex
  14154. #: guix-git/doc/guix.texi:8867
  14155. #, no-wrap
  14156. msgid "SSH access to build daemons"
  14157. msgstr ""
  14158. #. type: table
  14159. #: guix-git/doc/guix.texi:8873
  14160. 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:"
  14161. msgstr ""
  14162. #. type: example
  14163. #: guix-git/doc/guix.texi:8876
  14164. #, no-wrap
  14165. msgid "ssh://charlie@@guix.example.org:22\n"
  14166. msgstr ""
  14167. #. type: table
  14168. #: guix-git/doc/guix.texi:8880
  14169. msgid "As for @command{guix copy}, the usual OpenSSH client configuration files are honored (@pxref{Invoking guix copy})."
  14170. msgstr ""
  14171. #. type: defvr
  14172. #: guix-git/doc/guix.texi:8883
  14173. msgid "Additional URI schemes may be supported in the future."
  14174. msgstr ""
  14175. #. type: quotation
  14176. #: guix-git/doc/guix.texi:8890
  14177. 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})."
  14178. msgstr ""
  14179. #. type: deffn
  14180. #: guix-git/doc/guix.texi:8893
  14181. #, no-wrap
  14182. msgid "{Scheme Procedure} open-connection [@var{uri}] [#:reserve-space? #t]"
  14183. msgstr ""
  14184. #. type: deffn
  14185. #: guix-git/doc/guix.texi:8898
  14186. 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."
  14187. msgstr ""
  14188. #. type: deffn
  14189. #: guix-git/doc/guix.texi:8901
  14190. msgid "@var{file} defaults to @code{%default-socket-path}, which is the normal location given the options that were passed to @command{configure}."
  14191. msgstr ""
  14192. #. type: deffn
  14193. #: guix-git/doc/guix.texi:8903
  14194. #, no-wrap
  14195. msgid "{Scheme Procedure} close-connection @var{server}"
  14196. msgstr ""
  14197. #. type: deffn
  14198. #: guix-git/doc/guix.texi:8905
  14199. msgid "Close the connection to @var{server}."
  14200. msgstr ""
  14201. #. type: defvr
  14202. #: guix-git/doc/guix.texi:8907
  14203. #, no-wrap
  14204. msgid "{Scheme Variable} current-build-output-port"
  14205. msgstr ""
  14206. #. type: defvr
  14207. #: guix-git/doc/guix.texi:8910
  14208. 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."
  14209. msgstr ""
  14210. #. type: Plain text
  14211. #: guix-git/doc/guix.texi:8914
  14212. msgid "Procedures that make RPCs all take a server object as their first argument."
  14213. msgstr ""
  14214. #. type: deffn
  14215. #: guix-git/doc/guix.texi:8915
  14216. #, no-wrap
  14217. msgid "{Scheme Procedure} valid-path? @var{server} @var{path}"
  14218. msgstr ""
  14219. #. type: cindex
  14220. #: guix-git/doc/guix.texi:8916
  14221. #, no-wrap
  14222. msgid "invalid store items"
  14223. msgstr ""
  14224. #. type: deffn
  14225. #: guix-git/doc/guix.texi:8921
  14226. 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)."
  14227. msgstr ""
  14228. #. type: deffn
  14229. #: guix-git/doc/guix.texi:8924
  14230. msgid "A @code{&store-protocol-error} condition is raised if @var{path} is not prefixed by the store directory (@file{/gnu/store})."
  14231. msgstr ""
  14232. #. type: deffn
  14233. #: guix-git/doc/guix.texi:8926
  14234. #, no-wrap
  14235. msgid "{Scheme Procedure} add-text-to-store @var{server} @var{name} @var{text} [@var{references}]"
  14236. msgstr ""
  14237. #. type: deffn
  14238. #: guix-git/doc/guix.texi:8930
  14239. 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."
  14240. msgstr ""
  14241. #. type: deffn
  14242. #: guix-git/doc/guix.texi:8932
  14243. #, no-wrap
  14244. msgid "{Scheme Procedure} build-derivations @var{store} @var{derivations} @"
  14245. msgstr ""
  14246. #. type: deffn
  14247. #: guix-git/doc/guix.texi:8937
  14248. 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."
  14249. msgstr ""
  14250. #. type: Plain text
  14251. #: guix-git/doc/guix.texi:8943
  14252. 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})."
  14253. msgstr ""
  14254. #. type: i{#1}
  14255. #: guix-git/doc/guix.texi:8946
  14256. msgid "This section is currently incomplete."
  14257. msgstr ""
  14258. #. type: cindex
  14259. #: guix-git/doc/guix.texi:8950
  14260. #, no-wrap
  14261. msgid "derivations"
  14262. msgstr ""
  14263. #. type: Plain text
  14264. #: guix-git/doc/guix.texi:8954
  14265. 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:"
  14266. msgstr ""
  14267. #. type: itemize
  14268. #: guix-git/doc/guix.texi:8959
  14269. msgid "The outputs of the derivation---derivations produce at least one file or directory in the store, but may produce more."
  14270. msgstr ""
  14271. #. type: cindex
  14272. #: guix-git/doc/guix.texi:8961
  14273. #, no-wrap
  14274. msgid "build-time dependencies"
  14275. msgstr ""
  14276. #. type: cindex
  14277. #: guix-git/doc/guix.texi:8962
  14278. #, no-wrap
  14279. msgid "dependencies, build-time"
  14280. msgstr ""
  14281. #. type: itemize
  14282. #: guix-git/doc/guix.texi:8966
  14283. 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.)."
  14284. msgstr ""
  14285. #. type: itemize
  14286. #: guix-git/doc/guix.texi:8969
  14287. msgid "The system type targeted by the derivation---e.g., @code{x86_64-linux}."
  14288. msgstr ""
  14289. #. type: itemize
  14290. #: guix-git/doc/guix.texi:8973
  14291. msgid "The file name of a build script in the store, along with the arguments to be passed."
  14292. msgstr ""
  14293. #. type: itemize
  14294. #: guix-git/doc/guix.texi:8976
  14295. msgid "A list of environment variables to be defined."
  14296. msgstr ""
  14297. #. type: cindex
  14298. #: guix-git/doc/guix.texi:8979
  14299. #, no-wrap
  14300. msgid "derivation path"
  14301. msgstr ""
  14302. #. type: Plain text
  14303. #: guix-git/doc/guix.texi:8987
  14304. 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})."
  14305. msgstr ""
  14306. #. type: cindex
  14307. #: guix-git/doc/guix.texi:8988
  14308. #, no-wrap
  14309. msgid "fixed-output derivations"
  14310. msgstr ""
  14311. #. type: Plain text
  14312. #: guix-git/doc/guix.texi:8995
  14313. 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."
  14314. msgstr ""
  14315. #. type: item
  14316. #: guix-git/doc/guix.texi:8996 guix-git/doc/guix.texi:12539
  14317. #, no-wrap
  14318. msgid "references"
  14319. msgstr ""
  14320. #. type: cindex
  14321. #: guix-git/doc/guix.texi:8997
  14322. #, no-wrap
  14323. msgid "run-time dependencies"
  14324. msgstr ""
  14325. #. type: cindex
  14326. #: guix-git/doc/guix.texi:8998
  14327. #, no-wrap
  14328. msgid "dependencies, run-time"
  14329. msgstr ""
  14330. #. type: Plain text
  14331. #: guix-git/doc/guix.texi:9005
  14332. 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."
  14333. msgstr ""
  14334. #. type: Plain text
  14335. #: guix-git/doc/guix.texi:9010
  14336. 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:"
  14337. msgstr ""
  14338. #. type: deffn
  14339. #: guix-git/doc/guix.texi:9011
  14340. #, no-wrap
  14341. msgid "{Scheme Procedure} derivation @var{store} @var{name} @var{builder} @"
  14342. msgstr ""
  14343. #. type: deffn
  14344. #: guix-git/doc/guix.texi:9020
  14345. 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."
  14346. msgstr ""
  14347. #. type: deffn
  14348. #: guix-git/doc/guix.texi:9027
  14349. 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."
  14350. msgstr ""
  14351. #. type: deffn
  14352. #: guix-git/doc/guix.texi:9032
  14353. 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."
  14354. msgstr ""
  14355. #. type: deffn
  14356. #: guix-git/doc/guix.texi:9037
  14357. 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."
  14358. msgstr ""
  14359. #. type: deffn
  14360. #: guix-git/doc/guix.texi:9044
  14361. 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."
  14362. msgstr ""
  14363. #. type: deffn
  14364. #: guix-git/doc/guix.texi:9049
  14365. 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."
  14366. msgstr ""
  14367. #. type: deffn
  14368. #: guix-git/doc/guix.texi:9054
  14369. 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."
  14370. msgstr ""
  14371. #. type: deffn
  14372. #: guix-git/doc/guix.texi:9057
  14373. msgid "@var{properties} must be an association list describing ``properties'' of the derivation. It is kept as-is, uninterpreted, in the derivation."
  14374. msgstr ""
  14375. #. type: Plain text
  14376. #: guix-git/doc/guix.texi:9063
  14377. 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:"
  14378. msgstr ""
  14379. #. type: lisp
  14380. #: guix-git/doc/guix.texi:9068
  14381. #, no-wrap
  14382. msgid ""
  14383. "(use-modules (guix utils)\n"
  14384. " (guix store)\n"
  14385. " (guix derivations))\n"
  14386. "\n"
  14387. msgstr ""
  14388. #. type: lisp
  14389. #: guix-git/doc/guix.texi:9077
  14390. #, no-wrap
  14391. msgid ""
  14392. "(let ((builder ; add the Bash script to the store\n"
  14393. " (add-text-to-store store \"my-builder.sh\"\n"
  14394. " \"echo hello world > $out\\n\" '())))\n"
  14395. " (derivation store \"foo\"\n"
  14396. " bash `(\"-e\" ,builder)\n"
  14397. " #:inputs `((,bash) (,builder))\n"
  14398. " #:env-vars '((\"HOME\" . \"/homeless\"))))\n"
  14399. "@result{} #<derivation /gnu/store/@dots{}-foo.drv => /gnu/store/@dots{}-foo>\n"
  14400. msgstr ""
  14401. #. type: Plain text
  14402. #: guix-git/doc/guix.texi:9084
  14403. 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}."
  14404. msgstr ""
  14405. #. type: Plain text
  14406. #: guix-git/doc/guix.texi:9089
  14407. 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}."
  14408. msgstr ""
  14409. #. type: deffn
  14410. #: guix-git/doc/guix.texi:9090
  14411. #, no-wrap
  14412. msgid "{Scheme Procedure} build-expression->derivation @var{store} @"
  14413. msgstr ""
  14414. #. type: deffn
  14415. #: guix-git/doc/guix.texi:9106
  14416. 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))}."
  14417. msgstr ""
  14418. #. type: deffn
  14419. #: guix-git/doc/guix.texi:9114
  14420. 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."
  14421. msgstr ""
  14422. #. type: deffn
  14423. #: guix-git/doc/guix.texi:9118
  14424. 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."
  14425. msgstr ""
  14426. #. type: deffn
  14427. #: guix-git/doc/guix.texi:9123
  14428. 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?}."
  14429. msgstr ""
  14430. #. type: Plain text
  14431. #: guix-git/doc/guix.texi:9128
  14432. msgid "Here's an example of a single-output derivation that creates a directory containing one file:"
  14433. msgstr ""
  14434. #. type: lisp
  14435. #: guix-git/doc/guix.texi:9136
  14436. #, no-wrap
  14437. msgid ""
  14438. "(let ((builder '(let ((out (assoc-ref %outputs \"out\")))\n"
  14439. " (mkdir out) ; create /gnu/store/@dots{}-goo\n"
  14440. " (call-with-output-file (string-append out \"/test\")\n"
  14441. " (lambda (p)\n"
  14442. " (display '(hello guix) p))))))\n"
  14443. " (build-expression->derivation store \"goo\" builder))\n"
  14444. "\n"
  14445. msgstr ""
  14446. #. type: lisp
  14447. #: guix-git/doc/guix.texi:9138
  14448. #, no-wrap
  14449. msgid "@result{} #<derivation /gnu/store/@dots{}-goo.drv => @dots{}>\n"
  14450. msgstr ""
  14451. #. type: cindex
  14452. #: guix-git/doc/guix.texi:9144
  14453. #, no-wrap
  14454. msgid "monad"
  14455. msgstr ""
  14456. #. type: Plain text
  14457. #: guix-git/doc/guix.texi:9150
  14458. 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."
  14459. msgstr ""
  14460. #. type: Plain text
  14461. #: guix-git/doc/guix.texi:9156
  14462. 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."
  14463. msgstr ""
  14464. #. type: cindex
  14465. #: guix-git/doc/guix.texi:9157
  14466. #, no-wrap
  14467. msgid "monadic values"
  14468. msgstr ""
  14469. #. type: cindex
  14470. #: guix-git/doc/guix.texi:9158
  14471. #, no-wrap
  14472. msgid "monadic functions"
  14473. msgstr ""
  14474. #. type: Plain text
  14475. #: guix-git/doc/guix.texi:9168
  14476. 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}."
  14477. msgstr ""
  14478. #. type: Plain text
  14479. #: guix-git/doc/guix.texi:9170
  14480. msgid "Consider this ``normal'' procedure:"
  14481. msgstr ""
  14482. #. type: lisp
  14483. #: guix-git/doc/guix.texi:9179
  14484. #, no-wrap
  14485. msgid ""
  14486. "(define (sh-symlink store)\n"
  14487. " ;; Return a derivation that symlinks the 'bash' executable.\n"
  14488. " (let* ((drv (package-derivation store bash))\n"
  14489. " (out (derivation->output-path drv))\n"
  14490. " (sh (string-append out \"/bin/bash\")))\n"
  14491. " (build-expression->derivation store \"sh\"\n"
  14492. " `(symlink ,sh %output))))\n"
  14493. msgstr ""
  14494. #. type: Plain text
  14495. #: guix-git/doc/guix.texi:9183
  14496. msgid "Using @code{(guix monads)} and @code{(guix gexp)}, it may be rewritten as a monadic function:"
  14497. msgstr ""
  14498. #. type: lisp
  14499. #: guix-git/doc/guix.texi:9191
  14500. #, no-wrap
  14501. msgid ""
  14502. "(define (sh-symlink)\n"
  14503. " ;; Same, but return a monadic value.\n"
  14504. " (mlet %store-monad ((drv (package->derivation bash)))\n"
  14505. " (gexp->derivation \"sh\"\n"
  14506. " #~(symlink (string-append #$drv \"/bin/bash\")\n"
  14507. " #$output))))\n"
  14508. msgstr ""
  14509. #. type: Plain text
  14510. #: guix-git/doc/guix.texi:9198
  14511. 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}."
  14512. msgstr ""
  14513. #. type: Plain text
  14514. #: guix-git/doc/guix.texi:9202
  14515. 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}):"
  14516. msgstr ""
  14517. #. type: lisp
  14518. #: guix-git/doc/guix.texi:9208
  14519. #, no-wrap
  14520. msgid ""
  14521. "(define (sh-symlink)\n"
  14522. " (gexp->derivation \"sh\"\n"
  14523. " #~(symlink (string-append #$bash \"/bin/bash\")\n"
  14524. " #$output)))\n"
  14525. msgstr ""
  14526. #. type: Plain text
  14527. #: guix-git/doc/guix.texi:9217
  14528. 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}:"
  14529. msgstr ""
  14530. #. type: lisp
  14531. #: guix-git/doc/guix.texi:9221
  14532. #, no-wrap
  14533. msgid ""
  14534. "(run-with-store (open-connection) (sh-symlink))\n"
  14535. "@result{} /gnu/store/...-sh-symlink\n"
  14536. msgstr ""
  14537. #. type: Plain text
  14538. #: guix-git/doc/guix.texi:9227
  14539. 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:"
  14540. msgstr ""
  14541. #. type: example
  14542. #: guix-git/doc/guix.texi:9231
  14543. #, no-wrap
  14544. msgid ""
  14545. "scheme@@(guile-user)> ,run-in-store (package->derivation hello)\n"
  14546. "$1 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  14547. msgstr ""
  14548. #. type: Plain text
  14549. #: guix-git/doc/guix.texi:9235
  14550. msgid "The latter enters a recursive REPL, where all the return values are automatically run through the store:"
  14551. msgstr ""
  14552. #. type: example
  14553. #: guix-git/doc/guix.texi:9244
  14554. #, no-wrap
  14555. msgid ""
  14556. "scheme@@(guile-user)> ,enter-store-monad\n"
  14557. "store-monad@@(guile-user) [1]> (package->derivation hello)\n"
  14558. "$2 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  14559. "store-monad@@(guile-user) [1]> (text-file \"foo\" \"Hello!\")\n"
  14560. "$3 = \"/gnu/store/@dots{}-foo\"\n"
  14561. "store-monad@@(guile-user) [1]> ,q\n"
  14562. "scheme@@(guile-user)>\n"
  14563. msgstr ""
  14564. #. type: Plain text
  14565. #: guix-git/doc/guix.texi:9249
  14566. msgid "Note that non-monadic values cannot be returned in the @code{store-monad} REPL."
  14567. msgstr ""
  14568. #. type: Plain text
  14569. #: guix-git/doc/guix.texi:9252
  14570. msgid "The main syntactic forms to deal with monads in general are provided by the @code{(guix monads)} module and are described below."
  14571. msgstr ""
  14572. #. type: deffn
  14573. #: guix-git/doc/guix.texi:9253
  14574. #, no-wrap
  14575. msgid "{Scheme Syntax} with-monad @var{monad} @var{body} ..."
  14576. msgstr ""
  14577. #. type: deffn
  14578. #: guix-git/doc/guix.texi:9256
  14579. msgid "Evaluate any @code{>>=} or @code{return} forms in @var{body} as being in @var{monad}."
  14580. msgstr ""
  14581. #. type: deffn
  14582. #: guix-git/doc/guix.texi:9258
  14583. #, no-wrap
  14584. msgid "{Scheme Syntax} return @var{val}"
  14585. msgstr ""
  14586. #. type: deffn
  14587. #: guix-git/doc/guix.texi:9260
  14588. msgid "Return a monadic value that encapsulates @var{val}."
  14589. msgstr ""
  14590. #. type: deffn
  14591. #: guix-git/doc/guix.texi:9262
  14592. #, no-wrap
  14593. msgid "{Scheme Syntax} >>= @var{mval} @var{mproc} ..."
  14594. msgstr ""
  14595. #. type: deffn
  14596. #: guix-git/doc/guix.texi:9269
  14597. 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:"
  14598. msgstr ""
  14599. #. type: lisp
  14600. #: guix-git/doc/guix.texi:9277
  14601. #, no-wrap
  14602. msgid ""
  14603. "(run-with-state\n"
  14604. " (with-monad %state-monad\n"
  14605. " (>>= (return 1)\n"
  14606. " (lambda (x) (return (+ 1 x)))\n"
  14607. " (lambda (x) (return (* 2 x)))))\n"
  14608. " 'some-state)\n"
  14609. "\n"
  14610. msgstr ""
  14611. #. type: lisp
  14612. #: guix-git/doc/guix.texi:9280
  14613. #, no-wrap
  14614. msgid ""
  14615. "@result{} 4\n"
  14616. "@result{} some-state\n"
  14617. msgstr ""
  14618. #. type: deffn
  14619. #: guix-git/doc/guix.texi:9283
  14620. #, no-wrap
  14621. msgid "{Scheme Syntax} mlet @var{monad} ((@var{var} @var{mval}) ...) @"
  14622. msgstr ""
  14623. #. type: deffn
  14624. #: guix-git/doc/guix.texi:9285
  14625. msgid "@var{body} ..."
  14626. msgstr ""
  14627. #. type: deffnx
  14628. #: guix-git/doc/guix.texi:9285
  14629. #, no-wrap
  14630. msgid "{Scheme Syntax} mlet* @var{monad} ((@var{var} @var{mval}) ...) @"
  14631. msgstr ""
  14632. #. type: deffn
  14633. #: guix-git/doc/guix.texi:9297
  14634. 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}."
  14635. msgstr ""
  14636. #. type: deffn
  14637. #: guix-git/doc/guix.texi:9300
  14638. msgid "@code{mlet*} is to @code{mlet} what @code{let*} is to @code{let} (@pxref{Local Bindings,,, guile, GNU Guile Reference Manual})."
  14639. msgstr ""
  14640. #. type: deffn
  14641. #: guix-git/doc/guix.texi:9302
  14642. #, no-wrap
  14643. msgid "{Scheme System} mbegin @var{monad} @var{mexp} ..."
  14644. msgstr ""
  14645. #. type: deffn
  14646. #: guix-git/doc/guix.texi:9306
  14647. 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."
  14648. msgstr ""
  14649. #. type: deffn
  14650. #: guix-git/doc/guix.texi:9310
  14651. 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."
  14652. msgstr ""
  14653. #. type: deffn
  14654. #: guix-git/doc/guix.texi:9312
  14655. #, no-wrap
  14656. msgid "{Scheme System} mwhen @var{condition} @var{mexp0} @var{mexp*} ..."
  14657. msgstr ""
  14658. #. type: deffn
  14659. #: guix-git/doc/guix.texi:9317
  14660. 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."
  14661. msgstr ""
  14662. #. type: deffn
  14663. #: guix-git/doc/guix.texi:9319
  14664. #, no-wrap
  14665. msgid "{Scheme System} munless @var{condition} @var{mexp0} @var{mexp*} ..."
  14666. msgstr ""
  14667. #. type: deffn
  14668. #: guix-git/doc/guix.texi:9324
  14669. 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."
  14670. msgstr ""
  14671. #. type: cindex
  14672. #: guix-git/doc/guix.texi:9326
  14673. #, no-wrap
  14674. msgid "state monad"
  14675. msgstr ""
  14676. #. type: Plain text
  14677. #: guix-git/doc/guix.texi:9330
  14678. 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."
  14679. msgstr ""
  14680. #. type: defvr
  14681. #: guix-git/doc/guix.texi:9331
  14682. #, no-wrap
  14683. msgid "{Scheme Variable} %state-monad"
  14684. msgstr ""
  14685. #. type: defvr
  14686. #: guix-git/doc/guix.texi:9334
  14687. msgid "The state monad. Procedures in the state monad can access and change the state that is threaded."
  14688. msgstr ""
  14689. #. type: defvr
  14690. #: guix-git/doc/guix.texi:9338
  14691. 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:"
  14692. msgstr ""
  14693. #. type: lisp
  14694. #: guix-git/doc/guix.texi:9345
  14695. #, no-wrap
  14696. msgid ""
  14697. "(define (square x)\n"
  14698. " (mlet %state-monad ((count (current-state)))\n"
  14699. " (mbegin %state-monad\n"
  14700. " (set-current-state (+ 1 count))\n"
  14701. " (return (* x x)))))\n"
  14702. "\n"
  14703. msgstr ""
  14704. #. type: lisp
  14705. #: guix-git/doc/guix.texi:9349
  14706. #, no-wrap
  14707. msgid ""
  14708. "(run-with-state (sequence %state-monad (map square (iota 3))) 0)\n"
  14709. "@result{} (0 1 4)\n"
  14710. "@result{} 3\n"
  14711. msgstr ""
  14712. #. type: defvr
  14713. #: guix-git/doc/guix.texi:9353
  14714. msgid "When ``run'' through @code{%state-monad}, we obtain that additional state value, which is the number of @code{square} calls."
  14715. msgstr ""
  14716. #. type: deffn
  14717. #: guix-git/doc/guix.texi:9355
  14718. #, no-wrap
  14719. msgid "{Monadic Procedure} current-state"
  14720. msgstr ""
  14721. #. type: deffn
  14722. #: guix-git/doc/guix.texi:9357
  14723. msgid "Return the current state as a monadic value."
  14724. msgstr ""
  14725. #. type: deffn
  14726. #: guix-git/doc/guix.texi:9359
  14727. #, no-wrap
  14728. msgid "{Monadic Procedure} set-current-state @var{value}"
  14729. msgstr ""
  14730. #. type: deffn
  14731. #: guix-git/doc/guix.texi:9362
  14732. msgid "Set the current state to @var{value} and return the previous state as a monadic value."
  14733. msgstr ""
  14734. #. type: deffn
  14735. #: guix-git/doc/guix.texi:9364
  14736. #, no-wrap
  14737. msgid "{Monadic Procedure} state-push @var{value}"
  14738. msgstr ""
  14739. #. type: deffn
  14740. #: guix-git/doc/guix.texi:9367
  14741. msgid "Push @var{value} to the current state, which is assumed to be a list, and return the previous state as a monadic value."
  14742. msgstr ""
  14743. #. type: deffn
  14744. #: guix-git/doc/guix.texi:9369
  14745. #, no-wrap
  14746. msgid "{Monadic Procedure} state-pop"
  14747. msgstr ""
  14748. #. type: deffn
  14749. #: guix-git/doc/guix.texi:9372
  14750. msgid "Pop a value from the current state and return it as a monadic value. The state is assumed to be a list."
  14751. msgstr ""
  14752. #. type: deffn
  14753. #: guix-git/doc/guix.texi:9374
  14754. #, no-wrap
  14755. msgid "{Scheme Procedure} run-with-state @var{mval} [@var{state}]"
  14756. msgstr ""
  14757. #. type: deffn
  14758. #: guix-git/doc/guix.texi:9377
  14759. msgid "Run monadic value @var{mval} starting with @var{state} as the initial state. Return two values: the resulting value, and the resulting state."
  14760. msgstr ""
  14761. #. type: Plain text
  14762. #: guix-git/doc/guix.texi:9381
  14763. msgid "The main interface to the store monad, provided by the @code{(guix store)} module, is as follows."
  14764. msgstr ""
  14765. #. type: defvr
  14766. #: guix-git/doc/guix.texi:9382
  14767. #, no-wrap
  14768. msgid "{Scheme Variable} %store-monad"
  14769. msgstr ""
  14770. #. type: defvr
  14771. #: guix-git/doc/guix.texi:9384
  14772. msgid "The store monad---an alias for @code{%state-monad}."
  14773. msgstr ""
  14774. #. type: defvr
  14775. #: guix-git/doc/guix.texi:9388
  14776. 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)."
  14777. msgstr ""
  14778. #. type: deffn
  14779. #: guix-git/doc/guix.texi:9390
  14780. #, no-wrap
  14781. msgid "{Scheme Procedure} run-with-store @var{store} @var{mval} [#:guile-for-build] [#:system (%current-system)]"
  14782. msgstr ""
  14783. #. type: deffn
  14784. #: guix-git/doc/guix.texi:9393
  14785. msgid "Run @var{mval}, a monadic value in the store monad, in @var{store}, an open store connection."
  14786. msgstr ""
  14787. #. type: deffn
  14788. #: guix-git/doc/guix.texi:9395
  14789. #, no-wrap
  14790. msgid "{Monadic Procedure} text-file @var{name} @var{text} [@var{references}]"
  14791. msgstr ""
  14792. #. type: deffn
  14793. #: guix-git/doc/guix.texi:9399
  14794. 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."
  14795. msgstr ""
  14796. #. type: deffn
  14797. #: guix-git/doc/guix.texi:9401
  14798. #, no-wrap
  14799. msgid "{Monadic Procedure} binary-file @var{name} @var{data} [@var{references}]"
  14800. msgstr ""
  14801. #. type: deffn
  14802. #: guix-git/doc/guix.texi:9405
  14803. 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."
  14804. msgstr ""
  14805. #. type: deffn
  14806. #: guix-git/doc/guix.texi:9407
  14807. #, no-wrap
  14808. msgid "{Monadic Procedure} interned-file @var{file} [@var{name}] @"
  14809. msgstr ""
  14810. #. type: deffn
  14811. #: guix-git/doc/guix.texi:9412
  14812. 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."
  14813. msgstr ""
  14814. #. type: deffn
  14815. #: guix-git/doc/guix.texi:9416 guix-git/doc/guix.texi:9839
  14816. 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."
  14817. msgstr ""
  14818. #. type: deffn
  14819. #: guix-git/doc/guix.texi:9421 guix-git/doc/guix.texi:9844
  14820. 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."
  14821. msgstr ""
  14822. #. type: deffn
  14823. #: guix-git/doc/guix.texi:9423
  14824. msgid "The example below adds a file to the store, under two different names:"
  14825. msgstr ""
  14826. #. type: lisp
  14827. #: guix-git/doc/guix.texi:9429
  14828. #, no-wrap
  14829. msgid ""
  14830. "(run-with-store (open-connection)\n"
  14831. " (mlet %store-monad ((a (interned-file \"README\"))\n"
  14832. " (b (interned-file \"README\" \"LEGU-MIN\")))\n"
  14833. " (return (list a b))))\n"
  14834. "\n"
  14835. msgstr ""
  14836. #. type: lisp
  14837. #: guix-git/doc/guix.texi:9431
  14838. #, no-wrap
  14839. msgid "@result{} (\"/gnu/store/rwm@dots{}-README\" \"/gnu/store/44i@dots{}-LEGU-MIN\")\n"
  14840. msgstr ""
  14841. #. type: Plain text
  14842. #: guix-git/doc/guix.texi:9437
  14843. msgid "The @code{(guix packages)} module exports the following package-related monadic procedures:"
  14844. msgstr ""
  14845. #. type: deffn
  14846. #: guix-git/doc/guix.texi:9438
  14847. #, no-wrap
  14848. msgid "{Monadic Procedure} package-file @var{package} [@var{file}] @"
  14849. msgstr ""
  14850. #. type: deffn
  14851. #: guix-git/doc/guix.texi:9446
  14852. 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."
  14853. msgstr ""
  14854. #. type: deffn
  14855. #: guix-git/doc/guix.texi:9450
  14856. 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."
  14857. msgstr ""
  14858. #. type: deffn
  14859. #: guix-git/doc/guix.texi:9452
  14860. #, no-wrap
  14861. msgid "{Monadic Procedure} package->derivation @var{package} [@var{system}]"
  14862. msgstr ""
  14863. #. type: deffnx
  14864. #: guix-git/doc/guix.texi:9453
  14865. #, no-wrap
  14866. msgid "{Monadic Procedure} package->cross-derivation @var{package} @"
  14867. msgstr ""
  14868. #. type: deffn
  14869. #: guix-git/doc/guix.texi:9457
  14870. msgid "@var{target} [@var{system}] Monadic version of @code{package-derivation} and @code{package-cross-derivation} (@pxref{Defining Packages})."
  14871. msgstr ""
  14872. #. type: cindex
  14873. #: guix-git/doc/guix.texi:9463
  14874. #, no-wrap
  14875. msgid "G-expression"
  14876. msgstr ""
  14877. #. type: cindex
  14878. #: guix-git/doc/guix.texi:9464
  14879. #, no-wrap
  14880. msgid "build code quoting"
  14881. msgstr ""
  14882. #. type: Plain text
  14883. #: guix-git/doc/guix.texi:9470
  14884. 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})."
  14885. msgstr ""
  14886. #. type: cindex
  14887. #: guix-git/doc/guix.texi:9473
  14888. #, no-wrap
  14889. msgid "strata of code"
  14890. msgstr ""
  14891. #. type: Plain text
  14892. #: guix-git/doc/guix.texi:9485
  14893. 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})."
  14894. msgstr ""
  14895. #. type: Plain text
  14896. #: guix-git/doc/guix.texi:9492
  14897. 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."
  14898. msgstr ""
  14899. #. type: Plain text
  14900. #: guix-git/doc/guix.texi:9501
  14901. 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:"
  14902. msgstr ""
  14903. #. type: itemize
  14904. #: guix-git/doc/guix.texi:9506
  14905. msgid "Gexps are meant to be written to a file and run or manipulated by other processes."
  14906. msgstr ""
  14907. #. type: itemize
  14908. #: guix-git/doc/guix.texi:9511
  14909. 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."
  14910. msgstr ""
  14911. #. type: itemize
  14912. #: guix-git/doc/guix.texi:9516
  14913. 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."
  14914. msgstr ""
  14915. #. type: cindex
  14916. #: guix-git/doc/guix.texi:9518 guix-git/doc/guix.texi:10075
  14917. #, no-wrap
  14918. msgid "lowering, of high-level objects in gexps"
  14919. msgstr ""
  14920. #. type: Plain text
  14921. #: guix-git/doc/guix.texi:9528
  14922. 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)."
  14923. msgstr ""
  14924. #. type: Plain text
  14925. #: guix-git/doc/guix.texi:9530
  14926. msgid "To illustrate the idea, here is an example of a gexp:"
  14927. msgstr ""
  14928. #. type: lisp
  14929. #: guix-git/doc/guix.texi:9538
  14930. #, no-wrap
  14931. msgid ""
  14932. "(define build-exp\n"
  14933. " #~(begin\n"
  14934. " (mkdir #$output)\n"
  14935. " (chdir #$output)\n"
  14936. " (symlink (string-append #$coreutils \"/bin/ls\")\n"
  14937. " \"list-files\")))\n"
  14938. msgstr ""
  14939. #. type: Plain text
  14940. #: guix-git/doc/guix.texi:9543
  14941. 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}:"
  14942. msgstr ""
  14943. #. type: lisp
  14944. #: guix-git/doc/guix.texi:9546
  14945. #, no-wrap
  14946. msgid "(gexp->derivation \"the-thing\" build-exp)\n"
  14947. msgstr ""
  14948. #. type: Plain text
  14949. #: guix-git/doc/guix.texi:9554
  14950. 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."
  14951. msgstr ""
  14952. #. type: cindex
  14953. #: guix-git/doc/guix.texi:9555
  14954. #, no-wrap
  14955. msgid "cross compilation"
  14956. msgstr ""
  14957. #. type: Plain text
  14958. #: guix-git/doc/guix.texi:9561
  14959. 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:"
  14960. msgstr ""
  14961. #. type: lisp
  14962. #: guix-git/doc/guix.texi:9572
  14963. #, no-wrap
  14964. msgid ""
  14965. "(gexp->derivation \"vi\"\n"
  14966. " #~(begin\n"
  14967. " (mkdir #$output)\n"
  14968. " (mkdir (string-append #$output \"/bin\"))\n"
  14969. " (system* (string-append #+coreutils \"/bin/ln\")\n"
  14970. " \"-s\"\n"
  14971. " (string-append #$emacs \"/bin/emacs\")\n"
  14972. " (string-append #$output \"/bin/vi\")))\n"
  14973. " #:target \"aarch64-linux-gnu\")\n"
  14974. msgstr ""
  14975. #. type: Plain text
  14976. #: guix-git/doc/guix.texi:9578
  14977. 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."
  14978. msgstr ""
  14979. #. type: cindex
  14980. #: guix-git/doc/guix.texi:9579
  14981. #, no-wrap
  14982. msgid "imported modules, for gexps"
  14983. msgstr ""
  14984. #. type: findex
  14985. #: guix-git/doc/guix.texi:9580
  14986. #, no-wrap
  14987. msgid "with-imported-modules"
  14988. msgstr ""
  14989. #. type: Plain text
  14990. #: guix-git/doc/guix.texi:9585
  14991. 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:"
  14992. msgstr ""
  14993. #. type: lisp
  14994. #: guix-git/doc/guix.texi:9596
  14995. #, no-wrap
  14996. msgid ""
  14997. "(let ((build (with-imported-modules '((guix build utils))\n"
  14998. " #~(begin\n"
  14999. " (use-modules (guix build utils))\n"
  15000. " (mkdir-p (string-append #$output \"/bin\"))))))\n"
  15001. " (gexp->derivation \"empty-dir\"\n"
  15002. " #~(begin\n"
  15003. " #$build\n"
  15004. " (display \"success!\\n\")\n"
  15005. " #t)))\n"
  15006. msgstr ""
  15007. #. type: Plain text
  15008. #: guix-git/doc/guix.texi:9602
  15009. 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."
  15010. msgstr ""
  15011. #. type: cindex
  15012. #: guix-git/doc/guix.texi:9603
  15013. #, no-wrap
  15014. msgid "module closure"
  15015. msgstr ""
  15016. #. type: findex
  15017. #: guix-git/doc/guix.texi:9604
  15018. #, no-wrap
  15019. msgid "source-module-closure"
  15020. msgstr ""
  15021. #. type: Plain text
  15022. #: guix-git/doc/guix.texi:9611
  15023. 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:"
  15024. msgstr ""
  15025. #. type: lisp
  15026. #: guix-git/doc/guix.texi:9614
  15027. #, no-wrap
  15028. msgid ""
  15029. "(use-modules (guix modules)) ;for 'source-module-closure'\n"
  15030. "\n"
  15031. msgstr ""
  15032. #. type: lisp
  15033. #: guix-git/doc/guix.texi:9623
  15034. #, no-wrap
  15035. msgid ""
  15036. "(with-imported-modules (source-module-closure\n"
  15037. " '((guix build utils)\n"
  15038. " (gnu build vm)))\n"
  15039. " (gexp->derivation \"something-with-vms\"\n"
  15040. " #~(begin\n"
  15041. " (use-modules (guix build utils)\n"
  15042. " (gnu build vm))\n"
  15043. " @dots{})))\n"
  15044. msgstr ""
  15045. #. type: cindex
  15046. #: guix-git/doc/guix.texi:9625
  15047. #, no-wrap
  15048. msgid "extensions, for gexps"
  15049. msgstr ""
  15050. #. type: findex
  15051. #: guix-git/doc/guix.texi:9626
  15052. #, no-wrap
  15053. msgid "with-extensions"
  15054. msgstr ""
  15055. #. type: Plain text
  15056. #: guix-git/doc/guix.texi:9631
  15057. 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:"
  15058. msgstr ""
  15059. #. type: lisp
  15060. #: guix-git/doc/guix.texi:9634
  15061. #, no-wrap
  15062. msgid ""
  15063. "(use-modules (gnu packages guile)) ;for 'guile-json'\n"
  15064. "\n"
  15065. msgstr ""
  15066. #. type: lisp
  15067. #: guix-git/doc/guix.texi:9640
  15068. #, no-wrap
  15069. msgid ""
  15070. "(with-extensions (list guile-json)\n"
  15071. " (gexp->derivation \"something-with-json\"\n"
  15072. " #~(begin\n"
  15073. " (use-modules (json))\n"
  15074. " @dots{})))\n"
  15075. msgstr ""
  15076. #. type: Plain text
  15077. #: guix-git/doc/guix.texi:9643
  15078. msgid "The syntactic form to construct gexps is summarized below."
  15079. msgstr ""
  15080. #. type: deffn
  15081. #: guix-git/doc/guix.texi:9644
  15082. #, no-wrap
  15083. msgid "{Scheme Syntax} #~@var{exp}"
  15084. msgstr ""
  15085. #. type: deffnx
  15086. #: guix-git/doc/guix.texi:9645
  15087. #, no-wrap
  15088. msgid "{Scheme Syntax} (gexp @var{exp})"
  15089. msgstr ""
  15090. #. type: deffn
  15091. #: guix-git/doc/guix.texi:9648
  15092. msgid "Return a G-expression containing @var{exp}. @var{exp} may contain one or more of the following forms:"
  15093. msgstr ""
  15094. #. type: item
  15095. #: guix-git/doc/guix.texi:9650
  15096. #, no-wrap
  15097. msgid "#$@var{obj}"
  15098. msgstr ""
  15099. #. type: itemx
  15100. #: guix-git/doc/guix.texi:9651
  15101. #, no-wrap
  15102. msgid "(ungexp @var{obj})"
  15103. msgstr ""
  15104. #. type: table
  15105. #: guix-git/doc/guix.texi:9656
  15106. 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}."
  15107. msgstr ""
  15108. #. type: table
  15109. #: guix-git/doc/guix.texi:9659
  15110. msgid "If @var{obj} is a list, it is traversed and references to supported objects are substituted similarly."
  15111. msgstr ""
  15112. #. type: table
  15113. #: guix-git/doc/guix.texi:9662
  15114. msgid "If @var{obj} is another gexp, its contents are inserted and its dependencies are added to those of the containing gexp."
  15115. msgstr ""
  15116. #. type: table
  15117. #: guix-git/doc/guix.texi:9664
  15118. msgid "If @var{obj} is another kind of object, it is inserted as is."
  15119. msgstr ""
  15120. #. type: item
  15121. #: guix-git/doc/guix.texi:9665
  15122. #, no-wrap
  15123. msgid "#$@var{obj}:@var{output}"
  15124. msgstr "#$@var{obj}:@var{saída}"
  15125. #. type: itemx
  15126. #: guix-git/doc/guix.texi:9666
  15127. #, no-wrap
  15128. msgid "(ungexp @var{obj} @var{output})"
  15129. msgstr "(ungexp @var{obj} @var{saída})"
  15130. #. type: table
  15131. #: guix-git/doc/guix.texi:9670
  15132. 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})."
  15133. msgstr ""
  15134. #. type: item
  15135. #: guix-git/doc/guix.texi:9671
  15136. #, no-wrap
  15137. msgid "#+@var{obj}"
  15138. msgstr ""
  15139. #. type: itemx
  15140. #: guix-git/doc/guix.texi:9672
  15141. #, no-wrap
  15142. msgid "#+@var{obj}:output"
  15143. msgstr "#+@var{obj}:output"
  15144. #. type: itemx
  15145. #: guix-git/doc/guix.texi:9673
  15146. #, no-wrap
  15147. msgid "(ungexp-native @var{obj})"
  15148. msgstr ""
  15149. #. type: itemx
  15150. #: guix-git/doc/guix.texi:9674
  15151. #, no-wrap
  15152. msgid "(ungexp-native @var{obj} @var{output})"
  15153. msgstr ""
  15154. #. type: table
  15155. #: guix-git/doc/guix.texi:9677
  15156. msgid "Same as @code{ungexp}, but produces a reference to the @emph{native} build of @var{obj} when used in a cross compilation context."
  15157. msgstr ""
  15158. #. type: item
  15159. #: guix-git/doc/guix.texi:9678
  15160. #, no-wrap
  15161. msgid "#$output[:@var{output}]"
  15162. msgstr "#$output[:@var{saída}]"
  15163. #. type: itemx
  15164. #: guix-git/doc/guix.texi:9679
  15165. #, no-wrap
  15166. msgid "(ungexp output [@var{output}])"
  15167. msgstr "(ungexp output [@var{saída}])"
  15168. #. type: table
  15169. #: guix-git/doc/guix.texi:9682
  15170. msgid "Insert a reference to derivation output @var{output}, or to the main output when @var{output} is omitted."
  15171. msgstr ""
  15172. #. type: table
  15173. #: guix-git/doc/guix.texi:9684
  15174. msgid "This only makes sense for gexps passed to @code{gexp->derivation}."
  15175. msgstr ""
  15176. #. type: item
  15177. #: guix-git/doc/guix.texi:9685
  15178. #, no-wrap
  15179. msgid "#$@@@var{lst}"
  15180. msgstr ""
  15181. #. type: itemx
  15182. #: guix-git/doc/guix.texi:9686
  15183. #, no-wrap
  15184. msgid "(ungexp-splicing @var{lst})"
  15185. msgstr ""
  15186. #. type: table
  15187. #: guix-git/doc/guix.texi:9689
  15188. msgid "Like the above, but splices the contents of @var{lst} inside the containing list."
  15189. msgstr ""
  15190. #. type: item
  15191. #: guix-git/doc/guix.texi:9690
  15192. #, no-wrap
  15193. msgid "#+@@@var{lst}"
  15194. msgstr ""
  15195. #. type: itemx
  15196. #: guix-git/doc/guix.texi:9691
  15197. #, no-wrap
  15198. msgid "(ungexp-native-splicing @var{lst})"
  15199. msgstr ""
  15200. #. type: table
  15201. #: guix-git/doc/guix.texi:9694
  15202. msgid "Like the above, but refers to native builds of the objects listed in @var{lst}."
  15203. msgstr ""
  15204. #. type: deffn
  15205. #: guix-git/doc/guix.texi:9699
  15206. msgid "G-expressions created by @code{gexp} or @code{#~} are run-time objects of the @code{gexp?} type (see below)."
  15207. msgstr ""
  15208. #. type: deffn
  15209. #: guix-git/doc/guix.texi:9701
  15210. #, no-wrap
  15211. msgid "{Scheme Syntax} with-imported-modules @var{modules} @var{body}@dots{}"
  15212. msgstr ""
  15213. #. type: deffn
  15214. #: guix-git/doc/guix.texi:9704
  15215. msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{modules} in their execution environment."
  15216. msgstr ""
  15217. #. type: deffn
  15218. #: guix-git/doc/guix.texi:9708
  15219. 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:"
  15220. msgstr ""
  15221. #. type: lisp
  15222. #: guix-git/doc/guix.texi:9714
  15223. #, no-wrap
  15224. msgid ""
  15225. "`((guix build utils)\n"
  15226. " (guix gcrypt)\n"
  15227. " ((guix config) => ,(scheme-file \"config.scm\"\n"
  15228. " #~(define-module @dots{}))))\n"
  15229. msgstr ""
  15230. #. type: deffn
  15231. #: guix-git/doc/guix.texi:9719
  15232. 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."
  15233. msgstr ""
  15234. #. type: deffn
  15235. #: guix-git/doc/guix.texi:9723
  15236. 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{}."
  15237. msgstr ""
  15238. #. type: deffn
  15239. #: guix-git/doc/guix.texi:9725
  15240. #, no-wrap
  15241. msgid "{Scheme Syntax} with-extensions @var{extensions} @var{body}@dots{}"
  15242. msgstr ""
  15243. #. type: deffn
  15244. #: guix-git/doc/guix.texi:9730
  15245. 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."
  15246. msgstr ""
  15247. #. type: deffn
  15248. #: guix-git/doc/guix.texi:9735
  15249. 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{}."
  15250. msgstr ""
  15251. #. type: deffn
  15252. #: guix-git/doc/guix.texi:9737
  15253. #, no-wrap
  15254. msgid "{Scheme Procedure} gexp? @var{obj}"
  15255. msgstr ""
  15256. #. type: deffn
  15257. #: guix-git/doc/guix.texi:9739
  15258. msgid "Return @code{#t} if @var{obj} is a G-expression."
  15259. msgstr ""
  15260. #. type: Plain text
  15261. #: guix-git/doc/guix.texi:9745
  15262. 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)."
  15263. msgstr ""
  15264. #. type: deffn
  15265. #: guix-git/doc/guix.texi:9746
  15266. #, no-wrap
  15267. msgid "{Monadic Procedure} gexp->derivation @var{name} @var{exp} @"
  15268. msgstr ""
  15269. #. type: deffn
  15270. #: guix-git/doc/guix.texi:9764
  15271. 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}."
  15272. msgstr ""
  15273. #. type: deffn
  15274. #: guix-git/doc/guix.texi:9772
  15275. 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))}."
  15276. msgstr ""
  15277. #. type: deffn
  15278. #: guix-git/doc/guix.texi:9775
  15279. 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\"}."
  15280. msgstr ""
  15281. #. type: deffn
  15282. #: guix-git/doc/guix.texi:9778
  15283. msgid "@var{graft?} determines whether packages referred to by @var{exp} should be grafted when applicable."
  15284. msgstr ""
  15285. #. type: deffn
  15286. #: guix-git/doc/guix.texi:9781
  15287. msgid "When @var{references-graphs} is true, it must be a list of tuples of one of the following forms:"
  15288. msgstr ""
  15289. #. type: example
  15290. #: guix-git/doc/guix.texi:9788
  15291. #, no-wrap
  15292. msgid ""
  15293. "(@var{file-name} @var{package})\n"
  15294. "(@var{file-name} @var{package} @var{output})\n"
  15295. "(@var{file-name} @var{derivation})\n"
  15296. "(@var{file-name} @var{derivation} @var{output})\n"
  15297. "(@var{file-name} @var{store-item})\n"
  15298. msgstr ""
  15299. #. type: deffn
  15300. #: guix-git/doc/guix.texi:9794
  15301. 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."
  15302. msgstr ""
  15303. #. type: deffn
  15304. #: guix-git/doc/guix.texi:9800
  15305. 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."
  15306. msgstr ""
  15307. #. type: deffn
  15308. #: guix-git/doc/guix.texi:9803
  15309. msgid "@var{deprecation-warnings} determines whether to show deprecation warnings while compiling modules. It can be @code{#f}, @code{#t}, or @code{'detailed}."
  15310. msgstr ""
  15311. #. type: deffn
  15312. #: guix-git/doc/guix.texi:9805
  15313. msgid "The other arguments are as for @code{derivation} (@pxref{Derivations})."
  15314. msgstr ""
  15315. #. type: cindex
  15316. #: guix-git/doc/guix.texi:9807
  15317. #, no-wrap
  15318. msgid "file-like objects"
  15319. msgstr ""
  15320. #. type: Plain text
  15321. #: guix-git/doc/guix.texi:9812
  15322. 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:"
  15323. msgstr ""
  15324. #. type: lisp
  15325. #: guix-git/doc/guix.texi:9816
  15326. #, no-wrap
  15327. msgid ""
  15328. "#~(system* #$(file-append glibc \"/sbin/nscd\") \"-f\"\n"
  15329. " #$(local-file \"/tmp/my-nscd.conf\"))\n"
  15330. msgstr ""
  15331. #. type: Plain text
  15332. #: guix-git/doc/guix.texi:9825
  15333. 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."
  15334. msgstr ""
  15335. #. type: deffn
  15336. #: guix-git/doc/guix.texi:9826
  15337. #, no-wrap
  15338. msgid "{Scheme Procedure} local-file @var{file} [@var{name}] @"
  15339. msgstr ""
  15340. #. type: deffn
  15341. #: guix-git/doc/guix.texi:9835
  15342. 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}."
  15343. msgstr ""
  15344. #. type: deffn
  15345. #: guix-git/doc/guix.texi:9847
  15346. msgid "This is the declarative counterpart of the @code{interned-file} monadic procedure (@pxref{The Store Monad, @code{interned-file}})."
  15347. msgstr ""
  15348. #. type: deffn
  15349. #: guix-git/doc/guix.texi:9849
  15350. #, no-wrap
  15351. msgid "{Scheme Procedure} plain-file @var{name} @var{content}"
  15352. msgstr ""
  15353. #. type: deffn
  15354. #: guix-git/doc/guix.texi:9852
  15355. 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."
  15356. msgstr ""
  15357. #. type: deffn
  15358. #: guix-git/doc/guix.texi:9854
  15359. msgid "This is the declarative counterpart of @code{text-file}."
  15360. msgstr ""
  15361. #. type: deffn
  15362. #: guix-git/doc/guix.texi:9856
  15363. #, no-wrap
  15364. msgid "{Scheme Procedure} computed-file @var{name} @var{gexp} @"
  15365. msgstr ""
  15366. #. type: deffn
  15367. #: guix-git/doc/guix.texi:9863
  15368. 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}."
  15369. msgstr ""
  15370. #. type: deffn
  15371. #: guix-git/doc/guix.texi:9865
  15372. msgid "This is the declarative counterpart of @code{gexp->derivation}."
  15373. msgstr ""
  15374. #. type: deffn
  15375. #: guix-git/doc/guix.texi:9867
  15376. #, no-wrap
  15377. msgid "{Monadic Procedure} gexp->script @var{name} @var{exp} @"
  15378. msgstr ""
  15379. #. type: deffn
  15380. #: guix-git/doc/guix.texi:9873
  15381. 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}."
  15382. msgstr ""
  15383. #. type: deffn
  15384. #: guix-git/doc/guix.texi:9876
  15385. msgid "The example below builds a script that simply invokes the @command{ls} command:"
  15386. msgstr ""
  15387. #. type: lisp
  15388. #: guix-git/doc/guix.texi:9879
  15389. #, no-wrap
  15390. msgid ""
  15391. "(use-modules (guix gexp) (gnu packages base))\n"
  15392. "\n"
  15393. msgstr ""
  15394. #. type: lisp
  15395. #: guix-git/doc/guix.texi:9883
  15396. #, no-wrap
  15397. msgid ""
  15398. "(gexp->script \"list-files\"\n"
  15399. " #~(execl #$(file-append coreutils \"/bin/ls\")\n"
  15400. " \"ls\"))\n"
  15401. msgstr ""
  15402. #. type: deffn
  15403. #: guix-git/doc/guix.texi:9888
  15404. 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:"
  15405. msgstr ""
  15406. #. type: example
  15407. #: guix-git/doc/guix.texi:9893
  15408. #, no-wrap
  15409. msgid ""
  15410. "#!/gnu/store/@dots{}-guile-2.0.11/bin/guile -ds\n"
  15411. "!#\n"
  15412. "(execl \"/gnu/store/@dots{}-coreutils-8.22\"/bin/ls\" \"ls\")\n"
  15413. msgstr ""
  15414. #. type: deffn
  15415. #: guix-git/doc/guix.texi:9896
  15416. #, no-wrap
  15417. msgid "{Scheme Procedure} program-file @var{name} @var{exp} @"
  15418. msgstr ""
  15419. #. type: deffn
  15420. #: guix-git/doc/guix.texi:9901
  15421. 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}."
  15422. msgstr ""
  15423. #. type: deffn
  15424. #: guix-git/doc/guix.texi:9903
  15425. msgid "This is the declarative counterpart of @code{gexp->script}."
  15426. msgstr ""
  15427. #. type: deffn
  15428. #: guix-git/doc/guix.texi:9905
  15429. #, no-wrap
  15430. msgid "{Monadic Procedure} gexp->file @var{name} @var{exp} @"
  15431. msgstr ""
  15432. #. type: deffn
  15433. #: guix-git/doc/guix.texi:9912
  15434. 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."
  15435. msgstr ""
  15436. #. type: deffn
  15437. #: guix-git/doc/guix.texi:9917
  15438. 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}."
  15439. msgstr ""
  15440. #. type: deffn
  15441. #: guix-git/doc/guix.texi:9920
  15442. msgid "The resulting file holds references to all the dependencies of @var{exp} or a subset thereof."
  15443. msgstr ""
  15444. #. type: deffn
  15445. #: guix-git/doc/guix.texi:9922
  15446. #, no-wrap
  15447. msgid "{Scheme Procedure} scheme-file @var{name} @var{exp} @"
  15448. msgstr ""
  15449. #. type: deffn
  15450. #: guix-git/doc/guix.texi:9926
  15451. msgid "[#:splice? #f] [#:set-load-path? #t] Return an object representing the Scheme file @var{name} that contains @var{exp}."
  15452. msgstr ""
  15453. #. type: deffn
  15454. #: guix-git/doc/guix.texi:9928
  15455. msgid "This is the declarative counterpart of @code{gexp->file}."
  15456. msgstr ""
  15457. #. type: deffn
  15458. #: guix-git/doc/guix.texi:9930
  15459. #, no-wrap
  15460. msgid "{Monadic Procedure} text-file* @var{name} @var{text} @dots{}"
  15461. msgstr ""
  15462. #. type: deffn
  15463. #: guix-git/doc/guix.texi:9936
  15464. 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."
  15465. msgstr ""
  15466. #. type: deffn
  15467. #: guix-git/doc/guix.texi:9941
  15468. 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:"
  15469. msgstr ""
  15470. #. type: lisp
  15471. #: guix-git/doc/guix.texi:9949
  15472. #, no-wrap
  15473. msgid ""
  15474. "(define (profile.sh)\n"
  15475. " ;; Return the name of a shell script in the store that\n"
  15476. " ;; initializes the 'PATH' environment variable.\n"
  15477. " (text-file* \"profile.sh\"\n"
  15478. " \"export PATH=\" coreutils \"/bin:\"\n"
  15479. " grep \"/bin:\" sed \"/bin\\n\"))\n"
  15480. msgstr ""
  15481. #. type: deffn
  15482. #: guix-git/doc/guix.texi:9954
  15483. 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."
  15484. msgstr ""
  15485. #. type: deffn
  15486. #: guix-git/doc/guix.texi:9956
  15487. #, no-wrap
  15488. msgid "{Scheme Procedure} mixed-text-file @var{name} @var{text} @dots{}"
  15489. msgstr ""
  15490. #. type: deffn
  15491. #: guix-git/doc/guix.texi:9960
  15492. 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:"
  15493. msgstr ""
  15494. #. type: lisp
  15495. #: guix-git/doc/guix.texi:9964
  15496. #, no-wrap
  15497. msgid ""
  15498. "(mixed-text-file \"profile\"\n"
  15499. " \"export PATH=\" coreutils \"/bin:\" grep \"/bin\")\n"
  15500. msgstr ""
  15501. #. type: deffn
  15502. #: guix-git/doc/guix.texi:9967
  15503. msgid "This is the declarative counterpart of @code{text-file*}."
  15504. msgstr ""
  15505. #. type: deffn
  15506. #: guix-git/doc/guix.texi:9969
  15507. #, no-wrap
  15508. msgid "{Scheme Procedure} file-union @var{name} @var{files}"
  15509. msgstr ""
  15510. #. type: deffn
  15511. #: guix-git/doc/guix.texi:9974
  15512. 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:"
  15513. msgstr ""
  15514. #. type: lisp
  15515. #: guix-git/doc/guix.texi:9981
  15516. #, no-wrap
  15517. msgid ""
  15518. "(file-union \"etc\"\n"
  15519. " `((\"hosts\" ,(plain-file \"hosts\"\n"
  15520. " \"127.0.0.1 localhost\"))\n"
  15521. " (\"bashrc\" ,(plain-file \"bashrc\"\n"
  15522. " \"alias ls='ls --color=auto'\"))))\n"
  15523. msgstr ""
  15524. #. type: deffn
  15525. #: guix-git/doc/guix.texi:9984
  15526. msgid "This yields an @code{etc} directory containing these two files."
  15527. msgstr ""
  15528. #. type: deffn
  15529. #: guix-git/doc/guix.texi:9986
  15530. #, no-wrap
  15531. msgid "{Scheme Procedure} directory-union @var{name} @var{things}"
  15532. msgstr ""
  15533. #. type: deffn
  15534. #: guix-git/doc/guix.texi:9989
  15535. 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:"
  15536. msgstr ""
  15537. #. type: lisp
  15538. #: guix-git/doc/guix.texi:9992
  15539. #, no-wrap
  15540. msgid "(directory-union \"guile+emacs\" (list guile emacs))\n"
  15541. msgstr ""
  15542. #. type: deffn
  15543. #: guix-git/doc/guix.texi:9995
  15544. msgid "yields a directory that is the union of the @code{guile} and @code{emacs} packages."
  15545. msgstr ""
  15546. #. type: deffn
  15547. #: guix-git/doc/guix.texi:9997
  15548. #, no-wrap
  15549. msgid "{Scheme Procedure} file-append @var{obj} @var{suffix} @dots{}"
  15550. msgstr ""
  15551. #. type: deffn
  15552. #: guix-git/doc/guix.texi:10001
  15553. 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."
  15554. msgstr ""
  15555. #. type: deffn
  15556. #: guix-git/doc/guix.texi:10003
  15557. msgid "As an example, consider this gexp:"
  15558. msgstr ""
  15559. #. type: lisp
  15560. #: guix-git/doc/guix.texi:10008
  15561. #, no-wrap
  15562. msgid ""
  15563. "(gexp->script \"run-uname\"\n"
  15564. " #~(system* #$(file-append coreutils\n"
  15565. " \"/bin/uname\")))\n"
  15566. msgstr ""
  15567. #. type: deffn
  15568. #: guix-git/doc/guix.texi:10011
  15569. msgid "The same effect could be achieved with:"
  15570. msgstr ""
  15571. #. type: lisp
  15572. #: guix-git/doc/guix.texi:10016
  15573. #, no-wrap
  15574. msgid ""
  15575. "(gexp->script \"run-uname\"\n"
  15576. " #~(system* (string-append #$coreutils\n"
  15577. " \"/bin/uname\")))\n"
  15578. msgstr ""
  15579. #. type: deffn
  15580. #: guix-git/doc/guix.texi:10022
  15581. 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}."
  15582. msgstr ""
  15583. #. type: deffn
  15584. #: guix-git/doc/guix.texi:10024
  15585. #, no-wrap
  15586. msgid "{Scheme Syntax} let-system @var{system} @var{body}@dots{}"
  15587. msgstr ""
  15588. #. type: deffnx
  15589. #: guix-git/doc/guix.texi:10025
  15590. #, no-wrap
  15591. msgid "{Scheme Syntax} let-system (@var{system} @var{target}) @var{body}@dots{}"
  15592. msgstr ""
  15593. #. type: deffn
  15594. #: guix-git/doc/guix.texi:10028
  15595. msgid "Bind @var{system} to the currently targeted system---e.g., @code{\"x86_64-linux\"}---within @var{body}."
  15596. msgstr ""
  15597. #. type: deffn
  15598. #: guix-git/doc/guix.texi:10033
  15599. 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."
  15600. msgstr ""
  15601. #. type: deffn
  15602. #: guix-git/doc/guix.texi:10036
  15603. 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:"
  15604. msgstr ""
  15605. #. type: lisp
  15606. #: guix-git/doc/guix.texi:10047
  15607. #, no-wrap
  15608. msgid ""
  15609. "#~(system*\n"
  15610. " #+(let-system system\n"
  15611. " (cond ((string-prefix? \"armhf-\" system)\n"
  15612. " (file-append qemu \"/bin/qemu-system-arm\"))\n"
  15613. " ((string-prefix? \"x86_64-\" system)\n"
  15614. " (file-append qemu \"/bin/qemu-system-x86_64\"))\n"
  15615. " (else\n"
  15616. " (error \"dunno!\"))))\n"
  15617. " \"-net\" \"user\" #$image)\n"
  15618. msgstr ""
  15619. #. type: deffn
  15620. #: guix-git/doc/guix.texi:10050
  15621. #, no-wrap
  15622. msgid "{Scheme Syntax} with-parameters ((@var{parameter} @var{value}) @dots{}) @var{exp}"
  15623. msgstr ""
  15624. #. type: deffn
  15625. #: guix-git/doc/guix.texi:10056
  15626. 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."
  15627. msgstr ""
  15628. #. type: deffn
  15629. #: guix-git/doc/guix.texi:10059
  15630. msgid "A typical use of @code{with-parameters} is to force the system in effect for a given object:"
  15631. msgstr ""
  15632. #. type: lisp
  15633. #: guix-git/doc/guix.texi:10063
  15634. #, no-wrap
  15635. msgid ""
  15636. "(with-parameters ((%current-system \"i686-linux\"))\n"
  15637. " coreutils)\n"
  15638. msgstr ""
  15639. #. type: deffn
  15640. #: guix-git/doc/guix.texi:10067
  15641. msgid "The example above returns an object that corresponds to the i686 build of Coreutils, regardless of the current value of @code{%current-system}."
  15642. msgstr ""
  15643. #. type: Plain text
  15644. #: guix-git/doc/guix.texi:10074
  15645. 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."
  15646. msgstr ""
  15647. #. type: Plain text
  15648. #: guix-git/doc/guix.texi:10080
  15649. 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."
  15650. msgstr ""
  15651. #. type: deffn
  15652. #: guix-git/doc/guix.texi:10081
  15653. #, no-wrap
  15654. msgid "{Monadic Procedure} lower-object @var{obj} [@var{system}] @"
  15655. msgstr ""
  15656. #. type: deffn
  15657. #: guix-git/doc/guix.texi:10087
  15658. 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>}."
  15659. msgstr ""
  15660. #. type: deffn
  15661. #: guix-git/doc/guix.texi:10089
  15662. #, no-wrap
  15663. msgid "{Procedure} gexp->approximate-sexp @var{gexp}"
  15664. msgstr ""
  15665. #. type: deffn
  15666. #: guix-git/doc/guix.texi:10097
  15667. 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."
  15668. msgstr ""
  15669. #. type: section
  15670. #: guix-git/doc/guix.texi:10100
  15671. #, no-wrap
  15672. msgid "Invoking @command{guix repl}"
  15673. msgstr "Invocando @command{guix repl}"
  15674. #. type: cindex
  15675. #: guix-git/doc/guix.texi:10102
  15676. #, no-wrap
  15677. msgid "REPL, read-eval-print loop, script"
  15678. msgstr ""
  15679. #. type: Plain text
  15680. #: guix-git/doc/guix.texi:10112
  15681. 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."
  15682. msgstr ""
  15683. #. type: example
  15684. #: guix-git/doc/guix.texi:10117
  15685. #, no-wrap
  15686. msgid "guix repl @var{options} [@var{file} @var{args}]\n"
  15687. msgstr ""
  15688. #. type: Plain text
  15689. #: guix-git/doc/guix.texi:10121
  15690. msgid "When a @var{file} argument is provided, @var{file} is executed as a Guile scripts:"
  15691. msgstr ""
  15692. #. type: example
  15693. #: guix-git/doc/guix.texi:10124
  15694. #, no-wrap
  15695. msgid "guix repl my-script.scm\n"
  15696. msgstr ""
  15697. #. type: Plain text
  15698. #: guix-git/doc/guix.texi:10128
  15699. msgid "To pass arguments to the script, use @code{--} to prevent them from being interpreted as arguments to @command{guix repl} itself:"
  15700. msgstr ""
  15701. #. type: example
  15702. #: guix-git/doc/guix.texi:10131
  15703. #, no-wrap
  15704. msgid "guix repl -- my-script.scm --input=foo.txt\n"
  15705. msgstr ""
  15706. #. type: Plain text
  15707. #: guix-git/doc/guix.texi:10136
  15708. 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:"
  15709. msgstr ""
  15710. #. type: example
  15711. #: guix-git/doc/guix.texi:10140
  15712. #, no-wrap
  15713. msgid ""
  15714. "@code{#!/usr/bin/env -S guix repl --}\n"
  15715. "@code{!#}\n"
  15716. msgstr ""
  15717. #. type: Plain text
  15718. #: guix-git/doc/guix.texi:10143
  15719. msgid "Without a file name argument, a Guile REPL is started:"
  15720. msgstr ""
  15721. #. type: example
  15722. #: guix-git/doc/guix.texi:10149
  15723. #, no-wrap
  15724. msgid ""
  15725. "$ guix repl\n"
  15726. "scheme@@(guile-user)> ,use (gnu packages base)\n"
  15727. "scheme@@(guile-user)> coreutils\n"
  15728. "$1 = #<package coreutils@@8.29 gnu/packages/base.scm:327 3e28300>\n"
  15729. msgstr ""
  15730. #. type: Plain text
  15731. #: guix-git/doc/guix.texi:10156
  15732. 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."
  15733. msgstr ""
  15734. #. type: Plain text
  15735. #: guix-git/doc/guix.texi:10158
  15736. msgid "The available options are as follows:"
  15737. msgstr ""
  15738. #. type: item
  15739. #: guix-git/doc/guix.texi:10160 guix-git/doc/guix.texi:12595
  15740. #, no-wrap
  15741. msgid "--type=@var{type}"
  15742. msgstr ""
  15743. #. type: itemx
  15744. #: guix-git/doc/guix.texi:10161 guix-git/doc/guix.texi:12596
  15745. #: guix-git/doc/guix.texi:33873
  15746. #, no-wrap
  15747. msgid "-t @var{type}"
  15748. msgstr "-t @var{tipo}"
  15749. #. type: table
  15750. #: guix-git/doc/guix.texi:10163
  15751. msgid "Start a REPL of the given @var{TYPE}, which can be one of the following:"
  15752. msgstr ""
  15753. #. type: item
  15754. #: guix-git/doc/guix.texi:10165
  15755. #, no-wrap
  15756. msgid "guile"
  15757. msgstr ""
  15758. #. type: table
  15759. #: guix-git/doc/guix.texi:10167
  15760. msgid "This is default, and it spawns a standard full-featured Guile REPL."
  15761. msgstr ""
  15762. #. type: item
  15763. #: guix-git/doc/guix.texi:10167
  15764. #, no-wrap
  15765. msgid "machine"
  15766. msgstr ""
  15767. #. type: table
  15768. #: guix-git/doc/guix.texi:10170
  15769. msgid "Spawn a REPL that uses the machine-readable protocol. This is the protocol that the @code{(guix inferior)} module speaks."
  15770. msgstr ""
  15771. #. type: table
  15772. #: guix-git/doc/guix.texi:10176
  15773. 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:"
  15774. msgstr ""
  15775. #. type: item
  15776. #: guix-git/doc/guix.texi:10178
  15777. #, no-wrap
  15778. msgid "--listen=tcp:37146"
  15779. msgstr ""
  15780. #. type: table
  15781. #: guix-git/doc/guix.texi:10180
  15782. msgid "Accept connections on localhost on port 37146."
  15783. msgstr ""
  15784. #. type: item
  15785. #: guix-git/doc/guix.texi:10181
  15786. #, no-wrap
  15787. msgid "--listen=unix:/tmp/socket"
  15788. msgstr ""
  15789. #. type: table
  15790. #: guix-git/doc/guix.texi:10183
  15791. msgid "Accept connections on the Unix-domain socket @file{/tmp/socket}."
  15792. msgstr ""
  15793. #. type: item
  15794. #: guix-git/doc/guix.texi:10185 guix-git/doc/guix.texi:10289
  15795. #: guix-git/doc/guix.texi:12064 guix-git/doc/guix.texi:12244
  15796. #: guix-git/doc/guix.texi:12389 guix-git/doc/guix.texi:12643
  15797. #, no-wrap
  15798. msgid "--load-path=@var{directory}"
  15799. msgstr ""
  15800. #. type: itemx
  15801. #: guix-git/doc/guix.texi:10186 guix-git/doc/guix.texi:10290
  15802. #: guix-git/doc/guix.texi:12245 guix-git/doc/guix.texi:12390
  15803. #: guix-git/doc/guix.texi:12644
  15804. #, no-wrap
  15805. msgid "-L @var{directory}"
  15806. msgstr "-L @var{diretório}"
  15807. #. type: table
  15808. #: guix-git/doc/guix.texi:10189 guix-git/doc/guix.texi:10293
  15809. #: guix-git/doc/guix.texi:12067 guix-git/doc/guix.texi:12248
  15810. #: guix-git/doc/guix.texi:12393 guix-git/doc/guix.texi:12647
  15811. msgid "Add @var{directory} to the front of the package module search path (@pxref{Package Modules})."
  15812. msgstr ""
  15813. #. type: table
  15814. #: guix-git/doc/guix.texi:10192
  15815. msgid "This allows users to define their own packages and make them visible to the script or REPL."
  15816. msgstr ""
  15817. #. type: itemx
  15818. #: guix-git/doc/guix.texi:10193 guix-git/doc/guix.texi:10752
  15819. #, no-wrap
  15820. msgid "-q"
  15821. msgstr ""
  15822. #. type: table
  15823. #: guix-git/doc/guix.texi:10196
  15824. msgid "Inhibit loading of the @file{~/.guile} file. By default, that configuration file is loaded when spawning a @code{guile} REPL."
  15825. msgstr ""
  15826. #. type: Plain text
  15827. #: guix-git/doc/guix.texi:10206
  15828. 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."
  15829. msgstr ""
  15830. #. type: cindex
  15831. #: guix-git/doc/guix.texi:10228
  15832. #, no-wrap
  15833. msgid "package building"
  15834. msgstr ""
  15835. #. type: command{#1}
  15836. #: guix-git/doc/guix.texi:10229
  15837. #, no-wrap
  15838. msgid "guix build"
  15839. msgstr ""
  15840. #. type: Plain text
  15841. #: guix-git/doc/guix.texi:10235
  15842. 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."
  15843. msgstr ""
  15844. #. type: example
  15845. #: guix-git/doc/guix.texi:10240
  15846. #, no-wrap
  15847. msgid "guix build @var{options} @var{package-or-derivation}@dots{}\n"
  15848. msgstr ""
  15849. #. type: Plain text
  15850. #: guix-git/doc/guix.texi:10245
  15851. 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:"
  15852. msgstr ""
  15853. #. type: example
  15854. #: guix-git/doc/guix.texi:10248
  15855. #, no-wrap
  15856. msgid "guix build emacs guile\n"
  15857. msgstr ""
  15858. #. type: Plain text
  15859. #: guix-git/doc/guix.texi:10251
  15860. msgid "Similarly, the following command builds all the available packages:"
  15861. msgstr ""
  15862. #. type: example
  15863. #: guix-git/doc/guix.texi:10255
  15864. #, no-wrap
  15865. msgid ""
  15866. "guix build --quiet --keep-going \\\n"
  15867. " $(guix package -A | awk '@{ print $1 \"@@\" $2 @}')\n"
  15868. msgstr ""
  15869. #. type: Plain text
  15870. #: guix-git/doc/guix.texi:10263
  15871. 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})."
  15872. msgstr ""
  15873. #. type: Plain text
  15874. #: guix-git/doc/guix.texi:10268
  15875. 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."
  15876. msgstr ""
  15877. #. type: Plain text
  15878. #: guix-git/doc/guix.texi:10271
  15879. msgid "There may be zero or more @var{options}. The available options are described in the subsections below."
  15880. msgstr ""
  15881. #. type: Plain text
  15882. #: guix-git/doc/guix.texi:10286
  15883. 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:"
  15884. msgstr ""
  15885. #. type: table
  15886. #: guix-git/doc/guix.texi:10296 guix-git/doc/guix.texi:12070
  15887. #: guix-git/doc/guix.texi:12251 guix-git/doc/guix.texi:12396
  15888. #: guix-git/doc/guix.texi:12650
  15889. msgid "This allows users to define their own packages and make them visible to the command-line tools."
  15890. msgstr ""
  15891. #. type: item
  15892. #: guix-git/doc/guix.texi:10297
  15893. #, no-wrap
  15894. msgid "--keep-failed"
  15895. msgstr "--keep-failed"
  15896. #. type: itemx
  15897. #: guix-git/doc/guix.texi:10298
  15898. #, no-wrap
  15899. msgid "-K"
  15900. msgstr ""
  15901. #. type: table
  15902. #: guix-git/doc/guix.texi:10304
  15903. 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."
  15904. msgstr ""
  15905. #. type: table
  15906. #: guix-git/doc/guix.texi:10308
  15907. 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})."
  15908. msgstr ""
  15909. #. type: item
  15910. #: guix-git/doc/guix.texi:10309
  15911. #, no-wrap
  15912. msgid "--keep-going"
  15913. msgstr "--keep-going"
  15914. #. type: itemx
  15915. #: guix-git/doc/guix.texi:10310
  15916. #, no-wrap
  15917. msgid "-k"
  15918. msgstr ""
  15919. #. type: table
  15920. #: guix-git/doc/guix.texi:10313
  15921. msgid "Keep going when some of the derivations fail to build; return only once all the builds have either completed or failed."
  15922. msgstr ""
  15923. #. type: table
  15924. #: guix-git/doc/guix.texi:10316
  15925. msgid "The default behavior is to stop as soon as one of the specified derivations has failed."
  15926. msgstr ""
  15927. #. type: table
  15928. #: guix-git/doc/guix.texi:10320
  15929. msgid "Do not build the derivations."
  15930. msgstr ""
  15931. #. type: anchor{#1}
  15932. #: guix-git/doc/guix.texi:10322
  15933. msgid "fallback-option"
  15934. msgstr "fallback-option"
  15935. #. type: item
  15936. #: guix-git/doc/guix.texi:10322
  15937. #, no-wrap
  15938. msgid "--fallback"
  15939. msgstr "--fallback"
  15940. #. type: table
  15941. #: guix-git/doc/guix.texi:10325
  15942. msgid "When substituting a pre-built binary fails, fall back to building packages locally (@pxref{Substitution Failure})."
  15943. msgstr ""
  15944. #. type: anchor{#1}
  15945. #: guix-git/doc/guix.texi:10331
  15946. msgid "client-substitute-urls"
  15947. msgstr ""
  15948. #. type: table
  15949. #: guix-git/doc/guix.texi:10331
  15950. 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})."
  15951. msgstr ""
  15952. #. type: table
  15953. #: guix-git/doc/guix.texi:10335
  15954. 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})."
  15955. msgstr ""
  15956. #. type: table
  15957. #: guix-git/doc/guix.texi:10338
  15958. msgid "When @var{urls} is the empty string, substitutes are effectively disabled."
  15959. msgstr ""
  15960. #. type: item
  15961. #: guix-git/doc/guix.texi:10344
  15962. #, no-wrap
  15963. msgid "--no-grafts"
  15964. msgstr "--no-grafts"
  15965. #. type: table
  15966. #: guix-git/doc/guix.texi:10348
  15967. 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."
  15968. msgstr ""
  15969. #. type: item
  15970. #: guix-git/doc/guix.texi:10349
  15971. #, no-wrap
  15972. msgid "--rounds=@var{n}"
  15973. msgstr "--rounds=@var{n}"
  15974. #. type: table
  15975. #: guix-git/doc/guix.texi:10352
  15976. msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical."
  15977. msgstr ""
  15978. #. type: table
  15979. #: guix-git/doc/guix.texi:10357
  15980. 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."
  15981. msgstr ""
  15982. #. type: table
  15983. #: guix-git/doc/guix.texi:10373
  15984. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--max-silent-time}})."
  15985. msgstr ""
  15986. #. type: table
  15987. #: guix-git/doc/guix.texi:10380
  15988. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--timeout}})."
  15989. msgstr ""
  15990. #. type: cindex
  15991. #: guix-git/doc/guix.texi:10383
  15992. #, no-wrap
  15993. msgid "verbosity, of the command-line tools"
  15994. msgstr ""
  15995. #. type: cindex
  15996. #: guix-git/doc/guix.texi:10384
  15997. #, no-wrap
  15998. msgid "build logs, verbosity"
  15999. msgstr ""
  16000. #. type: item
  16001. #: guix-git/doc/guix.texi:10385
  16002. #, no-wrap
  16003. msgid "-v @var{level}"
  16004. msgstr ""
  16005. #. type: itemx
  16006. #: guix-git/doc/guix.texi:10386
  16007. #, no-wrap
  16008. msgid "--verbosity=@var{level}"
  16009. msgstr ""
  16010. #. type: table
  16011. #: guix-git/doc/guix.texi:10391
  16012. 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."
  16013. msgstr ""
  16014. #. type: table
  16015. #: guix-git/doc/guix.texi:10396
  16016. 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."
  16017. msgstr ""
  16018. #. type: table
  16019. #: guix-git/doc/guix.texi:10402
  16020. 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."
  16021. msgstr ""
  16022. #. type: item
  16023. #: guix-git/doc/guix.texi:10403
  16024. #, no-wrap
  16025. msgid "--debug=@var{level}"
  16026. msgstr ""
  16027. #. type: table
  16028. #: guix-git/doc/guix.texi:10407
  16029. 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."
  16030. msgstr ""
  16031. #. type: Plain text
  16032. #: guix-git/doc/guix.texi:10414
  16033. 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."
  16034. msgstr ""
  16035. #. type: Plain text
  16036. #: guix-git/doc/guix.texi:10418
  16037. 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."
  16038. msgstr ""
  16039. #. type: defvr
  16040. #: guix-git/doc/guix.texi:10419
  16041. #, no-wrap
  16042. msgid "{Environment Variable} GUIX_BUILD_OPTIONS"
  16043. msgstr ""
  16044. #. type: defvr
  16045. #: guix-git/doc/guix.texi:10424
  16046. 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:"
  16047. msgstr ""
  16048. #. type: example
  16049. #: guix-git/doc/guix.texi:10427
  16050. #, no-wrap
  16051. msgid "$ export GUIX_BUILD_OPTIONS=\"--no-substitutes -c 2 -L /foo/bar\"\n"
  16052. msgstr ""
  16053. #. type: defvr
  16054. #: guix-git/doc/guix.texi:10431
  16055. msgid "These options are parsed independently, and the result is appended to the parsed command-line options."
  16056. msgstr ""
  16057. #. type: cindex
  16058. #: guix-git/doc/guix.texi:10437
  16059. #, no-wrap
  16060. msgid "package variants"
  16061. msgstr ""
  16062. #. type: Plain text
  16063. #: guix-git/doc/guix.texi:10445
  16064. 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})."
  16065. msgstr ""
  16066. #. type: Plain text
  16067. #: guix-git/doc/guix.texi:10449
  16068. 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."
  16069. msgstr ""
  16070. #. type: Plain text
  16071. #: guix-git/doc/guix.texi:10454
  16072. 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)."
  16073. msgstr ""
  16074. #. type: item
  16075. #: guix-git/doc/guix.texi:10457
  16076. #, no-wrap
  16077. msgid "--with-source=@var{source}"
  16078. msgstr "--with-source=@var{fonte}"
  16079. #. type: itemx
  16080. #: guix-git/doc/guix.texi:10458
  16081. #, no-wrap
  16082. msgid "--with-source=@var{package}=@var{source}"
  16083. msgstr "--with-source=@var{pacote}=@var{fonte}"
  16084. #. type: itemx
  16085. #: guix-git/doc/guix.texi:10459
  16086. #, no-wrap
  16087. msgid "--with-source=@var{package}@@@var{version}=@var{source}"
  16088. msgstr ""
  16089. #. type: table
  16090. #: guix-git/doc/guix.texi:10464
  16091. 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})."
  16092. msgstr ""
  16093. #. type: table
  16094. #: guix-git/doc/guix.texi:10470
  16095. 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}."
  16096. msgstr ""
  16097. #. type: table
  16098. #: guix-git/doc/guix.texi:10473
  16099. 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}."
  16100. msgstr ""
  16101. #. type: table
  16102. #: guix-git/doc/guix.texi:10478
  16103. 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:"
  16104. msgstr ""
  16105. #. type: example
  16106. #: guix-git/doc/guix.texi:10481
  16107. #, no-wrap
  16108. msgid "guix build ed --with-source=mirror://gnu/ed/ed-1.7.tar.gz\n"
  16109. msgstr ""
  16110. #. type: table
  16111. #: guix-git/doc/guix.texi:10485
  16112. msgid "As a developer, @option{--with-source} makes it easy to test release candidates:"
  16113. msgstr ""
  16114. #. type: example
  16115. #: guix-git/doc/guix.texi:10488
  16116. #, no-wrap
  16117. msgid "guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz\n"
  16118. msgstr ""
  16119. #. type: table
  16120. #: guix-git/doc/guix.texi:10491
  16121. msgid "@dots{} or to build from a checkout in a pristine environment:"
  16122. msgstr ""
  16123. #. type: example
  16124. #: guix-git/doc/guix.texi:10495
  16125. #, no-wrap
  16126. msgid ""
  16127. "$ git clone git://git.sv.gnu.org/guix.git\n"
  16128. "$ guix build guix --with-source=guix@@1.0=./guix\n"
  16129. msgstr ""
  16130. #. type: item
  16131. #: guix-git/doc/guix.texi:10497
  16132. #, no-wrap
  16133. msgid "--with-input=@var{package}=@var{replacement}"
  16134. msgstr "--with-input=@var{pacote}=@var{substituto}"
  16135. #. type: table
  16136. #: guix-git/doc/guix.texi:10502
  16137. 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}."
  16138. msgstr ""
  16139. #. type: table
  16140. #: guix-git/doc/guix.texi:10506
  16141. 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}:"
  16142. msgstr ""
  16143. #. type: example
  16144. #: guix-git/doc/guix.texi:10509
  16145. #, no-wrap
  16146. msgid "guix build --with-input=guile=guile@@2.0 guix\n"
  16147. msgstr "guix build --with-input=guile=guile@@2.0 guix\n"
  16148. #. type: table
  16149. #: guix-git/doc/guix.texi:10514
  16150. 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}."
  16151. msgstr ""
  16152. #. type: table
  16153. #: guix-git/doc/guix.texi:10517
  16154. msgid "This is implemented using the @code{package-input-rewriting} Scheme procedure (@pxref{Defining Packages, @code{package-input-rewriting}})."
  16155. msgstr ""
  16156. #. type: item
  16157. #: guix-git/doc/guix.texi:10518
  16158. #, no-wrap
  16159. msgid "--with-graft=@var{package}=@var{replacement}"
  16160. msgstr ""
  16161. #. type: table
  16162. #: guix-git/doc/guix.texi:10524
  16163. 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."
  16164. msgstr ""
  16165. #. type: table
  16166. #: guix-git/doc/guix.texi:10528
  16167. 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:"
  16168. msgstr ""
  16169. #. type: example
  16170. #: guix-git/doc/guix.texi:10531
  16171. #, no-wrap
  16172. msgid "guix build --with-graft=gnutls=gnutls@@3.5.4 wget\n"
  16173. msgstr ""
  16174. #. type: table
  16175. #: guix-git/doc/guix.texi:10540
  16176. 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!"
  16177. msgstr ""
  16178. #. type: cindex
  16179. #: guix-git/doc/guix.texi:10541 guix-git/doc/guix.texi:35239
  16180. #, no-wrap
  16181. msgid "debugging info, rebuilding"
  16182. msgstr ""
  16183. #. type: item
  16184. #: guix-git/doc/guix.texi:10542
  16185. #, no-wrap
  16186. msgid "--with-debug-info=@var{package}"
  16187. msgstr ""
  16188. #. type: table
  16189. #: guix-git/doc/guix.texi:10547
  16190. 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})."
  16191. msgstr ""
  16192. #. type: table
  16193. #: guix-git/doc/guix.texi:10553
  16194. 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:"
  16195. msgstr ""
  16196. #. type: example
  16197. #: guix-git/doc/guix.texi:10556 guix-git/doc/guix.texi:35270
  16198. #, no-wrap
  16199. msgid "guix install inkscape --with-debug-info=glib\n"
  16200. msgstr ""
  16201. #. type: table
  16202. #: guix-git/doc/guix.texi:10560
  16203. msgid "Only GLib needs to be recompiled so this takes a reasonable amount of time. @xref{Installing Debugging Files}, for more info."
  16204. msgstr ""
  16205. #. type: quotation
  16206. #: guix-git/doc/guix.texi:10566
  16207. 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."
  16208. msgstr ""
  16209. #. type: quotation
  16210. #: guix-git/doc/guix.texi:10570
  16211. 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."
  16212. msgstr ""
  16213. #. type: cindex
  16214. #: guix-git/doc/guix.texi:10572
  16215. #, no-wrap
  16216. msgid "tool chain, changing the build tool chain of a package"
  16217. msgstr ""
  16218. #. type: item
  16219. #: guix-git/doc/guix.texi:10573
  16220. #, no-wrap
  16221. msgid "--with-c-toolchain=@var{package}=@var{toolchain}"
  16222. msgstr ""
  16223. #. type: table
  16224. #: guix-git/doc/guix.texi:10577
  16225. 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++."
  16226. msgstr ""
  16227. #. type: example
  16228. #: guix-git/doc/guix.texi:10584
  16229. #, no-wrap
  16230. msgid ""
  16231. "guix build octave-cli \\\n"
  16232. " --with-c-toolchain=fftw=gcc-toolchain@@10 \\\n"
  16233. " --with-c-toolchain=fftwf=gcc-toolchain@@10\n"
  16234. msgstr ""
  16235. #. type: table
  16236. #: guix-git/doc/guix.texi:10591
  16237. 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}."
  16238. msgstr ""
  16239. #. type: table
  16240. #: guix-git/doc/guix.texi:10595
  16241. 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:"
  16242. msgstr ""
  16243. #. type: example
  16244. #: guix-git/doc/guix.texi:10599
  16245. #, no-wrap
  16246. msgid ""
  16247. "guix build --with-c-toolchain=hwloc=clang-toolchain \\\n"
  16248. " intel-mpi-benchmarks\n"
  16249. msgstr ""
  16250. #. type: quotation
  16251. #: guix-git/doc/guix.texi:10608
  16252. 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."
  16253. msgstr ""
  16254. #. type: item
  16255. #: guix-git/doc/guix.texi:10610
  16256. #, no-wrap
  16257. msgid "--with-git-url=@var{package}=@var{url}"
  16258. msgstr "--with-git-url=@var{pacote}=@var{url}"
  16259. #. type: cindex
  16260. #: guix-git/doc/guix.texi:10611
  16261. #, no-wrap
  16262. msgid "Git, using the latest commit"
  16263. msgstr ""
  16264. #. type: cindex
  16265. #: guix-git/doc/guix.texi:10612
  16266. #, no-wrap
  16267. msgid "latest commit, building"
  16268. msgstr ""
  16269. #. type: table
  16270. #: guix-git/doc/guix.texi:10616
  16271. 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."
  16272. msgstr ""
  16273. #. type: table
  16274. #: guix-git/doc/guix.texi:10619
  16275. msgid "For example, the following command builds the NumPy Python library against the latest commit of the master branch of Python itself:"
  16276. msgstr ""
  16277. #. type: example
  16278. #: guix-git/doc/guix.texi:10623
  16279. #, no-wrap
  16280. msgid ""
  16281. "guix build python-numpy \\\n"
  16282. " --with-git-url=python=https://github.com/python/cpython\n"
  16283. msgstr ""
  16284. #. type: table
  16285. #: guix-git/doc/guix.texi:10627
  16286. msgid "This option can also be combined with @option{--with-branch} or @option{--with-commit} (see below)."
  16287. msgstr ""
  16288. #. type: cindex
  16289. #: guix-git/doc/guix.texi:10628 guix-git/doc/guix.texi:27790
  16290. #, no-wrap
  16291. msgid "continuous integration"
  16292. msgstr ""
  16293. #. type: table
  16294. #: guix-git/doc/guix.texi:10634
  16295. 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)."
  16296. msgstr ""
  16297. #. type: table
  16298. #: guix-git/doc/guix.texi:10638
  16299. 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."
  16300. msgstr ""
  16301. #. type: item
  16302. #: guix-git/doc/guix.texi:10639
  16303. #, no-wrap
  16304. msgid "--with-branch=@var{package}=@var{branch}"
  16305. msgstr "--with-branch=@var{pacote}=@var{ramo}"
  16306. #. type: table
  16307. #: guix-git/doc/guix.texi:10645
  16308. 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."
  16309. msgstr ""
  16310. #. type: table
  16311. #: guix-git/doc/guix.texi:10650
  16312. 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:"
  16313. msgstr ""
  16314. #. type: example
  16315. #: guix-git/doc/guix.texi:10653
  16316. #, no-wrap
  16317. msgid "guix build --with-branch=guile-sqlite3=master cuirass\n"
  16318. msgstr "guix build --with-branch=guile-sqlite3=master cuirass\n"
  16319. #. type: item
  16320. #: guix-git/doc/guix.texi:10655
  16321. #, no-wrap
  16322. msgid "--with-commit=@var{package}=@var{commit}"
  16323. msgstr "--with-commit=@var{pacote}=@var{commit}"
  16324. #. type: table
  16325. #: guix-git/doc/guix.texi:10659
  16326. 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 or a tag."
  16327. msgstr ""
  16328. #. type: item
  16329. #: guix-git/doc/guix.texi:10660
  16330. #, no-wrap
  16331. msgid "--with-patch=@var{package}=@var{file}"
  16332. msgstr ""
  16333. #. type: table
  16334. #: guix-git/doc/guix.texi:10667
  16335. 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})."
  16336. msgstr ""
  16337. #. type: table
  16338. #: guix-git/doc/guix.texi:10670
  16339. msgid "As an example, the command below rebuilds Coreutils with the GNU C Library (glibc) patched with the given patch:"
  16340. msgstr ""
  16341. #. type: example
  16342. #: guix-git/doc/guix.texi:10673
  16343. #, no-wrap
  16344. msgid "guix build coreutils --with-patch=glibc=./glibc-frob.patch\n"
  16345. msgstr ""
  16346. #. type: table
  16347. #: guix-git/doc/guix.texi:10677
  16348. msgid "In this example, glibc itself as well as everything that leads to Coreutils in the dependency graph is rebuilt."
  16349. msgstr ""
  16350. #. type: cindex
  16351. #: guix-git/doc/guix.texi:10678
  16352. #, no-wrap
  16353. msgid "upstream, latest version"
  16354. msgstr ""
  16355. #. type: item
  16356. #: guix-git/doc/guix.texi:10679
  16357. #, no-wrap
  16358. msgid "--with-latest=@var{package}"
  16359. msgstr ""
  16360. #. type: table
  16361. #: guix-git/doc/guix.texi:10684
  16362. 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})."
  16363. msgstr ""
  16364. #. type: table
  16365. #: guix-git/doc/guix.texi:10688
  16366. 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."
  16367. msgstr ""
  16368. #. type: table
  16369. #: guix-git/doc/guix.texi:10691
  16370. msgid "As an example, the command below builds Guix against the latest version of Guile-JSON:"
  16371. msgstr ""
  16372. #. type: example
  16373. #: guix-git/doc/guix.texi:10694
  16374. #, no-wrap
  16375. msgid "guix build guix --with-latest=guile-json\n"
  16376. msgstr ""
  16377. #. type: table
  16378. #: guix-git/doc/guix.texi:10703
  16379. 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."
  16380. msgstr ""
  16381. #. type: table
  16382. #: guix-git/doc/guix.texi:10708
  16383. 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})."
  16384. msgstr ""
  16385. #. type: cindex
  16386. #: guix-git/doc/guix.texi:10709
  16387. #, no-wrap
  16388. msgid "test suite, skipping"
  16389. msgstr ""
  16390. #. type: item
  16391. #: guix-git/doc/guix.texi:10710
  16392. #, no-wrap
  16393. msgid "--without-tests=@var{package}"
  16394. msgstr ""
  16395. #. type: table
  16396. #: guix-git/doc/guix.texi:10716
  16397. 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."
  16398. msgstr ""
  16399. #. type: table
  16400. #: guix-git/doc/guix.texi:10720
  16401. 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:"
  16402. msgstr ""
  16403. #. type: example
  16404. #: guix-git/doc/guix.texi:10723
  16405. #, no-wrap
  16406. msgid "guix install --without-tests=python python-notebook\n"
  16407. msgstr ""
  16408. #. type: table
  16409. #: guix-git/doc/guix.texi:10729
  16410. 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."
  16411. msgstr ""
  16412. #. type: table
  16413. #: guix-git/doc/guix.texi:10735
  16414. 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."
  16415. msgstr ""
  16416. #. type: Plain text
  16417. #: guix-git/doc/guix.texi:10742
  16418. 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."
  16419. msgstr ""
  16420. #. type: Plain text
  16421. #: guix-git/doc/guix.texi:10748
  16422. msgid "The command-line options presented below are specific to @command{guix build}."
  16423. msgstr ""
  16424. #. type: item
  16425. #: guix-git/doc/guix.texi:10751
  16426. #, no-wrap
  16427. msgid "--quiet"
  16428. msgstr ""
  16429. #. type: table
  16430. #: guix-git/doc/guix.texi:10756
  16431. 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."
  16432. msgstr ""
  16433. #. type: item
  16434. #: guix-git/doc/guix.texi:10757
  16435. #, no-wrap
  16436. msgid "--file=@var{file}"
  16437. msgstr ""
  16438. #. type: table
  16439. #: guix-git/doc/guix.texi:10761
  16440. msgid "Build the package, derivation, or other file-like object that the code within @var{file} evaluates to (@pxref{G-Expressions, file-like objects})."
  16441. msgstr ""
  16442. #. type: table
  16443. #: guix-git/doc/guix.texi:10764
  16444. msgid "As an example, @var{file} might contain a package definition like this (@pxref{Defining Packages}):"
  16445. msgstr ""
  16446. #. type: table
  16447. #: guix-git/doc/guix.texi:10773
  16448. 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}:"
  16449. msgstr ""
  16450. #. type: item
  16451. #: guix-git/doc/guix.texi:10778
  16452. #, no-wrap
  16453. msgid "--manifest=@var{manifest}"
  16454. msgstr ""
  16455. #. type: itemx
  16456. #: guix-git/doc/guix.texi:10779
  16457. #, no-wrap
  16458. msgid "-m @var{manifest}"
  16459. msgstr ""
  16460. #. type: table
  16461. #: guix-git/doc/guix.texi:10782
  16462. msgid "Build all packages listed in the given @var{manifest} (@pxref{profile-manifest, @option{--manifest}})."
  16463. msgstr ""
  16464. #. type: table
  16465. #: guix-git/doc/guix.texi:10786
  16466. msgid "Build the package or derivation @var{expr} evaluates to."
  16467. msgstr ""
  16468. #. type: table
  16469. #: guix-git/doc/guix.texi:10790
  16470. 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."
  16471. msgstr ""
  16472. #. type: table
  16473. #: guix-git/doc/guix.texi:10794
  16474. 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})."
  16475. msgstr ""
  16476. #. type: table
  16477. #: guix-git/doc/guix.texi:10798
  16478. 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}."
  16479. msgstr ""
  16480. #. type: item
  16481. #: guix-git/doc/guix.texi:10799
  16482. #, no-wrap
  16483. msgid "--source"
  16484. msgstr ""
  16485. #. type: itemx
  16486. #: guix-git/doc/guix.texi:10800
  16487. #, no-wrap
  16488. msgid "-S"
  16489. msgstr ""
  16490. #. type: table
  16491. #: guix-git/doc/guix.texi:10803
  16492. msgid "Build the source derivations of the packages, rather than the packages themselves."
  16493. msgstr ""
  16494. #. type: table
  16495. #: guix-git/doc/guix.texi:10807
  16496. 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."
  16497. msgstr ""
  16498. #. type: table
  16499. #: guix-git/doc/guix.texi:10811
  16500. msgid "The returned source tarball is the result of applying any patches and code snippets specified in the package @code{origin} (@pxref{Defining Packages})."
  16501. msgstr ""
  16502. #. type: cindex
  16503. #: guix-git/doc/guix.texi:10812
  16504. #, no-wrap
  16505. msgid "source, verification"
  16506. msgstr ""
  16507. #. type: table
  16508. #: guix-git/doc/guix.texi:10818
  16509. 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."
  16510. msgstr ""
  16511. #. type: table
  16512. #: guix-git/doc/guix.texi:10823
  16513. 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."
  16514. msgstr ""
  16515. #. type: item
  16516. #: guix-git/doc/guix.texi:10824
  16517. #, no-wrap
  16518. msgid "--sources"
  16519. msgstr ""
  16520. #. type: table
  16521. #: guix-git/doc/guix.texi:10831
  16522. 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:"
  16523. msgstr ""
  16524. #. type: item
  16525. #: guix-git/doc/guix.texi:10833 guix-git/doc/guix.texi:12450
  16526. #, no-wrap
  16527. msgid "package"
  16528. msgstr ""
  16529. #. type: table
  16530. #: guix-git/doc/guix.texi:10836
  16531. msgid "This value causes the @option{--sources} option to behave in the same way as the @option{--source} option."
  16532. msgstr ""
  16533. #. type: item
  16534. #: guix-git/doc/guix.texi:10837 guix-git/doc/guix.texi:18532
  16535. #, no-wrap
  16536. msgid "all"
  16537. msgstr ""
  16538. #. type: table
  16539. #: guix-git/doc/guix.texi:10840
  16540. msgid "Build the source derivations of all packages, including any source that might be listed as @code{inputs}. This is the default value."
  16541. msgstr ""
  16542. #. type: example
  16543. #: guix-git/doc/guix.texi:10846
  16544. #, no-wrap
  16545. msgid ""
  16546. "$ guix build --sources tzdata\n"
  16547. "The following derivations will be built:\n"
  16548. " /gnu/store/@dots{}-tzdata2015b.tar.gz.drv\n"
  16549. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  16550. msgstr ""
  16551. #. type: item
  16552. #: guix-git/doc/guix.texi:10848
  16553. #, no-wrap
  16554. msgid "transitive"
  16555. msgstr ""
  16556. #. type: table
  16557. #: guix-git/doc/guix.texi:10852
  16558. 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."
  16559. msgstr ""
  16560. #. type: example
  16561. #: guix-git/doc/guix.texi:10863
  16562. #, no-wrap
  16563. msgid ""
  16564. "$ guix build --sources=transitive tzdata\n"
  16565. "The following derivations will be built:\n"
  16566. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  16567. " /gnu/store/@dots{}-findutils-4.4.2.tar.xz.drv\n"
  16568. " /gnu/store/@dots{}-grep-2.21.tar.xz.drv\n"
  16569. " /gnu/store/@dots{}-coreutils-8.23.tar.xz.drv\n"
  16570. " /gnu/store/@dots{}-make-4.1.tar.xz.drv\n"
  16571. " /gnu/store/@dots{}-bash-4.3.tar.xz.drv\n"
  16572. "@dots{}\n"
  16573. msgstr ""
  16574. #. type: table
  16575. #: guix-git/doc/guix.texi:10873
  16576. 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."
  16577. msgstr ""
  16578. #. type: quotation
  16579. #: guix-git/doc/guix.texi:10878
  16580. 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."
  16581. msgstr ""
  16582. #. type: table
  16583. #: guix-git/doc/guix.texi:10885
  16584. 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."
  16585. msgstr ""
  16586. #. type: quotation
  16587. #: guix-git/doc/guix.texi:10890
  16588. 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."
  16589. msgstr ""
  16590. #. type: table
  16591. #: guix-git/doc/guix.texi:10896
  16592. 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."
  16593. msgstr ""
  16594. #. type: table
  16595. #: guix-git/doc/guix.texi:10900
  16596. 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."
  16597. msgstr ""
  16598. #. type: table
  16599. #: guix-git/doc/guix.texi:10906
  16600. 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})."
  16601. msgstr ""
  16602. #. type: anchor{#1}
  16603. #: guix-git/doc/guix.texi:10908
  16604. msgid "build-check"
  16605. msgstr "build-check"
  16606. #. type: item
  16607. #: guix-git/doc/guix.texi:10908
  16608. #, no-wrap
  16609. msgid "--check"
  16610. msgstr "--check"
  16611. #. type: cindex
  16612. #: guix-git/doc/guix.texi:10909
  16613. #, no-wrap
  16614. msgid "determinism, checking"
  16615. msgstr "determinismo, verificação"
  16616. #. type: cindex
  16617. #: guix-git/doc/guix.texi:10910
  16618. #, no-wrap
  16619. msgid "reproducibility, checking"
  16620. msgstr "reprodutibilidade, verificação"
  16621. #. type: table
  16622. #: guix-git/doc/guix.texi:10914
  16623. 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."
  16624. msgstr ""
  16625. #. type: table
  16626. #: guix-git/doc/guix.texi:10919
  16627. 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."
  16628. msgstr ""
  16629. #. type: item
  16630. #: guix-git/doc/guix.texi:10924
  16631. #, no-wrap
  16632. msgid "--repair"
  16633. msgstr ""
  16634. #. type: cindex
  16635. #: guix-git/doc/guix.texi:10925
  16636. #, no-wrap
  16637. msgid "repairing store items"
  16638. msgstr ""
  16639. #. type: table
  16640. #: guix-git/doc/guix.texi:10929
  16641. msgid "Attempt to repair the specified store items, if they are corrupt, by re-downloading or rebuilding them."
  16642. msgstr ""
  16643. #. type: table
  16644. #: guix-git/doc/guix.texi:10931
  16645. msgid "This operation is not atomic and thus restricted to @code{root}."
  16646. msgstr ""
  16647. #. type: item
  16648. #: guix-git/doc/guix.texi:10932
  16649. #, no-wrap
  16650. msgid "--derivations"
  16651. msgstr ""
  16652. #. type: table
  16653. #: guix-git/doc/guix.texi:10936
  16654. msgid "Return the derivation paths, not the output paths, of the given packages."
  16655. msgstr ""
  16656. #. type: cindex
  16657. #: guix-git/doc/guix.texi:10939
  16658. #, no-wrap
  16659. msgid "GC roots, adding"
  16660. msgstr ""
  16661. #. type: cindex
  16662. #: guix-git/doc/guix.texi:10940
  16663. #, no-wrap
  16664. msgid "garbage collector roots, adding"
  16665. msgstr ""
  16666. #. type: table
  16667. #: guix-git/doc/guix.texi:10943 guix-git/doc/guix.texi:33904
  16668. msgid "Make @var{file} a symlink to the result, and register it as a garbage collector root."
  16669. msgstr ""
  16670. #. type: table
  16671. #: guix-git/doc/guix.texi:10949
  16672. 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."
  16673. msgstr ""
  16674. #. type: item
  16675. #: guix-git/doc/guix.texi:10950
  16676. #, no-wrap
  16677. msgid "--log-file"
  16678. msgstr ""
  16679. #. type: cindex
  16680. #: guix-git/doc/guix.texi:10951
  16681. #, no-wrap
  16682. msgid "build logs, access"
  16683. msgstr ""
  16684. #. type: table
  16685. #: guix-git/doc/guix.texi:10955
  16686. 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."
  16687. msgstr ""
  16688. #. type: table
  16689. #: guix-git/doc/guix.texi:10958
  16690. msgid "This works regardless of how packages or derivations are specified. For instance, the following invocations are equivalent:"
  16691. msgstr ""
  16692. #. type: example
  16693. #: guix-git/doc/guix.texi:10964
  16694. #, no-wrap
  16695. msgid ""
  16696. "guix build --log-file $(guix build -d guile)\n"
  16697. "guix build --log-file $(guix build guile)\n"
  16698. "guix build --log-file guile\n"
  16699. "guix build --log-file -e '(@@ (gnu packages guile) guile-2.0)'\n"
  16700. msgstr ""
  16701. #. type: table
  16702. #: guix-git/doc/guix.texi:10969
  16703. 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})."
  16704. msgstr ""
  16705. #. type: table
  16706. #: guix-git/doc/guix.texi:10972
  16707. 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:"
  16708. msgstr ""
  16709. #. type: example
  16710. #: guix-git/doc/guix.texi:10976
  16711. #, no-wrap
  16712. msgid ""
  16713. "$ guix build --log-file gdb -s aarch64-linux\n"
  16714. "https://@value{SUBSTITUTE-SERVER-1}/log/@dots{}-gdb-7.10\n"
  16715. msgstr ""
  16716. #. type: table
  16717. #: guix-git/doc/guix.texi:10979
  16718. msgid "You can freely access a huge library of build logs!"
  16719. msgstr ""
  16720. #. type: cindex
  16721. #: guix-git/doc/guix.texi:10984
  16722. #, no-wrap
  16723. msgid "build failures, debugging"
  16724. msgstr ""
  16725. #. type: Plain text
  16726. #: guix-git/doc/guix.texi:10990
  16727. 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."
  16728. msgstr ""
  16729. #. type: Plain text
  16730. #: guix-git/doc/guix.texi:10995
  16731. 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}})."
  16732. msgstr ""
  16733. #. type: Plain text
  16734. #: guix-git/doc/guix.texi:11001
  16735. 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:"
  16736. msgstr ""
  16737. #. type: example
  16738. #: guix-git/doc/guix.texi:11008
  16739. #, no-wrap
  16740. msgid ""
  16741. "$ guix build foo -K\n"
  16742. "@dots{} @i{build fails}\n"
  16743. "$ cd /tmp/guix-build-foo.drv-0\n"
  16744. "$ source ./environment-variables\n"
  16745. "$ cd foo-1.2\n"
  16746. msgstr ""
  16747. #. type: Plain text
  16748. #: guix-git/doc/guix.texi:11012
  16749. msgid "Now, you can invoke commands as if you were the daemon (almost) and troubleshoot your build process."
  16750. msgstr ""
  16751. #. type: Plain text
  16752. #: guix-git/doc/guix.texi:11018
  16753. 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})."
  16754. msgstr ""
  16755. #. type: Plain text
  16756. #: guix-git/doc/guix.texi:11021
  16757. 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:"
  16758. msgstr ""
  16759. #. type: example
  16760. #: guix-git/doc/guix.texi:11029
  16761. #, no-wrap
  16762. msgid ""
  16763. "$ guix build -K foo\n"
  16764. "@dots{}\n"
  16765. "$ cd /tmp/guix-build-foo.drv-0\n"
  16766. "$ guix environment --no-grafts -C foo --ad-hoc strace gdb\n"
  16767. "[env]# source ./environment-variables\n"
  16768. "[env]# cd foo-1.2\n"
  16769. msgstr ""
  16770. #. type: Plain text
  16771. #: guix-git/doc/guix.texi:11038
  16772. msgid "Here, @command{guix environment -C} creates a container and spawns a new shell in it (@pxref{Invoking guix environment}). The @command{--ad-hoc 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)."
  16773. msgstr ""
  16774. #. type: Plain text
  16775. #: guix-git/doc/guix.texi:11041
  16776. msgid "To get closer to a container like that used by the build daemon, we can remove @file{/bin/sh}:"
  16777. msgstr ""
  16778. #. type: example
  16779. #: guix-git/doc/guix.texi:11044
  16780. #, no-wrap
  16781. msgid "[env]# rm /bin/sh\n"
  16782. msgstr ""
  16783. #. type: Plain text
  16784. #: guix-git/doc/guix.texi:11048
  16785. msgid "(Don't worry, this is harmless: this is all happening in the throw-away container created by @command{guix environment}.)"
  16786. msgstr ""
  16787. #. type: Plain text
  16788. #: guix-git/doc/guix.texi:11051
  16789. msgid "The @command{strace} command is probably not in the search path, but we can run:"
  16790. msgstr ""
  16791. #. type: example
  16792. #: guix-git/doc/guix.texi:11054
  16793. #, no-wrap
  16794. msgid "[env]# $GUIX_ENVIRONMENT/bin/strace -f -o log make check\n"
  16795. msgstr ""
  16796. #. type: Plain text
  16797. #: guix-git/doc/guix.texi:11059
  16798. 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."
  16799. msgstr ""
  16800. #. type: section
  16801. #: guix-git/doc/guix.texi:11062
  16802. #, no-wrap
  16803. msgid "Invoking @command{guix edit}"
  16804. msgstr "Invocando @command{guix edit}"
  16805. #. type: command{#1}
  16806. #: guix-git/doc/guix.texi:11064
  16807. #, no-wrap
  16808. msgid "guix edit"
  16809. msgstr ""
  16810. #. type: cindex
  16811. #: guix-git/doc/guix.texi:11065
  16812. #, no-wrap
  16813. msgid "package definition, editing"
  16814. msgstr ""
  16815. #. type: Plain text
  16816. #: guix-git/doc/guix.texi:11070
  16817. 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:"
  16818. msgstr ""
  16819. #. type: example
  16820. #: guix-git/doc/guix.texi:11073
  16821. #, no-wrap
  16822. msgid "guix edit gcc@@4.9 vim\n"
  16823. msgstr ""
  16824. #. type: Plain text
  16825. #: guix-git/doc/guix.texi:11079
  16826. 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."
  16827. msgstr ""
  16828. #. type: Plain text
  16829. #: guix-git/doc/guix.texi:11085
  16830. 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."
  16831. msgstr ""
  16832. #. type: Plain text
  16833. #: guix-git/doc/guix.texi:11090
  16834. 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."
  16835. msgstr ""
  16836. #. type: section
  16837. #: guix-git/doc/guix.texi:11092
  16838. #, no-wrap
  16839. msgid "Invoking @command{guix download}"
  16840. msgstr "Invocando @command{guix download}"
  16841. #. type: command{#1}
  16842. #: guix-git/doc/guix.texi:11094
  16843. #, no-wrap
  16844. msgid "guix download"
  16845. msgstr ""
  16846. #. type: cindex
  16847. #: guix-git/doc/guix.texi:11095
  16848. #, no-wrap
  16849. msgid "downloading package sources"
  16850. msgstr ""
  16851. #. type: Plain text
  16852. #: guix-git/doc/guix.texi:11102
  16853. 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."
  16854. msgstr ""
  16855. #. type: Plain text
  16856. #: guix-git/doc/guix.texi:11109
  16857. 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})."
  16858. msgstr ""
  16859. #. type: Plain text
  16860. #: guix-git/doc/guix.texi:11117
  16861. 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."
  16862. msgstr ""
  16863. #. type: Plain text
  16864. #: guix-git/doc/guix.texi:11122
  16865. 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."
  16866. msgstr ""
  16867. #. type: Plain text
  16868. #: guix-git/doc/guix.texi:11124 guix-git/doc/guix.texi:12749
  16869. msgid "The following options are available:"
  16870. msgstr ""
  16871. #. type: item
  16872. #: guix-git/doc/guix.texi:11126 guix-git/doc/guix.texi:11170
  16873. #, no-wrap
  16874. msgid "--hash=@var{algorithm}"
  16875. msgstr ""
  16876. #. type: itemx
  16877. #: guix-git/doc/guix.texi:11127 guix-git/doc/guix.texi:11171
  16878. #, no-wrap
  16879. msgid "-H @var{algorithm}"
  16880. msgstr ""
  16881. #. type: table
  16882. #: guix-git/doc/guix.texi:11130
  16883. msgid "Compute a hash using the specified @var{algorithm}. @xref{Invoking guix hash}, for more information."
  16884. msgstr ""
  16885. #. type: item
  16886. #: guix-git/doc/guix.texi:11131 guix-git/doc/guix.texi:11180
  16887. #, no-wrap
  16888. msgid "--format=@var{fmt}"
  16889. msgstr ""
  16890. #. type: itemx
  16891. #: guix-git/doc/guix.texi:11132 guix-git/doc/guix.texi:11181
  16892. #, no-wrap
  16893. msgid "-f @var{fmt}"
  16894. msgstr ""
  16895. #. type: table
  16896. #: guix-git/doc/guix.texi:11135
  16897. 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}."
  16898. msgstr ""
  16899. #. type: item
  16900. #: guix-git/doc/guix.texi:11136
  16901. #, no-wrap
  16902. msgid "--no-check-certificate"
  16903. msgstr ""
  16904. #. type: table
  16905. #: guix-git/doc/guix.texi:11138
  16906. msgid "Do not validate the X.509 certificates of HTTPS servers."
  16907. msgstr ""
  16908. #. type: table
  16909. #: guix-git/doc/guix.texi:11142
  16910. 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."
  16911. msgstr ""
  16912. #. type: item
  16913. #: guix-git/doc/guix.texi:11143
  16914. #, no-wrap
  16915. msgid "--output=@var{file}"
  16916. msgstr "--output=@var{arquivo}"
  16917. #. type: itemx
  16918. #: guix-git/doc/guix.texi:11144
  16919. #, no-wrap
  16920. msgid "-o @var{file}"
  16921. msgstr "-o @var{arquivo}"
  16922. #. type: table
  16923. #: guix-git/doc/guix.texi:11147
  16924. msgid "Save the downloaded file to @var{file} instead of adding it to the store."
  16925. msgstr ""
  16926. #. type: section
  16927. #: guix-git/doc/guix.texi:11150
  16928. #, no-wrap
  16929. msgid "Invoking @command{guix hash}"
  16930. msgstr "Invocando @command{guix hash}"
  16931. #. type: command{#1}
  16932. #: guix-git/doc/guix.texi:11152
  16933. #, no-wrap
  16934. msgid "guix hash"
  16935. msgstr ""
  16936. #. type: Plain text
  16937. #: guix-git/doc/guix.texi:11157
  16938. 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 a file, which can be used in the definition of a package (@pxref{Defining Packages})."
  16939. msgstr ""
  16940. #. type: example
  16941. #: guix-git/doc/guix.texi:11162
  16942. #, no-wrap
  16943. msgid "guix hash @var{option} @var{file}\n"
  16944. msgstr ""
  16945. #. type: Plain text
  16946. #: guix-git/doc/guix.texi:11167
  16947. 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:"
  16948. msgstr ""
  16949. #. type: table
  16950. #: guix-git/doc/guix.texi:11174
  16951. msgid "Compute a hash using the specified @var{algorithm}, @code{sha256} by default."
  16952. msgstr ""
  16953. #. type: table
  16954. #: guix-git/doc/guix.texi:11179
  16955. msgid "@var{algorithm} must 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})."
  16956. msgstr ""
  16957. #. type: table
  16958. #: guix-git/doc/guix.texi:11183
  16959. msgid "Write the hash in the format specified by @var{fmt}."
  16960. msgstr ""
  16961. #. type: table
  16962. #: guix-git/doc/guix.texi:11186
  16963. msgid "Supported formats: @code{base64}, @code{nix-base32}, @code{base32}, @code{base16} (@code{hex} and @code{hexadecimal} can be used as well)."
  16964. msgstr ""
  16965. #. type: table
  16966. #: guix-git/doc/guix.texi:11190
  16967. 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."
  16968. msgstr ""
  16969. #. type: table
  16970. #: guix-git/doc/guix.texi:11194
  16971. msgid "Compute the hash on @var{file} recursively."
  16972. msgstr ""
  16973. #. type: table
  16974. #: guix-git/doc/guix.texi:11203
  16975. msgid "In this case, the hash is computed on an archive 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 has no impact on the hash (@pxref{Invoking guix archive})."
  16976. msgstr ""
  16977. #. type: item
  16978. #: guix-git/doc/guix.texi:11204
  16979. #, no-wrap
  16980. msgid "--exclude-vcs"
  16981. msgstr ""
  16982. #. type: itemx
  16983. #: guix-git/doc/guix.texi:11205 guix-git/doc/guix.texi:12236
  16984. #, no-wrap
  16985. msgid "-x"
  16986. msgstr "-x"
  16987. #. type: table
  16988. #: guix-git/doc/guix.texi:11208
  16989. msgid "When combined with @option{--recursive}, exclude version control system directories (@file{.bzr}, @file{.git}, @file{.hg}, etc.)."
  16990. msgstr ""
  16991. #. type: vindex
  16992. #: guix-git/doc/guix.texi:11209
  16993. #, no-wrap
  16994. msgid "git-fetch"
  16995. msgstr ""
  16996. #. type: table
  16997. #: guix-git/doc/guix.texi:11213
  16998. 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}):"
  16999. msgstr ""
  17000. #. type: example
  17001. #: guix-git/doc/guix.texi:11218
  17002. #, no-wrap
  17003. msgid ""
  17004. "$ git clone http://example.org/foo.git\n"
  17005. "$ cd foo\n"
  17006. "$ guix hash -rx .\n"
  17007. msgstr ""
  17008. #. type: cindex
  17009. #: guix-git/doc/guix.texi:11222 guix-git/doc/guix.texi:11227
  17010. #, no-wrap
  17011. msgid "Invoking @command{guix import}"
  17012. msgstr ""
  17013. #. type: cindex
  17014. #: guix-git/doc/guix.texi:11224
  17015. #, no-wrap
  17016. msgid "importing packages"
  17017. msgstr ""
  17018. #. type: cindex
  17019. #: guix-git/doc/guix.texi:11225
  17020. #, no-wrap
  17021. msgid "package import"
  17022. msgstr ""
  17023. #. type: cindex
  17024. #: guix-git/doc/guix.texi:11226
  17025. #, no-wrap
  17026. msgid "package conversion"
  17027. msgstr ""
  17028. #. type: Plain text
  17029. #: guix-git/doc/guix.texi:11234
  17030. 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})."
  17031. msgstr ""
  17032. #. type: example
  17033. #: guix-git/doc/guix.texi:11239
  17034. #, no-wrap
  17035. msgid "guix import @var{importer} @var{options}@dots{}\n"
  17036. msgstr ""
  17037. #. type: Plain text
  17038. #: guix-git/doc/guix.texi:11244
  17039. 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}."
  17040. msgstr ""
  17041. #. type: Plain text
  17042. #: guix-git/doc/guix.texi:11248
  17043. 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."
  17044. msgstr ""
  17045. #. type: Plain text
  17046. #: guix-git/doc/guix.texi:11250
  17047. msgid "Currently, the available ``importers'' are:"
  17048. msgstr ""
  17049. #. type: item
  17050. #: guix-git/doc/guix.texi:11252 guix-git/doc/guix.texi:11881
  17051. #, no-wrap
  17052. msgid "gnu"
  17053. msgstr ""
  17054. #. type: table
  17055. #: guix-git/doc/guix.texi:11256
  17056. 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."
  17057. msgstr ""
  17058. #. type: table
  17059. #: guix-git/doc/guix.texi:11259
  17060. msgid "Additional information such as the package dependencies and its license needs to be figured out manually."
  17061. msgstr ""
  17062. #. type: table
  17063. #: guix-git/doc/guix.texi:11262
  17064. msgid "For example, the following command returns a package definition for GNU@tie{}Hello:"
  17065. msgstr ""
  17066. #. type: example
  17067. #: guix-git/doc/guix.texi:11265
  17068. #, no-wrap
  17069. msgid "guix import gnu hello\n"
  17070. msgstr ""
  17071. #. type: table
  17072. #: guix-git/doc/guix.texi:11268 guix-git/doc/guix.texi:11510
  17073. #: guix-git/doc/guix.texi:11560 guix-git/doc/guix.texi:11589
  17074. msgid "Specific command-line options are:"
  17075. msgstr ""
  17076. #. type: item
  17077. #: guix-git/doc/guix.texi:11270 guix-git/doc/guix.texi:12044
  17078. #, no-wrap
  17079. msgid "--key-download=@var{policy}"
  17080. msgstr ""
  17081. #. type: table
  17082. #: guix-git/doc/guix.texi:11274
  17083. 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}}."
  17084. msgstr ""
  17085. #. type: item
  17086. #: guix-git/doc/guix.texi:11276 guix-git/doc/guix.texi:11277
  17087. #: guix-git/doc/guix.texi:11905
  17088. #, no-wrap
  17089. msgid "pypi"
  17090. msgstr "pypi"
  17091. #. type: table
  17092. #: guix-git/doc/guix.texi:11284
  17093. 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."
  17094. msgstr ""
  17095. #. type: table
  17096. #: guix-git/doc/guix.texi:11287
  17097. msgid "The command below imports metadata for the @code{itsdangerous} Python package:"
  17098. msgstr ""
  17099. #. type: example
  17100. #: guix-git/doc/guix.texi:11290
  17101. #, no-wrap
  17102. msgid "guix import pypi itsdangerous\n"
  17103. msgstr ""
  17104. #. type: table
  17105. #: guix-git/doc/guix.texi:11298 guix-git/doc/guix.texi:11323
  17106. #: guix-git/doc/guix.texi:11355 guix-git/doc/guix.texi:11533
  17107. #: guix-git/doc/guix.texi:11574 guix-git/doc/guix.texi:11621
  17108. #: guix-git/doc/guix.texi:11646 guix-git/doc/guix.texi:11662
  17109. #: guix-git/doc/guix.texi:11710 guix-git/doc/guix.texi:11740
  17110. 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."
  17111. msgstr ""
  17112. #. type: item
  17113. #: guix-git/doc/guix.texi:11300 guix-git/doc/guix.texi:11301
  17114. #: guix-git/doc/guix.texi:11907
  17115. #, no-wrap
  17116. msgid "gem"
  17117. msgstr ""
  17118. #. type: table
  17119. #: guix-git/doc/guix.texi:11310
  17120. 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."
  17121. msgstr ""
  17122. #. type: table
  17123. #: guix-git/doc/guix.texi:11312
  17124. msgid "The command below imports metadata for the @code{rails} Ruby package:"
  17125. msgstr ""
  17126. #. type: example
  17127. #: guix-git/doc/guix.texi:11315
  17128. #, no-wrap
  17129. msgid "guix import gem rails\n"
  17130. msgstr ""
  17131. #. type: item
  17132. #: guix-git/doc/guix.texi:11325
  17133. #, fuzzy, no-wrap
  17134. #| msgid "contents"
  17135. msgid "contentdb"
  17136. msgstr "conteúdo"
  17137. #. type: cindex
  17138. #: guix-git/doc/guix.texi:11326
  17139. #, no-wrap
  17140. msgid "minetest"
  17141. msgstr ""
  17142. #. type: cindex
  17143. #: guix-git/doc/guix.texi:11327
  17144. #, fuzzy, no-wrap
  17145. #| msgid "contents"
  17146. msgid "ContentDB"
  17147. msgstr "conteúdo"
  17148. #. type: table
  17149. #: guix-git/doc/guix.texi:11336
  17150. 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."
  17151. msgstr ""
  17152. #. type: table
  17153. #: guix-git/doc/guix.texi:11338
  17154. msgid "The command below imports metadata for the Mesecons mod by Jeija:"
  17155. msgstr ""
  17156. #. type: example
  17157. #: guix-git/doc/guix.texi:11341
  17158. #, no-wrap
  17159. msgid "guix import minetest Jeija/mesecons\n"
  17160. msgstr ""
  17161. #. type: table
  17162. #: guix-git/doc/guix.texi:11344
  17163. msgid "The author name can also be left out:"
  17164. msgstr ""
  17165. #. type: example
  17166. #: guix-git/doc/guix.texi:11347
  17167. #, no-wrap
  17168. msgid "guix import minetest mesecons\n"
  17169. msgstr ""
  17170. #. type: item
  17171. #: guix-git/doc/guix.texi:11357 guix-git/doc/guix.texi:11903
  17172. #, no-wrap
  17173. msgid "cpan"
  17174. msgstr ""
  17175. #. type: cindex
  17176. #: guix-git/doc/guix.texi:11358
  17177. #, no-wrap
  17178. msgid "CPAN"
  17179. msgstr ""
  17180. #. type: table
  17181. #: guix-git/doc/guix.texi:11366
  17182. 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."
  17183. msgstr ""
  17184. #. type: table
  17185. #: guix-git/doc/guix.texi:11369
  17186. msgid "The command command below imports metadata for the Acme::Boolean Perl module:"
  17187. msgstr ""
  17188. #. type: example
  17189. #: guix-git/doc/guix.texi:11372
  17190. #, no-wrap
  17191. msgid "guix import cpan Acme::Boolean\n"
  17192. msgstr ""
  17193. #. type: item
  17194. #: guix-git/doc/guix.texi:11374 guix-git/doc/guix.texi:11899
  17195. #, no-wrap
  17196. msgid "cran"
  17197. msgstr "cran"
  17198. #. type: cindex
  17199. #: guix-git/doc/guix.texi:11375
  17200. #, no-wrap
  17201. msgid "CRAN"
  17202. msgstr "CRAN"
  17203. #. type: cindex
  17204. #: guix-git/doc/guix.texi:11376
  17205. #, no-wrap
  17206. msgid "Bioconductor"
  17207. msgstr ""
  17208. #. type: table
  17209. #: guix-git/doc/guix.texi:11380
  17210. 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}."
  17211. msgstr ""
  17212. #. type: table
  17213. #: guix-git/doc/guix.texi:11382
  17214. msgid "Information is extracted from the @file{DESCRIPTION} file of the package."
  17215. msgstr ""
  17216. #. type: table
  17217. #: guix-git/doc/guix.texi:11384
  17218. msgid "The command command below imports metadata for the Cairo R package:"
  17219. msgstr ""
  17220. #. type: example
  17221. #: guix-git/doc/guix.texi:11387
  17222. #, no-wrap
  17223. msgid "guix import cran Cairo\n"
  17224. msgstr ""
  17225. #. type: table
  17226. #: guix-git/doc/guix.texi:11392
  17227. 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."
  17228. msgstr ""
  17229. #. type: table
  17230. #: guix-git/doc/guix.texi:11399
  17231. 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}."
  17232. msgstr ""
  17233. #. type: table
  17234. #: guix-git/doc/guix.texi:11404
  17235. 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."
  17236. msgstr ""
  17237. #. type: table
  17238. #: guix-git/doc/guix.texi:11407
  17239. msgid "Information is extracted from the @file{DESCRIPTION} file contained in the package archive."
  17240. msgstr ""
  17241. #. type: table
  17242. #: guix-git/doc/guix.texi:11409
  17243. msgid "The command below imports metadata for the GenomicRanges R package:"
  17244. msgstr ""
  17245. #. type: example
  17246. #: guix-git/doc/guix.texi:11412
  17247. #, no-wrap
  17248. msgid "guix import cran --archive=bioconductor GenomicRanges\n"
  17249. msgstr ""
  17250. #. type: table
  17251. #: guix-git/doc/guix.texi:11417
  17252. 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:"
  17253. msgstr ""
  17254. #. type: example
  17255. #: guix-git/doc/guix.texi:11420
  17256. #, no-wrap
  17257. msgid "guix import cran --archive=git https://github.com/immunogenomics/harmony\n"
  17258. msgstr ""
  17259. #. type: item
  17260. #: guix-git/doc/guix.texi:11422
  17261. #, no-wrap
  17262. msgid "texlive"
  17263. msgstr ""
  17264. #. type: cindex
  17265. #: guix-git/doc/guix.texi:11423
  17266. #, no-wrap
  17267. msgid "TeX Live"
  17268. msgstr "TeX Live"
  17269. #. type: cindex
  17270. #: guix-git/doc/guix.texi:11424
  17271. #, no-wrap
  17272. msgid "CTAN"
  17273. msgstr ""
  17274. #. type: table
  17275. #: guix-git/doc/guix.texi:11428
  17276. msgid "Import metadata from @uref{https://www.ctan.org/, CTAN}, the comprehensive TeX archive network for TeX packages that are part of the @uref{https://www.tug.org/texlive/, TeX Live distribution}."
  17277. msgstr ""
  17278. #. type: table
  17279. #: guix-git/doc/guix.texi:11433
  17280. msgid "Information about the package is obtained through the XML API provided by CTAN, while the source code is downloaded from the SVN repository of the Tex Live project. This is done because the CTAN does not keep versioned archives."
  17281. msgstr ""
  17282. #. type: table
  17283. #: guix-git/doc/guix.texi:11436
  17284. msgid "The command command below imports metadata for the @code{fontspec} TeX package:"
  17285. msgstr ""
  17286. #. type: example
  17287. #: guix-git/doc/guix.texi:11439
  17288. #, no-wrap
  17289. msgid "guix import texlive fontspec\n"
  17290. msgstr ""
  17291. #. type: table
  17292. #: guix-git/doc/guix.texi:11445
  17293. msgid "When @option{--archive=@var{directory}} is added, the source code is downloaded not from the @file{latex} sub-directory of the @file{texmf-dist/source} tree in the TeX Live SVN repository, but from the specified sibling @var{directory} under the same root."
  17294. msgstr ""
  17295. #. type: table
  17296. #: guix-git/doc/guix.texi:11449
  17297. msgid "The command below imports metadata for the @code{ifxetex} package from CTAN while fetching the sources from the directory @file{texmf/source/generic}:"
  17298. msgstr ""
  17299. #. type: example
  17300. #: guix-git/doc/guix.texi:11452
  17301. #, no-wrap
  17302. msgid "guix import texlive --archive=generic ifxetex\n"
  17303. msgstr ""
  17304. #. type: cindex
  17305. #: guix-git/doc/guix.texi:11455
  17306. #, no-wrap
  17307. msgid "JSON, import"
  17308. msgstr ""
  17309. #. type: table
  17310. #: guix-git/doc/guix.texi:11458
  17311. msgid "Import package metadata from a local JSON file. Consider the following example package definition in JSON format:"
  17312. msgstr ""
  17313. #. type: example
  17314. #: guix-git/doc/guix.texi:11471
  17315. #, no-wrap
  17316. msgid ""
  17317. "@{\n"
  17318. " \"name\": \"hello\",\n"
  17319. " \"version\": \"2.10\",\n"
  17320. " \"source\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  17321. " \"build-system\": \"gnu\",\n"
  17322. " \"home-page\": \"https://www.gnu.org/software/hello/\",\n"
  17323. " \"synopsis\": \"Hello, GNU world: An example GNU package\",\n"
  17324. " \"description\": \"GNU Hello prints a greeting.\",\n"
  17325. " \"license\": \"GPL-3.0+\",\n"
  17326. " \"native-inputs\": [\"gettext\"]\n"
  17327. "@}\n"
  17328. msgstr ""
  17329. #. type: table
  17330. #: guix-git/doc/guix.texi:11477
  17331. 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}."
  17332. msgstr ""
  17333. #. type: table
  17334. #: guix-git/doc/guix.texi:11480
  17335. msgid "The importer also supports a more explicit source definition using the common fields for @code{<origin>} records:"
  17336. msgstr ""
  17337. #. type: example
  17338. #: guix-git/doc/guix.texi:11493
  17339. #, no-wrap
  17340. msgid ""
  17341. "@{\n"
  17342. " @dots{}\n"
  17343. " \"source\": @{\n"
  17344. " \"method\": \"url-fetch\",\n"
  17345. " \"uri\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  17346. " \"sha256\": @{\n"
  17347. " \"base32\": \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"\n"
  17348. " @}\n"
  17349. " @}\n"
  17350. " @dots{}\n"
  17351. "@}\n"
  17352. msgstr ""
  17353. #. type: table
  17354. #: guix-git/doc/guix.texi:11497
  17355. msgid "The command below reads metadata from the JSON file @code{hello.json} and outputs a package expression:"
  17356. msgstr ""
  17357. #. type: example
  17358. #: guix-git/doc/guix.texi:11500
  17359. #, no-wrap
  17360. msgid "guix import json hello.json\n"
  17361. msgstr ""
  17362. #. type: item
  17363. #: guix-git/doc/guix.texi:11502 guix-git/doc/guix.texi:11503
  17364. #: guix-git/doc/guix.texi:11911
  17365. #, no-wrap
  17366. msgid "hackage"
  17367. msgstr ""
  17368. #. type: table
  17369. #: guix-git/doc/guix.texi:11508
  17370. 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."
  17371. msgstr ""
  17372. #. type: item
  17373. #: guix-git/doc/guix.texi:11512
  17374. #, no-wrap
  17375. msgid "--stdin"
  17376. msgstr ""
  17377. #. type: itemx
  17378. #: guix-git/doc/guix.texi:11513
  17379. #, no-wrap
  17380. msgid "-s"
  17381. msgstr "-s"
  17382. #. type: table
  17383. #: guix-git/doc/guix.texi:11515
  17384. msgid "Read a Cabal file from standard input."
  17385. msgstr ""
  17386. #. type: item
  17387. #: guix-git/doc/guix.texi:11515 guix-git/doc/guix.texi:11562
  17388. #, no-wrap
  17389. msgid "--no-test-dependencies"
  17390. msgstr ""
  17391. #. type: table
  17392. #: guix-git/doc/guix.texi:11518 guix-git/doc/guix.texi:11565
  17393. msgid "Do not include dependencies required only by the test suites."
  17394. msgstr ""
  17395. #. type: item
  17396. #: guix-git/doc/guix.texi:11518
  17397. #, no-wrap
  17398. msgid "--cabal-environment=@var{alist}"
  17399. msgstr ""
  17400. #. type: itemx
  17401. #: guix-git/doc/guix.texi:11519
  17402. #, no-wrap
  17403. msgid "-e @var{alist}"
  17404. msgstr ""
  17405. #. type: table
  17406. #: guix-git/doc/guix.texi:11528
  17407. 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."
  17408. msgstr ""
  17409. #. type: table
  17410. #: guix-git/doc/guix.texi:11538
  17411. 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}:"
  17412. msgstr ""
  17413. #. type: example
  17414. #: guix-git/doc/guix.texi:11541
  17415. #, no-wrap
  17416. msgid "guix import hackage -t -e \"'((\\\"network-uri\\\" . false))\" HTTP\n"
  17417. msgstr ""
  17418. #. type: table
  17419. #: guix-git/doc/guix.texi:11545
  17420. 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:"
  17421. msgstr ""
  17422. #. type: example
  17423. #: guix-git/doc/guix.texi:11548
  17424. #, no-wrap
  17425. msgid "guix import hackage mtl@@2.1.3.1\n"
  17426. msgstr ""
  17427. #. type: item
  17428. #: guix-git/doc/guix.texi:11550 guix-git/doc/guix.texi:11551
  17429. #: guix-git/doc/guix.texi:11913
  17430. #, no-wrap
  17431. msgid "stackage"
  17432. msgstr ""
  17433. #. type: table
  17434. #: guix-git/doc/guix.texi:11558
  17435. 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."
  17436. msgstr ""
  17437. #. type: item
  17438. #: guix-git/doc/guix.texi:11565
  17439. #, no-wrap
  17440. msgid "--lts-version=@var{version}"
  17441. msgstr "--lts-version=@var{versão}"
  17442. #. type: itemx
  17443. #: guix-git/doc/guix.texi:11566
  17444. #, no-wrap
  17445. msgid "-l @var{version}"
  17446. msgstr "-l @var{versão}"
  17447. #. type: table
  17448. #: guix-git/doc/guix.texi:11569
  17449. msgid "@var{version} is the desired LTS release version. If omitted the latest release is used."
  17450. msgstr ""
  17451. #. type: table
  17452. #: guix-git/doc/guix.texi:11578
  17453. msgid "The command below imports metadata for the HTTP Haskell package included in the LTS Stackage release version 7.18:"
  17454. msgstr ""
  17455. #. type: example
  17456. #: guix-git/doc/guix.texi:11581
  17457. #, no-wrap
  17458. msgid "guix import stackage --lts-version=7.18 HTTP\n"
  17459. msgstr ""
  17460. #. type: item
  17461. #: guix-git/doc/guix.texi:11583 guix-git/doc/guix.texi:11584
  17462. #: guix-git/doc/guix.texi:11897
  17463. #, no-wrap
  17464. msgid "elpa"
  17465. msgstr "elpa"
  17466. #. type: table
  17467. #: guix-git/doc/guix.texi:11587
  17468. msgid "Import metadata from an Emacs Lisp Package Archive (ELPA) package repository (@pxref{Packages,,, emacs, The GNU Emacs Manual})."
  17469. msgstr ""
  17470. #. type: item
  17471. #: guix-git/doc/guix.texi:11591
  17472. #, no-wrap
  17473. msgid "--archive=@var{repo}"
  17474. msgstr ""
  17475. #. type: itemx
  17476. #: guix-git/doc/guix.texi:11592
  17477. #, no-wrap
  17478. msgid "-a @var{repo}"
  17479. msgstr ""
  17480. #. type: table
  17481. #: guix-git/doc/guix.texi:11596
  17482. msgid "@var{repo} identifies the archive repository from which to retrieve the information. Currently the supported repositories and their identifiers are:"
  17483. msgstr ""
  17484. #. type: itemize
  17485. #: guix-git/doc/guix.texi:11600
  17486. msgid "@uref{https://elpa.gnu.org/packages, GNU}, selected by the @code{gnu} identifier. This is the default."
  17487. msgstr ""
  17488. #. type: itemize
  17489. #: guix-git/doc/guix.texi:11606
  17490. 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})."
  17491. msgstr ""
  17492. #. type: itemize
  17493. #: guix-git/doc/guix.texi:11610
  17494. msgid "@uref{https://stable.melpa.org/packages, MELPA-Stable}, selected by the @code{melpa-stable} identifier."
  17495. msgstr ""
  17496. #. type: itemize
  17497. #: guix-git/doc/guix.texi:11614
  17498. msgid "@uref{https://melpa.org/packages, MELPA}, selected by the @code{melpa} identifier."
  17499. msgstr ""
  17500. #. type: item
  17501. #: guix-git/doc/guix.texi:11623 guix-git/doc/guix.texi:11624
  17502. #: guix-git/doc/guix.texi:11915
  17503. #, no-wrap
  17504. msgid "crate"
  17505. msgstr ""
  17506. #. type: table
  17507. #: guix-git/doc/guix.texi:11627
  17508. msgid "Import metadata from the crates.io Rust package repository @uref{https://crates.io, crates.io}, as in this example:"
  17509. msgstr ""
  17510. #. type: example
  17511. #: guix-git/doc/guix.texi:11630
  17512. #, no-wrap
  17513. msgid "guix import crate blake2-rfc\n"
  17514. msgstr ""
  17515. #. type: table
  17516. #: guix-git/doc/guix.texi:11633
  17517. msgid "The crate importer also allows you to specify a version string:"
  17518. msgstr ""
  17519. #. type: example
  17520. #: guix-git/doc/guix.texi:11636
  17521. #, no-wrap
  17522. msgid "guix import crate constant-time-eq@@0.1.0\n"
  17523. msgstr ""
  17524. #. type: table
  17525. #: guix-git/doc/guix.texi:11639 guix-git/doc/guix.texi:11655
  17526. #: guix-git/doc/guix.texi:11703 guix-git/doc/guix.texi:11734
  17527. msgid "Additional options include:"
  17528. msgstr ""
  17529. #. type: item
  17530. #: guix-git/doc/guix.texi:11648
  17531. #, no-wrap
  17532. msgid "opam"
  17533. msgstr ""
  17534. #. type: cindex
  17535. #: guix-git/doc/guix.texi:11649
  17536. #, no-wrap
  17537. msgid "OPAM"
  17538. msgstr ""
  17539. #. type: cindex
  17540. #: guix-git/doc/guix.texi:11650
  17541. #, no-wrap
  17542. msgid "OCaml"
  17543. msgstr ""
  17544. #. type: table
  17545. #: guix-git/doc/guix.texi:11653
  17546. msgid "Import metadata from the @uref{https://opam.ocaml.org/, OPAM} package repository used by the OCaml community."
  17547. msgstr ""
  17548. #. type: item
  17549. #: guix-git/doc/guix.texi:11662
  17550. #, no-wrap
  17551. msgid "--repo"
  17552. msgstr ""
  17553. #. type: table
  17554. #: guix-git/doc/guix.texi:11666
  17555. 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:"
  17556. msgstr ""
  17557. #. type: item
  17558. #: guix-git/doc/guix.texi:11668
  17559. #, no-wrap
  17560. msgid "the name of a known repository - can be one of @code{opam},"
  17561. msgstr ""
  17562. #. type: itemize
  17563. #: guix-git/doc/guix.texi:11671
  17564. msgid "@code{coq} (equivalent to @code{coq-released}), @code{coq-core-dev}, @code{coq-extra-dev} or @code{grew}."
  17565. msgstr ""
  17566. #. type: item
  17567. #: guix-git/doc/guix.texi:11671
  17568. #, no-wrap
  17569. msgid "the URL of a repository as expected by the"
  17570. msgstr ""
  17571. #. type: itemize
  17572. #: guix-git/doc/guix.texi:11675
  17573. msgid "@code{opam repository add} command (for instance, the URL equivalent of the above @code{opam} name would be @uref{https://opam.ocaml.org})."
  17574. msgstr ""
  17575. #. type: item
  17576. #: guix-git/doc/guix.texi:11675
  17577. #, no-wrap
  17578. msgid "the path to a local copy of a repository (a directory containing a"
  17579. msgstr ""
  17580. #. type: itemize
  17581. #: guix-git/doc/guix.texi:11677
  17582. msgid "@file{packages/} sub-directory)."
  17583. msgstr ""
  17584. #. type: table
  17585. #: guix-git/doc/guix.texi:11682
  17586. 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."
  17587. msgstr ""
  17588. #. type: table
  17589. #: guix-git/doc/guix.texi:11687
  17590. msgid "Also, please note that versions are not compared accross 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}."
  17591. msgstr ""
  17592. #. type: cindex
  17593. #: guix-git/doc/guix.texi:11690 guix-git/doc/guix.texi:11691
  17594. #, no-wrap
  17595. msgid "go"
  17596. msgstr ""
  17597. #. type: table
  17598. #: guix-git/doc/guix.texi:11694
  17599. msgid "Import metadata for a Go module using @uref{https://proxy.golang.org, proxy.golang.org}."
  17600. msgstr ""
  17601. #. type: example
  17602. #: guix-git/doc/guix.texi:11697
  17603. #, no-wrap
  17604. msgid "guix import go gopkg.in/yaml.v2\n"
  17605. msgstr ""
  17606. #. type: table
  17607. #: guix-git/doc/guix.texi:11701
  17608. msgid "It is possible to use a package specification with a @code{@@VERSION} suffix to import a specific version."
  17609. msgstr ""
  17610. #. type: item
  17611. #: guix-git/doc/guix.texi:11710
  17612. #, fuzzy, no-wrap
  17613. msgid "--pin-versions"
  17614. msgstr "--verbose"
  17615. #. type: table
  17616. #: guix-git/doc/guix.texi:11718
  17617. 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."
  17618. msgstr ""
  17619. #. type: item
  17620. #: guix-git/doc/guix.texi:11720 guix-git/doc/guix.texi:11721
  17621. #: guix-git/doc/guix.texi:11895
  17622. #, no-wrap
  17623. msgid "egg"
  17624. msgstr ""
  17625. #. type: table
  17626. #: guix-git/doc/guix.texi:11728
  17627. 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-latest, eggs-5-latest} 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)."
  17628. msgstr ""
  17629. #. type: example
  17630. #: guix-git/doc/guix.texi:11731
  17631. #, no-wrap
  17632. msgid "guix import egg sourcehut\n"
  17633. msgstr ""
  17634. #. type: Plain text
  17635. #: guix-git/doc/guix.texi:11746
  17636. 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})."
  17637. msgstr ""
  17638. #. type: section
  17639. #: guix-git/doc/guix.texi:11748
  17640. #, no-wrap
  17641. msgid "Invoking @command{guix refresh}"
  17642. msgstr "Invocando @command{guix refresh}"
  17643. #. type: command{#1}
  17644. #: guix-git/doc/guix.texi:11750
  17645. #, no-wrap
  17646. msgid "guix refresh"
  17647. msgstr ""
  17648. #. type: Plain text
  17649. #: guix-git/doc/guix.texi:11758
  17650. 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:"
  17651. msgstr ""
  17652. #. type: example
  17653. #: guix-git/doc/guix.texi:11763
  17654. #, no-wrap
  17655. msgid ""
  17656. "$ guix refresh\n"
  17657. "gnu/packages/gettext.scm:29:13: gettext would be upgraded from 0.18.1.1 to 0.18.2.1\n"
  17658. "gnu/packages/glib.scm:77:12: glib would be upgraded from 2.34.3 to 2.37.0\n"
  17659. msgstr ""
  17660. #. type: Plain text
  17661. #: guix-git/doc/guix.texi:11767
  17662. msgid "Alternatively, one can specify packages to consider, in which case a warning is emitted for packages that lack an updater:"
  17663. msgstr ""
  17664. #. type: example
  17665. #: guix-git/doc/guix.texi:11772
  17666. #, no-wrap
  17667. msgid ""
  17668. "$ guix refresh coreutils guile guile-ssh\n"
  17669. "gnu/packages/ssh.scm:205:2: warning: no updater for guile-ssh\n"
  17670. "gnu/packages/guile.scm:136:12: guile would be upgraded from 2.0.12 to 2.0.13\n"
  17671. msgstr ""
  17672. #. type: Plain text
  17673. #: guix-git/doc/guix.texi:11781
  17674. 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!"
  17675. msgstr ""
  17676. #. type: table
  17677. #: guix-git/doc/guix.texi:11786
  17678. msgid "Consider the packages specified, and all the packages upon which they depend."
  17679. msgstr ""
  17680. #. type: example
  17681. #: guix-git/doc/guix.texi:11794
  17682. #, no-wrap
  17683. msgid ""
  17684. "$ guix refresh --recursive coreutils\n"
  17685. "gnu/packages/acl.scm:40:13: acl would be upgraded from 2.2.53 to 2.3.1\n"
  17686. "gnu/packages/m4.scm:30:12: 1.4.18 is already the latest version of m4\n"
  17687. "gnu/packages/xml.scm:68:2: warning: no updater for expat\n"
  17688. "gnu/packages/multiprecision.scm:40:12: 6.1.2 is already the latest version of gmp\n"
  17689. "@dots{}\n"
  17690. msgstr ""
  17691. #. type: Plain text
  17692. #: guix-git/doc/guix.texi:11802
  17693. 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:"
  17694. msgstr ""
  17695. #. type: lisp
  17696. #: guix-git/doc/guix.texi:11809
  17697. #, no-wrap
  17698. msgid ""
  17699. "(define-public network-manager\n"
  17700. " (package\n"
  17701. " (name \"network-manager\")\n"
  17702. " ;; @dots{}\n"
  17703. " (properties '((upstream-name . \"NetworkManager\")))))\n"
  17704. msgstr ""
  17705. #. type: Plain text
  17706. #: guix-git/doc/guix.texi:11818
  17707. 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."
  17708. msgstr ""
  17709. #. type: Plain text
  17710. #: guix-git/doc/guix.texi:11824
  17711. 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."
  17712. msgstr ""
  17713. #. type: Plain text
  17714. #: guix-git/doc/guix.texi:11826
  17715. msgid "The following options are supported:"
  17716. msgstr ""
  17717. #. type: table
  17718. #: guix-git/doc/guix.texi:11834 guix-git/doc/guix.texi:12631
  17719. msgid "This is useful to precisely refer to a package, as in this example:"
  17720. msgstr ""
  17721. #. type: example
  17722. #: guix-git/doc/guix.texi:11837
  17723. #, no-wrap
  17724. msgid "guix refresh -l -e '(@@@@ (gnu packages commencement) glibc-final)'\n"
  17725. msgstr ""
  17726. #. type: table
  17727. #: guix-git/doc/guix.texi:11841
  17728. msgid "This command lists the dependents of the ``final'' libc (essentially all the packages)."
  17729. msgstr ""
  17730. #. type: item
  17731. #: guix-git/doc/guix.texi:11842
  17732. #, no-wrap
  17733. msgid "--update"
  17734. msgstr ""
  17735. #. type: itemx
  17736. #: guix-git/doc/guix.texi:11843
  17737. #, no-wrap
  17738. msgid "-u"
  17739. msgstr "-u"
  17740. #. type: table
  17741. #: guix-git/doc/guix.texi:11847
  17742. 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}):"
  17743. msgstr ""
  17744. #. type: example
  17745. #: guix-git/doc/guix.texi:11850
  17746. #, no-wrap
  17747. msgid "$ ./pre-inst-env guix refresh -s non-core -u\n"
  17748. msgstr ""
  17749. #. type: table
  17750. #: guix-git/doc/guix.texi:11853
  17751. msgid "@xref{Defining Packages}, for more information on package definitions."
  17752. msgstr ""
  17753. #. type: item
  17754. #: guix-git/doc/guix.texi:11854
  17755. #, no-wrap
  17756. msgid "--select=[@var{subset}]"
  17757. msgstr ""
  17758. #. type: itemx
  17759. #: guix-git/doc/guix.texi:11855
  17760. #, no-wrap
  17761. msgid "-s @var{subset}"
  17762. msgstr ""
  17763. #. type: table
  17764. #: guix-git/doc/guix.texi:11858
  17765. msgid "Select all the packages in @var{subset}, one of @code{core} or @code{non-core}."
  17766. msgstr ""
  17767. #. type: table
  17768. #: guix-git/doc/guix.texi:11865
  17769. 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."
  17770. msgstr ""
  17771. #. type: table
  17772. #: guix-git/doc/guix.texi:11869
  17773. 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."
  17774. msgstr ""
  17775. #. type: table
  17776. #: guix-git/doc/guix.texi:11874
  17777. 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."
  17778. msgstr ""
  17779. #. type: item
  17780. #: guix-git/doc/guix.texi:11875
  17781. #, no-wrap
  17782. msgid "--type=@var{updater}"
  17783. msgstr ""
  17784. #. type: itemx
  17785. #: guix-git/doc/guix.texi:11876
  17786. #, no-wrap
  17787. msgid "-t @var{updater}"
  17788. msgstr ""
  17789. #. type: table
  17790. #: guix-git/doc/guix.texi:11879
  17791. msgid "Select only packages handled by @var{updater} (may be a comma-separated list of updaters). Currently, @var{updater} may be one of:"
  17792. msgstr ""
  17793. #. type: table
  17794. #: guix-git/doc/guix.texi:11883
  17795. msgid "the updater for GNU packages;"
  17796. msgstr ""
  17797. #. type: item
  17798. #: guix-git/doc/guix.texi:11883
  17799. #, no-wrap
  17800. msgid "savannah"
  17801. msgstr ""
  17802. #. type: table
  17803. #: guix-git/doc/guix.texi:11885
  17804. msgid "the updater for packages hosted at @uref{https://savannah.gnu.org, Savannah};"
  17805. msgstr ""
  17806. #. type: item
  17807. #: guix-git/doc/guix.texi:11885
  17808. #, no-wrap
  17809. msgid "sourceforge"
  17810. msgstr ""
  17811. #. type: table
  17812. #: guix-git/doc/guix.texi:11887
  17813. msgid "the updater for packages hosted at @uref{https://sourceforge.net, SourceForge};"
  17814. msgstr ""
  17815. #. type: item
  17816. #: guix-git/doc/guix.texi:11887
  17817. #, no-wrap
  17818. msgid "gnome"
  17819. msgstr "gnome"
  17820. #. type: table
  17821. #: guix-git/doc/guix.texi:11889
  17822. msgid "the updater for GNOME packages;"
  17823. msgstr ""
  17824. #. type: item
  17825. #: guix-git/doc/guix.texi:11889
  17826. #, no-wrap
  17827. msgid "kde"
  17828. msgstr ""
  17829. #. type: table
  17830. #: guix-git/doc/guix.texi:11891
  17831. msgid "the updater for KDE packages;"
  17832. msgstr ""
  17833. #. type: item
  17834. #: guix-git/doc/guix.texi:11891
  17835. #, no-wrap
  17836. msgid "xorg"
  17837. msgstr ""
  17838. #. type: table
  17839. #: guix-git/doc/guix.texi:11893
  17840. msgid "the updater for X.org packages;"
  17841. msgstr ""
  17842. #. type: item
  17843. #: guix-git/doc/guix.texi:11893
  17844. #, no-wrap
  17845. msgid "kernel.org"
  17846. msgstr ""
  17847. #. type: table
  17848. #: guix-git/doc/guix.texi:11895
  17849. msgid "the updater for packages hosted on kernel.org;"
  17850. msgstr ""
  17851. #. type: table
  17852. #: guix-git/doc/guix.texi:11897
  17853. msgid "the updater for @uref{https://wiki.call-cc.org/eggs/, Egg} packages;"
  17854. msgstr ""
  17855. #. type: table
  17856. #: guix-git/doc/guix.texi:11899
  17857. msgid "the updater for @uref{https://elpa.gnu.org/, ELPA} packages;"
  17858. msgstr ""
  17859. #. type: table
  17860. #: guix-git/doc/guix.texi:11901
  17861. msgid "the updater for @uref{https://cran.r-project.org/, CRAN} packages;"
  17862. msgstr ""
  17863. #. type: item
  17864. #: guix-git/doc/guix.texi:11901
  17865. #, no-wrap
  17866. msgid "bioconductor"
  17867. msgstr ""
  17868. #. type: table
  17869. #: guix-git/doc/guix.texi:11903
  17870. msgid "the updater for @uref{https://www.bioconductor.org/, Bioconductor} R packages;"
  17871. msgstr ""
  17872. #. type: table
  17873. #: guix-git/doc/guix.texi:11905
  17874. msgid "the updater for @uref{https://www.cpan.org/, CPAN} packages;"
  17875. msgstr ""
  17876. #. type: table
  17877. #: guix-git/doc/guix.texi:11907
  17878. msgid "the updater for @uref{https://pypi.python.org, PyPI} packages."
  17879. msgstr ""
  17880. #. type: table
  17881. #: guix-git/doc/guix.texi:11909
  17882. msgid "the updater for @uref{https://rubygems.org, RubyGems} packages."
  17883. msgstr ""
  17884. #. type: item
  17885. #: guix-git/doc/guix.texi:11909
  17886. #, no-wrap
  17887. msgid "github"
  17888. msgstr ""
  17889. #. type: table
  17890. #: guix-git/doc/guix.texi:11911
  17891. msgid "the updater for @uref{https://github.com, GitHub} packages."
  17892. msgstr ""
  17893. #. type: table
  17894. #: guix-git/doc/guix.texi:11913
  17895. msgid "the updater for @uref{https://hackage.haskell.org, Hackage} packages."
  17896. msgstr ""
  17897. #. type: table
  17898. #: guix-git/doc/guix.texi:11915
  17899. msgid "the updater for @uref{https://www.stackage.org, Stackage} packages."
  17900. msgstr ""
  17901. #. type: table
  17902. #: guix-git/doc/guix.texi:11917
  17903. msgid "the updater for @uref{https://crates.io, Crates} packages."
  17904. msgstr ""
  17905. #. type: item
  17906. #: guix-git/doc/guix.texi:11917
  17907. #, no-wrap
  17908. msgid "launchpad"
  17909. msgstr ""
  17910. #. type: table
  17911. #: guix-git/doc/guix.texi:11919
  17912. msgid "the updater for @uref{https://launchpad.net, Launchpad} packages."
  17913. msgstr ""
  17914. #. type: item
  17915. #: guix-git/doc/guix.texi:11919
  17916. #, no-wrap
  17917. msgid "generic-html"
  17918. msgstr ""
  17919. #. type: table
  17920. #: guix-git/doc/guix.texi:11922
  17921. msgid "a generic updater that crawls the HTML page where the source tarball of the package is hosted, when applicable."
  17922. msgstr ""
  17923. #. type: table
  17924. #: guix-git/doc/guix.texi:11926
  17925. 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:"
  17926. msgstr ""
  17927. #. type: example
  17928. #: guix-git/doc/guix.texi:11931
  17929. #, no-wrap
  17930. msgid ""
  17931. "$ guix refresh --type=elpa,cran\n"
  17932. "gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.10.0 to 0.11.0\n"
  17933. "gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 11.88.9\n"
  17934. msgstr ""
  17935. #. type: item
  17936. #: guix-git/doc/guix.texi:11933
  17937. #, no-wrap
  17938. msgid "--list-updaters"
  17939. msgstr ""
  17940. #. type: itemx
  17941. #: guix-git/doc/guix.texi:11934
  17942. #, no-wrap
  17943. msgid "-L"
  17944. msgstr ""
  17945. #. type: table
  17946. #: guix-git/doc/guix.texi:11936
  17947. msgid "List available updaters and exit (see @option{--type} above)."
  17948. msgstr ""
  17949. #. type: table
  17950. #: guix-git/doc/guix.texi:11939
  17951. msgid "For each updater, display the fraction of packages it covers; at the end, display the fraction of packages covered by all these updaters."
  17952. msgstr ""
  17953. #. type: Plain text
  17954. #: guix-git/doc/guix.texi:11943
  17955. msgid "In addition, @command{guix refresh} can be passed one or more package names, as in this example:"
  17956. msgstr ""
  17957. #. type: example
  17958. #: guix-git/doc/guix.texi:11946
  17959. #, no-wrap
  17960. msgid "$ ./pre-inst-env guix refresh -u emacs idutils gcc@@4.8\n"
  17961. msgstr ""
  17962. #. type: Plain text
  17963. #: guix-git/doc/guix.texi:11953
  17964. 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:"
  17965. msgstr ""
  17966. #. type: example
  17967. #: guix-git/doc/guix.texi:11957
  17968. #, no-wrap
  17969. msgid ""
  17970. "$ ./pre-inst-env guix refresh -u \\\n"
  17971. " $(guix package --list-installed | cut -f1)\n"
  17972. msgstr ""
  17973. #. type: Plain text
  17974. #: guix-git/doc/guix.texi:11963
  17975. 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:"
  17976. msgstr ""
  17977. #. type: item
  17978. #: guix-git/doc/guix.texi:11966
  17979. #, no-wrap
  17980. msgid "--list-dependent"
  17981. msgstr ""
  17982. #. type: itemx
  17983. #: guix-git/doc/guix.texi:11967 guix-git/doc/guix.texi:12226
  17984. #, no-wrap
  17985. msgid "-l"
  17986. msgstr ""
  17987. #. type: table
  17988. #: guix-git/doc/guix.texi:11970
  17989. msgid "List top-level dependent packages that would need to be rebuilt as a result of upgrading one or more packages."
  17990. msgstr ""
  17991. #. type: table
  17992. #: guix-git/doc/guix.texi:11974
  17993. 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."
  17994. msgstr ""
  17995. #. type: Plain text
  17996. #: guix-git/doc/guix.texi:11980
  17997. 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."
  17998. msgstr ""
  17999. #. type: example
  18000. #: guix-git/doc/guix.texi:11985
  18001. #, no-wrap
  18002. msgid ""
  18003. "$ guix refresh --list-dependent flex\n"
  18004. "Building the following 120 packages would ensure 213 dependent packages are rebuilt:\n"
  18005. "hop@@2.4.0 emacs-geiser@@0.13 notmuch@@0.18 mu@@0.9.9.5 cflow@@1.4 idutils@@4.6 @dots{}\n"
  18006. msgstr ""
  18007. #. type: Plain text
  18008. #: guix-git/doc/guix.texi:11989
  18009. msgid "The command above lists a set of packages that could be built to check for compatibility with an upgraded @code{flex} package."
  18010. msgstr ""
  18011. #. type: item
  18012. #: guix-git/doc/guix.texi:11992
  18013. #, no-wrap
  18014. msgid "--list-transitive"
  18015. msgstr "--list-transitive"
  18016. #. type: table
  18017. #: guix-git/doc/guix.texi:11994
  18018. msgid "List all the packages which one or more packages depend upon."
  18019. msgstr ""
  18020. #. type: example
  18021. #: guix-git/doc/guix.texi:11999
  18022. #, no-wrap
  18023. msgid ""
  18024. "$ guix refresh --list-transitive flex\n"
  18025. "flex@@2.6.4 depends on the following 25 packages: perl@@5.28.0 help2man@@1.47.6\n"
  18026. "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"
  18027. msgstr ""
  18028. #. type: Plain text
  18029. #: guix-git/doc/guix.texi:12005
  18030. msgid "The command above lists a set of packages which, when changed, would cause @code{flex} to be rebuilt."
  18031. msgstr ""
  18032. #. type: Plain text
  18033. #: guix-git/doc/guix.texi:12007
  18034. msgid "The following options can be used to customize GnuPG operation:"
  18035. msgstr ""
  18036. #. type: item
  18037. #: guix-git/doc/guix.texi:12010
  18038. #, no-wrap
  18039. msgid "--gpg=@var{command}"
  18040. msgstr ""
  18041. #. type: table
  18042. #: guix-git/doc/guix.texi:12013
  18043. msgid "Use @var{command} as the GnuPG 2.x command. @var{command} is searched for in @code{$PATH}."
  18044. msgstr ""
  18045. #. type: item
  18046. #: guix-git/doc/guix.texi:12014
  18047. #, no-wrap
  18048. msgid "--keyring=@var{file}"
  18049. msgstr ""
  18050. #. type: table
  18051. #: guix-git/doc/guix.texi:12020
  18052. 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)."
  18053. msgstr ""
  18054. #. type: table
  18055. #: guix-git/doc/guix.texi:12026
  18056. 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)."
  18057. msgstr ""
  18058. #. type: table
  18059. #: guix-git/doc/guix.texi:12029
  18060. msgid "You can export keys from your default GPG keyring into a keybox file using commands like this one:"
  18061. msgstr ""
  18062. #. type: example
  18063. #: guix-git/doc/guix.texi:12032
  18064. #, no-wrap
  18065. msgid "gpg --export rms@@gnu.org | kbxutil --import-openpgp >> mykeyring.kbx\n"
  18066. msgstr ""
  18067. #. type: table
  18068. #: guix-git/doc/guix.texi:12035
  18069. msgid "Likewise, you can fetch keys to a specific keybox file like this:"
  18070. msgstr ""
  18071. #. type: example
  18072. #: guix-git/doc/guix.texi:12039
  18073. #, no-wrap
  18074. msgid ""
  18075. "gpg --no-default-keyring --keyring mykeyring.kbx \\\n"
  18076. " --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n"
  18077. msgstr ""
  18078. #. type: table
  18079. #: guix-git/doc/guix.texi:12043
  18080. msgid "@xref{GPG Configuration Options, @option{--keyring},, gnupg, Using the GNU Privacy Guard}, for more information on GPG's @option{--keyring} option."
  18081. msgstr ""
  18082. #. type: table
  18083. #: guix-git/doc/guix.texi:12047
  18084. msgid "Handle missing OpenPGP keys according to @var{policy}, which may be one of:"
  18085. msgstr ""
  18086. #. type: item
  18087. #: guix-git/doc/guix.texi:12049 guix-git/doc/guix.texi:21092
  18088. #, no-wrap
  18089. msgid "always"
  18090. msgstr ""
  18091. #. type: table
  18092. #: guix-git/doc/guix.texi:12052
  18093. msgid "Always download missing OpenPGP keys from the key server, and add them to the user's GnuPG keyring."
  18094. msgstr ""
  18095. #. type: item
  18096. #: guix-git/doc/guix.texi:12053 guix-git/doc/guix.texi:21094
  18097. #, no-wrap
  18098. msgid "never"
  18099. msgstr ""
  18100. #. type: table
  18101. #: guix-git/doc/guix.texi:12055
  18102. msgid "Never try to download missing OpenPGP keys. Instead just bail out."
  18103. msgstr ""
  18104. #. type: item
  18105. #: guix-git/doc/guix.texi:12056
  18106. #, no-wrap
  18107. msgid "interactive"
  18108. msgstr ""
  18109. #. type: table
  18110. #: guix-git/doc/guix.texi:12059
  18111. 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."
  18112. msgstr ""
  18113. #. type: item
  18114. #: guix-git/doc/guix.texi:12061
  18115. #, no-wrap
  18116. msgid "--key-server=@var{host}"
  18117. msgstr ""
  18118. #. type: table
  18119. #: guix-git/doc/guix.texi:12063
  18120. msgid "Use @var{host} as the OpenPGP key server when importing a public key."
  18121. msgstr ""
  18122. #. type: Plain text
  18123. #: guix-git/doc/guix.texi:12083
  18124. 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."
  18125. msgstr ""
  18126. #. type: section
  18127. #: guix-git/doc/guix.texi:12086
  18128. #, no-wrap
  18129. msgid "Invoking @command{guix lint}"
  18130. msgstr "Invocando @command{guix lint}"
  18131. #. type: command{#1}
  18132. #: guix-git/doc/guix.texi:12088
  18133. #, no-wrap
  18134. msgid "guix lint"
  18135. msgstr ""
  18136. #. type: cindex
  18137. #: guix-git/doc/guix.texi:12089
  18138. #, no-wrap
  18139. msgid "package, checking for errors"
  18140. msgstr ""
  18141. #. type: Plain text
  18142. #: guix-git/doc/guix.texi:12095
  18143. 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):"
  18144. msgstr ""
  18145. #. type: table
  18146. #: guix-git/doc/guix.texi:12101
  18147. msgid "Validate certain typographical and stylistic rules about package descriptions and synopses."
  18148. msgstr ""
  18149. #. type: item
  18150. #: guix-git/doc/guix.texi:12102
  18151. #, no-wrap
  18152. msgid "inputs-should-be-native"
  18153. msgstr ""
  18154. #. type: table
  18155. #: guix-git/doc/guix.texi:12104
  18156. msgid "Identify inputs that should most likely be native inputs."
  18157. msgstr ""
  18158. #. type: itemx
  18159. #: guix-git/doc/guix.texi:12107
  18160. #, no-wrap
  18161. msgid "mirror-url"
  18162. msgstr ""
  18163. #. type: itemx
  18164. #: guix-git/doc/guix.texi:12108
  18165. #, no-wrap
  18166. msgid "github-url"
  18167. msgstr ""
  18168. #. type: itemx
  18169. #: guix-git/doc/guix.texi:12109
  18170. #, no-wrap
  18171. msgid "source-file-name"
  18172. msgstr ""
  18173. #. type: table
  18174. #: guix-git/doc/guix.texi:12116
  18175. 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})."
  18176. msgstr ""
  18177. #. type: item
  18178. #: guix-git/doc/guix.texi:12117
  18179. #, no-wrap
  18180. msgid "source-unstable-tarball"
  18181. msgstr ""
  18182. #. type: table
  18183. #: guix-git/doc/guix.texi:12121
  18184. 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."
  18185. msgstr ""
  18186. #. type: table
  18187. #: guix-git/doc/guix.texi:12125
  18188. msgid "Check that the derivation of the given packages can be successfully computed for all the supported systems (@pxref{Derivations})."
  18189. msgstr ""
  18190. #. type: item
  18191. #: guix-git/doc/guix.texi:12126
  18192. #, no-wrap
  18193. msgid "profile-collisions"
  18194. msgstr ""
  18195. #. type: table
  18196. #: guix-git/doc/guix.texi:12132
  18197. 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."
  18198. msgstr ""
  18199. #. type: item
  18200. #: guix-git/doc/guix.texi:12133
  18201. #, no-wrap
  18202. msgid "archival"
  18203. msgstr ""
  18204. #. type: cindex
  18205. #: guix-git/doc/guix.texi:12134
  18206. #, no-wrap
  18207. msgid "Software Heritage, source code archive"
  18208. msgstr ""
  18209. #. type: cindex
  18210. #: guix-git/doc/guix.texi:12135
  18211. #, no-wrap
  18212. msgid "archival of source code, Software Heritage"
  18213. msgstr ""
  18214. #. type: table
  18215. #: guix-git/doc/guix.texi:12138
  18216. msgid "Checks whether the package's source code is archived at @uref{https://www.softwareheritage.org, Software Heritage}."
  18217. msgstr ""
  18218. #. type: table
  18219. #: guix-git/doc/guix.texi:12146
  18220. 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}."
  18221. msgstr ""
  18222. #. type: table
  18223. #: guix-git/doc/guix.texi:12151
  18224. 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."
  18225. msgstr ""
  18226. #. type: table
  18227. #: guix-git/doc/guix.texi:12157
  18228. 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."
  18229. msgstr ""
  18230. #. type: item
  18231. #: guix-git/doc/guix.texi:12158
  18232. #, no-wrap
  18233. msgid "cve"
  18234. msgstr ""
  18235. #. type: cindex
  18236. #: guix-git/doc/guix.texi:12159 guix-git/doc/guix.texi:35303
  18237. #, no-wrap
  18238. msgid "security vulnerabilities"
  18239. msgstr ""
  18240. #. type: cindex
  18241. #: guix-git/doc/guix.texi:12160
  18242. #, no-wrap
  18243. msgid "CVE, Common Vulnerabilities and Exposures"
  18244. msgstr ""
  18245. #. type: table
  18246. #: guix-git/doc/guix.texi:12165
  18247. 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}."
  18248. msgstr ""
  18249. #. type: table
  18250. #: guix-git/doc/guix.texi:12167
  18251. msgid "To view information about a particular vulnerability, visit pages such as:"
  18252. msgstr ""
  18253. #. type: indicateurl{#1}
  18254. #: guix-git/doc/guix.texi:12171
  18255. msgid "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-YYYY-ABCD"
  18256. msgstr ""
  18257. #. type: indicateurl{#1}
  18258. #: guix-git/doc/guix.texi:12173
  18259. msgid "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-YYYY-ABCD"
  18260. msgstr ""
  18261. #. type: table
  18262. #: guix-git/doc/guix.texi:12178
  18263. msgid "where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., @code{CVE-2015-7554}."
  18264. msgstr ""
  18265. #. type: table
  18266. #: guix-git/doc/guix.texi:12183
  18267. 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:"
  18268. msgstr ""
  18269. #. type: lisp
  18270. #: guix-git/doc/guix.texi:12191
  18271. #, no-wrap
  18272. msgid ""
  18273. "(package\n"
  18274. " (name \"grub\")\n"
  18275. " ;; @dots{}\n"
  18276. " ;; CPE calls this package \"grub2\".\n"
  18277. " (properties '((cpe-name . \"grub2\")\n"
  18278. " (cpe-version . \"2.3\"))))\n"
  18279. msgstr ""
  18280. #. type: table
  18281. #: guix-git/doc/guix.texi:12198
  18282. 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:"
  18283. msgstr ""
  18284. #. type: lisp
  18285. #: guix-git/doc/guix.texi:12208
  18286. #, no-wrap
  18287. msgid ""
  18288. "(package\n"
  18289. " (name \"t1lib\")\n"
  18290. " ;; @dots{}\n"
  18291. " ;; These CVEs no longer apply and can be safely ignored.\n"
  18292. " (properties `((lint-hidden-cve . (\"CVE-2011-0433\"\n"
  18293. " \"CVE-2011-1553\"\n"
  18294. " \"CVE-2011-1554\"\n"
  18295. " \"CVE-2011-5244\")))))\n"
  18296. msgstr ""
  18297. #. type: item
  18298. #: guix-git/doc/guix.texi:12210
  18299. #, no-wrap
  18300. msgid "formatting"
  18301. msgstr ""
  18302. #. type: table
  18303. #: guix-git/doc/guix.texi:12213
  18304. msgid "Warn about obvious source code formatting issues: trailing white space, use of tabulations, etc."
  18305. msgstr ""
  18306. #. type: example
  18307. #: guix-git/doc/guix.texi:12219
  18308. #, no-wrap
  18309. msgid "guix lint @var{options} @var{package}@dots{}\n"
  18310. msgstr ""
  18311. #. type: Plain text
  18312. #: guix-git/doc/guix.texi:12223
  18313. 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:"
  18314. msgstr ""
  18315. #. type: item
  18316. #: guix-git/doc/guix.texi:12225
  18317. #, no-wrap
  18318. msgid "--list-checkers"
  18319. msgstr "--list-checkers"
  18320. #. type: table
  18321. #: guix-git/doc/guix.texi:12229
  18322. msgid "List and describe all the available checkers that will be run on packages and exit."
  18323. msgstr ""
  18324. #. type: item
  18325. #: guix-git/doc/guix.texi:12230
  18326. #, no-wrap
  18327. msgid "--checkers"
  18328. msgstr "--checkers"
  18329. #. type: itemx
  18330. #: guix-git/doc/guix.texi:12231
  18331. #, no-wrap
  18332. msgid "-c"
  18333. msgstr "-c"
  18334. #. type: table
  18335. #: guix-git/doc/guix.texi:12234
  18336. msgid "Only enable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  18337. msgstr ""
  18338. #. type: item
  18339. #: guix-git/doc/guix.texi:12235
  18340. #, no-wrap
  18341. msgid "--exclude"
  18342. msgstr ""
  18343. #. type: table
  18344. #: guix-git/doc/guix.texi:12239
  18345. msgid "Only disable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  18346. msgstr ""
  18347. #. type: item
  18348. #: guix-git/doc/guix.texi:12240
  18349. #, no-wrap
  18350. msgid "--no-network"
  18351. msgstr ""
  18352. #. type: table
  18353. #: guix-git/doc/guix.texi:12243
  18354. msgid "Only enable the checkers that do not depend on Internet access."
  18355. msgstr ""
  18356. #. type: section
  18357. #: guix-git/doc/guix.texi:12255
  18358. #, no-wrap
  18359. msgid "Invoking @command{guix size}"
  18360. msgstr "Invocando @command{guix size}"
  18361. #. type: code{#1}
  18362. #: guix-git/doc/guix.texi:12257 guix-git/doc/guix.texi:34216
  18363. #, no-wrap
  18364. msgid "size"
  18365. msgstr "tamanho"
  18366. #. type: cindex
  18367. #: guix-git/doc/guix.texi:12258
  18368. #, no-wrap
  18369. msgid "package size"
  18370. msgstr ""
  18371. #. type: command{#1}
  18372. #: guix-git/doc/guix.texi:12260
  18373. #, no-wrap
  18374. msgid "guix size"
  18375. msgstr ""
  18376. #. type: Plain text
  18377. #: guix-git/doc/guix.texi:12267
  18378. 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."
  18379. msgstr ""
  18380. #. type: Plain text
  18381. #: guix-git/doc/guix.texi:12272
  18382. 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:"
  18383. msgstr ""
  18384. #. type: example
  18385. #: guix-git/doc/guix.texi:12285
  18386. #, no-wrap
  18387. msgid ""
  18388. "$ guix size coreutils\n"
  18389. "store item total self\n"
  18390. "/gnu/store/@dots{}-gcc-5.5.0-lib 60.4 30.1 38.1%\n"
  18391. "/gnu/store/@dots{}-glibc-2.27 30.3 28.8 36.6%\n"
  18392. "/gnu/store/@dots{}-coreutils-8.28 78.9 15.0 19.0%\n"
  18393. "/gnu/store/@dots{}-gmp-6.1.2 63.1 2.7 3.4%\n"
  18394. "/gnu/store/@dots{}-bash-static-4.4.12 1.5 1.5 1.9%\n"
  18395. "/gnu/store/@dots{}-acl-2.2.52 61.1 0.4 0.5%\n"
  18396. "/gnu/store/@dots{}-attr-2.4.47 60.6 0.2 0.3%\n"
  18397. "/gnu/store/@dots{}-libcap-2.25 60.5 0.2 0.2%\n"
  18398. "total: 78.9 MiB\n"
  18399. msgstr ""
  18400. #. type: Plain text
  18401. #: guix-git/doc/guix.texi:12291
  18402. 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:"
  18403. msgstr ""
  18404. #. type: example
  18405. #: guix-git/doc/guix.texi:12294
  18406. #, no-wrap
  18407. msgid "$ guix gc -R /gnu/store/@dots{}-coreutils-8.23\n"
  18408. msgstr ""
  18409. #. type: Plain text
  18410. #: guix-git/doc/guix.texi:12302
  18411. 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."
  18412. msgstr ""
  18413. #. type: Plain text
  18414. #: guix-git/doc/guix.texi:12308
  18415. 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.)"
  18416. msgstr ""
  18417. #. type: Plain text
  18418. #: guix-git/doc/guix.texi:12311
  18419. msgid "Since the command also accepts store file names, assessing the size of a build result is straightforward:"
  18420. msgstr ""
  18421. #. type: example
  18422. #: guix-git/doc/guix.texi:12314
  18423. #, no-wrap
  18424. msgid "guix size $(guix system build config.scm)\n"
  18425. msgstr ""
  18426. #. type: Plain text
  18427. #: guix-git/doc/guix.texi:12324
  18428. 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})."
  18429. msgstr ""
  18430. #. type: Plain text
  18431. #: guix-git/doc/guix.texi:12329
  18432. 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."
  18433. msgstr ""
  18434. #. type: Plain text
  18435. #: guix-git/doc/guix.texi:12331
  18436. msgid "You can also specify several package names:"
  18437. msgstr ""
  18438. #. type: example
  18439. #: guix-git/doc/guix.texi:12341
  18440. #, no-wrap
  18441. msgid ""
  18442. "$ guix size coreutils grep sed bash\n"
  18443. "store item total self\n"
  18444. "/gnu/store/@dots{}-coreutils-8.24 77.8 13.8 13.4%\n"
  18445. "/gnu/store/@dots{}-grep-2.22 73.1 0.8 0.8%\n"
  18446. "/gnu/store/@dots{}-bash-4.3.42 72.3 4.7 4.6%\n"
  18447. "/gnu/store/@dots{}-readline-6.3 67.6 1.2 1.2%\n"
  18448. "@dots{}\n"
  18449. "total: 102.3 MiB\n"
  18450. msgstr ""
  18451. #. type: Plain text
  18452. #: guix-git/doc/guix.texi:12347
  18453. 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."
  18454. msgstr ""
  18455. #. type: Plain text
  18456. #: guix-git/doc/guix.texi:12353
  18457. 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})."
  18458. msgstr ""
  18459. #. type: Plain text
  18460. #: guix-git/doc/guix.texi:12355
  18461. msgid "The available options are:"
  18462. msgstr ""
  18463. #. type: table
  18464. #: guix-git/doc/guix.texi:12361
  18465. msgid "Use substitute information from @var{urls}. @xref{client-substitute-urls, the same option for @code{guix build}}."
  18466. msgstr ""
  18467. #. type: item
  18468. #: guix-git/doc/guix.texi:12362
  18469. #, no-wrap
  18470. msgid "--sort=@var{key}"
  18471. msgstr ""
  18472. #. type: table
  18473. #: guix-git/doc/guix.texi:12364
  18474. msgid "Sort lines according to @var{key}, one of the following options:"
  18475. msgstr ""
  18476. #. type: item
  18477. #: guix-git/doc/guix.texi:12366
  18478. #, no-wrap
  18479. msgid "self"
  18480. msgstr ""
  18481. #. type: table
  18482. #: guix-git/doc/guix.texi:12368
  18483. msgid "the size of each item (the default);"
  18484. msgstr ""
  18485. #. type: table
  18486. #: guix-git/doc/guix.texi:12370
  18487. msgid "the total size of the item's closure."
  18488. msgstr ""
  18489. #. type: item
  18490. #: guix-git/doc/guix.texi:12372
  18491. #, no-wrap
  18492. msgid "--map-file=@var{file}"
  18493. msgstr "--map-file=@var{arquivo}"
  18494. #. type: table
  18495. #: guix-git/doc/guix.texi:12374
  18496. msgid "Write a graphical map of disk usage in PNG format to @var{file}."
  18497. msgstr ""
  18498. #. type: table
  18499. #: guix-git/doc/guix.texi:12376
  18500. msgid "For the example above, the map looks like this:"
  18501. msgstr ""
  18502. #. type: table
  18503. #: guix-git/doc/guix.texi:12379
  18504. msgid "@image{images/coreutils-size-map,5in,, map of Coreutils disk usage produced by @command{guix size}}"
  18505. msgstr ""
  18506. #. type: table
  18507. #: guix-git/doc/guix.texi:12384
  18508. 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."
  18509. msgstr ""
  18510. #. type: table
  18511. #: guix-git/doc/guix.texi:12388
  18512. msgid "Consider packages for @var{system}---e.g., @code{x86_64-linux}."
  18513. msgstr ""
  18514. #. type: section
  18515. #: guix-git/doc/guix.texi:12399
  18516. #, no-wrap
  18517. msgid "Invoking @command{guix graph}"
  18518. msgstr "Invocando @command{guix graph}"
  18519. #. type: cindex
  18520. #: guix-git/doc/guix.texi:12401
  18521. #, no-wrap
  18522. msgid "DAG"
  18523. msgstr ""
  18524. #. type: command{#1}
  18525. #: guix-git/doc/guix.texi:12402
  18526. #, no-wrap
  18527. msgid "guix graph"
  18528. msgstr "guix graph"
  18529. #. type: Plain text
  18530. #: guix-git/doc/guix.texi:12417
  18531. 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:"
  18532. msgstr ""
  18533. #. type: example
  18534. #: guix-git/doc/guix.texi:12420
  18535. #, no-wrap
  18536. msgid "guix graph @var{options} @var{package}@dots{}\n"
  18537. msgstr ""
  18538. #. type: Plain text
  18539. #: guix-git/doc/guix.texi:12425
  18540. 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:"
  18541. msgstr ""
  18542. #. type: example
  18543. #: guix-git/doc/guix.texi:12428
  18544. #, no-wrap
  18545. msgid "guix graph coreutils | dot -Tpdf > dag.pdf\n"
  18546. msgstr ""
  18547. #. type: Plain text
  18548. #: guix-git/doc/guix.texi:12431
  18549. msgid "The output looks like this:"
  18550. msgstr ""
  18551. #. type: Plain text
  18552. #: guix-git/doc/guix.texi:12433
  18553. msgid "@image{images/coreutils-graph,2in,,Dependency graph of the GNU Coreutils}"
  18554. msgstr ""
  18555. #. type: Plain text
  18556. #: guix-git/doc/guix.texi:12435
  18557. msgid "Nice little graph, no?"
  18558. msgstr ""
  18559. #. type: Plain text
  18560. #: guix-git/doc/guix.texi:12438
  18561. msgid "You may find it more pleasant to navigate the graph interactively with @command{xdot} (from the @code{xdot} package):"
  18562. msgstr ""
  18563. #. type: example
  18564. #: guix-git/doc/guix.texi:12441
  18565. #, no-wrap
  18566. msgid "guix graph coreutils | xdot -\n"
  18567. msgstr ""
  18568. #. type: Plain text
  18569. #: guix-git/doc/guix.texi:12448
  18570. 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:"
  18571. msgstr ""
  18572. #. type: table
  18573. #: guix-git/doc/guix.texi:12454
  18574. 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."
  18575. msgstr ""
  18576. #. type: item
  18577. #: guix-git/doc/guix.texi:12455
  18578. #, no-wrap
  18579. msgid "reverse-package"
  18580. msgstr ""
  18581. #. type: table
  18582. #: guix-git/doc/guix.texi:12457
  18583. msgid "This shows the @emph{reverse} DAG of packages. For example:"
  18584. msgstr ""
  18585. #. type: example
  18586. #: guix-git/doc/guix.texi:12460
  18587. #, no-wrap
  18588. msgid "guix graph --type=reverse-package ocaml\n"
  18589. msgstr ""
  18590. #. type: table
  18591. #: guix-git/doc/guix.texi:12465
  18592. 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)."
  18593. msgstr ""
  18594. #. type: table
  18595. #: guix-git/doc/guix.texi:12470
  18596. 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}})."
  18597. msgstr ""
  18598. #. type: item
  18599. #: guix-git/doc/guix.texi:12471
  18600. #, no-wrap
  18601. msgid "bag-emerged"
  18602. msgstr ""
  18603. #. type: table
  18604. #: guix-git/doc/guix.texi:12473
  18605. msgid "This is the package DAG, @emph{including} implicit inputs."
  18606. msgstr ""
  18607. #. type: table
  18608. #: guix-git/doc/guix.texi:12475
  18609. msgid "For instance, the following command:"
  18610. msgstr ""
  18611. #. type: example
  18612. #: guix-git/doc/guix.texi:12478
  18613. #, no-wrap
  18614. msgid "guix graph --type=bag-emerged coreutils\n"
  18615. msgstr ""
  18616. #. type: table
  18617. #: guix-git/doc/guix.texi:12481
  18618. msgid "...@: yields this bigger graph:"
  18619. msgstr ""
  18620. #. type: table
  18621. #: guix-git/doc/guix.texi:12483
  18622. msgid "@image{images/coreutils-bag-graph,,5in,Detailed dependency graph of the GNU Coreutils}"
  18623. msgstr ""
  18624. #. type: table
  18625. #: guix-git/doc/guix.texi:12486
  18626. 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}})."
  18627. msgstr ""
  18628. #. type: table
  18629. #: guix-git/doc/guix.texi:12490
  18630. msgid "Now, note that the dependencies of these implicit inputs---that is, the @dfn{bootstrap dependencies} (@pxref{Bootstrapping})---are not shown here, for conciseness."
  18631. msgstr ""
  18632. #. type: item
  18633. #: guix-git/doc/guix.texi:12491
  18634. #, no-wrap
  18635. msgid "bag"
  18636. msgstr ""
  18637. #. type: table
  18638. #: guix-git/doc/guix.texi:12494
  18639. msgid "Similar to @code{bag-emerged}, but this time including all the bootstrap dependencies."
  18640. msgstr ""
  18641. #. type: item
  18642. #: guix-git/doc/guix.texi:12495
  18643. #, no-wrap
  18644. msgid "bag-with-origins"
  18645. msgstr ""
  18646. #. type: table
  18647. #: guix-git/doc/guix.texi:12497
  18648. msgid "Similar to @code{bag}, but also showing origins and their dependencies."
  18649. msgstr ""
  18650. #. type: item
  18651. #: guix-git/doc/guix.texi:12498
  18652. #, no-wrap
  18653. msgid "reverse-bag"
  18654. msgstr ""
  18655. #. type: table
  18656. #: guix-git/doc/guix.texi:12501
  18657. msgid "This shows the @emph{reverse} DAG of packages. Unlike @code{reverse-package}, it also takes implicit dependencies into account. For example:"
  18658. msgstr ""
  18659. #. type: example
  18660. #: guix-git/doc/guix.texi:12504
  18661. #, no-wrap
  18662. msgid "guix graph -t reverse-bag dune\n"
  18663. msgstr ""
  18664. #. type: table
  18665. #: guix-git/doc/guix.texi:12511
  18666. 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."
  18667. msgstr ""
  18668. #. type: table
  18669. #: guix-git/doc/guix.texi:12517
  18670. 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."
  18671. msgstr ""
  18672. #. type: table
  18673. #: guix-git/doc/guix.texi:12520
  18674. msgid "For this type of graph, it is also possible to pass a @file{.drv} file name instead of a package name, as in:"
  18675. msgstr ""
  18676. #. type: example
  18677. #: guix-git/doc/guix.texi:12523
  18678. #, no-wrap
  18679. msgid "guix graph -t derivation $(guix system build -d my-config.scm)\n"
  18680. msgstr ""
  18681. #. type: item
  18682. #: guix-git/doc/guix.texi:12525
  18683. #, no-wrap
  18684. msgid "module"
  18685. msgstr "módulo"
  18686. #. type: table
  18687. #: guix-git/doc/guix.texi:12529
  18688. 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:"
  18689. msgstr ""
  18690. #. type: example
  18691. #: guix-git/doc/guix.texi:12532
  18692. #, no-wrap
  18693. msgid "guix graph -t module guile | xdot -\n"
  18694. msgstr ""
  18695. #. type: Plain text
  18696. #: guix-git/doc/guix.texi:12537
  18697. msgid "All the types above correspond to @emph{build-time dependencies}. The following graph type represents the @emph{run-time dependencies}:"
  18698. msgstr ""
  18699. #. type: table
  18700. #: guix-git/doc/guix.texi:12542
  18701. msgid "This is the graph of @dfn{references} of a package output, as returned by @command{guix gc --references} (@pxref{Invoking guix gc})."
  18702. msgstr ""
  18703. #. type: table
  18704. #: guix-git/doc/guix.texi:12545
  18705. msgid "If the given package output is not available in the store, @command{guix graph} attempts to obtain dependency information from substitutes."
  18706. msgstr ""
  18707. #. type: table
  18708. #: guix-git/doc/guix.texi:12549
  18709. 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!):"
  18710. msgstr ""
  18711. #. type: example
  18712. #: guix-git/doc/guix.texi:12552
  18713. #, no-wrap
  18714. msgid "guix graph -t references $(readlink -f ~/.guix-profile)\n"
  18715. msgstr ""
  18716. #. type: item
  18717. #: guix-git/doc/guix.texi:12554
  18718. #, no-wrap
  18719. msgid "referrers"
  18720. msgstr ""
  18721. #. type: table
  18722. #: guix-git/doc/guix.texi:12557
  18723. msgid "This is the graph of the @dfn{referrers} of a store item, as returned by @command{guix gc --referrers} (@pxref{Invoking guix gc})."
  18724. msgstr ""
  18725. #. type: table
  18726. #: guix-git/doc/guix.texi:12563
  18727. 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."
  18728. msgstr ""
  18729. #. type: table
  18730. #: guix-git/doc/guix.texi:12566
  18731. msgid "It can help determine what is preventing a store item from being garbage collected."
  18732. msgstr ""
  18733. #. type: cindex
  18734. #: guix-git/doc/guix.texi:12569
  18735. #, no-wrap
  18736. msgid "shortest path, between packages"
  18737. msgstr ""
  18738. #. type: Plain text
  18739. #: guix-git/doc/guix.texi:12576
  18740. 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.):"
  18741. msgstr ""
  18742. #. type: example
  18743. #: guix-git/doc/guix.texi:12590
  18744. #, no-wrap
  18745. msgid ""
  18746. "$ guix graph --path emacs libunistring\n"
  18747. "emacs@@26.3\n"
  18748. "mailutils@@3.9\n"
  18749. "libunistring@@0.9.10\n"
  18750. "$ guix graph --path -t derivation emacs libunistring\n"
  18751. "/gnu/store/@dots{}-emacs-26.3.drv\n"
  18752. "/gnu/store/@dots{}-mailutils-3.9.drv\n"
  18753. "/gnu/store/@dots{}-libunistring-0.9.10.drv\n"
  18754. "$ guix graph --path -t references emacs libunistring\n"
  18755. "/gnu/store/@dots{}-emacs-26.3\n"
  18756. "/gnu/store/@dots{}-libidn2-2.2.0\n"
  18757. "/gnu/store/@dots{}-libunistring-0.9.10\n"
  18758. msgstr ""
  18759. #. type: Plain text
  18760. #: guix-git/doc/guix.texi:12593
  18761. msgid "The available options are the following:"
  18762. msgstr ""
  18763. #. type: table
  18764. #: guix-git/doc/guix.texi:12599
  18765. msgid "Produce a graph output of @var{type}, where @var{type} must be one of the values listed above."
  18766. msgstr ""
  18767. #. type: item
  18768. #: guix-git/doc/guix.texi:12600
  18769. #, no-wrap
  18770. msgid "--list-types"
  18771. msgstr ""
  18772. #. type: table
  18773. #: guix-git/doc/guix.texi:12602
  18774. msgid "List the supported graph types."
  18775. msgstr "Lista os tipos de gráficos disponíveis."
  18776. #. type: item
  18777. #: guix-git/doc/guix.texi:12603
  18778. #, no-wrap
  18779. msgid "--backend=@var{backend}"
  18780. msgstr ""
  18781. #. type: itemx
  18782. #: guix-git/doc/guix.texi:12604
  18783. #, no-wrap
  18784. msgid "-b @var{backend}"
  18785. msgstr ""
  18786. #. type: table
  18787. #: guix-git/doc/guix.texi:12606
  18788. msgid "Produce a graph using the selected @var{backend}."
  18789. msgstr ""
  18790. #. type: item
  18791. #: guix-git/doc/guix.texi:12607
  18792. #, no-wrap
  18793. msgid "--list-backends"
  18794. msgstr "--list-backends"
  18795. #. type: table
  18796. #: guix-git/doc/guix.texi:12609
  18797. msgid "List the supported graph backends."
  18798. msgstr "Lista os backends de gráficos disponíveis."
  18799. #. type: table
  18800. #: guix-git/doc/guix.texi:12611
  18801. msgid "Currently, the available backends are Graphviz and d3.js."
  18802. msgstr ""
  18803. #. type: item
  18804. #: guix-git/doc/guix.texi:12612
  18805. #, no-wrap
  18806. msgid "--path"
  18807. msgstr ""
  18808. #. type: table
  18809. #: guix-git/doc/guix.texi:12617
  18810. 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}:"
  18811. msgstr ""
  18812. #. type: example
  18813. #: guix-git/doc/guix.texi:12624
  18814. #, no-wrap
  18815. msgid ""
  18816. "$ guix graph --path -t references libreoffice llvm\n"
  18817. "/gnu/store/@dots{}-libreoffice-6.4.2.2\n"
  18818. "/gnu/store/@dots{}-libepoxy-1.5.4\n"
  18819. "/gnu/store/@dots{}-mesa-19.3.4\n"
  18820. "/gnu/store/@dots{}-llvm-9.0.1\n"
  18821. msgstr ""
  18822. #. type: example
  18823. #: guix-git/doc/guix.texi:12634
  18824. #, no-wrap
  18825. msgid "guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)'\n"
  18826. msgstr ""
  18827. #. type: table
  18828. #: guix-git/doc/guix.texi:12639
  18829. msgid "Display the graph for @var{system}---e.g., @code{i686-linux}."
  18830. msgstr ""
  18831. #. type: table
  18832. #: guix-git/doc/guix.texi:12642
  18833. msgid "The package dependency graph is largely architecture-independent, but there are some architecture-dependent bits that this option allows you to visualize."
  18834. msgstr ""
  18835. #. type: Plain text
  18836. #: guix-git/doc/guix.texi:12658
  18837. 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:"
  18838. msgstr ""
  18839. #. type: example
  18840. #: guix-git/doc/guix.texi:12661
  18841. #, no-wrap
  18842. msgid "guix graph git --with-input=openssl=libressl\n"
  18843. msgstr ""
  18844. #. type: Plain text
  18845. #: guix-git/doc/guix.texi:12664
  18846. msgid "So many possibilities, so much fun!"
  18847. msgstr ""
  18848. #. type: section
  18849. #: guix-git/doc/guix.texi:12666
  18850. #, no-wrap
  18851. msgid "Invoking @command{guix publish}"
  18852. msgstr "Invocando @command{guix publish}"
  18853. #. type: command{#1}
  18854. #: guix-git/doc/guix.texi:12668
  18855. #, no-wrap
  18856. msgid "guix publish"
  18857. msgstr ""
  18858. #. type: Plain text
  18859. #: guix-git/doc/guix.texi:12672
  18860. 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})."
  18861. msgstr ""
  18862. #. type: Plain text
  18863. #: guix-git/doc/guix.texi:12678
  18864. 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."
  18865. msgstr ""
  18866. #. type: Plain text
  18867. #: guix-git/doc/guix.texi:12684
  18868. 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."
  18869. msgstr ""
  18870. #. type: Plain text
  18871. #: guix-git/doc/guix.texi:12688
  18872. msgid "The signing key pair must be generated before @command{guix publish} is launched, using @command{guix archive --generate-key} (@pxref{Invoking guix archive})."
  18873. msgstr ""
  18874. #. type: Plain text
  18875. #: guix-git/doc/guix.texi:12693
  18876. 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})."
  18877. msgstr ""
  18878. #. type: example
  18879. #: guix-git/doc/guix.texi:12698
  18880. #, no-wrap
  18881. msgid "guix publish @var{options}@dots{}\n"
  18882. msgstr ""
  18883. #. type: Plain text
  18884. #: guix-git/doc/guix.texi:12702
  18885. msgid "Running @command{guix publish} without any additional arguments will spawn an HTTP server on port 8080:"
  18886. msgstr ""
  18887. #. type: example
  18888. #: guix-git/doc/guix.texi:12705
  18889. #, no-wrap
  18890. msgid "guix publish\n"
  18891. msgstr ""
  18892. #. type: Plain text
  18893. #: guix-git/doc/guix.texi:12709
  18894. msgid "Once a publishing server has been authorized, the daemon may download substitutes from it. @xref{Getting Substitutes from Other Servers}."
  18895. msgstr ""
  18896. #. type: Plain text
  18897. #: guix-git/doc/guix.texi:12717
  18898. 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})."
  18899. msgstr ""
  18900. #. type: Plain text
  18901. #: guix-git/doc/guix.texi:12724
  18902. 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}):"
  18903. msgstr ""
  18904. #. type: example
  18905. #: guix-git/doc/guix.texi:12727
  18906. #, no-wrap
  18907. msgid "http://example.org/file/hello-2.10.tar.gz/sha256/0ssi1@dots{}ndq1i\n"
  18908. msgstr ""
  18909. #. type: Plain text
  18910. #: guix-git/doc/guix.texi:12731
  18911. msgid "Obviously, these URLs only work for files that are in the store; in other cases, they return 404 (``Not Found'')."
  18912. msgstr ""
  18913. #. type: cindex
  18914. #: guix-git/doc/guix.texi:12732
  18915. #, no-wrap
  18916. msgid "build logs, publication"
  18917. msgstr ""
  18918. #. type: Plain text
  18919. #: guix-git/doc/guix.texi:12734
  18920. msgid "Build logs are available from @code{/log} URLs like:"
  18921. msgstr ""
  18922. #. type: example
  18923. #: guix-git/doc/guix.texi:12737
  18924. #, no-wrap
  18925. msgid "http://example.org/log/gwspk@dots{}-guile-2.2.3\n"
  18926. msgstr ""
  18927. #. type: Plain text
  18928. #: guix-git/doc/guix.texi:12747
  18929. 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."
  18930. msgstr ""
  18931. #. type: item
  18932. #: guix-git/doc/guix.texi:12751
  18933. #, no-wrap
  18934. msgid "--port=@var{port}"
  18935. msgstr "--port=@var{porta}"
  18936. #. type: itemx
  18937. #: guix-git/doc/guix.texi:12752
  18938. #, no-wrap
  18939. msgid "-p @var{port}"
  18940. msgstr "-p @var{porta}"
  18941. #. type: table
  18942. #: guix-git/doc/guix.texi:12754
  18943. msgid "Listen for HTTP requests on @var{port}."
  18944. msgstr "Ouve requisições HTTP na @var{porta}."
  18945. #. type: item
  18946. #: guix-git/doc/guix.texi:12755
  18947. #, no-wrap
  18948. msgid "--listen=@var{host}"
  18949. msgstr ""
  18950. #. type: table
  18951. #: guix-git/doc/guix.texi:12758
  18952. msgid "Listen on the network interface for @var{host}. The default is to accept connections from any interface."
  18953. msgstr ""
  18954. #. type: table
  18955. #: guix-git/doc/guix.texi:12763
  18956. 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."
  18957. msgstr ""
  18958. #. type: item
  18959. #: guix-git/doc/guix.texi:12764
  18960. #, no-wrap
  18961. msgid "--compression[=@var{method}[:@var{level}]]"
  18962. msgstr ""
  18963. #. type: itemx
  18964. #: guix-git/doc/guix.texi:12765
  18965. #, no-wrap
  18966. msgid "-C [@var{method}[:@var{level}]]"
  18967. msgstr ""
  18968. #. type: table
  18969. #: guix-git/doc/guix.texi:12769
  18970. 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."
  18971. msgstr ""
  18972. #. type: table
  18973. #: guix-git/doc/guix.texi:12773
  18974. 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."
  18975. msgstr ""
  18976. #. type: table
  18977. #: guix-git/doc/guix.texi:12780
  18978. 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."
  18979. msgstr ""
  18980. #. type: table
  18981. #: guix-git/doc/guix.texi:12784
  18982. 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}."
  18983. msgstr ""
  18984. #. type: table
  18985. #: guix-git/doc/guix.texi:12793
  18986. 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."
  18987. msgstr ""
  18988. #. type: table
  18989. #: guix-git/doc/guix.texi:12798
  18990. 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."
  18991. msgstr ""
  18992. #. type: item
  18993. #: guix-git/doc/guix.texi:12799
  18994. #, no-wrap
  18995. msgid "--cache=@var{directory}"
  18996. msgstr ""
  18997. #. type: itemx
  18998. #: guix-git/doc/guix.texi:12800
  18999. #, no-wrap
  19000. msgid "-c @var{directory}"
  19001. msgstr ""
  19002. #. type: table
  19003. #: guix-git/doc/guix.texi:12803
  19004. msgid "Cache archives and meta-data (@code{.narinfo} URLs) to @var{directory} and only serve archives that are in cache."
  19005. msgstr ""
  19006. #. type: table
  19007. #: guix-git/doc/guix.texi:12811
  19008. 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."
  19009. msgstr ""
  19010. #. type: table
  19011. #: guix-git/doc/guix.texi:12819
  19012. 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."
  19013. msgstr ""
  19014. #. type: table
  19015. #: guix-git/doc/guix.texi:12826
  19016. 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."
  19017. msgstr ""
  19018. #. type: table
  19019. #: guix-git/doc/guix.texi:12830
  19020. 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."
  19021. msgstr ""
  19022. #. type: table
  19023. #: guix-git/doc/guix.texi:12833
  19024. msgid "When @option{--ttl} is used, cached entries are automatically deleted when they have expired."
  19025. msgstr ""
  19026. #. type: item
  19027. #: guix-git/doc/guix.texi:12834
  19028. #, no-wrap
  19029. msgid "--workers=@var{N}"
  19030. msgstr "--workers=@var{N}"
  19031. #. type: table
  19032. #: guix-git/doc/guix.texi:12837
  19033. msgid "When @option{--cache} is used, request the allocation of @var{N} worker threads to ``bake'' archives."
  19034. msgstr ""
  19035. #. type: item
  19036. #: guix-git/doc/guix.texi:12838
  19037. #, no-wrap
  19038. msgid "--ttl=@var{ttl}"
  19039. msgstr ""
  19040. #. type: table
  19041. #: guix-git/doc/guix.texi:12842
  19042. 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."
  19043. msgstr ""
  19044. #. type: table
  19045. #: guix-git/doc/guix.texi:12847
  19046. 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}."
  19047. msgstr ""
  19048. #. type: table
  19049. #: guix-git/doc/guix.texi:12851
  19050. 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."
  19051. msgstr ""
  19052. #. type: item
  19053. #: guix-git/doc/guix.texi:12852
  19054. #, fuzzy, no-wrap
  19055. #| msgid "--manifest=@var{file}"
  19056. msgid "--negative-ttl=@var{ttl}"
  19057. msgstr "--manifest=@var{arquivo}"
  19058. #. type: table
  19059. #: guix-git/doc/guix.texi:12857
  19060. 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."
  19061. msgstr ""
  19062. #. type: table
  19063. #: guix-git/doc/guix.texi:12861
  19064. 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."
  19065. msgstr ""
  19066. #. type: item
  19067. #: guix-git/doc/guix.texi:12862
  19068. #, no-wrap
  19069. msgid "--cache-bypass-threshold=@var{size}"
  19070. msgstr ""
  19071. #. type: table
  19072. #: guix-git/doc/guix.texi:12867
  19073. 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}."
  19074. msgstr ""
  19075. #. type: table
  19076. #: guix-git/doc/guix.texi:12872
  19077. 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."
  19078. msgstr ""
  19079. #. type: table
  19080. #: guix-git/doc/guix.texi:12876
  19081. 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."
  19082. msgstr ""
  19083. #. type: item
  19084. #: guix-git/doc/guix.texi:12877
  19085. #, no-wrap
  19086. msgid "--nar-path=@var{path}"
  19087. msgstr ""
  19088. #. type: table
  19089. #: guix-git/doc/guix.texi:12880
  19090. msgid "Use @var{path} as the prefix for the URLs of ``nar'' files (@pxref{Invoking guix archive, normalized archives})."
  19091. msgstr ""
  19092. #. type: table
  19093. #: guix-git/doc/guix.texi:12884
  19094. 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}."
  19095. msgstr ""
  19096. #. type: item
  19097. #: guix-git/doc/guix.texi:12885
  19098. #, no-wrap
  19099. msgid "--public-key=@var{file}"
  19100. msgstr ""
  19101. #. type: itemx
  19102. #: guix-git/doc/guix.texi:12886
  19103. #, no-wrap
  19104. msgid "--private-key=@var{file}"
  19105. msgstr ""
  19106. #. type: table
  19107. #: guix-git/doc/guix.texi:12889 guix-git/doc/guix.texi:27974
  19108. #: guix-git/doc/guix.texi:28011
  19109. msgid "Use the specific @var{file}s as the public/private key pair used to sign the store items being published."
  19110. msgstr ""
  19111. #. type: table
  19112. #: guix-git/doc/guix.texi:12896
  19113. 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."
  19114. msgstr ""
  19115. #. type: item
  19116. #: guix-git/doc/guix.texi:12897
  19117. #, no-wrap
  19118. msgid "--repl[=@var{port}]"
  19119. msgstr ""
  19120. #. type: itemx
  19121. #: guix-git/doc/guix.texi:12898
  19122. #, no-wrap
  19123. msgid "-r [@var{port}]"
  19124. msgstr "-r [@var{porta}]"
  19125. #. type: table
  19126. #: guix-git/doc/guix.texi:12902
  19127. 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."
  19128. msgstr ""
  19129. #. type: Plain text
  19130. #: guix-git/doc/guix.texi:12908
  19131. 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}})."
  19132. msgstr ""
  19133. #. type: Plain text
  19134. #: guix-git/doc/guix.texi:12911
  19135. msgid "If you are instead running Guix on a ``foreign distro'', follow these instructions:"
  19136. msgstr ""
  19137. #. type: itemize
  19138. #: guix-git/doc/guix.texi:12915
  19139. msgid "If your host distro uses the systemd init system:"
  19140. msgstr ""
  19141. #. type: example
  19142. #: guix-git/doc/guix.texi:12920
  19143. #, no-wrap
  19144. msgid ""
  19145. "# ln -s ~root/.guix-profile/lib/systemd/system/guix-publish.service \\\n"
  19146. " /etc/systemd/system/\n"
  19147. "# systemctl start guix-publish && systemctl enable guix-publish\n"
  19148. msgstr ""
  19149. #. type: example
  19150. #: guix-git/doc/guix.texi:12928
  19151. #, no-wrap
  19152. msgid ""
  19153. "# ln -s ~root/.guix-profile/lib/upstart/system/guix-publish.conf /etc/init/\n"
  19154. "# start guix-publish\n"
  19155. msgstr ""
  19156. #. type: itemize
  19157. #: guix-git/doc/guix.texi:12932
  19158. msgid "Otherwise, proceed similarly with your distro's init system."
  19159. msgstr ""
  19160. #. type: section
  19161. #: guix-git/doc/guix.texi:12935
  19162. #, no-wrap
  19163. msgid "Invoking @command{guix challenge}"
  19164. msgstr "Invocando @command{guix challenge}"
  19165. #. type: cindex
  19166. #: guix-git/doc/guix.texi:12938
  19167. #, no-wrap
  19168. msgid "verifiable builds"
  19169. msgstr ""
  19170. #. type: command{#1}
  19171. #: guix-git/doc/guix.texi:12939
  19172. #, no-wrap
  19173. msgid "guix challenge"
  19174. msgstr ""
  19175. #. type: cindex
  19176. #: guix-git/doc/guix.texi:12940
  19177. #, no-wrap
  19178. msgid "challenge"
  19179. msgstr ""
  19180. #. type: Plain text
  19181. #: guix-git/doc/guix.texi:12945
  19182. 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."
  19183. msgstr ""
  19184. #. type: Plain text
  19185. #: guix-git/doc/guix.texi:12953
  19186. 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."
  19187. msgstr ""
  19188. #. type: Plain text
  19189. #: guix-git/doc/guix.texi:12962
  19190. 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."
  19191. msgstr ""
  19192. #. type: Plain text
  19193. #: guix-git/doc/guix.texi:12964
  19194. msgid "The command output looks like this:"
  19195. msgstr ""
  19196. #. type: smallexample
  19197. #: guix-git/doc/guix.texi:12976
  19198. #, no-wrap
  19199. msgid ""
  19200. "$ guix challenge --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  19201. "updating list of substitutes from 'https://@value{SUBSTITUTE-SERVER-1}'... 100.0%\n"
  19202. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  19203. "/gnu/store/@dots{}-openssl-1.0.2d contents differ:\n"
  19204. " local hash: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  19205. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-openssl-1.0.2d: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  19206. " https://guix.example.org/nar/@dots{}-openssl-1.0.2d: 1zy4fmaaqcnjrzzajkdn3f5gmjk754b43qkq47llbyak9z0qjyim\n"
  19207. " differing files:\n"
  19208. " /lib/libcrypto.so.1.1\n"
  19209. " /lib/libssl.so.1.1\n"
  19210. "\n"
  19211. msgstr ""
  19212. #. type: smallexample
  19213. #: guix-git/doc/guix.texi:12983
  19214. #, no-wrap
  19215. msgid ""
  19216. "/gnu/store/@dots{}-git-2.5.0 contents differ:\n"
  19217. " local hash: 00p3bmryhjxrhpn2gxs2fy0a15lnip05l97205pgbk5ra395hyha\n"
  19218. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-git-2.5.0: 069nb85bv4d4a6slrwjdy8v1cn4cwspm3kdbmyb81d6zckj3nq9f\n"
  19219. " https://guix.example.org/nar/@dots{}-git-2.5.0: 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73\n"
  19220. " differing file:\n"
  19221. " /libexec/git-core/git-fsck\n"
  19222. "\n"
  19223. msgstr ""
  19224. #. type: smallexample
  19225. #: guix-git/doc/guix.texi:12990
  19226. #, no-wrap
  19227. msgid ""
  19228. "/gnu/store/@dots{}-pius-2.1.1 contents differ:\n"
  19229. " local hash: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  19230. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-pius-2.1.1: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  19231. " https://guix.example.org/nar/@dots{}-pius-2.1.1: 1cy25x1a4fzq5rk0pmvc8xhwyffnqz95h2bpvqsz2mpvlbccy0gs\n"
  19232. " differing file:\n"
  19233. " /share/man/man1/pius.1.gz\n"
  19234. "\n"
  19235. msgstr ""
  19236. #. type: smallexample
  19237. #: guix-git/doc/guix.texi:12992
  19238. #, no-wrap
  19239. msgid ""
  19240. "@dots{}\n"
  19241. "\n"
  19242. msgstr ""
  19243. #. type: smallexample
  19244. #: guix-git/doc/guix.texi:12997
  19245. #, no-wrap
  19246. msgid ""
  19247. "6,406 store items were analyzed:\n"
  19248. " - 4,749 (74.1%) were identical\n"
  19249. " - 525 (8.2%) differed\n"
  19250. " - 1,132 (17.7%) were inconclusive\n"
  19251. msgstr ""
  19252. #. type: Plain text
  19253. #: guix-git/doc/guix.texi:13005
  19254. 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."
  19255. msgstr ""
  19256. #. type: cindex
  19257. #: guix-git/doc/guix.texi:13006
  19258. #, no-wrap
  19259. msgid "non-determinism, in package builds"
  19260. msgstr ""
  19261. #. type: Plain text
  19262. #: guix-git/doc/guix.texi:13017
  19263. 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."
  19264. msgstr ""
  19265. #. type: Plain text
  19266. #: guix-git/doc/guix.texi:13020
  19267. msgid "To find out what is wrong with this Git binary, the easiest approach is to run:"
  19268. msgstr ""
  19269. #. type: example
  19270. #: guix-git/doc/guix.texi:13025
  19271. #, no-wrap
  19272. msgid ""
  19273. "guix challenge git \\\n"
  19274. " --diff=diffoscope \\\n"
  19275. " --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  19276. msgstr ""
  19277. #. type: Plain text
  19278. #: guix-git/doc/guix.texi:13029
  19279. msgid "This automatically invokes @command{diffoscope}, which displays detailed information about files that differ."
  19280. msgstr ""
  19281. #. type: Plain text
  19282. #: guix-git/doc/guix.texi:13032
  19283. msgid "Alternatively, we can do something along these lines (@pxref{Invoking guix archive}):"
  19284. msgstr ""
  19285. #. type: example
  19286. #: guix-git/doc/guix.texi:13037
  19287. #, no-wrap
  19288. msgid ""
  19289. "$ wget -q -O - https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-git-2.5.0 \\\n"
  19290. " | lzip -d | guix archive -x /tmp/git\n"
  19291. "$ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git\n"
  19292. msgstr ""
  19293. #. type: Plain text
  19294. #: guix-git/doc/guix.texi:13046
  19295. 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."
  19296. msgstr ""
  19297. #. type: Plain text
  19298. #: guix-git/doc/guix.texi:13054
  19299. 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."
  19300. msgstr ""
  19301. #. type: Plain text
  19302. #: guix-git/doc/guix.texi:13058
  19303. 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:"
  19304. msgstr ""
  19305. #. type: example
  19306. #: guix-git/doc/guix.texi:13061
  19307. #, no-wrap
  19308. msgid "$ guix challenge @var{package}\n"
  19309. msgstr ""
  19310. #. type: Plain text
  19311. #: guix-git/doc/guix.texi:13066
  19312. msgid "where @var{package} is a package specification such as @code{guile@@2.0} or @code{glibc:debug}."
  19313. msgstr ""
  19314. #. type: example
  19315. #: guix-git/doc/guix.texi:13071
  19316. #, no-wrap
  19317. msgid "guix challenge @var{options} [@var{packages}@dots{}]\n"
  19318. msgstr ""
  19319. #. type: Plain text
  19320. #: guix-git/doc/guix.texi:13078
  19321. 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)."
  19322. msgstr ""
  19323. #. type: Plain text
  19324. #: guix-git/doc/guix.texi:13080
  19325. msgid "The one option that matters is:"
  19326. msgstr ""
  19327. #. type: table
  19328. #: guix-git/doc/guix.texi:13086
  19329. msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs to compare to."
  19330. msgstr ""
  19331. #. type: item
  19332. #: guix-git/doc/guix.texi:13087
  19333. #, no-wrap
  19334. msgid "--diff=@var{mode}"
  19335. msgstr ""
  19336. #. type: table
  19337. #: guix-git/doc/guix.texi:13089
  19338. msgid "Upon mismatches, show differences according to @var{mode}, one of:"
  19339. msgstr ""
  19340. #. type: item
  19341. #: guix-git/doc/guix.texi:13091
  19342. #, no-wrap
  19343. msgid "@code{simple} (the default)"
  19344. msgstr ""
  19345. #. type: table
  19346. #: guix-git/doc/guix.texi:13093
  19347. msgid "Show the list of files that differ."
  19348. msgstr ""
  19349. #. type: code{#1}
  19350. #: guix-git/doc/guix.texi:13094
  19351. #, no-wrap
  19352. msgid "diffoscope"
  19353. msgstr ""
  19354. #. type: var{#1}
  19355. #: guix-git/doc/guix.texi:13095
  19356. #, no-wrap
  19357. msgid "command"
  19358. msgstr ""
  19359. #. type: table
  19360. #: guix-git/doc/guix.texi:13098
  19361. msgid "Invoke @uref{https://diffoscope.org/, Diffoscope}, passing it two directories whose contents do not match."
  19362. msgstr ""
  19363. #. type: table
  19364. #: guix-git/doc/guix.texi:13101
  19365. msgid "When @var{command} is an absolute file name, run @var{command} instead of Diffoscope."
  19366. msgstr ""
  19367. #. type: item
  19368. #: guix-git/doc/guix.texi:13102 guix-git/doc/guix.texi:16437
  19369. #: guix-git/doc/guix.texi:18529
  19370. #, no-wrap
  19371. msgid "none"
  19372. msgstr "nenhuma"
  19373. #. type: table
  19374. #: guix-git/doc/guix.texi:13104
  19375. msgid "Do not show further details about the differences."
  19376. msgstr ""
  19377. #. type: table
  19378. #: guix-git/doc/guix.texi:13109
  19379. 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."
  19380. msgstr ""
  19381. #. type: item
  19382. #: guix-git/doc/guix.texi:13110
  19383. #, no-wrap
  19384. msgid "--verbose"
  19385. msgstr "--verbose"
  19386. #. type: itemx
  19387. #: guix-git/doc/guix.texi:13111
  19388. #, no-wrap
  19389. msgid "-v"
  19390. msgstr ""
  19391. #. type: table
  19392. #: guix-git/doc/guix.texi:13114
  19393. msgid "Show details about matches (identical contents) in addition to information about mismatches."
  19394. msgstr ""
  19395. #. type: section
  19396. #: guix-git/doc/guix.texi:13118
  19397. #, no-wrap
  19398. msgid "Invoking @command{guix copy}"
  19399. msgstr "Invocando @command{guix copy}"
  19400. #. type: cindex
  19401. #: guix-git/doc/guix.texi:13120
  19402. #, no-wrap
  19403. msgid "copy, of store items, over SSH"
  19404. msgstr ""
  19405. #. type: cindex
  19406. #: guix-git/doc/guix.texi:13121
  19407. #, no-wrap
  19408. msgid "SSH, copy of store items"
  19409. msgstr ""
  19410. #. type: cindex
  19411. #: guix-git/doc/guix.texi:13122
  19412. #, no-wrap
  19413. msgid "sharing store items across machines"
  19414. msgstr ""
  19415. #. type: cindex
  19416. #: guix-git/doc/guix.texi:13123
  19417. #, no-wrap
  19418. msgid "transferring store items across machines"
  19419. msgstr ""
  19420. #. type: Plain text
  19421. #: guix-git/doc/guix.texi:13130
  19422. 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}:"
  19423. msgstr ""
  19424. #. type: example
  19425. #: guix-git/doc/guix.texi:13134
  19426. #, no-wrap
  19427. msgid ""
  19428. "guix copy --to=@var{user}@@@var{host} \\\n"
  19429. " coreutils $(readlink -f ~/.guix-profile)\n"
  19430. msgstr ""
  19431. #. type: Plain text
  19432. #: guix-git/doc/guix.texi:13138
  19433. msgid "If some of the items to be copied are already present on @var{host}, they are not actually sent."
  19434. msgstr ""
  19435. #. type: Plain text
  19436. #: guix-git/doc/guix.texi:13141
  19437. msgid "The command below retrieves @code{libreoffice} and @code{gimp} from @var{host}, assuming they are available there:"
  19438. msgstr ""
  19439. #. type: example
  19440. #: guix-git/doc/guix.texi:13144
  19441. #, no-wrap
  19442. msgid "guix copy --from=@var{host} libreoffice gimp\n"
  19443. msgstr ""
  19444. #. type: Plain text
  19445. #: guix-git/doc/guix.texi:13149
  19446. 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."
  19447. msgstr ""
  19448. #. type: Plain text
  19449. #: guix-git/doc/guix.texi:13155
  19450. 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."
  19451. msgstr ""
  19452. #. type: example
  19453. #: guix-git/doc/guix.texi:13160
  19454. #, no-wrap
  19455. msgid "guix copy [--to=@var{spec}|--from=@var{spec}] @var{items}@dots{}\n"
  19456. msgstr ""
  19457. #. type: Plain text
  19458. #: guix-git/doc/guix.texi:13163
  19459. msgid "You must always specify one of the following options:"
  19460. msgstr ""
  19461. #. type: item
  19462. #: guix-git/doc/guix.texi:13165
  19463. #, no-wrap
  19464. msgid "--to=@var{spec}"
  19465. msgstr ""
  19466. #. type: itemx
  19467. #: guix-git/doc/guix.texi:13166
  19468. #, no-wrap
  19469. msgid "--from=@var{spec}"
  19470. msgstr ""
  19471. #. type: table
  19472. #: guix-git/doc/guix.texi:13170
  19473. 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}."
  19474. msgstr ""
  19475. #. type: Plain text
  19476. #: guix-git/doc/guix.texi:13174
  19477. 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}."
  19478. msgstr ""
  19479. #. type: Plain text
  19480. #: guix-git/doc/guix.texi:13178
  19481. 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})."
  19482. msgstr ""
  19483. #. type: section
  19484. #: guix-git/doc/guix.texi:13181
  19485. #, no-wrap
  19486. msgid "Invoking @command{guix container}"
  19487. msgstr "Invocando @command{guix container}"
  19488. #. type: command{#1}
  19489. #: guix-git/doc/guix.texi:13183
  19490. #, no-wrap
  19491. msgid "guix container"
  19492. msgstr ""
  19493. #. type: quotation
  19494. #: guix-git/doc/guix.texi:13187
  19495. msgid "As of version @value{VERSION}, this tool is experimental. The interface is subject to radical change in the future."
  19496. msgstr ""
  19497. #. type: Plain text
  19498. #: guix-git/doc/guix.texi:13194
  19499. 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 environment} (@pxref{Invoking guix environment}) and @command{guix system container} (@pxref{Invoking guix system}) commands."
  19500. msgstr ""
  19501. #. type: example
  19502. #: guix-git/doc/guix.texi:13199
  19503. #, no-wrap
  19504. msgid "guix container @var{action} @var{options}@dots{}\n"
  19505. msgstr ""
  19506. #. type: Plain text
  19507. #: guix-git/doc/guix.texi:13203
  19508. msgid "@var{action} specifies the operation to perform with a container, and @var{options} specifies the context-specific arguments for the action."
  19509. msgstr ""
  19510. #. type: Plain text
  19511. #: guix-git/doc/guix.texi:13205
  19512. msgid "The following actions are available:"
  19513. msgstr ""
  19514. #. type: item
  19515. #: guix-git/doc/guix.texi:13207
  19516. #, no-wrap
  19517. msgid "exec"
  19518. msgstr ""
  19519. #. type: table
  19520. #: guix-git/doc/guix.texi:13209
  19521. msgid "Execute a command within the context of a running container."
  19522. msgstr ""
  19523. #. type: table
  19524. #: guix-git/doc/guix.texi:13211
  19525. msgid "The syntax is:"
  19526. msgstr ""
  19527. #. type: example
  19528. #: guix-git/doc/guix.texi:13214
  19529. #, no-wrap
  19530. msgid "guix container exec @var{pid} @var{program} @var{arguments}@dots{}\n"
  19531. msgstr ""
  19532. #. type: table
  19533. #: guix-git/doc/guix.texi:13220
  19534. 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}."
  19535. msgstr ""
  19536. #. type: table
  19537. #: guix-git/doc/guix.texi:13224
  19538. 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:"
  19539. msgstr ""
  19540. #. type: example
  19541. #: guix-git/doc/guix.texi:13227
  19542. #, no-wrap
  19543. msgid "guix container exec 9001 /run/current-system/profile/bin/bash --login\n"
  19544. msgstr ""
  19545. #. type: table
  19546. #: guix-git/doc/guix.texi:13231
  19547. 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."
  19548. msgstr ""
  19549. #. type: section
  19550. #: guix-git/doc/guix.texi:13235
  19551. #, no-wrap
  19552. msgid "Invoking @command{guix weather}"
  19553. msgstr "Invocando @command{guix weather}"
  19554. #. type: Plain text
  19555. #: guix-git/doc/guix.texi:13244
  19556. 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})."
  19557. msgstr ""
  19558. #. type: cindex
  19559. #: guix-git/doc/guix.texi:13245
  19560. #, no-wrap
  19561. msgid "statistics, for substitutes"
  19562. msgstr ""
  19563. #. type: cindex
  19564. #: guix-git/doc/guix.texi:13246
  19565. #, no-wrap
  19566. msgid "availability of substitutes"
  19567. msgstr ""
  19568. #. type: cindex
  19569. #: guix-git/doc/guix.texi:13247
  19570. #, no-wrap
  19571. msgid "substitute availability"
  19572. msgstr ""
  19573. #. type: cindex
  19574. #: guix-git/doc/guix.texi:13248
  19575. #, no-wrap
  19576. msgid "weather, substitute availability"
  19577. msgstr ""
  19578. #. type: Plain text
  19579. #: guix-git/doc/guix.texi:13250
  19580. msgid "Here's a sample run:"
  19581. msgstr ""
  19582. #. type: example
  19583. #: guix-git/doc/guix.texi:13262
  19584. #, no-wrap
  19585. msgid ""
  19586. "$ guix weather --substitute-urls=https://guix.example.org\n"
  19587. "computing 5,872 package derivations for x86_64-linux...\n"
  19588. "looking for 6,128 store items on https://guix.example.org..\n"
  19589. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  19590. "https://guix.example.org\n"
  19591. " 43.4% substitutes available (2,658 out of 6,128)\n"
  19592. " 7,032.5 MiB of nars (compressed)\n"
  19593. " 19,824.2 MiB on disk (uncompressed)\n"
  19594. " 0.030 seconds per request (182.9 seconds in total)\n"
  19595. " 33.5 requests per second\n"
  19596. "\n"
  19597. msgstr ""
  19598. #. type: example
  19599. #: guix-git/doc/guix.texi:13272
  19600. #, no-wrap
  19601. msgid ""
  19602. " 9.8% (342 out of 3,470) of the missing items are queued\n"
  19603. " 867 queued builds\n"
  19604. " x86_64-linux: 518 (59.7%)\n"
  19605. " i686-linux: 221 (25.5%)\n"
  19606. " aarch64-linux: 128 (14.8%)\n"
  19607. " build rate: 23.41 builds per hour\n"
  19608. " x86_64-linux: 11.16 builds per hour\n"
  19609. " i686-linux: 6.03 builds per hour\n"
  19610. " aarch64-linux: 6.41 builds per hour\n"
  19611. msgstr ""
  19612. #. type: cindex
  19613. #: guix-git/doc/guix.texi:13274
  19614. #, no-wrap
  19615. msgid "continuous integration, statistics"
  19616. msgstr ""
  19617. #. type: Plain text
  19618. #: guix-git/doc/guix.texi:13285
  19619. 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)."
  19620. msgstr ""
  19621. #. type: Plain text
  19622. #: guix-git/doc/guix.texi:13291
  19623. 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."
  19624. msgstr ""
  19625. #. type: example
  19626. #: guix-git/doc/guix.texi:13296
  19627. #, no-wrap
  19628. msgid "guix weather @var{options}@dots{} [@var{packages}@dots{}]\n"
  19629. msgstr ""
  19630. #. type: Plain text
  19631. #: guix-git/doc/guix.texi:13304
  19632. 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%."
  19633. msgstr ""
  19634. #. type: Plain text
  19635. #: guix-git/doc/guix.texi:13306
  19636. msgid "The available options are listed below."
  19637. msgstr ""
  19638. #. type: table
  19639. #: guix-git/doc/guix.texi:13312
  19640. 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."
  19641. msgstr ""
  19642. #. type: table
  19643. #: guix-git/doc/guix.texi:13318
  19644. 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."
  19645. msgstr ""
  19646. #. type: table
  19647. #: guix-git/doc/guix.texi:13324
  19648. 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})."
  19649. msgstr ""
  19650. #. type: table
  19651. #: guix-git/doc/guix.texi:13327
  19652. msgid "This option can be repeated several times, in which case the manifests are concatenated."
  19653. msgstr ""
  19654. #. type: item
  19655. #: guix-git/doc/guix.texi:13328
  19656. #, no-wrap
  19657. msgid "--coverage[=@var{count}]"
  19658. msgstr "--coverage[=@var{contagem}]"
  19659. #. type: itemx
  19660. #: guix-git/doc/guix.texi:13329
  19661. #, no-wrap
  19662. msgid "-c [@var{count}]"
  19663. msgstr "-c [@var{contagem}]"
  19664. #. type: table
  19665. #: guix-git/doc/guix.texi:13335
  19666. 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:"
  19667. msgstr ""
  19668. #. type: example
  19669. #: guix-git/doc/guix.texi:13349
  19670. #, no-wrap
  19671. msgid ""
  19672. "$ guix weather --substitute-urls=@value{SUBSTITUTE-URLS} -c 10\n"
  19673. "computing 8,983 package derivations for x86_64-linux...\n"
  19674. "looking for 9,343 store items on @value{SUBSTITUTE-URLS}...\n"
  19675. "updating substitutes from '@value{SUBSTITUTE-URLS}'... 100.0%\n"
  19676. "@value{SUBSTITUTE-URLS}\n"
  19677. " 64.7% substitutes available (6,047 out of 9,343)\n"
  19678. "@dots{}\n"
  19679. "2502 packages are missing from '@value{SUBSTITUTE-URLS}' for 'x86_64-linux', among which:\n"
  19680. " 58 kcoreaddons@@5.49.0 /gnu/store/@dots{}-kcoreaddons-5.49.0\n"
  19681. " 46 qgpgme@@1.11.1 /gnu/store/@dots{}-qgpgme-1.11.1\n"
  19682. " 37 perl-http-cookiejar@@0.008 /gnu/store/@dots{}-perl-http-cookiejar-0.008\n"
  19683. " @dots{}\n"
  19684. msgstr ""
  19685. #. type: table
  19686. #: guix-git/doc/guix.texi:13355
  19687. 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."
  19688. msgstr ""
  19689. #. type: table
  19690. #: guix-git/doc/guix.texi:13359
  19691. 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."
  19692. msgstr ""
  19693. #. type: item
  19694. #: guix-git/doc/guix.texi:13360
  19695. #, no-wrap
  19696. msgid "--display-missing"
  19697. msgstr ""
  19698. #. type: table
  19699. #: guix-git/doc/guix.texi:13362
  19700. msgid "Display the list of store items for which substitutes are missing."
  19701. msgstr ""
  19702. #. type: section
  19703. #: guix-git/doc/guix.texi:13365
  19704. #, no-wrap
  19705. msgid "Invoking @command{guix processes}"
  19706. msgstr "Invocando @command{guix processes}"
  19707. #. type: Plain text
  19708. #: guix-git/doc/guix.texi:13373
  19709. 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:"
  19710. msgstr ""
  19711. #. type: example
  19712. #: guix-git/doc/guix.texi:13379
  19713. #, no-wrap
  19714. msgid ""
  19715. "$ sudo guix processes\n"
  19716. "SessionPID: 19002\n"
  19717. "ClientPID: 19090\n"
  19718. "ClientCommand: guix environment --ad-hoc python\n"
  19719. "\n"
  19720. msgstr ""
  19721. #. type: example
  19722. #: guix-git/doc/guix.texi:13383
  19723. #, no-wrap
  19724. msgid ""
  19725. "SessionPID: 19402\n"
  19726. "ClientPID: 19367\n"
  19727. "ClientCommand: guix publish -u guix-publish -p 3000 -C 9 @dots{}\n"
  19728. "\n"
  19729. msgstr ""
  19730. #. type: example
  19731. #: guix-git/doc/guix.texi:13396
  19732. #, no-wrap
  19733. msgid ""
  19734. "SessionPID: 19444\n"
  19735. "ClientPID: 19419\n"
  19736. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  19737. "LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock\n"
  19738. "LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock\n"
  19739. "LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock\n"
  19740. "ChildPID: 20495\n"
  19741. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  19742. "ChildPID: 27733\n"
  19743. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  19744. "ChildPID: 27793\n"
  19745. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  19746. msgstr ""
  19747. #. type: Plain text
  19748. #: guix-git/doc/guix.texi:13403
  19749. 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."
  19750. msgstr ""
  19751. #. type: Plain text
  19752. #: guix-git/doc/guix.texi:13410
  19753. 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})."
  19754. msgstr ""
  19755. #. type: Plain text
  19756. #: guix-git/doc/guix.texi:13415
  19757. 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:"
  19758. msgstr ""
  19759. #. type: example
  19760. #: guix-git/doc/guix.texi:13421
  19761. #, no-wrap
  19762. msgid ""
  19763. "$ sudo guix processes | \\\n"
  19764. " recsel -p ClientPID,ClientCommand -e 'LockHeld ~ \"perl\"'\n"
  19765. "ClientPID: 19419\n"
  19766. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  19767. msgstr ""
  19768. #. type: Plain text
  19769. #: guix-git/doc/guix.texi:13424
  19770. msgid "Additional options are listed below."
  19771. msgstr ""
  19772. #. type: table
  19773. #: guix-git/doc/guix.texi:13434
  19774. msgid "The default option. It outputs a set of Session recutils records that include each @code{ChildProcess} as a field."
  19775. msgstr ""
  19776. #. type: item
  19777. #: guix-git/doc/guix.texi:13435
  19778. #, no-wrap
  19779. msgid "normalized"
  19780. msgstr ""
  19781. #. type: table
  19782. #: guix-git/doc/guix.texi:13442
  19783. 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}."
  19784. msgstr ""
  19785. #. type: example
  19786. #: guix-git/doc/guix.texi:13452
  19787. #, no-wrap
  19788. msgid ""
  19789. "$ guix processes --format=normalized | \\\n"
  19790. " recsel \\\n"
  19791. " -j Session \\\n"
  19792. " -t ChildProcess \\\n"
  19793. " -p Session.PID,PID \\\n"
  19794. " -e 'Session.ClientCommand ~ \"guix build\"'\n"
  19795. "PID: 4435\n"
  19796. "Session_PID: 4278\n"
  19797. "\n"
  19798. msgstr ""
  19799. #. type: example
  19800. #: guix-git/doc/guix.texi:13455
  19801. #, no-wrap
  19802. msgid ""
  19803. "PID: 4554\n"
  19804. "Session_PID: 4278\n"
  19805. "\n"
  19806. msgstr ""
  19807. #. type: example
  19808. #: guix-git/doc/guix.texi:13458
  19809. #, no-wrap
  19810. msgid ""
  19811. "PID: 4646\n"
  19812. "Session_PID: 4278\n"
  19813. msgstr ""
  19814. #. type: cindex
  19815. #: guix-git/doc/guix.texi:13465
  19816. #, no-wrap
  19817. msgid "system configuration"
  19818. msgstr ""
  19819. #. type: Plain text
  19820. #: guix-git/doc/guix.texi:13471
  19821. 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."
  19822. msgstr ""
  19823. #. type: Plain text
  19824. #: guix-git/doc/guix.texi:13481
  19825. 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."
  19826. msgstr ""
  19827. #. type: Plain text
  19828. #: guix-git/doc/guix.texi:13486
  19829. 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."
  19830. msgstr ""
  19831. #. type: Plain text
  19832. #: guix-git/doc/guix.texi:13515
  19833. 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:"
  19834. msgstr ""
  19835. #. type: code{#1}
  19836. #: guix-git/doc/guix.texi:13516 guix-git/doc/guix.texi:34145
  19837. #, no-wrap
  19838. msgid "operating-system"
  19839. msgstr "sistema operacional"
  19840. #. type: include
  19841. #: guix-git/doc/guix.texi:13518
  19842. #, no-wrap
  19843. msgid "os-config-bare-bones.texi"
  19844. msgstr "os-config-bare-bones.texi"
  19845. #. type: Plain text
  19846. #: guix-git/doc/guix.texi:13525
  19847. 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."
  19848. 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."
  19849. #. type: Plain text
  19850. #: guix-git/doc/guix.texi:13530
  19851. 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}."
  19852. msgstr ""
  19853. #. type: unnumberedsubsec
  19854. #: guix-git/doc/guix.texi:13531
  19855. #, no-wrap
  19856. msgid "Bootloader"
  19857. msgstr ""
  19858. #. type: cindex
  19859. #: guix-git/doc/guix.texi:13533
  19860. #, no-wrap
  19861. msgid "legacy boot, on Intel machines"
  19862. msgstr ""
  19863. #. type: cindex
  19864. #: guix-git/doc/guix.texi:13534
  19865. #, no-wrap
  19866. msgid "BIOS boot, on Intel machines"
  19867. msgstr ""
  19868. #. type: cindex
  19869. #: guix-git/doc/guix.texi:13535
  19870. #, no-wrap
  19871. msgid "UEFI boot"
  19872. msgstr ""
  19873. #. type: cindex
  19874. #: guix-git/doc/guix.texi:13536
  19875. #, no-wrap
  19876. msgid "EFI boot"
  19877. msgstr ""
  19878. #. type: Plain text
  19879. #: guix-git/doc/guix.texi:13542
  19880. 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:"
  19881. msgstr ""
  19882. #. type: lisp
  19883. #: guix-git/doc/guix.texi:13547
  19884. #, no-wrap
  19885. msgid ""
  19886. "(bootloader-configuration\n"
  19887. " (bootloader grub-efi-bootloader)\n"
  19888. " (target \"/boot/efi\"))\n"
  19889. msgstr ""
  19890. #. type: Plain text
  19891. #: guix-git/doc/guix.texi:13551
  19892. msgid "@xref{Bootloader Configuration}, for more information on the available configuration options."
  19893. msgstr ""
  19894. #. type: unnumberedsubsec
  19895. #: guix-git/doc/guix.texi:13552
  19896. #, no-wrap
  19897. msgid "Globally-Visible Packages"
  19898. msgstr ""
  19899. #. type: vindex
  19900. #: guix-git/doc/guix.texi:13554
  19901. #, no-wrap
  19902. msgid "%base-packages"
  19903. msgstr ""
  19904. #. type: Plain text
  19905. #: guix-git/doc/guix.texi:13567
  19906. 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:"
  19907. msgstr ""
  19908. #. type: lisp
  19909. #: guix-git/doc/guix.texi:13571
  19910. #, no-wrap
  19911. msgid ""
  19912. "(use-modules (gnu packages))\n"
  19913. "(use-modules (gnu packages dns))\n"
  19914. "\n"
  19915. msgstr ""
  19916. #. type: lisp
  19917. #: guix-git/doc/guix.texi:13576
  19918. #, no-wrap
  19919. msgid ""
  19920. "(operating-system\n"
  19921. " ;; ...\n"
  19922. " (packages (cons (list isc-bind \"utils\")\n"
  19923. " %base-packages)))\n"
  19924. msgstr ""
  19925. #. type: findex
  19926. #: guix-git/doc/guix.texi:13578
  19927. #, no-wrap
  19928. msgid "specification->package"
  19929. msgstr ""
  19930. #. type: Plain text
  19931. #: guix-git/doc/guix.texi:13587
  19932. 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:"
  19933. msgstr ""
  19934. #. type: lisp
  19935. #: guix-git/doc/guix.texi:13590
  19936. #, no-wrap
  19937. msgid ""
  19938. "(use-modules (gnu packages))\n"
  19939. "\n"
  19940. msgstr ""
  19941. #. type: lisp
  19942. #: guix-git/doc/guix.texi:13596
  19943. #, no-wrap
  19944. msgid ""
  19945. "(operating-system\n"
  19946. " ;; ...\n"
  19947. " (packages (append (map specification->package\n"
  19948. " '(\"tcpdump\" \"htop\" \"gnupg@@2.0\"))\n"
  19949. " %base-packages)))\n"
  19950. msgstr ""
  19951. #. type: unnumberedsubsec
  19952. #: guix-git/doc/guix.texi:13598
  19953. #, no-wrap
  19954. msgid "System Services"
  19955. msgstr ""
  19956. #. type: cindex
  19957. #: guix-git/doc/guix.texi:13600 guix-git/doc/guix.texi:32928
  19958. #: guix-git/doc/guix.texi:34374
  19959. #, no-wrap
  19960. msgid "services"
  19961. msgstr ""
  19962. #. type: vindex
  19963. #: guix-git/doc/guix.texi:13601
  19964. #, no-wrap
  19965. msgid "%base-services"
  19966. msgstr ""
  19967. #. type: Plain text
  19968. #: guix-git/doc/guix.texi:13611
  19969. 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})."
  19970. msgstr ""
  19971. #. type: cindex
  19972. #: guix-git/doc/guix.texi:13612
  19973. #, no-wrap
  19974. msgid "customization, of services"
  19975. msgstr ""
  19976. #. type: findex
  19977. #: guix-git/doc/guix.texi:13613
  19978. #, no-wrap
  19979. msgid "modify-services"
  19980. msgstr ""
  19981. #. type: Plain text
  19982. #: guix-git/doc/guix.texi:13617
  19983. 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."
  19984. msgstr ""
  19985. #. type: anchor{#1}
  19986. #: guix-git/doc/guix.texi:13623
  19987. msgid "auto-login to TTY"
  19988. msgstr ""
  19989. #. type: Plain text
  19990. #: guix-git/doc/guix.texi:13623
  19991. 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:"
  19992. msgstr ""
  19993. #. type: lisp
  19994. #: guix-git/doc/guix.texi:13640
  19995. #, no-wrap
  19996. msgid ""
  19997. "(define %my-services\n"
  19998. " ;; My very own list of services.\n"
  19999. " (modify-services %base-services\n"
  20000. " (guix-service-type config =>\n"
  20001. " (guix-configuration\n"
  20002. " (inherit config)\n"
  20003. " ;; Fetch substitutes from example.org.\n"
  20004. " (substitute-urls\n"
  20005. " (list \"https://example.org/guix\"\n"
  20006. " \"https://ci.guix.gnu.org\"))))\n"
  20007. " (mingetty-service-type config =>\n"
  20008. " (mingetty-configuration\n"
  20009. " (inherit config)\n"
  20010. " ;; Automatially log in as \"guest\".\n"
  20011. " (auto-login \"guest\")))))\n"
  20012. "\n"
  20013. msgstr ""
  20014. #. type: lisp
  20015. #: guix-git/doc/guix.texi:13644
  20016. #, no-wrap
  20017. msgid ""
  20018. "(operating-system\n"
  20019. " ;; @dots{}\n"
  20020. " (services %my-services))\n"
  20021. msgstr ""
  20022. #. type: Plain text
  20023. #: guix-git/doc/guix.texi:13657
  20024. 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."
  20025. msgstr ""
  20026. #. type: Plain text
  20027. #: guix-git/doc/guix.texi:13664
  20028. msgid "The configuration for a typical ``desktop'' usage, with an encrypted 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:"
  20029. msgstr ""
  20030. #. type: include
  20031. #: guix-git/doc/guix.texi:13666
  20032. #, no-wrap
  20033. msgid "os-config-desktop.texi"
  20034. msgstr "os-config-desktop.texi"
  20035. #. type: Plain text
  20036. #: guix-git/doc/guix.texi:13671
  20037. msgid "A graphical system with a choice of lightweight window managers instead of full-blown desktop environments would look like this:"
  20038. 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:"
  20039. #. type: include
  20040. #: guix-git/doc/guix.texi:13673
  20041. #, no-wrap
  20042. msgid "os-config-lightweight-desktop.texi"
  20043. msgstr "os-config-lightweight-desktop.texi"
  20044. #. type: Plain text
  20045. #: guix-git/doc/guix.texi:13679
  20046. 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."
  20047. 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}."
  20048. #. type: Plain text
  20049. #: guix-git/doc/guix.texi:13683
  20050. 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."
  20051. msgstr ""
  20052. #. type: Plain text
  20053. #: guix-git/doc/guix.texi:13690
  20054. 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:"
  20055. msgstr ""
  20056. #. type: lisp
  20057. #: guix-git/doc/guix.texi:13695
  20058. #, no-wrap
  20059. msgid ""
  20060. "(remove (lambda (service)\n"
  20061. " (eq? (service-kind service) avahi-service-type))\n"
  20062. " %desktop-services)\n"
  20063. msgstr ""
  20064. #. type: Plain text
  20065. #: guix-git/doc/guix.texi:13698
  20066. msgid "Alternatively, the @code{modify-services} macro can be used:"
  20067. msgstr ""
  20068. #. type: lisp
  20069. #: guix-git/doc/guix.texi:13702
  20070. #, no-wrap
  20071. msgid ""
  20072. "(modify-services %desktop-services\n"
  20073. " (delete avahi-service-type))\n"
  20074. msgstr ""
  20075. #. type: unnumberedsubsec
  20076. #: guix-git/doc/guix.texi:13705
  20077. #, no-wrap
  20078. msgid "Instantiating the System"
  20079. msgstr ""
  20080. #. type: Plain text
  20081. #: guix-git/doc/guix.texi:13712
  20082. 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})."
  20083. msgstr ""
  20084. #. type: Plain text
  20085. #: guix-git/doc/guix.texi:13720
  20086. 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."
  20087. msgstr ""
  20088. #. type: cindex
  20089. #: guix-git/doc/guix.texi:13721
  20090. #, no-wrap
  20091. msgid "roll-back, of the operating system"
  20092. msgstr ""
  20093. #. type: Plain text
  20094. #: guix-git/doc/guix.texi:13731
  20095. 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}."
  20096. msgstr ""
  20097. #. type: Plain text
  20098. #: guix-git/doc/guix.texi:13737
  20099. 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})."
  20100. msgstr ""
  20101. #. type: unnumberedsubsec
  20102. #: guix-git/doc/guix.texi:13738
  20103. #, no-wrap
  20104. msgid "The Programming Interface"
  20105. msgstr ""
  20106. #. type: Plain text
  20107. #: guix-git/doc/guix.texi:13743
  20108. msgid "At the Scheme level, the bulk of an @code{operating-system} declaration is instantiated with the following monadic procedure (@pxref{The Store Monad}):"
  20109. msgstr ""
  20110. #. type: deffn
  20111. #: guix-git/doc/guix.texi:13744
  20112. #, no-wrap
  20113. msgid "{Monadic Procedure} operating-system-derivation os"
  20114. msgstr ""
  20115. #. type: deffn
  20116. #: guix-git/doc/guix.texi:13747
  20117. msgid "Return a derivation that builds @var{os}, an @code{operating-system} object (@pxref{Derivations})."
  20118. msgstr ""
  20119. #. type: deffn
  20120. #: guix-git/doc/guix.texi:13751
  20121. 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}."
  20122. msgstr ""
  20123. #. type: Plain text
  20124. #: guix-git/doc/guix.texi:13756
  20125. 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!"
  20126. msgstr ""
  20127. #. type: section
  20128. #: guix-git/doc/guix.texi:13759
  20129. #, no-wrap
  20130. msgid "@code{operating-system} Reference"
  20131. msgstr ""
  20132. #. type: Plain text
  20133. #: guix-git/doc/guix.texi:13764
  20134. msgid "This section summarizes all the options available in @code{operating-system} declarations (@pxref{Using the Configuration System})."
  20135. msgstr ""
  20136. #. type: deftp
  20137. #: guix-git/doc/guix.texi:13765
  20138. #, no-wrap
  20139. msgid "{Data Type} operating-system"
  20140. msgstr ""
  20141. #. type: deftp
  20142. #: guix-git/doc/guix.texi:13769
  20143. 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})."
  20144. msgstr ""
  20145. #. type: item
  20146. #: guix-git/doc/guix.texi:13771
  20147. #, no-wrap
  20148. msgid "@code{kernel} (default: @code{linux-libre})"
  20149. msgstr ""
  20150. #. type: table
  20151. #: guix-git/doc/guix.texi:13776
  20152. 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.}."
  20153. msgstr ""
  20154. #. type: code{#1}
  20155. #: guix-git/doc/guix.texi:13777 guix-git/doc/guix.texi:29519
  20156. #, no-wrap
  20157. msgid "hurd"
  20158. msgstr ""
  20159. #. type: item
  20160. #: guix-git/doc/guix.texi:13778
  20161. #, no-wrap
  20162. msgid "@code{hurd} (default: @code{#f})"
  20163. msgstr ""
  20164. #. type: table
  20165. #: guix-git/doc/guix.texi:13783
  20166. 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."
  20167. msgstr ""
  20168. #. type: quotation
  20169. #: guix-git/doc/guix.texi:13786
  20170. msgid "This feature is experimental and only supported for disk images."
  20171. msgstr ""
  20172. #. type: item
  20173. #: guix-git/doc/guix.texi:13788
  20174. #, no-wrap
  20175. msgid "@code{kernel-loadable-modules} (default: '())"
  20176. msgstr ""
  20177. #. type: table
  20178. #: guix-git/doc/guix.texi:13791
  20179. msgid "A list of objects (usually packages) to collect loadable kernel modules from--e.g. @code{(list ddcci-driver-linux)}."
  20180. msgstr ""
  20181. #. type: item
  20182. #: guix-git/doc/guix.texi:13792
  20183. #, no-wrap
  20184. msgid "@code{kernel-arguments} (default: @code{%default-kernel-arguments})"
  20185. msgstr ""
  20186. #. type: table
  20187. #: guix-git/doc/guix.texi:13795
  20188. msgid "List of strings or gexps representing additional arguments to pass on the command-line of the kernel---e.g., @code{(\"console=ttyS0\")}."
  20189. msgstr ""
  20190. #. type: code{#1}
  20191. #: guix-git/doc/guix.texi:13796 guix-git/doc/guix.texi:33141
  20192. #: guix-git/doc/guix.texi:33160
  20193. #, no-wrap
  20194. msgid "bootloader"
  20195. msgstr ""
  20196. #. type: table
  20197. #: guix-git/doc/guix.texi:13798
  20198. msgid "The system bootloader configuration object. @xref{Bootloader Configuration}."
  20199. msgstr ""
  20200. #. type: code{#1}
  20201. #: guix-git/doc/guix.texi:13799 guix-git/doc/guix.texi:33330
  20202. #, no-wrap
  20203. msgid "label"
  20204. msgstr "rótulo"
  20205. #. type: table
  20206. #: guix-git/doc/guix.texi:13802
  20207. 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."
  20208. msgstr ""
  20209. #. type: item
  20210. #: guix-git/doc/guix.texi:13803 guix-git/doc/guix.texi:15393
  20211. #: guix-git/doc/guix.texi:18353 guix-git/doc/guix.texi:33260
  20212. #, no-wrap
  20213. msgid "@code{keyboard-layout} (default: @code{#f})"
  20214. msgstr "@code{keyboard-layout} (default: @code{#f})"
  20215. #. type: table
  20216. #: guix-git/doc/guix.texi:13808
  20217. 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."
  20218. msgstr ""
  20219. #. type: table
  20220. #: guix-git/doc/guix.texi:13813
  20221. 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})."
  20222. msgstr ""
  20223. #. type: quotation
  20224. #: guix-git/doc/guix.texi:13820
  20225. 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."
  20226. msgstr ""
  20227. #. type: item
  20228. #: guix-git/doc/guix.texi:13822
  20229. #, no-wrap
  20230. msgid "@code{initrd-modules} (default: @code{%base-initrd-modules})"
  20231. msgstr ""
  20232. #. type: cindex
  20233. #: guix-git/doc/guix.texi:13823 guix-git/doc/guix.texi:32965
  20234. #: guix-git/doc/guix.texi:33069
  20235. #, no-wrap
  20236. msgid "initrd"
  20237. msgstr ""
  20238. #. type: cindex
  20239. #: guix-git/doc/guix.texi:13824 guix-git/doc/guix.texi:32966
  20240. #: guix-git/doc/guix.texi:33070
  20241. #, no-wrap
  20242. msgid "initial RAM disk"
  20243. msgstr ""
  20244. #. type: table
  20245. #: guix-git/doc/guix.texi:13827
  20246. msgid "The list of Linux kernel modules that need to be available in the initial RAM disk. @xref{Initial RAM Disk}."
  20247. msgstr ""
  20248. #. type: item
  20249. #: guix-git/doc/guix.texi:13828
  20250. #, no-wrap
  20251. msgid "@code{initrd} (default: @code{base-initrd})"
  20252. msgstr ""
  20253. #. type: table
  20254. #: guix-git/doc/guix.texi:13832
  20255. 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}."
  20256. msgstr ""
  20257. #. type: item
  20258. #: guix-git/doc/guix.texi:13833
  20259. #, no-wrap
  20260. msgid "@code{firmware} (default: @code{%base-firmware})"
  20261. msgstr ""
  20262. #. type: cindex
  20263. #: guix-git/doc/guix.texi:13834
  20264. #, no-wrap
  20265. msgid "firmware"
  20266. msgstr ""
  20267. #. type: table
  20268. #: guix-git/doc/guix.texi:13836
  20269. msgid "List of firmware packages loadable by the operating system kernel."
  20270. msgstr ""
  20271. #. type: table
  20272. #: guix-git/doc/guix.texi:13841
  20273. 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."
  20274. msgstr ""
  20275. #. type: code{#1}
  20276. #: guix-git/doc/guix.texi:13842 guix-git/doc/guix.texi:34164
  20277. #, no-wrap
  20278. msgid "host-name"
  20279. msgstr ""
  20280. #. type: table
  20281. #: guix-git/doc/guix.texi:13844
  20282. msgid "The host name."
  20283. msgstr ""
  20284. #. type: code{#1}
  20285. #: guix-git/doc/guix.texi:13845
  20286. #, no-wrap
  20287. msgid "hosts-file"
  20288. msgstr ""
  20289. #. type: cindex
  20290. #: guix-git/doc/guix.texi:13846
  20291. #, no-wrap
  20292. msgid "hosts file"
  20293. msgstr ""
  20294. #. type: table
  20295. #: guix-git/doc/guix.texi:13851
  20296. 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}."
  20297. msgstr ""
  20298. #. type: item
  20299. #: guix-git/doc/guix.texi:13852
  20300. #, no-wrap
  20301. msgid "@code{mapped-devices} (default: @code{'()})"
  20302. msgstr ""
  20303. #. type: table
  20304. #: guix-git/doc/guix.texi:13854
  20305. msgid "A list of mapped devices. @xref{Mapped Devices}."
  20306. msgstr ""
  20307. #. type: code{#1}
  20308. #: guix-git/doc/guix.texi:13855
  20309. #, no-wrap
  20310. msgid "file-systems"
  20311. msgstr ""
  20312. #. type: table
  20313. #: guix-git/doc/guix.texi:13857
  20314. msgid "A list of file systems. @xref{File Systems}."
  20315. msgstr ""
  20316. #. type: cindex
  20317. #: guix-git/doc/guix.texi:13858
  20318. #, no-wrap
  20319. msgid "swap devices"
  20320. msgstr ""
  20321. #. type: cindex
  20322. #: guix-git/doc/guix.texi:13859
  20323. #, no-wrap
  20324. msgid "swap space"
  20325. msgstr ""
  20326. #. type: item
  20327. #: guix-git/doc/guix.texi:13860
  20328. #, no-wrap
  20329. msgid "@code{swap-devices} (default: @code{'()})"
  20330. msgstr ""
  20331. #. type: table
  20332. #: guix-git/doc/guix.texi:13865
  20333. msgid "A list of UUIDs, file system labels, or strings identifying devices or files to be used for ``swap space'' (@pxref{Memory Concepts,,, libc, The GNU C Library Reference Manual}). Here are some examples:"
  20334. msgstr ""
  20335. #. type: item
  20336. #: guix-git/doc/guix.texi:13867
  20337. #, no-wrap
  20338. msgid "(list (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\"))"
  20339. msgstr ""
  20340. #. type: table
  20341. #: guix-git/doc/guix.texi:13871
  20342. 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."
  20343. msgstr ""
  20344. #. type: item
  20345. #: guix-git/doc/guix.texi:13872
  20346. #, no-wrap
  20347. msgid "(list (file-system-label \"swap\"))"
  20348. msgstr ""
  20349. #. type: table
  20350. #: guix-git/doc/guix.texi:13876
  20351. msgid "Use the partition with label @code{swap}. Again, the @command{swaplabel} command allows you to view and change the label of a Linux swap partition."
  20352. msgstr ""
  20353. #. type: item
  20354. #: guix-git/doc/guix.texi:13877
  20355. #, no-wrap
  20356. msgid "(list \"/swapfile\")"
  20357. msgstr ""
  20358. #. type: table
  20359. #: guix-git/doc/guix.texi:13879
  20360. msgid "Use the file @file{/swapfile} as swap space."
  20361. msgstr ""
  20362. #. type: item
  20363. #: guix-git/doc/guix.texi:13880
  20364. #, no-wrap
  20365. msgid "(list \"/dev/sda3\" \"/dev/sdb2\")"
  20366. msgstr ""
  20367. #. type: table
  20368. #: guix-git/doc/guix.texi:13884
  20369. msgid "Use the @file{/dev/sda3} and @file{/dev/sdb2} partitions as swap space. We recommend referring to swap devices by UUIDs or labels as shown above instead."
  20370. msgstr ""
  20371. #. type: table
  20372. #: guix-git/doc/guix.texi:13890
  20373. msgid "It is possible to specify a swap file in a file system on a mapped device (under @file{/dev/mapper}), provided that the necessary device mapping and file system are also specified. @xref{Mapped Devices} and @ref{File Systems}."
  20374. msgstr ""
  20375. #. type: item
  20376. #: guix-git/doc/guix.texi:13891
  20377. #, no-wrap
  20378. msgid "@code{users} (default: @code{%base-user-accounts})"
  20379. msgstr ""
  20380. #. type: itemx
  20381. #: guix-git/doc/guix.texi:13892
  20382. #, no-wrap
  20383. msgid "@code{groups} (default: @code{%base-groups})"
  20384. msgstr ""
  20385. #. type: table
  20386. #: guix-git/doc/guix.texi:13894
  20387. msgid "List of user accounts and groups. @xref{User Accounts}."
  20388. msgstr ""
  20389. #. type: table
  20390. #: guix-git/doc/guix.texi:13897
  20391. msgid "If the @code{users} list lacks a user account with UID@tie{}0, a ``root'' account with UID@tie{}0 is automatically added."
  20392. msgstr ""
  20393. #. type: item
  20394. #: guix-git/doc/guix.texi:13898
  20395. #, no-wrap
  20396. msgid "@code{skeletons} (default: @code{(default-skeletons)})"
  20397. msgstr ""
  20398. #. type: table
  20399. #: guix-git/doc/guix.texi:13902
  20400. 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."
  20401. msgstr ""
  20402. #. type: table
  20403. #: guix-git/doc/guix.texi:13904
  20404. msgid "For instance, a valid value may look like this:"
  20405. msgstr ""
  20406. #. type: lisp
  20407. #: guix-git/doc/guix.texi:13910
  20408. #, no-wrap
  20409. msgid ""
  20410. "`((\".bashrc\" ,(plain-file \"bashrc\" \"echo Hello\\n\"))\n"
  20411. " (\".guile\" ,(plain-file \"guile\"\n"
  20412. " \"(use-modules (ice-9 readline))\n"
  20413. " (activate-readline)\")))\n"
  20414. msgstr ""
  20415. #. type: item
  20416. #: guix-git/doc/guix.texi:13912
  20417. #, no-wrap
  20418. msgid "@code{issue} (default: @code{%default-issue})"
  20419. msgstr ""
  20420. #. type: table
  20421. #: guix-git/doc/guix.texi:13915
  20422. msgid "A string denoting the contents of the @file{/etc/issue} file, which is displayed when users log in on a text console."
  20423. msgstr ""
  20424. #. type: item
  20425. #: guix-git/doc/guix.texi:13916
  20426. #, no-wrap
  20427. msgid "@code{packages} (default: @code{%base-packages})"
  20428. msgstr ""
  20429. #. type: table
  20430. #: guix-git/doc/guix.texi:13920
  20431. 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:"
  20432. msgstr ""
  20433. #. type: lisp
  20434. #: guix-git/doc/guix.texi:13925
  20435. #, no-wrap
  20436. msgid ""
  20437. "(cons* git ; the default \"out\" output\n"
  20438. " (list git \"send-email\") ; another output of git\n"
  20439. " %base-packages) ; the default set\n"
  20440. msgstr ""
  20441. #. type: table
  20442. #: guix-git/doc/guix.texi:13930
  20443. msgid "The default set includes core utilities and it is good practice to install non-core utilities in user profiles (@pxref{Invoking guix package})."
  20444. msgstr ""
  20445. #. type: code{#1}
  20446. #: guix-git/doc/guix.texi:13931
  20447. #, no-wrap
  20448. msgid "timezone"
  20449. msgstr ""
  20450. #. type: table
  20451. #: guix-git/doc/guix.texi:13933
  20452. msgid "A timezone identifying string---e.g., @code{\"Europe/Paris\"}."
  20453. msgstr ""
  20454. #. type: table
  20455. #: guix-git/doc/guix.texi:13937
  20456. 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."
  20457. msgstr ""
  20458. #. type: item
  20459. #: guix-git/doc/guix.texi:13938 guix-git/doc/guix.texi:19958
  20460. #, no-wrap
  20461. msgid "@code{locale} (default: @code{\"en_US.utf8\"})"
  20462. msgstr ""
  20463. #. type: table
  20464. #: guix-git/doc/guix.texi:13941
  20465. msgid "The name of the default locale (@pxref{Locale Names,,, libc, The GNU C Library Reference Manual}). @xref{Locales}, for more information."
  20466. msgstr ""
  20467. #. type: item
  20468. #: guix-git/doc/guix.texi:13942
  20469. #, no-wrap
  20470. msgid "@code{locale-definitions} (default: @code{%default-locale-definitions})"
  20471. msgstr ""
  20472. #. type: table
  20473. #: guix-git/doc/guix.texi:13945
  20474. msgid "The list of locale definitions to be compiled and that may be used at run time. @xref{Locales}."
  20475. msgstr ""
  20476. #. type: item
  20477. #: guix-git/doc/guix.texi:13946
  20478. #, no-wrap
  20479. msgid "@code{locale-libcs} (default: @code{(list @var{glibc})})"
  20480. msgstr ""
  20481. #. type: table
  20482. #: guix-git/doc/guix.texi:13950
  20483. 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."
  20484. msgstr ""
  20485. #. type: item
  20486. #: guix-git/doc/guix.texi:13951
  20487. #, no-wrap
  20488. msgid "@code{name-service-switch} (default: @code{%default-nss})"
  20489. msgstr ""
  20490. #. type: table
  20491. #: guix-git/doc/guix.texi:13955
  20492. msgid "Configuration of the libc name service switch (NSS)---a @code{<name-service-switch>} object. @xref{Name Service Switch}, for details."
  20493. msgstr ""
  20494. #. type: item
  20495. #: guix-git/doc/guix.texi:13956
  20496. #, no-wrap
  20497. msgid "@code{services} (default: @code{%base-services})"
  20498. msgstr ""
  20499. #. type: table
  20500. #: guix-git/doc/guix.texi:13958
  20501. msgid "A list of service objects denoting system services. @xref{Services}."
  20502. msgstr ""
  20503. #. type: cindex
  20504. #: guix-git/doc/guix.texi:13959
  20505. #, no-wrap
  20506. msgid "essential services"
  20507. msgstr ""
  20508. #. type: item
  20509. #: guix-git/doc/guix.texi:13960
  20510. #, no-wrap
  20511. msgid "@code{essential-services} (default: ...)"
  20512. msgstr ""
  20513. #. type: table
  20514. #: guix-git/doc/guix.texi:13965
  20515. 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."
  20516. msgstr ""
  20517. #. type: item
  20518. #: guix-git/doc/guix.texi:13966
  20519. #, no-wrap
  20520. msgid "@code{pam-services} (default: @code{(base-pam-services)})"
  20521. msgstr ""
  20522. #. type: cindex
  20523. #: guix-git/doc/guix.texi:13967
  20524. #, no-wrap
  20525. msgid "PAM"
  20526. msgstr ""
  20527. #. type: cindex
  20528. #: guix-git/doc/guix.texi:13968
  20529. #, no-wrap
  20530. msgid "pluggable authentication modules"
  20531. msgstr ""
  20532. #. type: table
  20533. #: guix-git/doc/guix.texi:13971
  20534. msgid "Linux @dfn{pluggable authentication module} (PAM) services."
  20535. msgstr ""
  20536. #. type: item
  20537. #: guix-git/doc/guix.texi:13972
  20538. #, no-wrap
  20539. msgid "@code{setuid-programs} (default: @code{%setuid-programs})"
  20540. msgstr ""
  20541. #. type: table
  20542. #: guix-git/doc/guix.texi:13975
  20543. msgid "List of @code{<setuid-program>}. @xref{Setuid Programs}, for more information."
  20544. msgstr ""
  20545. #. type: item
  20546. #: guix-git/doc/guix.texi:13976
  20547. #, no-wrap
  20548. msgid "@code{sudoers-file} (default: @code{%sudoers-specification})"
  20549. msgstr ""
  20550. #. type: cindex
  20551. #: guix-git/doc/guix.texi:13977
  20552. #, no-wrap
  20553. msgid "sudoers file"
  20554. msgstr ""
  20555. #. type: table
  20556. #: guix-git/doc/guix.texi:13980
  20557. msgid "The contents of the @file{/etc/sudoers} file as a file-like object (@pxref{G-Expressions, @code{local-file} and @code{plain-file}})."
  20558. msgstr ""
  20559. #. type: table
  20560. #: guix-git/doc/guix.texi:13985
  20561. 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}."
  20562. msgstr ""
  20563. #. type: deffn
  20564. #: guix-git/doc/guix.texi:13988
  20565. #, no-wrap
  20566. msgid "{Scheme Syntax} this-operating-system"
  20567. msgstr ""
  20568. #. type: deffn
  20569. #: guix-git/doc/guix.texi:13991
  20570. msgid "When used in the @emph{lexical scope} of an operating system field definition, this identifier resolves to the operating system being defined."
  20571. msgstr ""
  20572. #. type: deffn
  20573. #: guix-git/doc/guix.texi:13994
  20574. msgid "The example below shows how to refer to the operating system being defined in the definition of the @code{label} field:"
  20575. msgstr ""
  20576. #. type: lisp
  20577. #: guix-git/doc/guix.texi:13997 guix-git/doc/guix.texi:17574
  20578. #, no-wrap
  20579. msgid ""
  20580. "(use-modules (gnu) (guix))\n"
  20581. "\n"
  20582. msgstr ""
  20583. #. type: lisp
  20584. #: guix-git/doc/guix.texi:14002
  20585. #, no-wrap
  20586. msgid ""
  20587. "(operating-system\n"
  20588. " ;; ...\n"
  20589. " (label (package-full-name\n"
  20590. " (operating-system-kernel this-operating-system))))\n"
  20591. msgstr ""
  20592. #. type: deffn
  20593. #: guix-git/doc/guix.texi:14006
  20594. msgid "It is an error to refer to @code{this-operating-system} outside an operating system definition."
  20595. msgstr ""
  20596. #. type: Plain text
  20597. #: guix-git/doc/guix.texi:14017
  20598. 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:"
  20599. msgstr ""
  20600. #. type: lisp
  20601. #: guix-git/doc/guix.texi:14023
  20602. #, no-wrap
  20603. msgid ""
  20604. "(file-system\n"
  20605. " (mount-point \"/home\")\n"
  20606. " (device \"/dev/sda3\")\n"
  20607. " (type \"ext4\"))\n"
  20608. msgstr ""
  20609. #. type: Plain text
  20610. #: guix-git/doc/guix.texi:14027
  20611. msgid "As usual, some of the fields are mandatory---those shown in the example above---while others can be omitted. These are described below."
  20612. msgstr ""
  20613. #. type: deftp
  20614. #: guix-git/doc/guix.texi:14028
  20615. #, no-wrap
  20616. msgid "{Data Type} file-system"
  20617. msgstr ""
  20618. #. type: deftp
  20619. #: guix-git/doc/guix.texi:14031
  20620. msgid "Objects of this type represent file systems to be mounted. They contain the following members:"
  20621. msgstr ""
  20622. #. type: item
  20623. #: guix-git/doc/guix.texi:14033 guix-git/doc/guix.texi:14383
  20624. #, no-wrap
  20625. msgid "type"
  20626. msgstr "tipo"
  20627. #. type: table
  20628. #: guix-git/doc/guix.texi:14036
  20629. msgid "This is a string specifying the type of the file system---e.g., @code{\"ext4\"}."
  20630. msgstr ""
  20631. #. type: code{#1}
  20632. #: guix-git/doc/guix.texi:14037
  20633. #, no-wrap
  20634. msgid "mount-point"
  20635. msgstr ""
  20636. #. type: table
  20637. #: guix-git/doc/guix.texi:14039
  20638. msgid "This designates the place where the file system is to be mounted."
  20639. msgstr ""
  20640. #. type: code{#1}
  20641. #: guix-git/doc/guix.texi:14040
  20642. #, no-wrap
  20643. msgid "device"
  20644. msgstr ""
  20645. #. type: table
  20646. #: guix-git/doc/guix.texi:14050
  20647. 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.}."
  20648. msgstr ""
  20649. #. type: findex
  20650. #: guix-git/doc/guix.texi:14051
  20651. #, no-wrap
  20652. msgid "file-system-label"
  20653. msgstr ""
  20654. #. type: table
  20655. #: guix-git/doc/guix.texi:14056
  20656. 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:"
  20657. msgstr ""
  20658. #. type: lisp
  20659. #: guix-git/doc/guix.texi:14062
  20660. #, no-wrap
  20661. msgid ""
  20662. "(file-system\n"
  20663. " (mount-point \"/home\")\n"
  20664. " (type \"ext4\")\n"
  20665. " (device (file-system-label \"my-home\")))\n"
  20666. msgstr ""
  20667. #. type: code{#1}
  20668. #: guix-git/doc/guix.texi:14064 guix-git/doc/guix.texi:31772
  20669. #: guix-git/doc/guix.texi:31788
  20670. #, no-wrap
  20671. msgid "uuid"
  20672. msgstr "uuid"
  20673. #. type: table
  20674. #: guix-git/doc/guix.texi:14072
  20675. 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:"
  20676. msgstr ""
  20677. #. type: lisp
  20678. #: guix-git/doc/guix.texi:14078
  20679. #, no-wrap
  20680. msgid ""
  20681. "(file-system\n"
  20682. " (mount-point \"/home\")\n"
  20683. " (type \"ext4\")\n"
  20684. " (device (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  20685. msgstr ""
  20686. #. type: table
  20687. #: guix-git/doc/guix.texi:14086
  20688. 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."
  20689. msgstr ""
  20690. #. type: item
  20691. #: guix-git/doc/guix.texi:14087
  20692. #, no-wrap
  20693. msgid "@code{flags} (default: @code{'()})"
  20694. msgstr ""
  20695. #. type: table
  20696. #: guix-git/doc/guix.texi:14097
  20697. 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."
  20698. msgstr ""
  20699. #. type: item
  20700. #: guix-git/doc/guix.texi:14098
  20701. #, no-wrap
  20702. msgid "@code{options} (default: @code{#f})"
  20703. msgstr "@code{options} (default: @code{#f})"
  20704. #. type: table
  20705. #: guix-git/doc/guix.texi:14107
  20706. 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."
  20707. msgstr ""
  20708. #. type: item
  20709. #: guix-git/doc/guix.texi:14108
  20710. #, no-wrap
  20711. msgid "@code{mount?} (default: @code{#t})"
  20712. msgstr "@code{mount?} (default: @code{#t})"
  20713. #. type: table
  20714. #: guix-git/doc/guix.texi:14113
  20715. 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."
  20716. msgstr ""
  20717. #. type: item
  20718. #: guix-git/doc/guix.texi:14114
  20719. #, no-wrap
  20720. msgid "@code{needed-for-boot?} (default: @code{#f})"
  20721. msgstr ""
  20722. #. type: table
  20723. #: guix-git/doc/guix.texi:14119
  20724. 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."
  20725. msgstr ""
  20726. #. type: item
  20727. #: guix-git/doc/guix.texi:14120
  20728. #, no-wrap
  20729. msgid "@code{check?} (default: @code{#t})"
  20730. msgstr "@code{check?} (padrão: @code{#t})"
  20731. #. type: table
  20732. #: guix-git/doc/guix.texi:14123
  20733. msgid "This Boolean indicates whether the file system needs to be checked for errors before being mounted."
  20734. msgstr ""
  20735. #. type: item
  20736. #: guix-git/doc/guix.texi:14124
  20737. #, no-wrap
  20738. msgid "@code{create-mount-point?} (default: @code{#f})"
  20739. msgstr ""
  20740. #. type: table
  20741. #: guix-git/doc/guix.texi:14126
  20742. msgid "When true, the mount point is created if it does not exist yet."
  20743. msgstr ""
  20744. #. type: item
  20745. #: guix-git/doc/guix.texi:14127
  20746. #, no-wrap
  20747. msgid "@code{mount-may-fail?} (default: @code{#f})"
  20748. msgstr ""
  20749. #. type: table
  20750. #: guix-git/doc/guix.texi:14132
  20751. 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."
  20752. msgstr ""
  20753. #. type: item
  20754. #: guix-git/doc/guix.texi:14133
  20755. #, no-wrap
  20756. msgid "@code{dependencies} (default: @code{'()})"
  20757. msgstr ""
  20758. #. type: table
  20759. #: guix-git/doc/guix.texi:14137
  20760. 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."
  20761. msgstr ""
  20762. #. type: table
  20763. #: guix-git/doc/guix.texi:14141
  20764. 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}."
  20765. msgstr ""
  20766. #. type: table
  20767. #: guix-git/doc/guix.texi:14144
  20768. msgid "Another example is a file system that depends on a mapped device, for example for an encrypted partition (@pxref{Mapped Devices})."
  20769. msgstr ""
  20770. #. type: deffn
  20771. #: guix-git/doc/guix.texi:14147
  20772. #, no-wrap
  20773. msgid "{Scheme Procedure} file-system-label @var{str}"
  20774. msgstr ""
  20775. #. type: deffn
  20776. #: guix-git/doc/guix.texi:14150
  20777. msgid "This procedure returns an opaque file system label from @var{str}, a string:"
  20778. msgstr ""
  20779. #. type: lisp
  20780. #: guix-git/doc/guix.texi:14154
  20781. #, no-wrap
  20782. msgid ""
  20783. "(file-system-label \"home\")\n"
  20784. "@result{} #<file-system-label \"home\">\n"
  20785. msgstr ""
  20786. #. type: deffn
  20787. #: guix-git/doc/guix.texi:14158
  20788. msgid "File system labels are used to refer to file systems by label rather than by device name. See above for examples."
  20789. msgstr ""
  20790. #. type: Plain text
  20791. #: guix-git/doc/guix.texi:14162
  20792. msgid "The @code{(gnu system file-systems)} exports the following useful variables."
  20793. msgstr ""
  20794. #. type: defvr
  20795. #: guix-git/doc/guix.texi:14163
  20796. #, no-wrap
  20797. msgid "{Scheme Variable} %base-file-systems"
  20798. msgstr ""
  20799. #. type: defvr
  20800. #: guix-git/doc/guix.texi:14168
  20801. 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."
  20802. msgstr ""
  20803. #. type: defvr
  20804. #: guix-git/doc/guix.texi:14170
  20805. #, no-wrap
  20806. msgid "{Scheme Variable} %pseudo-terminal-file-system"
  20807. msgstr ""
  20808. #. type: defvr
  20809. #: guix-git/doc/guix.texi:14176
  20810. 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}."
  20811. msgstr ""
  20812. #. type: defvr
  20813. #: guix-git/doc/guix.texi:14178
  20814. #, no-wrap
  20815. msgid "{Scheme Variable} %shared-memory-file-system"
  20816. msgstr ""
  20817. #. type: defvr
  20818. #: guix-git/doc/guix.texi:14182
  20819. 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})."
  20820. msgstr ""
  20821. #. type: defvr
  20822. #: guix-git/doc/guix.texi:14184
  20823. #, no-wrap
  20824. msgid "{Scheme Variable} %immutable-store"
  20825. msgstr ""
  20826. #. type: defvr
  20827. #: guix-git/doc/guix.texi:14189
  20828. 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."
  20829. msgstr ""
  20830. #. type: defvr
  20831. #: guix-git/doc/guix.texi:14192
  20832. msgid "The daemon itself is still able to write to the store: it remounts it read-write in its own ``name space.''"
  20833. msgstr ""
  20834. #. type: defvr
  20835. #: guix-git/doc/guix.texi:14194
  20836. #, no-wrap
  20837. msgid "{Scheme Variable} %binary-format-file-system"
  20838. msgstr ""
  20839. #. type: defvr
  20840. #: guix-git/doc/guix.texi:14198
  20841. 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."
  20842. msgstr ""
  20843. #. type: defvr
  20844. #: guix-git/doc/guix.texi:14200
  20845. #, no-wrap
  20846. msgid "{Scheme Variable} %fuse-control-file-system"
  20847. msgstr ""
  20848. #. type: defvr
  20849. #: guix-git/doc/guix.texi:14204
  20850. 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."
  20851. msgstr ""
  20852. #. type: Plain text
  20853. #: guix-git/doc/guix.texi:14208
  20854. msgid "The @code{(gnu system uuid)} module provides tools to deal with file system ``unique identifiers'' (UUIDs)."
  20855. msgstr ""
  20856. #. type: deffn
  20857. #: guix-git/doc/guix.texi:14209
  20858. #, no-wrap
  20859. msgid "{Scheme Procedure} uuid @var{str} [@var{type}]"
  20860. msgstr ""
  20861. #. type: deffn
  20862. #: guix-git/doc/guix.texi:14212
  20863. msgid "Return an opaque UUID (unique identifier) object of the given @var{type} (a symbol) by parsing @var{str} (a string):"
  20864. msgstr ""
  20865. #. type: lisp
  20866. #: guix-git/doc/guix.texi:14216
  20867. #, no-wrap
  20868. msgid ""
  20869. "(uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")\n"
  20870. "@result{} #<<uuid> type: dce bv: @dots{}>\n"
  20871. "\n"
  20872. msgstr ""
  20873. #. type: lisp
  20874. #: guix-git/doc/guix.texi:14219
  20875. #, no-wrap
  20876. msgid ""
  20877. "(uuid \"1234-ABCD\" 'fat)\n"
  20878. "@result{} #<<uuid> type: fat bv: @dots{}>\n"
  20879. msgstr ""
  20880. #. type: deffn
  20881. #: guix-git/doc/guix.texi:14223
  20882. msgid "@var{type} may be one of @code{dce}, @code{iso9660}, @code{fat}, @code{ntfs}, or one of the commonly found synonyms for these."
  20883. msgstr ""
  20884. #. type: deffn
  20885. #: guix-git/doc/guix.texi:14226
  20886. msgid "UUIDs are another way to unambiguously refer to file systems in operating system configuration. See the examples above."
  20887. msgstr ""
  20888. #. type: subsection
  20889. #: guix-git/doc/guix.texi:14229 guix-git/doc/guix.texi:14230
  20890. #, no-wrap
  20891. msgid "Btrfs file system"
  20892. msgstr ""
  20893. #. type: Plain text
  20894. #: guix-git/doc/guix.texi:14236
  20895. 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."
  20896. msgstr ""
  20897. #. type: Plain text
  20898. #: guix-git/doc/guix.texi:14239
  20899. msgid "In its simplest usage, a Btrfs file system can be described, for example, by:"
  20900. msgstr ""
  20901. #. type: lisp
  20902. #: guix-git/doc/guix.texi:14245
  20903. #, no-wrap
  20904. msgid ""
  20905. "(file-system\n"
  20906. " (mount-point \"/home\")\n"
  20907. " (type \"btrfs\")\n"
  20908. " (device (file-system-label \"my-home\")))\n"
  20909. msgstr ""
  20910. #. type: Plain text
  20911. #: guix-git/doc/guix.texi:14251
  20912. 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}):"
  20913. msgstr ""
  20914. #. type: lisp
  20915. #: guix-git/doc/guix.texi:14259
  20916. #, no-wrap
  20917. msgid ""
  20918. "(file-system\n"
  20919. " (device (file-system-label \"my-btrfs-pool\"))\n"
  20920. " (mount-point \"/\")\n"
  20921. " (type \"btrfs\")\n"
  20922. " (options \"subvol=rootfs\")\n"
  20923. " (dependencies mapped-devices))\n"
  20924. msgstr ""
  20925. #. type: Plain text
  20926. #: guix-git/doc/guix.texi:14270
  20927. 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."
  20928. msgstr ""
  20929. #. type: Plain text
  20930. #: guix-git/doc/guix.texi:14278
  20931. 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.:"
  20932. msgstr ""
  20933. #. type: example
  20934. #: guix-git/doc/guix.texi:14285
  20935. #, no-wrap
  20936. msgid ""
  20937. "/ (top level)\n"
  20938. "├── rootfs (subvolume directory)\n"
  20939. " ├── gnu (normal directory)\n"
  20940. " ├── store (normal directory)\n"
  20941. "[...]\n"
  20942. msgstr ""
  20943. #. type: Plain text
  20944. #: guix-git/doc/guix.texi:14290
  20945. 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."
  20946. msgstr ""
  20947. #. type: Plain text
  20948. #: guix-git/doc/guix.texi:14293
  20949. msgid "The next example shows a nested hierarchy of subvolumes and directories:"
  20950. msgstr ""
  20951. #. type: example
  20952. #: guix-git/doc/guix.texi:14300
  20953. #, no-wrap
  20954. msgid ""
  20955. "/ (top level)\n"
  20956. "├── rootfs (subvolume)\n"
  20957. " ├── gnu (normal directory)\n"
  20958. " ├── store (subvolume)\n"
  20959. "[...]\n"
  20960. msgstr ""
  20961. #. type: Plain text
  20962. #: guix-git/doc/guix.texi:14307
  20963. 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}."
  20964. msgstr ""
  20965. #. type: Plain text
  20966. #: guix-git/doc/guix.texi:14309
  20967. msgid "Finally, a more contrived example of nested subvolumes:"
  20968. msgstr ""
  20969. #. type: example
  20970. #: guix-git/doc/guix.texi:14316
  20971. #, no-wrap
  20972. msgid ""
  20973. "/ (top level)\n"
  20974. "├── root-snapshots (subvolume)\n"
  20975. " ├── root-current (subvolume)\n"
  20976. " ├── guix-store (subvolume)\n"
  20977. "[...]\n"
  20978. msgstr ""
  20979. #. type: Plain text
  20980. #: guix-git/doc/guix.texi:14323
  20981. 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:"
  20982. msgstr ""
  20983. #. type: lisp
  20984. #: guix-git/doc/guix.texi:14331
  20985. #, no-wrap
  20986. msgid ""
  20987. "(file-system\n"
  20988. " (device (file-system-label \"btrfs-pool-1\"))\n"
  20989. " (mount-point \"/gnu/store\")\n"
  20990. " (type \"btrfs\")\n"
  20991. " (options \"subvol=root-snapshots/root-current/guix-store,\\\n"
  20992. "compress-force=zstd,space_cache=v2\"))\n"
  20993. msgstr ""
  20994. #. type: cindex
  20995. #: guix-git/doc/guix.texi:14336
  20996. #, no-wrap
  20997. msgid "device mapping"
  20998. msgstr ""
  20999. #. type: cindex
  21000. #: guix-git/doc/guix.texi:14337
  21001. #, no-wrap
  21002. msgid "mapped devices"
  21003. msgstr ""
  21004. #. type: Plain text
  21005. #: guix-git/doc/guix.texi:14354
  21006. 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."
  21007. msgstr ""
  21008. #. type: Plain text
  21009. #: guix-git/doc/guix.texi:14357
  21010. msgid "Mapped devices are declared using the @code{mapped-device} form, defined as follows; for examples, see below."
  21011. msgstr ""
  21012. #. type: deftp
  21013. #: guix-git/doc/guix.texi:14358
  21014. #, no-wrap
  21015. msgid "{Data Type} mapped-device"
  21016. msgstr ""
  21017. #. type: deftp
  21018. #: guix-git/doc/guix.texi:14361
  21019. msgid "Objects of this type represent device mappings that will be made when the system boots up."
  21020. msgstr ""
  21021. #. type: table
  21022. #: guix-git/doc/guix.texi:14368
  21023. 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."
  21024. msgstr ""
  21025. #. type: code{#1}
  21026. #: guix-git/doc/guix.texi:14369 guix-git/doc/guix.texi:33233
  21027. #, no-wrap
  21028. msgid "target"
  21029. msgstr ""
  21030. #. type: table
  21031. #: guix-git/doc/guix.texi:14378
  21032. 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\"}."
  21033. msgstr ""
  21034. #. type: item
  21035. #: guix-git/doc/guix.texi:14379
  21036. #, no-wrap
  21037. msgid "targets"
  21038. msgstr ""
  21039. #. type: table
  21040. #: guix-git/doc/guix.texi:14382
  21041. msgid "This list of strings specifies names of the resulting mapped devices in case there are several. The format is identical to @var{target}."
  21042. msgstr ""
  21043. #. type: table
  21044. #: guix-git/doc/guix.texi:14386
  21045. msgid "This must be a @code{mapped-device-kind} object, which specifies how @var{source} is mapped to @var{target}."
  21046. msgstr ""
  21047. #. type: defvr
  21048. #: guix-git/doc/guix.texi:14389
  21049. #, no-wrap
  21050. msgid "{Scheme Variable} luks-device-mapping"
  21051. msgstr ""
  21052. #. type: defvr
  21053. #: guix-git/doc/guix.texi:14393
  21054. 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."
  21055. msgstr ""
  21056. #. type: defvr
  21057. #: guix-git/doc/guix.texi:14395
  21058. #, no-wrap
  21059. msgid "{Scheme Variable} raid-device-mapping"
  21060. msgstr ""
  21061. #. type: defvr
  21062. #: guix-git/doc/guix.texi:14400
  21063. 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."
  21064. msgstr ""
  21065. #. type: cindex
  21066. #: guix-git/doc/guix.texi:14402
  21067. #, no-wrap
  21068. msgid "LVM, logical volume manager"
  21069. msgstr ""
  21070. #. type: defvr
  21071. #: guix-git/doc/guix.texi:14403
  21072. #, no-wrap
  21073. msgid "{Scheme Variable} lvm-device-mapping"
  21074. msgstr ""
  21075. #. type: defvr
  21076. #: guix-git/doc/guix.texi:14408
  21077. 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."
  21078. msgstr ""
  21079. #. type: cindex
  21080. #: guix-git/doc/guix.texi:14410
  21081. #, no-wrap
  21082. msgid "disk encryption"
  21083. msgstr ""
  21084. #. type: cindex
  21085. #: guix-git/doc/guix.texi:14411
  21086. #, no-wrap
  21087. msgid "LUKS"
  21088. msgstr "LUKS"
  21089. #. type: Plain text
  21090. #: guix-git/doc/guix.texi:14419
  21091. 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})."
  21092. msgstr ""
  21093. #. type: lisp
  21094. #: guix-git/doc/guix.texi:14425
  21095. #, no-wrap
  21096. msgid ""
  21097. "(mapped-device\n"
  21098. " (source \"/dev/sda3\")\n"
  21099. " (target \"home\")\n"
  21100. " (type luks-device-mapping))\n"
  21101. msgstr ""
  21102. #. type: Plain text
  21103. #: guix-git/doc/guix.texi:14430
  21104. 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:"
  21105. msgstr ""
  21106. #. type: example
  21107. #: guix-git/doc/guix.texi:14433
  21108. #, no-wrap
  21109. msgid "cryptsetup luksUUID /dev/sda3\n"
  21110. msgstr ""
  21111. #. type: Plain text
  21112. #: guix-git/doc/guix.texi:14436
  21113. msgid "and use it as follows:"
  21114. msgstr ""
  21115. #. type: lisp
  21116. #: guix-git/doc/guix.texi:14442
  21117. #, no-wrap
  21118. msgid ""
  21119. "(mapped-device\n"
  21120. " (source (uuid \"cb67fc72-0d54-4c88-9d4b-b225f30b0f44\"))\n"
  21121. " (target \"home\")\n"
  21122. " (type luks-device-mapping))\n"
  21123. msgstr ""
  21124. #. type: cindex
  21125. #: guix-git/doc/guix.texi:14444
  21126. #, no-wrap
  21127. msgid "swap encryption"
  21128. msgstr ""
  21129. #. type: Plain text
  21130. #: guix-git/doc/guix.texi:14450
  21131. 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{Preparing for Installation,,Disk Partitioning}, for an example."
  21132. msgstr ""
  21133. #. type: Plain text
  21134. #: guix-git/doc/guix.texi:14453
  21135. msgid "A RAID device formed of the partitions @file{/dev/sda1} and @file{/dev/sdb1} may be declared as follows:"
  21136. msgstr ""
  21137. #. type: lisp
  21138. #: guix-git/doc/guix.texi:14459
  21139. #, no-wrap
  21140. msgid ""
  21141. "(mapped-device\n"
  21142. " (source (list \"/dev/sda1\" \"/dev/sdb1\"))\n"
  21143. " (target \"/dev/md0\")\n"
  21144. " (type raid-device-mapping))\n"
  21145. msgstr ""
  21146. #. type: Plain text
  21147. #: guix-git/doc/guix.texi:14466
  21148. 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."
  21149. msgstr ""
  21150. #. type: Plain text
  21151. #: guix-git/doc/guix.texi:14469
  21152. msgid "LVM logical volumes ``alpha'' and ``beta'' from volume group ``vg0'' can be declared as follows:"
  21153. msgstr ""
  21154. #. type: lisp
  21155. #: guix-git/doc/guix.texi:14475
  21156. #, no-wrap
  21157. msgid ""
  21158. "(mapped-device\n"
  21159. " (source \"vg0\")\n"
  21160. " (targets (list \"vg0-alpha\" \"vg0-beta\"))\n"
  21161. " (type lvm-device-mapping))\n"
  21162. msgstr ""
  21163. #. type: Plain text
  21164. #: guix-git/doc/guix.texi:14480
  21165. 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})."
  21166. msgstr ""
  21167. #. type: cindex
  21168. #: guix-git/doc/guix.texi:14484
  21169. #, no-wrap
  21170. msgid "users"
  21171. msgstr ""
  21172. #. type: cindex
  21173. #: guix-git/doc/guix.texi:14485
  21174. #, no-wrap
  21175. msgid "accounts"
  21176. msgstr ""
  21177. #. type: cindex
  21178. #: guix-git/doc/guix.texi:14486
  21179. #, no-wrap
  21180. msgid "user accounts"
  21181. msgstr ""
  21182. #. type: Plain text
  21183. #: guix-git/doc/guix.texi:14490
  21184. 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:"
  21185. msgstr ""
  21186. #. type: lisp
  21187. #: guix-git/doc/guix.texi:14500
  21188. #, no-wrap
  21189. msgid ""
  21190. "(user-account\n"
  21191. " (name \"alice\")\n"
  21192. " (group \"users\")\n"
  21193. " (supplementary-groups '(\"wheel\" ;allow use of sudo, etc.\n"
  21194. " \"audio\" ;sound card\n"
  21195. " \"video\" ;video devices such as webcams\n"
  21196. " \"cdrom\")) ;the good ol' CD-ROM\n"
  21197. " (comment \"Bob's sister\"))\n"
  21198. msgstr ""
  21199. #. type: Plain text
  21200. #: guix-git/doc/guix.texi:14504
  21201. msgid "Here's a user account that uses a different shell and a custom home directory (the default would be @file{\"/home/bob\"}):"
  21202. msgstr ""
  21203. #. type: lisp
  21204. #: guix-git/doc/guix.texi:14512
  21205. #, no-wrap
  21206. msgid ""
  21207. "(user-account\n"
  21208. " (name \"bob\")\n"
  21209. " (group \"users\")\n"
  21210. " (comment \"Alice's bro\")\n"
  21211. " (shell (file-append zsh \"/bin/zsh\"))\n"
  21212. " (home-directory \"/home/robert\"))\n"
  21213. msgstr ""
  21214. #. type: Plain text
  21215. #: guix-git/doc/guix.texi:14521
  21216. 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."
  21217. msgstr ""
  21218. #. type: deftp
  21219. #: guix-git/doc/guix.texi:14522
  21220. #, no-wrap
  21221. msgid "{Data Type} user-account"
  21222. msgstr ""
  21223. #. type: deftp
  21224. #: guix-git/doc/guix.texi:14525
  21225. msgid "Objects of this type represent user accounts. The following members may be specified:"
  21226. msgstr ""
  21227. #. type: table
  21228. #: guix-git/doc/guix.texi:14529
  21229. msgid "The name of the user account."
  21230. msgstr ""
  21231. #. type: itemx
  21232. #: guix-git/doc/guix.texi:14530 guix-git/doc/guix.texi:32919
  21233. #, no-wrap
  21234. msgid "group"
  21235. msgstr "grupo"
  21236. #. type: cindex
  21237. #: guix-git/doc/guix.texi:14531 guix-git/doc/guix.texi:14610
  21238. #, no-wrap
  21239. msgid "groups"
  21240. msgstr ""
  21241. #. type: table
  21242. #: guix-git/doc/guix.texi:14534
  21243. msgid "This is the name (a string) or identifier (a number) of the user group this account belongs to."
  21244. msgstr ""
  21245. #. type: item
  21246. #: guix-git/doc/guix.texi:14535
  21247. #, no-wrap
  21248. msgid "@code{supplementary-groups} (default: @code{'()})"
  21249. msgstr ""
  21250. #. type: table
  21251. #: guix-git/doc/guix.texi:14538
  21252. msgid "Optionally, this can be defined as a list of group names that this account belongs to."
  21253. msgstr ""
  21254. #. type: item
  21255. #: guix-git/doc/guix.texi:14539
  21256. #, no-wrap
  21257. msgid "@code{uid} (default: @code{#f})"
  21258. msgstr "@code{uid} (default: @code{#f})"
  21259. #. type: table
  21260. #: guix-git/doc/guix.texi:14543
  21261. 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."
  21262. msgstr ""
  21263. #. type: item
  21264. #: guix-git/doc/guix.texi:14544
  21265. #, no-wrap
  21266. msgid "@code{comment} (default: @code{\"\"})"
  21267. msgstr ""
  21268. #. type: table
  21269. #: guix-git/doc/guix.texi:14546
  21270. msgid "A comment about the account, such as the account owner's full name."
  21271. msgstr ""
  21272. #. type: code{#1}
  21273. #: guix-git/doc/guix.texi:14547
  21274. #, no-wrap
  21275. msgid "home-directory"
  21276. msgstr ""
  21277. #. type: table
  21278. #: guix-git/doc/guix.texi:14549
  21279. msgid "This is the name of the home directory for the account."
  21280. msgstr ""
  21281. #. type: item
  21282. #: guix-git/doc/guix.texi:14550
  21283. #, no-wrap
  21284. msgid "@code{create-home-directory?} (default: @code{#t})"
  21285. msgstr ""
  21286. #. type: table
  21287. #: guix-git/doc/guix.texi:14553
  21288. msgid "Indicates whether the home directory of this account should be created if it does not exist yet."
  21289. msgstr ""
  21290. #. type: item
  21291. #: guix-git/doc/guix.texi:14554
  21292. #, no-wrap
  21293. msgid "@code{shell} (default: Bash)"
  21294. msgstr ""
  21295. #. type: table
  21296. #: guix-git/doc/guix.texi:14558
  21297. 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:"
  21298. msgstr ""
  21299. #. type: lisp
  21300. #: guix-git/doc/guix.texi:14561
  21301. #, no-wrap
  21302. msgid "(file-append bash \"/bin/bash\")\n"
  21303. msgstr ""
  21304. #. type: table
  21305. #: guix-git/doc/guix.texi:14565
  21306. msgid "... and to the Zsh executable like that:"
  21307. msgstr ""
  21308. #. type: lisp
  21309. #: guix-git/doc/guix.texi:14568
  21310. #, no-wrap
  21311. msgid "(file-append zsh \"/bin/zsh\")\n"
  21312. msgstr ""
  21313. #. type: item
  21314. #: guix-git/doc/guix.texi:14570 guix-git/doc/guix.texi:14628
  21315. #, no-wrap
  21316. msgid "@code{system?} (default: @code{#f})"
  21317. msgstr "@code{system?} (default: @code{#f})"
  21318. #. type: table
  21319. #: guix-git/doc/guix.texi:14574
  21320. 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."
  21321. msgstr ""
  21322. #. type: anchor{#1}
  21323. #: guix-git/doc/guix.texi:14576
  21324. msgid "user-account-password"
  21325. msgstr "user-account-password"
  21326. #. type: cindex
  21327. #: guix-git/doc/guix.texi:14576
  21328. #, no-wrap
  21329. msgid "password, for user accounts"
  21330. msgstr ""
  21331. #. type: item
  21332. #: guix-git/doc/guix.texi:14577 guix-git/doc/guix.texi:14632
  21333. #, no-wrap
  21334. msgid "@code{password} (default: @code{#f})"
  21335. msgstr "@code{password} (default: @code{#f})"
  21336. #. type: table
  21337. #: guix-git/doc/guix.texi:14583
  21338. 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."
  21339. msgstr ""
  21340. #. type: table
  21341. #: guix-git/doc/guix.texi:14587
  21342. 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:"
  21343. msgstr ""
  21344. #. type: lisp
  21345. #: guix-git/doc/guix.texi:14592
  21346. #, no-wrap
  21347. msgid ""
  21348. "(user-account\n"
  21349. " (name \"charlie\")\n"
  21350. " (group \"users\")\n"
  21351. "\n"
  21352. msgstr ""
  21353. #. type: lisp
  21354. #: guix-git/doc/guix.texi:14595
  21355. #, no-wrap
  21356. msgid ""
  21357. " ;; Specify a SHA-512-hashed initial password.\n"
  21358. " (password (crypt \"InitialPassword!\" \"$6$abc\")))\n"
  21359. msgstr ""
  21360. #. type: quotation
  21361. #: guix-git/doc/guix.texi:14601
  21362. 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."
  21363. msgstr ""
  21364. #. type: table
  21365. #: guix-git/doc/guix.texi:14606
  21366. 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."
  21367. msgstr ""
  21368. #. type: Plain text
  21369. #: guix-git/doc/guix.texi:14612
  21370. msgid "User group declarations are even simpler:"
  21371. msgstr ""
  21372. #. type: lisp
  21373. #: guix-git/doc/guix.texi:14615
  21374. #, no-wrap
  21375. msgid "(user-group (name \"students\"))\n"
  21376. msgstr "(user-group (name \"students\"))\n"
  21377. #. type: deftp
  21378. #: guix-git/doc/guix.texi:14617
  21379. #, no-wrap
  21380. msgid "{Data Type} user-group"
  21381. msgstr ""
  21382. #. type: deftp
  21383. #: guix-git/doc/guix.texi:14619
  21384. msgid "This type is for, well, user groups. There are just a few fields:"
  21385. msgstr ""
  21386. #. type: table
  21387. #: guix-git/doc/guix.texi:14623
  21388. msgid "The name of the group."
  21389. msgstr ""
  21390. #. type: item
  21391. #: guix-git/doc/guix.texi:14624 guix-git/doc/guix.texi:29606
  21392. #, no-wrap
  21393. msgid "@code{id} (default: @code{#f})"
  21394. msgstr "@code{id} (default: @code{#f})"
  21395. #. type: table
  21396. #: guix-git/doc/guix.texi:14627
  21397. msgid "The group identifier (a number). If @code{#f}, a new number is automatically allocated when the group is created."
  21398. msgstr ""
  21399. #. type: table
  21400. #: guix-git/doc/guix.texi:14631
  21401. msgid "This Boolean value indicates whether the group is a ``system'' group. System groups have low numerical IDs."
  21402. msgstr ""
  21403. #. type: table
  21404. #: guix-git/doc/guix.texi:14635
  21405. msgid "What, user groups can have a password? Well, apparently yes. Unless @code{#f}, this field specifies the password of the group."
  21406. msgstr ""
  21407. #. type: Plain text
  21408. #: guix-git/doc/guix.texi:14641
  21409. msgid "For convenience, a variable lists all the basic user groups one may expect:"
  21410. msgstr ""
  21411. #. type: defvr
  21412. #: guix-git/doc/guix.texi:14642
  21413. #, no-wrap
  21414. msgid "{Scheme Variable} %base-groups"
  21415. msgstr ""
  21416. #. type: defvr
  21417. #: guix-git/doc/guix.texi:14647
  21418. 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''."
  21419. msgstr ""
  21420. #. type: defvr
  21421. #: guix-git/doc/guix.texi:14649
  21422. #, no-wrap
  21423. msgid "{Scheme Variable} %base-user-accounts"
  21424. msgstr ""
  21425. #. type: defvr
  21426. #: guix-git/doc/guix.texi:14652
  21427. 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."
  21428. msgstr ""
  21429. #. type: defvr
  21430. #: guix-git/doc/guix.texi:14655
  21431. 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."
  21432. msgstr ""
  21433. #. type: cindex
  21434. #: guix-git/doc/guix.texi:14661
  21435. #, no-wrap
  21436. msgid "keymap"
  21437. msgstr ""
  21438. #. type: Plain text
  21439. #: guix-git/doc/guix.texi:14669
  21440. 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."
  21441. msgstr ""
  21442. #. type: cindex
  21443. #: guix-git/doc/guix.texi:14670
  21444. #, no-wrap
  21445. msgid "keyboard layout, definition"
  21446. msgstr "disposição do teclado, definição"
  21447. #. type: Plain text
  21448. #: guix-git/doc/guix.texi:14672
  21449. msgid "There are three components that will want to know about your keyboard layout:"
  21450. msgstr ""
  21451. #. type: itemize
  21452. #: guix-git/doc/guix.texi:14679
  21453. 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."
  21454. msgstr ""
  21455. #. type: itemize
  21456. #: guix-git/doc/guix.texi:14684
  21457. msgid "The @emph{operating system kernel}, Linux, will need that so that the console is properly configured (@pxref{operating-system Reference, @code{keyboard-layout}})."
  21458. msgstr ""
  21459. #. type: itemize
  21460. #: guix-git/doc/guix.texi:14688
  21461. msgid "The @emph{graphical display server}, usually Xorg, also has its own idea of the keyboard layout (@pxref{X Window, @code{keyboard-layout}})."
  21462. msgstr ""
  21463. #. type: Plain text
  21464. #: guix-git/doc/guix.texi:14692
  21465. msgid "Guix allows you to configure all three separately but, fortunately, it allows you to share the same keyboard layout for all three components."
  21466. msgstr ""
  21467. #. type: cindex
  21468. #: guix-git/doc/guix.texi:14693
  21469. #, no-wrap
  21470. msgid "XKB, keyboard layouts"
  21471. msgstr "XKB, disposições do teclado"
  21472. #. type: Plain text
  21473. #: guix-git/doc/guix.texi:14701
  21474. 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."
  21475. msgstr ""
  21476. #. type: deffn
  21477. #: guix-git/doc/guix.texi:14702
  21478. #, no-wrap
  21479. msgid "{Scheme Procedure} keyboard-layout @var{name} [@var{variant}] @"
  21480. msgstr ""
  21481. #. type: deffn
  21482. #: guix-git/doc/guix.texi:14705
  21483. msgid "[#:model] [#:options '()] Return a new keyboard layout with the given @var{name} and @var{variant}."
  21484. msgstr ""
  21485. #. type: deffn
  21486. #: guix-git/doc/guix.texi:14709
  21487. 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."
  21488. msgstr ""
  21489. #. type: Plain text
  21490. #: guix-git/doc/guix.texi:14712
  21491. msgid "Here are a few examples:"
  21492. msgstr ""
  21493. #. type: lisp
  21494. #: guix-git/doc/guix.texi:14717
  21495. #, no-wrap
  21496. msgid ""
  21497. ";; The German QWERTZ layout. Here we assume a standard\n"
  21498. ";; \"pc105\" keyboard model.\n"
  21499. "(keyboard-layout \"de\")\n"
  21500. "\n"
  21501. msgstr ""
  21502. #. type: lisp
  21503. #: guix-git/doc/guix.texi:14720
  21504. #, no-wrap
  21505. msgid ""
  21506. ";; The bépo variant of the French layout.\n"
  21507. "(keyboard-layout \"fr\" \"bepo\")\n"
  21508. "\n"
  21509. msgstr ""
  21510. #. type: lisp
  21511. #: guix-git/doc/guix.texi:14723
  21512. #, no-wrap
  21513. msgid ""
  21514. ";; The Catalan layout.\n"
  21515. "(keyboard-layout \"es\" \"cat\")\n"
  21516. "\n"
  21517. msgstr ""
  21518. #. type: lisp
  21519. #: guix-git/doc/guix.texi:14726
  21520. #, no-wrap
  21521. msgid ""
  21522. ";; Arabic layout with \"Alt-Shift\" to switch to US layout.\n"
  21523. "(keyboard-layout \"ar,us\" #:options '(\"grp:alt_shift_toggle\"))\n"
  21524. "\n"
  21525. msgstr ""
  21526. #. type: lisp
  21527. #: guix-git/doc/guix.texi:14733
  21528. #, no-wrap
  21529. msgid ""
  21530. ";; The Latin American Spanish layout. In addition, the\n"
  21531. ";; \"Caps Lock\" key is used as an additional \"Ctrl\" key,\n"
  21532. ";; and the \"Menu\" key is used as a \"Compose\" key to enter\n"
  21533. ";; accented letters.\n"
  21534. "(keyboard-layout \"latam\"\n"
  21535. " #:options '(\"ctrl:nocaps\" \"compose:menu\"))\n"
  21536. "\n"
  21537. msgstr ""
  21538. #. type: lisp
  21539. #: guix-git/doc/guix.texi:14736
  21540. #, no-wrap
  21541. msgid ""
  21542. ";; The Russian layout for a ThinkPad keyboard.\n"
  21543. "(keyboard-layout \"ru\" #:model \"thinkpad\")\n"
  21544. "\n"
  21545. msgstr ""
  21546. #. type: lisp
  21547. #: guix-git/doc/guix.texi:14741
  21548. #, no-wrap
  21549. msgid ""
  21550. ";; The \"US international\" layout, which is the US layout plus\n"
  21551. ";; dead keys to enter accented characters. This is for an\n"
  21552. ";; Apple MacBook keyboard.\n"
  21553. "(keyboard-layout \"us\" \"intl\" #:model \"macbook78\")\n"
  21554. msgstr ""
  21555. #. type: Plain text
  21556. #: guix-git/doc/guix.texi:14745
  21557. msgid "See the @file{share/X11/xkb} directory of the @code{xkeyboard-config} package for a complete list of supported layouts, variants, and models."
  21558. msgstr ""
  21559. #. type: cindex
  21560. #: guix-git/doc/guix.texi:14746
  21561. #, no-wrap
  21562. msgid "keyboard layout, configuration"
  21563. msgstr "disposição do teclado, configuração"
  21564. #. type: Plain text
  21565. #: guix-git/doc/guix.texi:14750
  21566. 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:"
  21567. msgstr ""
  21568. #. type: findex
  21569. #: guix-git/doc/guix.texi:14751
  21570. #, no-wrap
  21571. msgid "set-xorg-configuration"
  21572. msgstr ""
  21573. #. type: lisp
  21574. #: guix-git/doc/guix.texi:14755
  21575. #, no-wrap
  21576. msgid ""
  21577. ";; Using the Turkish layout for the bootloader, the console,\n"
  21578. ";; and for Xorg.\n"
  21579. "\n"
  21580. msgstr ""
  21581. #. type: lisp
  21582. #: guix-git/doc/guix.texi:14767
  21583. #, no-wrap
  21584. msgid ""
  21585. "(operating-system\n"
  21586. " ;; ...\n"
  21587. " (keyboard-layout (keyboard-layout \"tr\")) ;for the console\n"
  21588. " (bootloader (bootloader-configuration\n"
  21589. " (bootloader grub-efi-bootloader)\n"
  21590. " (target \"/boot/efi\")\n"
  21591. " (keyboard-layout keyboard-layout))) ;for GRUB\n"
  21592. " (services (cons (set-xorg-configuration\n"
  21593. " (xorg-configuration ;for Xorg\n"
  21594. " (keyboard-layout keyboard-layout)))\n"
  21595. " %desktop-services)))\n"
  21596. msgstr ""
  21597. #. type: Plain text
  21598. #: guix-git/doc/guix.texi:14774
  21599. 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."
  21600. msgstr ""
  21601. #. type: Plain text
  21602. #: guix-git/doc/guix.texi:14777
  21603. 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:"
  21604. msgstr ""
  21605. #. type: itemize
  21606. #: guix-git/doc/guix.texi:14782
  21607. msgid "If you're using GNOME, its settings panel has a ``Region & Language'' entry where you can select one or more keyboard layouts."
  21608. msgstr ""
  21609. #. type: itemize
  21610. #: guix-git/doc/guix.texi:14787
  21611. 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:"
  21612. msgstr ""
  21613. #. type: example
  21614. #: guix-git/doc/guix.texi:14790
  21615. #, no-wrap
  21616. msgid "setxkbmap us dvorak\n"
  21617. msgstr ""
  21618. #. type: itemize
  21619. #: guix-git/doc/guix.texi:14797
  21620. 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:"
  21621. msgstr ""
  21622. #. type: example
  21623. #: guix-git/doc/guix.texi:14800
  21624. #, no-wrap
  21625. msgid "loadkeys fr-bepo\n"
  21626. msgstr ""
  21627. #. type: cindex
  21628. #: guix-git/doc/guix.texi:14806
  21629. #, no-wrap
  21630. msgid "locale"
  21631. msgstr ""
  21632. #. type: Plain text
  21633. #: guix-git/doc/guix.texi:14813
  21634. 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."
  21635. msgstr ""
  21636. #. type: cindex
  21637. #: guix-git/doc/guix.texi:14814
  21638. #, no-wrap
  21639. msgid "locale definition"
  21640. msgstr ""
  21641. #. type: Plain text
  21642. #: guix-git/doc/guix.texi:14818
  21643. 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}})."
  21644. msgstr ""
  21645. #. type: Plain text
  21646. #: guix-git/doc/guix.texi:14827
  21647. 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."
  21648. msgstr ""
  21649. #. type: Plain text
  21650. #: guix-git/doc/guix.texi:14830
  21651. msgid "For instance, to add the North Frisian locale for Germany, the value of that field may be:"
  21652. msgstr ""
  21653. #. type: lisp
  21654. #: guix-git/doc/guix.texi:14835
  21655. #, no-wrap
  21656. msgid ""
  21657. "(cons (locale-definition\n"
  21658. " (name \"fy_DE.utf8\") (source \"fy_DE\"))\n"
  21659. " %default-locale-definitions)\n"
  21660. msgstr ""
  21661. #. type: Plain text
  21662. #: guix-git/doc/guix.texi:14839
  21663. msgid "Likewise, to save space, one might want @code{locale-definitions} to list only the locales that are actually used, as in:"
  21664. msgstr ""
  21665. #. type: lisp
  21666. #: guix-git/doc/guix.texi:14844
  21667. #, no-wrap
  21668. msgid ""
  21669. "(list (locale-definition\n"
  21670. " (name \"ja_JP.eucjp\") (source \"ja_JP\")\n"
  21671. " (charset \"EUC-JP\")))\n"
  21672. msgstr ""
  21673. #. type: Plain text
  21674. #: guix-git/doc/guix.texi:14853
  21675. 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})."
  21676. msgstr ""
  21677. #. type: Plain text
  21678. #: guix-git/doc/guix.texi:14856
  21679. msgid "The @code{locale-definition} form is provided by the @code{(gnu system locale)} module. Details are given below."
  21680. msgstr ""
  21681. #. type: deftp
  21682. #: guix-git/doc/guix.texi:14857
  21683. #, no-wrap
  21684. msgid "{Data Type} locale-definition"
  21685. msgstr ""
  21686. #. type: deftp
  21687. #: guix-git/doc/guix.texi:14859
  21688. msgid "This is the data type of a locale definition."
  21689. msgstr ""
  21690. #. type: table
  21691. #: guix-git/doc/guix.texi:14865
  21692. msgid "The name of the locale. @xref{Locale Names,,, libc, The GNU C Library Reference Manual}, for more information on locale names."
  21693. msgstr ""
  21694. #. type: table
  21695. #: guix-git/doc/guix.texi:14869
  21696. msgid "The name of the source for that locale. This is typically the @code{@var{language}_@var{territory}} part of the locale name."
  21697. msgstr ""
  21698. #. type: item
  21699. #: guix-git/doc/guix.texi:14870
  21700. #, no-wrap
  21701. msgid "@code{charset} (default: @code{\"UTF-8\"})"
  21702. msgstr ""
  21703. #. type: table
  21704. #: guix-git/doc/guix.texi:14874
  21705. msgid "The ``character set'' or ``code set'' for that locale, @uref{https://www.iana.org/assignments/character-sets, as defined by IANA}."
  21706. msgstr ""
  21707. #. type: defvr
  21708. #: guix-git/doc/guix.texi:14878
  21709. #, no-wrap
  21710. msgid "{Scheme Variable} %default-locale-definitions"
  21711. msgstr ""
  21712. #. type: defvr
  21713. #: guix-git/doc/guix.texi:14882
  21714. 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."
  21715. msgstr ""
  21716. #. type: cindex
  21717. #: guix-git/doc/guix.texi:14883
  21718. #, no-wrap
  21719. msgid "locale name"
  21720. msgstr ""
  21721. #. type: cindex
  21722. #: guix-git/doc/guix.texi:14884
  21723. #, no-wrap
  21724. msgid "normalized codeset in locale names"
  21725. msgstr ""
  21726. #. type: defvr
  21727. #: guix-git/doc/guix.texi:14890
  21728. 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}."
  21729. msgstr ""
  21730. #. type: subsection
  21731. #: guix-git/doc/guix.texi:14892
  21732. #, no-wrap
  21733. msgid "Locale Data Compatibility Considerations"
  21734. msgstr ""
  21735. #. type: cindex
  21736. #: guix-git/doc/guix.texi:14894
  21737. #, no-wrap
  21738. msgid "incompatibility, of locale data"
  21739. msgstr ""
  21740. #. type: Plain text
  21741. #: guix-git/doc/guix.texi:14901
  21742. 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."
  21743. msgstr ""
  21744. #. type: Plain text
  21745. #: guix-git/doc/guix.texi:14913
  21746. 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."
  21747. msgstr ""
  21748. #. type: Plain text
  21749. #: guix-git/doc/guix.texi:14918
  21750. 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."
  21751. msgstr ""
  21752. #. type: Plain text
  21753. #: guix-git/doc/guix.texi:14922
  21754. 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})."
  21755. msgstr ""
  21756. #. type: Plain text
  21757. #: guix-git/doc/guix.texi:14929
  21758. 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}:"
  21759. msgstr ""
  21760. #. type: lisp
  21761. #: guix-git/doc/guix.texi:14932
  21762. #, no-wrap
  21763. msgid ""
  21764. "(use-package-modules base)\n"
  21765. "\n"
  21766. msgstr ""
  21767. #. type: lisp
  21768. #: guix-git/doc/guix.texi:14936
  21769. #, no-wrap
  21770. msgid ""
  21771. "(operating-system\n"
  21772. " ;; @dots{}\n"
  21773. " (locale-libcs (list glibc-2.21 (canonical-package glibc))))\n"
  21774. msgstr ""
  21775. #. type: Plain text
  21776. #: guix-git/doc/guix.texi:14941
  21777. 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}."
  21778. msgstr ""
  21779. #. type: cindex
  21780. #: guix-git/doc/guix.texi:14946
  21781. #, no-wrap
  21782. msgid "system services"
  21783. msgstr ""
  21784. #. type: Plain text
  21785. #: guix-git/doc/guix.texi:14952
  21786. 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."
  21787. msgstr ""
  21788. #. type: Plain text
  21789. #: guix-git/doc/guix.texi:14959
  21790. 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:"
  21791. msgstr ""
  21792. #. type: example
  21793. #: guix-git/doc/guix.texi:14962
  21794. #, no-wrap
  21795. msgid "# herd status\n"
  21796. msgstr ""
  21797. #. type: Plain text
  21798. #: guix-git/doc/guix.texi:14967
  21799. 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:"
  21800. msgstr ""
  21801. #. type: example
  21802. #: guix-git/doc/guix.texi:14971
  21803. #, no-wrap
  21804. msgid ""
  21805. "# herd doc nscd\n"
  21806. "Run libc's name service cache daemon (nscd).\n"
  21807. "\n"
  21808. msgstr ""
  21809. #. type: example
  21810. #: guix-git/doc/guix.texi:14974
  21811. #, no-wrap
  21812. msgid ""
  21813. "# herd doc nscd action invalidate\n"
  21814. "invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups.\n"
  21815. msgstr ""
  21816. #. type: Plain text
  21817. #: guix-git/doc/guix.texi:14979
  21818. 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:"
  21819. msgstr ""
  21820. #. type: example
  21821. #: guix-git/doc/guix.texi:14986
  21822. #, no-wrap
  21823. msgid ""
  21824. "# herd stop nscd\n"
  21825. "Service nscd has been stopped.\n"
  21826. "# herd restart xorg-server\n"
  21827. "Service xorg-server has been stopped.\n"
  21828. "Service xorg-server has been started.\n"
  21829. msgstr ""
  21830. #. type: Plain text
  21831. #: guix-git/doc/guix.texi:14991
  21832. msgid "The following sections document the available services, starting with the core services, that may be used in an @code{operating-system} declaration."
  21833. msgstr ""
  21834. #. type: subsection
  21835. #: guix-git/doc/guix.texi:15026 guix-git/doc/guix.texi:23041
  21836. #: guix-git/doc/guix.texi:23042
  21837. #, no-wrap
  21838. msgid "File-Sharing Services"
  21839. msgstr ""
  21840. #. type: menuentry
  21841. #: guix-git/doc/guix.texi:15026
  21842. msgid "File-sharing services."
  21843. msgstr ""
  21844. #. type: Plain text
  21845. #: guix-git/doc/guix.texi:15034
  21846. 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."
  21847. msgstr ""
  21848. #. type: defvr
  21849. #: guix-git/doc/guix.texi:15035
  21850. #, no-wrap
  21851. msgid "{Scheme Variable} %base-services"
  21852. msgstr ""
  21853. #. type: defvr
  21854. #: guix-git/doc/guix.texi:15041
  21855. 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."
  21856. msgstr ""
  21857. #. type: defvr
  21858. #: guix-git/doc/guix.texi:15046
  21859. 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:"
  21860. msgstr ""
  21861. #. type: lisp
  21862. #: guix-git/doc/guix.texi:15051
  21863. #, no-wrap
  21864. msgid ""
  21865. "(append (list (service avahi-service-type)\n"
  21866. " (service openssh-service-type))\n"
  21867. " %base-services)\n"
  21868. msgstr ""
  21869. #. type: defvr
  21870. #: guix-git/doc/guix.texi:15054
  21871. #, no-wrap
  21872. msgid "{Scheme Variable} special-files-service-type"
  21873. msgstr ""
  21874. #. type: defvr
  21875. #: guix-git/doc/guix.texi:15057
  21876. 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}."
  21877. msgstr ""
  21878. #. type: defvr
  21879. #: guix-git/doc/guix.texi:15061
  21880. 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:"
  21881. msgstr ""
  21882. #. type: file{#1}
  21883. #: guix-git/doc/guix.texi:15062
  21884. #, no-wrap
  21885. msgid "/bin/sh"
  21886. msgstr ""
  21887. #. type: cindex
  21888. #: guix-git/doc/guix.texi:15063
  21889. #, no-wrap
  21890. msgid "@file{sh}, in @file{/bin}"
  21891. msgstr ""
  21892. #. type: lisp
  21893. #: guix-git/doc/guix.texi:15066
  21894. #, no-wrap
  21895. msgid "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\")))\n"
  21896. msgstr ""
  21897. #. type: file{#1}
  21898. #: guix-git/doc/guix.texi:15068
  21899. #, no-wrap
  21900. msgid "/usr/bin/env"
  21901. msgstr "/usr/bin/env"
  21902. #. type: cindex
  21903. #: guix-git/doc/guix.texi:15069
  21904. #, no-wrap
  21905. msgid "@file{env}, in @file{/usr/bin}"
  21906. msgstr ""
  21907. #. type: defvr
  21908. #: guix-git/doc/guix.texi:15072
  21909. msgid "If you want to add, say, @code{/usr/bin/env} to your system, you can change it to:"
  21910. msgstr ""
  21911. #. type: lisp
  21912. #: guix-git/doc/guix.texi:15076
  21913. #, no-wrap
  21914. msgid ""
  21915. "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\"))\n"
  21916. " (\"/usr/bin/env\" ,(file-append coreutils \"/bin/env\")))\n"
  21917. msgstr ""
  21918. #. type: defvr
  21919. #: guix-git/doc/guix.texi:15083
  21920. 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)."
  21921. msgstr ""
  21922. #. type: deffn
  21923. #: guix-git/doc/guix.texi:15085
  21924. #, no-wrap
  21925. msgid "{Scheme Procedure} extra-special-file @var{file} @var{target}"
  21926. msgstr ""
  21927. #. type: deffn
  21928. #: guix-git/doc/guix.texi:15087
  21929. msgid "Use @var{target} as the ``special file'' @var{file}."
  21930. msgstr ""
  21931. #. type: deffn
  21932. #: guix-git/doc/guix.texi:15091
  21933. 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:"
  21934. msgstr ""
  21935. #. type: lisp
  21936. #: guix-git/doc/guix.texi:15095
  21937. #, no-wrap
  21938. msgid ""
  21939. "(extra-special-file \"/usr/bin/env\"\n"
  21940. " (file-append coreutils \"/bin/env\"))\n"
  21941. msgstr ""
  21942. #. type: deffn
  21943. #: guix-git/doc/guix.texi:15098
  21944. #, no-wrap
  21945. msgid "{Scheme Procedure} host-name-service @var{name}"
  21946. msgstr ""
  21947. #. type: deffn
  21948. #: guix-git/doc/guix.texi:15100
  21949. msgid "Return a service that sets the host name to @var{name}."
  21950. msgstr ""
  21951. #. type: defvr
  21952. #: guix-git/doc/guix.texi:15102
  21953. #, no-wrap
  21954. msgid "{Scheme Variable} console-font-service-type"
  21955. msgstr ""
  21956. #. type: defvr
  21957. #: guix-git/doc/guix.texi:15107
  21958. 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:"
  21959. msgstr ""
  21960. #. type: lisp
  21961. #: guix-git/doc/guix.texi:15116
  21962. #, no-wrap
  21963. msgid ""
  21964. "`((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  21965. " (\"tty2\" . ,(file-append\n"
  21966. " font-tamzen\n"
  21967. " \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  21968. " (\"tty3\" . ,(file-append\n"
  21969. " font-terminus\n"
  21970. " \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  21971. msgstr ""
  21972. #. type: deffn
  21973. #: guix-git/doc/guix.texi:15119
  21974. #, no-wrap
  21975. msgid "{Scheme Procedure} login-service @var{config}"
  21976. msgstr ""
  21977. #. type: deffn
  21978. #: guix-git/doc/guix.texi:15123
  21979. 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."
  21980. msgstr ""
  21981. #. type: deftp
  21982. #: guix-git/doc/guix.texi:15125
  21983. #, no-wrap
  21984. msgid "{Data Type} login-configuration"
  21985. msgstr ""
  21986. #. type: deftp
  21987. #: guix-git/doc/guix.texi:15127
  21988. msgid "This is the data type representing the configuration of login."
  21989. msgstr ""
  21990. #. type: code{#1}
  21991. #: guix-git/doc/guix.texi:15130
  21992. #, no-wrap
  21993. msgid "motd"
  21994. msgstr ""
  21995. #. type: cindex
  21996. #: guix-git/doc/guix.texi:15131
  21997. #, no-wrap
  21998. msgid "message of the day"
  21999. msgstr ""
  22000. #. type: table
  22001. #: guix-git/doc/guix.texi:15133
  22002. msgid "A file-like object containing the ``message of the day''."
  22003. msgstr ""
  22004. #. type: item
  22005. #: guix-git/doc/guix.texi:15134 guix-git/doc/guix.texi:18130
  22006. #, no-wrap
  22007. msgid "@code{allow-empty-passwords?} (default: @code{#t})"
  22008. msgstr ""
  22009. #. type: table
  22010. #: guix-git/doc/guix.texi:15137
  22011. msgid "Allow empty passwords by default so that first-time users can log in when the 'root' account has just been created."
  22012. msgstr ""
  22013. #. type: deffn
  22014. #: guix-git/doc/guix.texi:15141
  22015. #, no-wrap
  22016. msgid "{Scheme Procedure} mingetty-service @var{config}"
  22017. msgstr ""
  22018. #. type: deffn
  22019. #: guix-git/doc/guix.texi:15145
  22020. 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."
  22021. msgstr ""
  22022. #. type: deftp
  22023. #: guix-git/doc/guix.texi:15147
  22024. #, no-wrap
  22025. msgid "{Data Type} mingetty-configuration"
  22026. msgstr ""
  22027. #. type: deftp
  22028. #: guix-git/doc/guix.texi:15150
  22029. msgid "This is the data type representing the configuration of Mingetty, which provides the default implementation of virtual console log-in."
  22030. msgstr ""
  22031. #. type: code{#1}
  22032. #: guix-git/doc/guix.texi:15153 guix-git/doc/guix.texi:15192
  22033. #: guix-git/doc/guix.texi:32192
  22034. #, no-wrap
  22035. msgid "tty"
  22036. msgstr ""
  22037. #. type: table
  22038. #: guix-git/doc/guix.texi:15155
  22039. msgid "The name of the console this Mingetty runs on---e.g., @code{\"tty1\"}."
  22040. msgstr ""
  22041. #. type: item
  22042. #: guix-git/doc/guix.texi:15156 guix-git/doc/guix.texi:15221
  22043. #: guix-git/doc/guix.texi:15380
  22044. #, no-wrap
  22045. msgid "@code{auto-login} (default: @code{#f})"
  22046. msgstr ""
  22047. #. type: table
  22048. #: guix-git/doc/guix.texi:15160
  22049. 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."
  22050. msgstr ""
  22051. #. type: item
  22052. #: guix-git/doc/guix.texi:15161
  22053. #, no-wrap
  22054. msgid "@code{login-program} (default: @code{#f})"
  22055. msgstr ""
  22056. #. type: table
  22057. #: guix-git/doc/guix.texi:15165
  22058. 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."
  22059. msgstr ""
  22060. #. type: item
  22061. #: guix-git/doc/guix.texi:15166
  22062. #, no-wrap
  22063. msgid "@code{login-pause?} (default: @code{#f})"
  22064. msgstr ""
  22065. #. type: table
  22066. #: guix-git/doc/guix.texi:15169
  22067. 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."
  22068. msgstr ""
  22069. #. type: item
  22070. #: guix-git/doc/guix.texi:15170
  22071. #, no-wrap
  22072. msgid "@code{clear-on-logout?} (default: @code{#t})"
  22073. msgstr ""
  22074. #. type: table
  22075. #: guix-git/doc/guix.texi:15172
  22076. msgid "When set to @code{#t}, the screen will be cleared after logout."
  22077. msgstr ""
  22078. #. type: item
  22079. #: guix-git/doc/guix.texi:15173
  22080. #, no-wrap
  22081. msgid "@code{mingetty} (default: @var{mingetty})"
  22082. msgstr ""
  22083. #. type: table
  22084. #: guix-git/doc/guix.texi:15175
  22085. msgid "The Mingetty package to use."
  22086. msgstr ""
  22087. #. type: deffn
  22088. #: guix-git/doc/guix.texi:15179
  22089. #, no-wrap
  22090. msgid "{Scheme Procedure} agetty-service @var{config}"
  22091. msgstr ""
  22092. #. type: deffn
  22093. #: guix-git/doc/guix.texi:15183
  22094. 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."
  22095. msgstr ""
  22096. #. type: deftp
  22097. #: guix-git/doc/guix.texi:15185
  22098. #, no-wrap
  22099. msgid "{Data Type} agetty-configuration"
  22100. msgstr ""
  22101. #. type: deftp
  22102. #: guix-git/doc/guix.texi:15189
  22103. 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."
  22104. msgstr ""
  22105. #. type: table
  22106. #: guix-git/doc/guix.texi:15196
  22107. 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."
  22108. msgstr ""
  22109. #. type: table
  22110. #: guix-git/doc/guix.texi:15200
  22111. 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."
  22112. msgstr ""
  22113. #. type: table
  22114. #: guix-git/doc/guix.texi:15204
  22115. 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."
  22116. msgstr ""
  22117. #. type: table
  22118. #: guix-git/doc/guix.texi:15208
  22119. 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."
  22120. msgstr ""
  22121. #. type: item
  22122. #: guix-git/doc/guix.texi:15209 guix-git/doc/guix.texi:32353
  22123. #, no-wrap
  22124. msgid "@code{baud-rate} (default: @code{#f})"
  22125. msgstr ""
  22126. #. type: table
  22127. #: guix-git/doc/guix.texi:15212
  22128. msgid "A string containing a comma-separated list of one or more baud rates, in descending order."
  22129. msgstr ""
  22130. #. type: item
  22131. #: guix-git/doc/guix.texi:15213
  22132. #, no-wrap
  22133. msgid "@code{term} (default: @code{#f})"
  22134. msgstr "@code{term} (default: @code{#f})"
  22135. #. type: table
  22136. #: guix-git/doc/guix.texi:15216
  22137. msgid "A string containing the value used for the @env{TERM} environment variable."
  22138. msgstr ""
  22139. #. type: item
  22140. #: guix-git/doc/guix.texi:15217
  22141. #, no-wrap
  22142. msgid "@code{eight-bits?} (default: @code{#f})"
  22143. msgstr ""
  22144. #. type: table
  22145. #: guix-git/doc/guix.texi:15220
  22146. msgid "When @code{#t}, the tty is assumed to be 8-bit clean, and parity detection is disabled."
  22147. msgstr ""
  22148. #. type: table
  22149. #: guix-git/doc/guix.texi:15224 guix-git/doc/guix.texi:15383
  22150. 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."
  22151. msgstr ""
  22152. #. type: item
  22153. #: guix-git/doc/guix.texi:15225
  22154. #, no-wrap
  22155. msgid "@code{no-reset?} (default: @code{#f})"
  22156. msgstr "@code{no-reset?} (default: @code{#f})"
  22157. #. type: table
  22158. #: guix-git/doc/guix.texi:15227
  22159. msgid "When @code{#t}, don't reset terminal cflags (control modes)."
  22160. msgstr ""
  22161. #. type: item
  22162. #: guix-git/doc/guix.texi:15228
  22163. #, no-wrap
  22164. msgid "@code{host} (default: @code{#f})"
  22165. msgstr "@code{host} (default: @code{#f})"
  22166. #. type: table
  22167. #: guix-git/doc/guix.texi:15231
  22168. msgid "This accepts a string containing the ``login_host'', which will be written into the @file{/var/run/utmpx} file."
  22169. msgstr ""
  22170. #. type: item
  22171. #: guix-git/doc/guix.texi:15232
  22172. #, no-wrap
  22173. msgid "@code{remote?} (default: @code{#f})"
  22174. msgstr "@code{remote?} (padrão: @code{#f})"
  22175. #. type: table
  22176. #: guix-git/doc/guix.texi:15236
  22177. 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}."
  22178. msgstr ""
  22179. #. type: item
  22180. #: guix-git/doc/guix.texi:15237
  22181. #, no-wrap
  22182. msgid "@code{flow-control?} (default: @code{#f})"
  22183. msgstr ""
  22184. #. type: table
  22185. #: guix-git/doc/guix.texi:15239
  22186. msgid "When set to @code{#t}, enable hardware (RTS/CTS) flow control."
  22187. msgstr ""
  22188. #. type: item
  22189. #: guix-git/doc/guix.texi:15240
  22190. #, no-wrap
  22191. msgid "@code{no-issue?} (default: @code{#f})"
  22192. msgstr "@code{no-issue?} (padrão: @code{#f})"
  22193. #. type: table
  22194. #: guix-git/doc/guix.texi:15243
  22195. msgid "When set to @code{#t}, the contents of the @file{/etc/issue} file will not be displayed before presenting the login prompt."
  22196. msgstr ""
  22197. #. type: item
  22198. #: guix-git/doc/guix.texi:15244
  22199. #, no-wrap
  22200. msgid "@code{init-string} (default: @code{#f})"
  22201. msgstr ""
  22202. #. type: table
  22203. #: guix-git/doc/guix.texi:15247
  22204. 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."
  22205. msgstr ""
  22206. #. type: item
  22207. #: guix-git/doc/guix.texi:15248
  22208. #, no-wrap
  22209. msgid "@code{no-clear?} (default: @code{#f})"
  22210. msgstr "@code{no-clear?} (padrão: @code{#f})"
  22211. #. type: table
  22212. #: guix-git/doc/guix.texi:15251
  22213. msgid "When set to @code{#t}, agetty will not clear the screen before showing the login prompt."
  22214. msgstr ""
  22215. #. type: item
  22216. #: guix-git/doc/guix.texi:15252
  22217. #, no-wrap
  22218. msgid "@code{login-program} (default: (file-append shadow \"/bin/login\"))"
  22219. msgstr ""
  22220. #. type: table
  22221. #: guix-git/doc/guix.texi:15256
  22222. 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."
  22223. msgstr ""
  22224. #. type: item
  22225. #: guix-git/doc/guix.texi:15257
  22226. #, no-wrap
  22227. msgid "@code{local-line} (default: @code{#f})"
  22228. msgstr ""
  22229. #. type: table
  22230. #: guix-git/doc/guix.texi:15261
  22231. 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}."
  22232. msgstr ""
  22233. #. type: item
  22234. #: guix-git/doc/guix.texi:15262
  22235. #, no-wrap
  22236. msgid "@code{extract-baud?} (default: @code{#f})"
  22237. msgstr ""
  22238. #. type: table
  22239. #: guix-git/doc/guix.texi:15265
  22240. 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."
  22241. msgstr ""
  22242. #. type: item
  22243. #: guix-git/doc/guix.texi:15266
  22244. #, no-wrap
  22245. msgid "@code{skip-login?} (default: @code{#f})"
  22246. msgstr ""
  22247. #. type: table
  22248. #: guix-git/doc/guix.texi:15270
  22249. 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."
  22250. msgstr ""
  22251. #. type: item
  22252. #: guix-git/doc/guix.texi:15271
  22253. #, no-wrap
  22254. msgid "@code{no-newline?} (default: @code{#f})"
  22255. msgstr "@code{no-newline?} (padrão: @code{#f})"
  22256. #. type: table
  22257. #: guix-git/doc/guix.texi:15274
  22258. msgid "When set to @code{#t}, do not print a newline before printing the @file{/etc/issue} file."
  22259. msgstr ""
  22260. #. type: item
  22261. #: guix-git/doc/guix.texi:15276
  22262. #, no-wrap
  22263. msgid "@code{login-options} (default: @code{#f})"
  22264. msgstr ""
  22265. #. type: table
  22266. #: guix-git/doc/guix.texi:15281
  22267. 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."
  22268. msgstr ""
  22269. #. type: item
  22270. #: guix-git/doc/guix.texi:15282
  22271. #, no-wrap
  22272. msgid "@code{login-pause} (default: @code{#f})"
  22273. msgstr ""
  22274. #. type: table
  22275. #: guix-git/doc/guix.texi:15286
  22276. 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."
  22277. msgstr ""
  22278. #. type: item
  22279. #: guix-git/doc/guix.texi:15287
  22280. #, no-wrap
  22281. msgid "@code{chroot} (default: @code{#f})"
  22282. msgstr "@code{chroot} (default: @code{#f})"
  22283. #. type: table
  22284. #: guix-git/doc/guix.texi:15290
  22285. msgid "Change root to the specified directory. This option accepts a directory path as a string."
  22286. msgstr ""
  22287. #. type: item
  22288. #: guix-git/doc/guix.texi:15291
  22289. #, no-wrap
  22290. msgid "@code{hangup?} (default: @code{#f})"
  22291. msgstr "@code{hangup?} (padrão: @code{#f})"
  22292. #. type: table
  22293. #: guix-git/doc/guix.texi:15294
  22294. msgid "Use the Linux system call @code{vhangup} to do a virtual hangup of the specified terminal."
  22295. msgstr ""
  22296. #. type: item
  22297. #: guix-git/doc/guix.texi:15295
  22298. #, no-wrap
  22299. msgid "@code{keep-baud?} (default: @code{#f})"
  22300. msgstr ""
  22301. #. type: table
  22302. #: guix-git/doc/guix.texi:15299
  22303. 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."
  22304. msgstr ""
  22305. #. type: item
  22306. #: guix-git/doc/guix.texi:15300
  22307. #, no-wrap
  22308. msgid "@code{timeout} (default: @code{#f})"
  22309. msgstr ""
  22310. #. type: table
  22311. #: guix-git/doc/guix.texi:15303
  22312. msgid "When set to an integer value, terminate if no user name could be read within @var{timeout} seconds."
  22313. msgstr ""
  22314. #. type: item
  22315. #: guix-git/doc/guix.texi:15304
  22316. #, no-wrap
  22317. msgid "@code{detect-case?} (default: @code{#f})"
  22318. msgstr ""
  22319. #. type: table
  22320. #: guix-git/doc/guix.texi:15310
  22321. 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."
  22322. msgstr ""
  22323. #. type: item
  22324. #: guix-git/doc/guix.texi:15311
  22325. #, no-wrap
  22326. msgid "@code{wait-cr?} (default: @code{#f})"
  22327. msgstr ""
  22328. #. type: table
  22329. #: guix-git/doc/guix.texi:15316
  22330. 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."
  22331. msgstr ""
  22332. #. type: item
  22333. #: guix-git/doc/guix.texi:15317
  22334. #, no-wrap
  22335. msgid "@code{no-hints?} (default: @code{#f})"
  22336. msgstr "@code{no-hints?} (padrão: @code{#f})"
  22337. #. type: table
  22338. #: guix-git/doc/guix.texi:15320
  22339. msgid "When set to @code{#t}, do not print hints about Num, Caps, and Scroll locks."
  22340. msgstr ""
  22341. #. type: item
  22342. #: guix-git/doc/guix.texi:15321
  22343. #, no-wrap
  22344. msgid "@code{no-hostname?} (default: @code{#f})"
  22345. msgstr "@code{no-hostname?} (default: @code{#f})"
  22346. #. type: table
  22347. #: guix-git/doc/guix.texi:15324
  22348. msgid "By default, the hostname is printed. When this option is set to @code{#t}, no hostname will be shown at all."
  22349. msgstr ""
  22350. #. type: item
  22351. #: guix-git/doc/guix.texi:15325
  22352. #, no-wrap
  22353. msgid "@code{long-hostname?} (default: @code{#f})"
  22354. msgstr ""
  22355. #. type: table
  22356. #: guix-git/doc/guix.texi:15329
  22357. 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."
  22358. msgstr ""
  22359. #. type: item
  22360. #: guix-git/doc/guix.texi:15330
  22361. #, no-wrap
  22362. msgid "@code{erase-characters} (default: @code{#f})"
  22363. msgstr ""
  22364. #. type: table
  22365. #: guix-git/doc/guix.texi:15333
  22366. msgid "This option accepts a string of additional characters that should be interpreted as backspace when the user types their login name."
  22367. msgstr ""
  22368. #. type: item
  22369. #: guix-git/doc/guix.texi:15334
  22370. #, no-wrap
  22371. msgid "@code{kill-characters} (default: @code{#f})"
  22372. msgstr ""
  22373. #. type: table
  22374. #: guix-git/doc/guix.texi:15338
  22375. 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."
  22376. msgstr ""
  22377. #. type: item
  22378. #: guix-git/doc/guix.texi:15339
  22379. #, no-wrap
  22380. msgid "@code{chdir} (default: @code{#f})"
  22381. msgstr "@code{chdir} (default: @code{#f})"
  22382. #. type: table
  22383. #: guix-git/doc/guix.texi:15342
  22384. msgid "This option accepts, as a string, a directory path that will be changed to before login."
  22385. msgstr ""
  22386. #. type: item
  22387. #: guix-git/doc/guix.texi:15343
  22388. #, no-wrap
  22389. msgid "@code{delay} (default: @code{#f})"
  22390. msgstr "@code{delay} (default: @code{#f})"
  22391. #. type: table
  22392. #: guix-git/doc/guix.texi:15346
  22393. msgid "This options accepts, as an integer, the number of seconds to sleep before opening the tty and displaying the login prompt."
  22394. msgstr ""
  22395. #. type: item
  22396. #: guix-git/doc/guix.texi:15347
  22397. #, no-wrap
  22398. msgid "@code{nice} (default: @code{#f})"
  22399. msgstr "@code{nice} (default: @code{#f})"
  22400. #. type: table
  22401. #: guix-git/doc/guix.texi:15350
  22402. msgid "This option accepts, as an integer, the nice value with which to run the @command{login} program."
  22403. msgstr ""
  22404. #. type: item
  22405. #: guix-git/doc/guix.texi:15351 guix-git/doc/guix.texi:15639
  22406. #: guix-git/doc/guix.texi:16510 guix-git/doc/guix.texi:24024
  22407. #: guix-git/doc/guix.texi:25500 guix-git/doc/guix.texi:27907
  22408. #: guix-git/doc/guix.texi:28702 guix-git/doc/guix.texi:30402
  22409. #: guix-git/doc/guix.texi:32683
  22410. #, no-wrap
  22411. msgid "@code{extra-options} (default: @code{'()})"
  22412. msgstr ""
  22413. #. type: table
  22414. #: guix-git/doc/guix.texi:15354
  22415. msgid "This option provides an ``escape hatch'' for the user to provide arbitrary command-line arguments to @command{agetty} as a list of strings."
  22416. msgstr ""
  22417. #. type: deffn
  22418. #: guix-git/doc/guix.texi:15358
  22419. #, no-wrap
  22420. msgid "{Scheme Procedure} kmscon-service-type @var{config}"
  22421. msgstr ""
  22422. #. type: deffn
  22423. #: guix-git/doc/guix.texi:15362
  22424. 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."
  22425. msgstr ""
  22426. #. type: deftp
  22427. #: guix-git/doc/guix.texi:15364
  22428. #, no-wrap
  22429. msgid "{Data Type} kmscon-configuration"
  22430. msgstr ""
  22431. #. type: deftp
  22432. #: guix-git/doc/guix.texi:15367
  22433. msgid "This is the data type representing the configuration of Kmscon, which implements virtual console log-in."
  22434. msgstr ""
  22435. #. type: code{#1}
  22436. #: guix-git/doc/guix.texi:15370
  22437. #, no-wrap
  22438. msgid "virtual-terminal"
  22439. msgstr ""
  22440. #. type: table
  22441. #: guix-git/doc/guix.texi:15372
  22442. msgid "The name of the console this Kmscon runs on---e.g., @code{\"tty1\"}."
  22443. msgstr ""
  22444. #. type: item
  22445. #: guix-git/doc/guix.texi:15373
  22446. #, no-wrap
  22447. msgid "@code{login-program} (default: @code{#~(string-append #$shadow \"/bin/login\")})"
  22448. msgstr ""
  22449. #. type: table
  22450. #: guix-git/doc/guix.texi:15376
  22451. msgid "A gexp denoting the name of the log-in program. The default log-in program is @command{login} from the Shadow tool suite."
  22452. msgstr ""
  22453. #. type: item
  22454. #: guix-git/doc/guix.texi:15377
  22455. #, no-wrap
  22456. msgid "@code{login-arguments} (default: @code{'(\"-p\")})"
  22457. msgstr ""
  22458. #. type: table
  22459. #: guix-git/doc/guix.texi:15379
  22460. msgid "A list of arguments to pass to @command{login}."
  22461. msgstr ""
  22462. #. type: item
  22463. #: guix-git/doc/guix.texi:15384
  22464. #, no-wrap
  22465. msgid "@code{hardware-acceleration?} (default: #f)"
  22466. msgstr ""
  22467. #. type: table
  22468. #: guix-git/doc/guix.texi:15386
  22469. msgid "Whether to use hardware acceleration."
  22470. msgstr ""
  22471. #. type: item
  22472. #: guix-git/doc/guix.texi:15387
  22473. #, fuzzy, no-wrap
  22474. msgid "@code{font-engine} (default: @code{\"pango\"})"
  22475. msgstr "@code{no-newline?} (padrão: @code{#f})"
  22476. #. type: table
  22477. #: guix-git/doc/guix.texi:15389
  22478. msgid "Font engine used in Kmscon."
  22479. msgstr ""
  22480. #. type: item
  22481. #: guix-git/doc/guix.texi:15390
  22482. #, fuzzy, no-wrap
  22483. msgid "@code{font-size} (default: @code{12})"
  22484. msgstr "@code{max-zone-size} (default: @code{#f})"
  22485. #. type: table
  22486. #: guix-git/doc/guix.texi:15392
  22487. msgid "Font size used in Kmscon."
  22488. msgstr ""
  22489. #. type: table
  22490. #: guix-git/doc/guix.texi:15396
  22491. msgid "If this is @code{#f}, Kmscon uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  22492. msgstr ""
  22493. #. type: table
  22494. #: guix-git/doc/guix.texi:15400
  22495. 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."
  22496. msgstr ""
  22497. #. type: item
  22498. #: guix-git/doc/guix.texi:15401
  22499. #, no-wrap
  22500. msgid "@code{kmscon} (default: @var{kmscon})"
  22501. msgstr ""
  22502. #. type: table
  22503. #: guix-git/doc/guix.texi:15403
  22504. msgid "The Kmscon package to use."
  22505. msgstr ""
  22506. #. type: cindex
  22507. #: guix-git/doc/guix.texi:15407
  22508. #, no-wrap
  22509. msgid "name service cache daemon"
  22510. msgstr ""
  22511. #. type: cindex
  22512. #: guix-git/doc/guix.texi:15408
  22513. #, no-wrap
  22514. msgid "nscd"
  22515. msgstr ""
  22516. #. type: deffn
  22517. #: guix-git/doc/guix.texi:15409
  22518. #, no-wrap
  22519. msgid "{Scheme Procedure} nscd-service [@var{config}] [#:glibc glibc] @"
  22520. msgstr ""
  22521. #. type: deffn
  22522. #: guix-git/doc/guix.texi:15414
  22523. 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."
  22524. msgstr ""
  22525. #. type: deffn
  22526. #: guix-git/doc/guix.texi:15416
  22527. msgid "For convenience, the Shepherd service for nscd provides the following actions:"
  22528. msgstr ""
  22529. #. type: item
  22530. #: guix-git/doc/guix.texi:15418
  22531. #, no-wrap
  22532. msgid "invalidate"
  22533. msgstr ""
  22534. #. type: cindex
  22535. #: guix-git/doc/guix.texi:15419
  22536. #, no-wrap
  22537. msgid "cache invalidation, nscd"
  22538. msgstr ""
  22539. #. type: cindex
  22540. #: guix-git/doc/guix.texi:15420
  22541. #, no-wrap
  22542. msgid "nscd, cache invalidation"
  22543. msgstr ""
  22544. #. type: table
  22545. #: guix-git/doc/guix.texi:15422
  22546. msgid "This invalidate the given cache. For instance, running:"
  22547. msgstr ""
  22548. #. type: example
  22549. #: guix-git/doc/guix.texi:15425
  22550. #, no-wrap
  22551. msgid "herd invalidate nscd hosts\n"
  22552. msgstr ""
  22553. #. type: table
  22554. #: guix-git/doc/guix.texi:15429
  22555. msgid "invalidates the host name lookup cache of nscd."
  22556. msgstr ""
  22557. #. type: item
  22558. #: guix-git/doc/guix.texi:15430
  22559. #, no-wrap
  22560. msgid "statistics"
  22561. msgstr ""
  22562. #. type: table
  22563. #: guix-git/doc/guix.texi:15433
  22564. msgid "Running @command{herd statistics nscd} displays information about nscd usage and caches."
  22565. msgstr ""
  22566. #. type: defvr
  22567. #: guix-git/doc/guix.texi:15437
  22568. #, no-wrap
  22569. msgid "{Scheme Variable} %nscd-default-configuration"
  22570. msgstr ""
  22571. #. type: defvr
  22572. #: guix-git/doc/guix.texi:15441
  22573. 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."
  22574. msgstr ""
  22575. #. type: deftp
  22576. #: guix-git/doc/guix.texi:15443
  22577. #, no-wrap
  22578. msgid "{Data Type} nscd-configuration"
  22579. msgstr ""
  22580. #. type: deftp
  22581. #: guix-git/doc/guix.texi:15446
  22582. msgid "This is the data type representing the name service cache daemon (nscd) configuration."
  22583. msgstr ""
  22584. #. type: item
  22585. #: guix-git/doc/guix.texi:15449
  22586. #, no-wrap
  22587. msgid "@code{name-services} (default: @code{'()})"
  22588. msgstr ""
  22589. #. type: table
  22590. #: guix-git/doc/guix.texi:15452
  22591. msgid "List of packages denoting @dfn{name services} that must be visible to the nscd---e.g., @code{(list @var{nss-mdns})}."
  22592. msgstr ""
  22593. #. type: item
  22594. #: guix-git/doc/guix.texi:15453
  22595. #, no-wrap
  22596. msgid "@code{glibc} (default: @var{glibc})"
  22597. msgstr ""
  22598. #. type: table
  22599. #: guix-git/doc/guix.texi:15456
  22600. msgid "Package object denoting the GNU C Library providing the @command{nscd} command."
  22601. msgstr ""
  22602. #. type: item
  22603. #: guix-git/doc/guix.texi:15457
  22604. #, no-wrap
  22605. msgid "@code{log-file} (default: @code{\"/var/log/nscd.log\"})"
  22606. msgstr ""
  22607. #. type: table
  22608. #: guix-git/doc/guix.texi:15460
  22609. msgid "Name of the nscd log file. This is where debugging output goes when @code{debug-level} is strictly positive."
  22610. msgstr ""
  22611. #. type: item
  22612. #: guix-git/doc/guix.texi:15461
  22613. #, no-wrap
  22614. msgid "@code{debug-level} (default: @code{0})"
  22615. msgstr ""
  22616. #. type: table
  22617. #: guix-git/doc/guix.texi:15464
  22618. msgid "Integer denoting the debugging levels. Higher numbers mean that more debugging output is logged."
  22619. msgstr ""
  22620. #. type: item
  22621. #: guix-git/doc/guix.texi:15465
  22622. #, no-wrap
  22623. msgid "@code{caches} (default: @code{%nscd-default-caches})"
  22624. msgstr ""
  22625. #. type: table
  22626. #: guix-git/doc/guix.texi:15468
  22627. msgid "List of @code{<nscd-cache>} objects denoting things to be cached; see below."
  22628. msgstr ""
  22629. #. type: deftp
  22630. #: guix-git/doc/guix.texi:15472
  22631. #, no-wrap
  22632. msgid "{Data Type} nscd-cache"
  22633. msgstr ""
  22634. #. type: deftp
  22635. #: guix-git/doc/guix.texi:15474
  22636. msgid "Data type representing a cache database of nscd and its parameters."
  22637. msgstr ""
  22638. #. type: cindex
  22639. #: guix-git/doc/guix.texi:15477 guix-git/doc/guix.texi:19914
  22640. #, no-wrap
  22641. msgid "database"
  22642. msgstr ""
  22643. #. type: table
  22644. #: guix-git/doc/guix.texi:15482
  22645. 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})."
  22646. msgstr ""
  22647. #. type: code{#1}
  22648. #: guix-git/doc/guix.texi:15483
  22649. #, no-wrap
  22650. msgid "positive-time-to-live"
  22651. msgstr ""
  22652. #. type: itemx
  22653. #: guix-git/doc/guix.texi:15484
  22654. #, no-wrap
  22655. msgid "@code{negative-time-to-live} (default: @code{20})"
  22656. msgstr ""
  22657. #. type: table
  22658. #: guix-git/doc/guix.texi:15487
  22659. msgid "A number representing the number of seconds during which a positive or negative lookup result remains in cache."
  22660. msgstr ""
  22661. #. type: item
  22662. #: guix-git/doc/guix.texi:15488
  22663. #, no-wrap
  22664. msgid "@code{check-files?} (default: @code{#t})"
  22665. msgstr ""
  22666. #. type: table
  22667. #: guix-git/doc/guix.texi:15491
  22668. msgid "Whether to check for updates of the files corresponding to @var{database}."
  22669. msgstr ""
  22670. #. type: table
  22671. #: guix-git/doc/guix.texi:15495
  22672. 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."
  22673. msgstr ""
  22674. #. type: item
  22675. #: guix-git/doc/guix.texi:15496
  22676. #, no-wrap
  22677. msgid "@code{persistent?} (default: @code{#t})"
  22678. msgstr "@code{persistent?} (padrão: @code{#t})"
  22679. #. type: table
  22680. #: guix-git/doc/guix.texi:15498
  22681. msgid "Whether the cache should be stored persistently on disk."
  22682. msgstr ""
  22683. #. type: item
  22684. #: guix-git/doc/guix.texi:15499
  22685. #, no-wrap
  22686. msgid "@code{shared?} (default: @code{#t})"
  22687. msgstr "@code{shared?} (padrão: @code{#t})"
  22688. #. type: table
  22689. #: guix-git/doc/guix.texi:15501
  22690. msgid "Whether the cache should be shared among users."
  22691. msgstr ""
  22692. #. type: item
  22693. #: guix-git/doc/guix.texi:15502
  22694. #, no-wrap
  22695. msgid "@code{max-database-size} (default: 32@tie{}MiB)"
  22696. msgstr ""
  22697. #. type: table
  22698. #: guix-git/doc/guix.texi:15504
  22699. msgid "Maximum size in bytes of the database cache."
  22700. msgstr ""
  22701. #. type: defvr
  22702. #: guix-git/doc/guix.texi:15511
  22703. #, no-wrap
  22704. msgid "{Scheme Variable} %nscd-default-caches"
  22705. msgstr ""
  22706. #. type: defvr
  22707. #: guix-git/doc/guix.texi:15514
  22708. msgid "List of @code{<nscd-cache>} objects used by default by @code{nscd-configuration} (see above)."
  22709. msgstr ""
  22710. #. type: defvr
  22711. #: guix-git/doc/guix.texi:15520
  22712. 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."
  22713. msgstr ""
  22714. #. type: anchor{#1}
  22715. #: guix-git/doc/guix.texi:15523
  22716. msgid "syslog-configuration-type"
  22717. msgstr ""
  22718. #. type: cindex
  22719. #: guix-git/doc/guix.texi:15523 guix-git/doc/guix.texi:15539
  22720. #, no-wrap
  22721. msgid "syslog"
  22722. msgstr ""
  22723. #. type: cindex
  22724. #: guix-git/doc/guix.texi:15524 guix-git/doc/guix.texi:16110
  22725. #, no-wrap
  22726. msgid "logging"
  22727. msgstr ""
  22728. #. type: deftp
  22729. #: guix-git/doc/guix.texi:15525
  22730. #, no-wrap
  22731. msgid "{Data Type} syslog-configuration"
  22732. msgstr ""
  22733. #. type: deftp
  22734. #: guix-git/doc/guix.texi:15527
  22735. msgid "This data type represents the configuration of the syslog daemon."
  22736. msgstr ""
  22737. #. type: item
  22738. #: guix-git/doc/guix.texi:15529
  22739. #, no-wrap
  22740. msgid "@code{syslogd} (default: @code{#~(string-append #$inetutils \"/libexec/syslogd\")})"
  22741. msgstr ""
  22742. #. type: table
  22743. #: guix-git/doc/guix.texi:15531
  22744. msgid "The syslog daemon to use."
  22745. msgstr ""
  22746. #. type: item
  22747. #: guix-git/doc/guix.texi:15532
  22748. #, no-wrap
  22749. msgid "@code{config-file} (default: @code{%default-syslog.conf})"
  22750. msgstr ""
  22751. #. type: table
  22752. #: guix-git/doc/guix.texi:15534
  22753. msgid "The syslog configuration file to use."
  22754. msgstr ""
  22755. #. type: anchor{#1}
  22756. #: guix-git/doc/guix.texi:15539
  22757. msgid "syslog-service"
  22758. msgstr ""
  22759. #. type: deffn
  22760. #: guix-git/doc/guix.texi:15540
  22761. #, no-wrap
  22762. msgid "{Scheme Procedure} syslog-service @var{config}"
  22763. msgstr ""
  22764. #. type: deffn
  22765. #: guix-git/doc/guix.texi:15542
  22766. msgid "Return a service that runs a syslog daemon according to @var{config}."
  22767. msgstr ""
  22768. #. type: deffn
  22769. #: guix-git/doc/guix.texi:15545
  22770. msgid "@xref{syslogd invocation,,, inetutils, GNU Inetutils}, for more information on the configuration file syntax."
  22771. msgstr ""
  22772. #. type: defvr
  22773. #: guix-git/doc/guix.texi:15547
  22774. #, no-wrap
  22775. msgid "{Scheme Variable} guix-service-type"
  22776. msgstr ""
  22777. #. type: defvr
  22778. #: guix-git/doc/guix.texi:15551
  22779. 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."
  22780. msgstr ""
  22781. #. type: anchor{#1}
  22782. #: guix-git/doc/guix.texi:15554
  22783. msgid "guix-configuration-type"
  22784. msgstr "guix-configuration-type"
  22785. #. type: deftp
  22786. #: guix-git/doc/guix.texi:15554
  22787. #, no-wrap
  22788. msgid "{Data Type} guix-configuration"
  22789. msgstr ""
  22790. #. type: deftp
  22791. #: guix-git/doc/guix.texi:15557
  22792. msgid "This data type represents the configuration of the Guix build daemon. @xref{Invoking guix-daemon}, for more information."
  22793. msgstr ""
  22794. #. type: item
  22795. #: guix-git/doc/guix.texi:15559
  22796. #, no-wrap
  22797. msgid "@code{guix} (default: @var{guix})"
  22798. msgstr "@code{guix} (default: @var{guix})"
  22799. #. type: table
  22800. #: guix-git/doc/guix.texi:15561 guix-git/doc/guix.texi:15838
  22801. msgid "The Guix package to use."
  22802. msgstr ""
  22803. #. type: item
  22804. #: guix-git/doc/guix.texi:15562
  22805. #, no-wrap
  22806. msgid "@code{build-group} (default: @code{\"guixbuild\"})"
  22807. msgstr ""
  22808. #. type: table
  22809. #: guix-git/doc/guix.texi:15564
  22810. msgid "Name of the group for build user accounts."
  22811. msgstr ""
  22812. #. type: item
  22813. #: guix-git/doc/guix.texi:15565
  22814. #, no-wrap
  22815. msgid "@code{build-accounts} (default: @code{10})"
  22816. msgstr ""
  22817. #. type: table
  22818. #: guix-git/doc/guix.texi:15567
  22819. msgid "Number of build user accounts to create."
  22820. msgstr ""
  22821. #. type: item
  22822. #: guix-git/doc/guix.texi:15568
  22823. #, no-wrap
  22824. msgid "@code{authorize-key?} (default: @code{#t})"
  22825. msgstr ""
  22826. #. type: table
  22827. #: guix-git/doc/guix.texi:15575
  22828. 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})."
  22829. msgstr ""
  22830. #. type: table
  22831. #: guix-git/doc/guix.texi:15581
  22832. 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."
  22833. msgstr ""
  22834. #. type: quotation
  22835. #: guix-git/doc/guix.texi:15588
  22836. 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}."
  22837. msgstr ""
  22838. #. type: vindex
  22839. #: guix-git/doc/guix.texi:15590
  22840. #, no-wrap
  22841. msgid "%default-authorized-guix-keys"
  22842. msgstr ""
  22843. #. type: item
  22844. #: guix-git/doc/guix.texi:15591
  22845. #, no-wrap
  22846. msgid "@code{authorized-keys} (default: @code{%default-authorized-guix-keys})"
  22847. msgstr ""
  22848. #. type: table
  22849. #: guix-git/doc/guix.texi:15597
  22850. 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."
  22851. msgstr ""
  22852. #. type: item
  22853. #: guix-git/doc/guix.texi:15598
  22854. #, no-wrap
  22855. msgid "@code{use-substitutes?} (default: @code{#t})"
  22856. msgstr ""
  22857. #. type: table
  22858. #: guix-git/doc/guix.texi:15600
  22859. msgid "Whether to use substitutes."
  22860. msgstr ""
  22861. #. type: item
  22862. #: guix-git/doc/guix.texi:15601 guix-git/doc/guix.texi:28004
  22863. #, no-wrap
  22864. msgid "@code{substitute-urls} (default: @code{%default-substitute-urls})"
  22865. msgstr ""
  22866. #. type: table
  22867. #: guix-git/doc/guix.texi:15603 guix-git/doc/guix.texi:28006
  22868. msgid "The list of URLs where to look for substitutes by default."
  22869. msgstr ""
  22870. #. type: table
  22871. #: guix-git/doc/guix.texi:15610
  22872. 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:"
  22873. msgstr ""
  22874. #. type: lisp
  22875. #: guix-git/doc/guix.texi:15619
  22876. #, no-wrap
  22877. msgid ""
  22878. "(guix-configuration\n"
  22879. " (substitute-urls\n"
  22880. " (append (list \"https://guix.example.org\")\n"
  22881. " %default-substitute-urls))\n"
  22882. " (authorized-keys\n"
  22883. " (append (list (local-file \"./guix.example.org-key.pub\"))\n"
  22884. " %default-authorized-guix-keys)))\n"
  22885. msgstr ""
  22886. #. type: table
  22887. #: guix-git/doc/guix.texi:15624
  22888. 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."
  22889. msgstr ""
  22890. #. type: item
  22891. #: guix-git/doc/guix.texi:15625
  22892. #, no-wrap
  22893. msgid "@code{max-silent-time} (default: @code{0})"
  22894. msgstr ""
  22895. #. type: itemx
  22896. #: guix-git/doc/guix.texi:15626
  22897. #, no-wrap
  22898. msgid "@code{timeout} (default: @code{0})"
  22899. msgstr ""
  22900. #. type: table
  22901. #: guix-git/doc/guix.texi:15630
  22902. 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."
  22903. msgstr ""
  22904. #. type: item
  22905. #: guix-git/doc/guix.texi:15631
  22906. #, no-wrap
  22907. msgid "@code{log-compression} (default: @code{'bzip2})"
  22908. msgstr ""
  22909. #. type: table
  22910. #: guix-git/doc/guix.texi:15634
  22911. msgid "The type of compression used for build logs---one of @code{gzip}, @code{bzip2}, or @code{none}."
  22912. msgstr ""
  22913. #. type: item
  22914. #: guix-git/doc/guix.texi:15635
  22915. #, no-wrap
  22916. msgid "@code{discover?} (default: @code{#f})"
  22917. msgstr ""
  22918. #. type: table
  22919. #: guix-git/doc/guix.texi:15641
  22920. msgid "List of extra command-line options for @command{guix-daemon}."
  22921. msgstr ""
  22922. #. type: item
  22923. #: guix-git/doc/guix.texi:15642
  22924. #, no-wrap
  22925. msgid "@code{log-file} (default: @code{\"/var/log/guix-daemon.log\"})"
  22926. msgstr ""
  22927. #. type: table
  22928. #: guix-git/doc/guix.texi:15645
  22929. msgid "File where @command{guix-daemon}'s standard output and standard error are written."
  22930. msgstr ""
  22931. #. type: cindex
  22932. #: guix-git/doc/guix.texi:15646
  22933. #, no-wrap
  22934. msgid "HTTP proxy, for @code{guix-daemon}"
  22935. msgstr ""
  22936. #. type: cindex
  22937. #: guix-git/doc/guix.texi:15647
  22938. #, no-wrap
  22939. msgid "proxy, for @code{guix-daemon} HTTP access"
  22940. msgstr ""
  22941. #. type: item
  22942. #: guix-git/doc/guix.texi:15648
  22943. #, no-wrap
  22944. msgid "@code{http-proxy} (default: @code{#f})"
  22945. msgstr ""
  22946. #. type: table
  22947. #: guix-git/doc/guix.texi:15651
  22948. msgid "The URL of the HTTP and HTTPS proxy used for downloading fixed-output derivations and substitutes."
  22949. msgstr ""
  22950. #. type: table
  22951. #: guix-git/doc/guix.texi:15654
  22952. msgid "It is also possible to change the daemon's proxy at run time through the @code{set-http-proxy} action, which restarts it:"
  22953. msgstr ""
  22954. #. type: example
  22955. #: guix-git/doc/guix.texi:15657
  22956. #, no-wrap
  22957. msgid "herd set-http-proxy guix-daemon http://localhost:8118\n"
  22958. msgstr ""
  22959. #. type: table
  22960. #: guix-git/doc/guix.texi:15660
  22961. msgid "To clear the proxy settings, run:"
  22962. msgstr ""
  22963. #. type: example
  22964. #: guix-git/doc/guix.texi:15663
  22965. #, no-wrap
  22966. msgid "herd set-http-proxy guix-daemon\n"
  22967. msgstr ""
  22968. #. type: item
  22969. #: guix-git/doc/guix.texi:15665
  22970. #, no-wrap
  22971. msgid "@code{tmpdir} (default: @code{#f})"
  22972. msgstr "@code{tmpdir} (default: @code{#f})"
  22973. #. type: table
  22974. #: guix-git/doc/guix.texi:15667
  22975. msgid "A directory path where the @command{guix-daemon} will perform builds."
  22976. msgstr ""
  22977. #. type: deffn
  22978. #: guix-git/doc/guix.texi:15671
  22979. #, no-wrap
  22980. msgid "{Scheme Procedure} udev-service [#:udev @var{eudev} #:rules @code{'()}]"
  22981. msgstr ""
  22982. #. type: deffn
  22983. #: guix-git/doc/guix.texi:15677
  22984. 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."
  22985. msgstr ""
  22986. #. type: deffn
  22987. #: guix-git/doc/guix.texi:15680
  22988. msgid "The @command{herd rules udev} command, as root, returns the name of the directory containing all the active udev rules."
  22989. msgstr ""
  22990. #. type: deffn
  22991. #: guix-git/doc/guix.texi:15682
  22992. #, no-wrap
  22993. msgid "{Scheme Procedure} udev-rule [@var{file-name} @var{contents}]"
  22994. msgstr ""
  22995. #. type: deffn
  22996. #: guix-git/doc/guix.texi:15685
  22997. msgid "Return a udev-rule file named @var{file-name} containing the rules defined by the @var{contents} literal."
  22998. msgstr ""
  22999. #. type: deffn
  23000. #: guix-git/doc/guix.texi:15689
  23001. 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."
  23002. msgstr ""
  23003. #. type: lisp
  23004. #: guix-git/doc/guix.texi:15697
  23005. #, no-wrap
  23006. msgid ""
  23007. "(define %example-udev-rule\n"
  23008. " (udev-rule\n"
  23009. " \"90-usb-thing.rules\"\n"
  23010. " (string-append \"ACTION==\\\"add\\\", SUBSYSTEM==\\\"usb\\\", \"\n"
  23011. " \"ATTR@{product@}==\\\"Example\\\", \"\n"
  23012. " \"RUN+=\\\"/path/to/script\\\"\")))\n"
  23013. msgstr ""
  23014. #. type: deffn
  23015. #: guix-git/doc/guix.texi:15700
  23016. #, no-wrap
  23017. msgid "{Scheme Procedure} udev-rules-service [@var{name} @var{rules}] @"
  23018. msgstr ""
  23019. #. type: deffn
  23020. #: guix-git/doc/guix.texi:15707
  23021. 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."
  23022. msgstr ""
  23023. #. type: deffn
  23024. #: guix-git/doc/guix.texi:15710
  23025. msgid "Here we show how it can be used to extend @code{udev-service-type} with the previously defined rule @code{%example-udev-rule}."
  23026. msgstr ""
  23027. #. type: lisp
  23028. #: guix-git/doc/guix.texi:15717
  23029. #, no-wrap
  23030. msgid ""
  23031. "(operating-system\n"
  23032. " ;; @dots{}\n"
  23033. " (services\n"
  23034. " (cons (udev-rules-service 'usb-thing %example-udev-rule)\n"
  23035. " %desktop-services)))\n"
  23036. msgstr ""
  23037. #. type: deffn
  23038. #: guix-git/doc/guix.texi:15720
  23039. #, no-wrap
  23040. msgid "{Scheme Procedure} file->udev-rule [@var{file-name} @var{file}]"
  23041. msgstr ""
  23042. #. type: deffn
  23043. #: guix-git/doc/guix.texi:15723
  23044. msgid "Return a udev file named @var{file-name} containing the rules defined within @var{file}, a file-like object."
  23045. msgstr ""
  23046. #. type: deffn
  23047. #: guix-git/doc/guix.texi:15725
  23048. msgid "The following example showcases how we can use an existing rule file."
  23049. msgstr ""
  23050. #. type: lisp
  23051. #: guix-git/doc/guix.texi:15730
  23052. #, no-wrap
  23053. msgid ""
  23054. "(use-modules (guix download) ;for url-fetch\n"
  23055. " (guix packages) ;for origin\n"
  23056. " @dots{})\n"
  23057. "\n"
  23058. msgstr ""
  23059. #. type: lisp
  23060. #: guix-git/doc/guix.texi:15741
  23061. #, no-wrap
  23062. msgid ""
  23063. "(define %android-udev-rules\n"
  23064. " (file->udev-rule\n"
  23065. " \"51-android-udev.rules\"\n"
  23066. " (let ((version \"20170910\"))\n"
  23067. " (origin\n"
  23068. " (method url-fetch)\n"
  23069. " (uri (string-append \"https://raw.githubusercontent.com/M0Rf30/\"\n"
  23070. " \"android-udev-rules/\" version \"/51-android.rules\"))\n"
  23071. " (sha256\n"
  23072. " (base32 \"0lmmagpyb6xsq6zcr2w1cyx9qmjqmajkvrdbhjx32gqf1d9is003\"))))))\n"
  23073. msgstr ""
  23074. #. type: Plain text
  23075. #: guix-git/doc/guix.texi:15750
  23076. 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."
  23077. msgstr ""
  23078. #. type: Plain text
  23079. #: guix-git/doc/guix.texi:15759
  23080. 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."
  23081. msgstr ""
  23082. #. type: lisp
  23083. #: guix-git/doc/guix.texi:15764
  23084. #, no-wrap
  23085. msgid ""
  23086. "(use-modules (gnu packages android) ;for android-udev-rules\n"
  23087. " (gnu system shadow) ;for user-group\n"
  23088. " @dots{})\n"
  23089. "\n"
  23090. msgstr ""
  23091. #. type: lisp
  23092. #: guix-git/doc/guix.texi:15777
  23093. #, no-wrap
  23094. msgid ""
  23095. "(operating-system\n"
  23096. " ;; @dots{}\n"
  23097. " (users (cons (user-account\n"
  23098. " ;; @dots{}\n"
  23099. " (supplementary-groups\n"
  23100. " '(\"adbusers\" ;for adb\n"
  23101. " \"wheel\" \"netdev\" \"audio\" \"video\")))))\n"
  23102. " ;; @dots{}\n"
  23103. " (services\n"
  23104. " (cons (udev-rules-service 'android android-udev-rules\n"
  23105. " #:groups '(\"adbusers\"))\n"
  23106. " %desktop-services)))\n"
  23107. msgstr ""
  23108. #. type: defvr
  23109. #: guix-git/doc/guix.texi:15779
  23110. #, no-wrap
  23111. msgid "{Scheme Variable} urandom-seed-service-type"
  23112. msgstr ""
  23113. #. type: defvr
  23114. #: guix-git/doc/guix.texi:15784
  23115. 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."
  23116. msgstr ""
  23117. #. type: defvr
  23118. #: guix-git/doc/guix.texi:15786
  23119. #, no-wrap
  23120. msgid "{Scheme Variable} %random-seed-file"
  23121. msgstr ""
  23122. #. type: defvr
  23123. #: guix-git/doc/guix.texi:15790
  23124. 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}."
  23125. msgstr ""
  23126. #. type: cindex
  23127. #: guix-git/doc/guix.texi:15792
  23128. #, no-wrap
  23129. msgid "mouse"
  23130. msgstr "mouse"
  23131. #. type: cindex
  23132. #: guix-git/doc/guix.texi:15793
  23133. #, no-wrap
  23134. msgid "gpm"
  23135. msgstr ""
  23136. #. type: defvr
  23137. #: guix-git/doc/guix.texi:15794
  23138. #, no-wrap
  23139. msgid "{Scheme Variable} gpm-service-type"
  23140. msgstr ""
  23141. #. type: defvr
  23142. #: guix-git/doc/guix.texi:15799
  23143. 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."
  23144. msgstr ""
  23145. #. type: defvr
  23146. #: guix-git/doc/guix.texi:15802
  23147. 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}."
  23148. msgstr ""
  23149. #. type: deftp
  23150. #: guix-git/doc/guix.texi:15804
  23151. #, no-wrap
  23152. msgid "{Data Type} gpm-configuration"
  23153. msgstr ""
  23154. #. type: deftp
  23155. #: guix-git/doc/guix.texi:15806
  23156. msgid "Data type representing the configuration of GPM."
  23157. msgstr ""
  23158. #. type: item
  23159. #: guix-git/doc/guix.texi:15808
  23160. #, no-wrap
  23161. msgid "@code{options} (default: @code{%default-gpm-options})"
  23162. msgstr ""
  23163. #. type: table
  23164. #: guix-git/doc/guix.texi:15813
  23165. 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."
  23166. msgstr ""
  23167. #. type: item
  23168. #: guix-git/doc/guix.texi:15814
  23169. #, no-wrap
  23170. msgid "@code{gpm} (default: @code{gpm})"
  23171. msgstr ""
  23172. #. type: table
  23173. #: guix-git/doc/guix.texi:15816
  23174. msgid "The GPM package to use."
  23175. msgstr "O pacote GPM a ser usado."
  23176. #. type: anchor{#1}
  23177. #: guix-git/doc/guix.texi:15821
  23178. msgid "guix-publish-service-type"
  23179. msgstr "guix-publish-service-type"
  23180. #. type: deffn
  23181. #: guix-git/doc/guix.texi:15821
  23182. #, no-wrap
  23183. msgid "{Scheme Variable} guix-publish-service-type"
  23184. msgstr ""
  23185. #. type: deffn
  23186. #: guix-git/doc/guix.texi:15825
  23187. 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."
  23188. msgstr ""
  23189. #. type: deffn
  23190. #: guix-git/doc/guix.texi:15829
  23191. 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."
  23192. msgstr ""
  23193. #. type: deftp
  23194. #: guix-git/doc/guix.texi:15831
  23195. #, no-wrap
  23196. msgid "{Data Type} guix-publish-configuration"
  23197. msgstr ""
  23198. #. type: deftp
  23199. #: guix-git/doc/guix.texi:15834
  23200. msgid "Data type representing the configuration of the @code{guix publish} service."
  23201. msgstr ""
  23202. #. type: item
  23203. #: guix-git/doc/guix.texi:15836
  23204. #, no-wrap
  23205. msgid "@code{guix} (default: @code{guix})"
  23206. msgstr ""
  23207. #. type: item
  23208. #: guix-git/doc/guix.texi:15839 guix-git/doc/guix.texi:30257
  23209. #, no-wrap
  23210. msgid "@code{port} (default: @code{80})"
  23211. msgstr ""
  23212. #. type: table
  23213. #: guix-git/doc/guix.texi:15841
  23214. msgid "The TCP port to listen for connections."
  23215. msgstr ""
  23216. #. type: item
  23217. #: guix-git/doc/guix.texi:15842 guix-git/doc/guix.texi:27887
  23218. #, no-wrap
  23219. msgid "@code{host} (default: @code{\"localhost\"})"
  23220. msgstr ""
  23221. #. type: table
  23222. #: guix-git/doc/guix.texi:15845
  23223. msgid "The host (and thus, network interface) to listen to. Use @code{\"0.0.0.0\"} to listen on all the network interfaces."
  23224. msgstr ""
  23225. #. type: item
  23226. #: guix-git/doc/guix.texi:15846
  23227. #, no-wrap
  23228. msgid "@code{advertise?} (default: @code{#f})"
  23229. msgstr ""
  23230. #. type: table
  23231. #: guix-git/doc/guix.texi:15849
  23232. msgid "When true, advertise the service on the local network @i{via} the DNS-SD protocol, using Avahi."
  23233. msgstr ""
  23234. #. type: table
  23235. #: guix-git/doc/guix.texi:15853
  23236. 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."
  23237. msgstr ""
  23238. #. type: item
  23239. #: guix-git/doc/guix.texi:15854
  23240. #, fuzzy, no-wrap
  23241. msgid "@code{compression} (default: @code{'((\"gzip\" 3) (\"zstd\" 3))})"
  23242. msgstr "@code{compression-level} (padrão: @code{3})"
  23243. #. type: table
  23244. #: guix-git/doc/guix.texi:15858
  23245. 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:"
  23246. msgstr ""
  23247. #. type: lisp
  23248. #: guix-git/doc/guix.texi:15861
  23249. #, no-wrap
  23250. msgid "'((\"lzip\" 7) (\"gzip\" 9))\n"
  23251. msgstr ""
  23252. #. type: table
  23253. #: guix-git/doc/guix.texi:15867
  23254. 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."
  23255. msgstr ""
  23256. #. type: table
  23257. #: guix-git/doc/guix.texi:15869
  23258. msgid "An empty list disables compression altogether."
  23259. msgstr ""
  23260. #. type: item
  23261. #: guix-git/doc/guix.texi:15870
  23262. #, no-wrap
  23263. msgid "@code{nar-path} (default: @code{\"nar\"})"
  23264. msgstr ""
  23265. #. type: table
  23266. #: guix-git/doc/guix.texi:15873
  23267. msgid "The URL path at which ``nars'' can be fetched. @xref{Invoking guix publish, @option{--nar-path}}, for details."
  23268. msgstr ""
  23269. #. type: item
  23270. #: guix-git/doc/guix.texi:15874
  23271. #, no-wrap
  23272. msgid "@code{cache} (default: @code{#f})"
  23273. msgstr "@code{cache} (default: @code{#f})"
  23274. #. type: table
  23275. #: guix-git/doc/guix.texi:15880
  23276. 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."
  23277. msgstr ""
  23278. #. type: item
  23279. #: guix-git/doc/guix.texi:15881
  23280. #, no-wrap
  23281. msgid "@code{workers} (default: @code{#f})"
  23282. msgstr "@code{workers} (default: @code{#f})"
  23283. #. type: table
  23284. #: guix-git/doc/guix.texi:15885
  23285. 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."
  23286. msgstr ""
  23287. #. type: item
  23288. #: guix-git/doc/guix.texi:15886
  23289. #, no-wrap
  23290. msgid "@code{cache-bypass-threshold} (default: 10 MiB)"
  23291. msgstr ""
  23292. #. type: table
  23293. #: guix-git/doc/guix.texi:15891
  23294. 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."
  23295. msgstr ""
  23296. #. type: item
  23297. #: guix-git/doc/guix.texi:15892
  23298. #, no-wrap
  23299. msgid "@code{ttl} (default: @code{#f})"
  23300. msgstr "@code{ttl} (default: @code{#f})"
  23301. #. type: table
  23302. #: guix-git/doc/guix.texi:15896
  23303. 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."
  23304. msgstr ""
  23305. #. type: anchor{#1}
  23306. #: guix-git/doc/guix.texi:15900
  23307. msgid "rngd-service"
  23308. msgstr ""
  23309. #. type: deffn
  23310. #: guix-git/doc/guix.texi:15900
  23311. #, no-wrap
  23312. msgid "{Scheme Procedure} rngd-service [#:rng-tools @var{rng-tools}] @"
  23313. msgstr ""
  23314. #. type: deffn
  23315. #: guix-git/doc/guix.texi:15905
  23316. 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."
  23317. msgstr ""
  23318. #. type: anchor{#1}
  23319. #: guix-git/doc/guix.texi:15908
  23320. msgid "pam-limits-service"
  23321. msgstr ""
  23322. #. type: cindex
  23323. #: guix-git/doc/guix.texi:15908
  23324. #, no-wrap
  23325. msgid "session limits"
  23326. msgstr ""
  23327. #. type: cindex
  23328. #: guix-git/doc/guix.texi:15909
  23329. #, no-wrap
  23330. msgid "ulimit"
  23331. msgstr ""
  23332. #. type: cindex
  23333. #: guix-git/doc/guix.texi:15910
  23334. #, no-wrap
  23335. msgid "priority"
  23336. msgstr ""
  23337. #. type: cindex
  23338. #: guix-git/doc/guix.texi:15911
  23339. #, no-wrap
  23340. msgid "realtime"
  23341. msgstr ""
  23342. #. type: cindex
  23343. #: guix-git/doc/guix.texi:15912
  23344. #, no-wrap
  23345. msgid "jackd"
  23346. msgstr ""
  23347. #. type: cindex
  23348. #: guix-git/doc/guix.texi:15913
  23349. #, no-wrap
  23350. msgid "nofile"
  23351. msgstr ""
  23352. #. type: cindex
  23353. #: guix-git/doc/guix.texi:15914
  23354. #, no-wrap
  23355. msgid "open file descriptors"
  23356. msgstr ""
  23357. #. type: deffn
  23358. #: guix-git/doc/guix.texi:15915
  23359. #, no-wrap
  23360. msgid "{Scheme Procedure} pam-limits-service [#:limits @code{'()}]"
  23361. msgstr ""
  23362. #. type: deffn
  23363. #: guix-git/doc/guix.texi:15922
  23364. 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."
  23365. msgstr ""
  23366. #. type: deffn
  23367. #: guix-git/doc/guix.texi:15925
  23368. msgid "The following limits definition sets two hard and soft limits for all login sessions of users in the @code{realtime} group:"
  23369. msgstr ""
  23370. #. type: lisp
  23371. #: guix-git/doc/guix.texi:15931
  23372. #, no-wrap
  23373. msgid ""
  23374. "(pam-limits-service\n"
  23375. " (list\n"
  23376. " (pam-limits-entry \"@@realtime\" 'both 'rtprio 99)\n"
  23377. " (pam-limits-entry \"@@realtime\" 'both 'memlock 'unlimited)))\n"
  23378. msgstr ""
  23379. #. type: deffn
  23380. #: guix-git/doc/guix.texi:15937
  23381. 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."
  23382. msgstr ""
  23383. #. type: deffn
  23384. #: guix-git/doc/guix.texi:15940
  23385. msgid "Another useful example is raising the maximum number of open file descriptors that can be used:"
  23386. msgstr ""
  23387. #. type: lisp
  23388. #: guix-git/doc/guix.texi:15945
  23389. #, no-wrap
  23390. msgid ""
  23391. "(pam-limits-service\n"
  23392. " (list\n"
  23393. " (pam-limits-entry \"*\" 'both 'nofile 100000)))\n"
  23394. msgstr ""
  23395. #. type: deffn
  23396. #: guix-git/doc/guix.texi:15953
  23397. 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."
  23398. msgstr ""
  23399. #. type: cindex
  23400. #: guix-git/doc/guix.texi:15958
  23401. #, no-wrap
  23402. msgid "cron"
  23403. msgstr ""
  23404. #. type: cindex
  23405. #: guix-git/doc/guix.texi:15959
  23406. #, no-wrap
  23407. msgid "mcron"
  23408. msgstr ""
  23409. #. type: cindex
  23410. #: guix-git/doc/guix.texi:15960
  23411. #, no-wrap
  23412. msgid "scheduling jobs"
  23413. msgstr ""
  23414. #. type: Plain text
  23415. #: guix-git/doc/guix.texi:15967
  23416. 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."
  23417. msgstr ""
  23418. #. type: Plain text
  23419. #: guix-git/doc/guix.texi:15975
  23420. 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})."
  23421. msgstr ""
  23422. #. type: lisp
  23423. #: guix-git/doc/guix.texi:15979
  23424. #, no-wrap
  23425. msgid ""
  23426. "(use-modules (guix) (gnu) (gnu services mcron))\n"
  23427. "(use-package-modules base idutils)\n"
  23428. "\n"
  23429. msgstr ""
  23430. #. type: lisp
  23431. #: guix-git/doc/guix.texi:15989
  23432. #, no-wrap
  23433. msgid ""
  23434. "(define updatedb-job\n"
  23435. " ;; Run 'updatedb' at 3AM every day. Here we write the\n"
  23436. " ;; job's action as a Scheme procedure.\n"
  23437. " #~(job '(next-hour '(3))\n"
  23438. " (lambda ()\n"
  23439. " (execl (string-append #$findutils \"/bin/updatedb\")\n"
  23440. " \"updatedb\"\n"
  23441. " \"--prunepaths=/tmp /var/tmp /gnu/store\"))\n"
  23442. " \"updatedb\"))\n"
  23443. "\n"
  23444. msgstr ""
  23445. #. type: lisp
  23446. #: guix-git/doc/guix.texi:15995
  23447. #, no-wrap
  23448. msgid ""
  23449. "(define garbage-collector-job\n"
  23450. " ;; Collect garbage 5 minutes after midnight every day.\n"
  23451. " ;; The job's action is a shell command.\n"
  23452. " #~(job \"5 0 * * *\" ;Vixie cron syntax\n"
  23453. " \"guix gc -F 1G\"))\n"
  23454. "\n"
  23455. msgstr ""
  23456. #. type: lisp
  23457. #: guix-git/doc/guix.texi:16002
  23458. #, no-wrap
  23459. msgid ""
  23460. "(define idutils-job\n"
  23461. " ;; Update the index database as user \"charlie\" at 12:15PM\n"
  23462. " ;; and 19:15PM. This runs from the user's home directory.\n"
  23463. " #~(job '(next-minute-from (next-hour '(12 19)) '(15))\n"
  23464. " (string-append #$idutils \"/bin/mkid src\")\n"
  23465. " #:user \"charlie\"))\n"
  23466. "\n"
  23467. msgstr ""
  23468. #. type: lisp
  23469. #: guix-git/doc/guix.texi:16005
  23470. #, no-wrap
  23471. msgid ""
  23472. "(operating-system\n"
  23473. " ;; @dots{}\n"
  23474. "\n"
  23475. msgstr ""
  23476. #. type: lisp
  23477. #: guix-git/doc/guix.texi:16015
  23478. #, no-wrap
  23479. msgid ""
  23480. " ;; %BASE-SERVICES already includes an instance of\n"
  23481. " ;; 'mcron-service-type', which we extend with additional\n"
  23482. " ;; jobs using 'simple-service'.\n"
  23483. " (services (cons (simple-service 'my-cron-jobs\n"
  23484. " mcron-service-type\n"
  23485. " (list garbage-collector-job\n"
  23486. " updatedb-job\n"
  23487. " idutils-job))\n"
  23488. " %base-services)))\n"
  23489. msgstr ""
  23490. #. type: quotation
  23491. #: guix-git/doc/guix.texi:16017
  23492. #, fuzzy, no-wrap
  23493. #| msgid "Top"
  23494. msgid "Tip"
  23495. msgstr "Top"
  23496. #. type: quotation
  23497. #: guix-git/doc/guix.texi:16023
  23498. 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!"
  23499. msgstr ""
  23500. #. type: Plain text
  23501. #: guix-git/doc/guix.texi:16030
  23502. 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."
  23503. msgstr ""
  23504. #. type: lisp
  23505. #: guix-git/doc/guix.texi:16046
  23506. #, no-wrap
  23507. msgid ""
  23508. "(define %battery-alert-job\n"
  23509. " ;; Beep when the battery percentage falls below %MIN-LEVEL.\n"
  23510. " #~(job\n"
  23511. " '(next-minute (range 0 60 1))\n"
  23512. " #$(program-file\n"
  23513. " \"battery-alert.scm\"\n"
  23514. " (with-imported-modules (source-module-closure\n"
  23515. " '((guix build utils)))\n"
  23516. " #~(begin\n"
  23517. " (use-modules (guix build utils)\n"
  23518. " (ice-9 popen)\n"
  23519. " (ice-9 regex)\n"
  23520. " (ice-9 textual-ports)\n"
  23521. " (srfi srfi-2))\n"
  23522. "\n"
  23523. msgstr ""
  23524. #. type: lisp
  23525. #: guix-git/doc/guix.texi:16048
  23526. #, no-wrap
  23527. msgid ""
  23528. " (define %min-level 20)\n"
  23529. "\n"
  23530. msgstr ""
  23531. #. type: lisp
  23532. #: guix-git/doc/guix.texi:16059
  23533. #, no-wrap
  23534. msgid ""
  23535. " (setenv \"LC_ALL\" \"C\") ;ensure English output\n"
  23536. " (and-let* ((input-pipe (open-pipe*\n"
  23537. " OPEN_READ\n"
  23538. " #$(file-append acpi \"/bin/acpi\")))\n"
  23539. " (output (get-string-all input-pipe))\n"
  23540. " (m (string-match \"Discharging, ([0-9]+)%\" output))\n"
  23541. " (level (string->number (match:substring m 1)))\n"
  23542. " ((< level %min-level)))\n"
  23543. " (format #t \"warning: Battery level is low (~a%)~%\" level)\n"
  23544. " (invoke #$(file-append beep \"/bin/beep\") \"-r5\")))))))\n"
  23545. msgstr ""
  23546. #. type: Plain text
  23547. #: guix-git/doc/guix.texi:16064
  23548. 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."
  23549. msgstr ""
  23550. #. type: Plain text
  23551. #: guix-git/doc/guix.texi:16067
  23552. 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:"
  23553. msgstr ""
  23554. #. type: example
  23555. #: guix-git/doc/guix.texi:16070
  23556. #, no-wrap
  23557. msgid "# herd schedule mcron\n"
  23558. msgstr ""
  23559. #. type: Plain text
  23560. #: guix-git/doc/guix.texi:16075
  23561. msgid "The example above lists the next five tasks that will be executed, but you can also specify the number of tasks to display:"
  23562. msgstr ""
  23563. #. type: example
  23564. #: guix-git/doc/guix.texi:16078
  23565. #, no-wrap
  23566. msgid "# herd schedule mcron 10\n"
  23567. msgstr ""
  23568. #. type: defvr
  23569. #: guix-git/doc/guix.texi:16080
  23570. #, no-wrap
  23571. msgid "{Scheme Variable} mcron-service-type"
  23572. msgstr ""
  23573. #. type: defvr
  23574. #: guix-git/doc/guix.texi:16083
  23575. msgid "This is the type of the @code{mcron} service, whose value is an @code{mcron-configuration} object."
  23576. msgstr ""
  23577. #. type: defvr
  23578. #: guix-git/doc/guix.texi:16088
  23579. msgid "This service type can be the target of a service extension that provides it additional job specifications (@pxref{Service Composition}). In other words, it is possible to define services that provide additional mcron jobs to run."
  23580. msgstr ""
  23581. #. type: deftp
  23582. #: guix-git/doc/guix.texi:16090
  23583. #, no-wrap
  23584. msgid "{Data Type} mcron-configuration"
  23585. msgstr ""
  23586. #. type: deftp
  23587. #: guix-git/doc/guix.texi:16092
  23588. msgid "Data type representing the configuration of mcron."
  23589. msgstr ""
  23590. #. type: item
  23591. #: guix-git/doc/guix.texi:16094
  23592. #, no-wrap
  23593. msgid "@code{mcron} (default: @var{mcron})"
  23594. msgstr ""
  23595. #. type: table
  23596. #: guix-git/doc/guix.texi:16096
  23597. msgid "The mcron package to use."
  23598. msgstr ""
  23599. #. type: code{#1}
  23600. #: guix-git/doc/guix.texi:16097 guix-git/doc/guix.texi:16166
  23601. #, no-wrap
  23602. msgid "jobs"
  23603. msgstr ""
  23604. #. type: table
  23605. #: guix-git/doc/guix.texi:16101
  23606. 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})."
  23607. msgstr ""
  23608. #. type: cindex
  23609. #: guix-git/doc/guix.texi:16108
  23610. #, no-wrap
  23611. msgid "rottlog"
  23612. msgstr ""
  23613. #. type: cindex
  23614. #: guix-git/doc/guix.texi:16109
  23615. #, no-wrap
  23616. msgid "log rotation"
  23617. msgstr ""
  23618. #. type: Plain text
  23619. #: guix-git/doc/guix.texi:16116
  23620. 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})."
  23621. msgstr ""
  23622. #. type: Plain text
  23623. #: guix-git/doc/guix.texi:16122
  23624. 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):"
  23625. msgstr ""
  23626. #. type: lisp
  23627. #: guix-git/doc/guix.texi:16126
  23628. #, no-wrap
  23629. msgid ""
  23630. "(use-modules (guix) (gnu))\n"
  23631. "(use-service-modules admin)\n"
  23632. "\n"
  23633. msgstr ""
  23634. #. type: lisp
  23635. #: guix-git/doc/guix.texi:16130
  23636. #, no-wrap
  23637. msgid ""
  23638. "(define my-log-files\n"
  23639. " ;; Log files that I want to rotate.\n"
  23640. " '(\"/var/log/something.log\" \"/var/log/another.log\"))\n"
  23641. "\n"
  23642. msgstr ""
  23643. #. type: lisp
  23644. #: guix-git/doc/guix.texi:16139
  23645. #, no-wrap
  23646. msgid ""
  23647. "(operating-system\n"
  23648. " ;; @dots{}\n"
  23649. " (services (cons (simple-service 'rotate-my-stuff\n"
  23650. " rottlog-service-type\n"
  23651. " (list (log-rotation\n"
  23652. " (frequency 'daily)\n"
  23653. " (files my-log-files))))\n"
  23654. " %base-services)))\n"
  23655. msgstr ""
  23656. #. type: defvr
  23657. #: guix-git/doc/guix.texi:16141
  23658. #, no-wrap
  23659. msgid "{Scheme Variable} rottlog-service-type"
  23660. msgstr ""
  23661. #. type: defvr
  23662. #: guix-git/doc/guix.texi:16144
  23663. msgid "This is the type of the Rottlog service, whose value is a @code{rottlog-configuration} object."
  23664. msgstr ""
  23665. #. type: defvr
  23666. #: guix-git/doc/guix.texi:16147
  23667. msgid "Other services can extend this one with new @code{log-rotation} objects (see below), thereby augmenting the set of files to be rotated."
  23668. msgstr ""
  23669. #. type: defvr
  23670. #: guix-git/doc/guix.texi:16150
  23671. msgid "This service type can define mcron jobs (@pxref{Scheduled Job Execution}) to run the rottlog service."
  23672. msgstr ""
  23673. #. type: deftp
  23674. #: guix-git/doc/guix.texi:16152
  23675. #, no-wrap
  23676. msgid "{Data Type} rottlog-configuration"
  23677. msgstr ""
  23678. #. type: deftp
  23679. #: guix-git/doc/guix.texi:16154
  23680. msgid "Data type representing the configuration of rottlog."
  23681. msgstr ""
  23682. #. type: item
  23683. #: guix-git/doc/guix.texi:16156
  23684. #, no-wrap
  23685. msgid "@code{rottlog} (default: @code{rottlog})"
  23686. msgstr ""
  23687. #. type: table
  23688. #: guix-git/doc/guix.texi:16158
  23689. msgid "The Rottlog package to use."
  23690. msgstr ""
  23691. #. type: item
  23692. #: guix-git/doc/guix.texi:16159
  23693. #, no-wrap
  23694. msgid "@code{rc-file} (default: @code{(file-append rottlog \"/etc/rc\")})"
  23695. msgstr ""
  23696. #. type: table
  23697. #: guix-git/doc/guix.texi:16162
  23698. msgid "The Rottlog configuration file to use (@pxref{Mandatory RC Variables,,, rottlog, GNU Rot[t]log Manual})."
  23699. msgstr ""
  23700. #. type: item
  23701. #: guix-git/doc/guix.texi:16163
  23702. #, no-wrap
  23703. msgid "@code{rotations} (default: @code{%default-rotations})"
  23704. msgstr ""
  23705. #. type: table
  23706. #: guix-git/doc/guix.texi:16165
  23707. msgid "A list of @code{log-rotation} objects as defined below."
  23708. msgstr ""
  23709. #. type: table
  23710. #: guix-git/doc/guix.texi:16169
  23711. msgid "This is a list of gexps where each gexp corresponds to an mcron job specification (@pxref{Scheduled Job Execution})."
  23712. msgstr ""
  23713. #. type: deftp
  23714. #: guix-git/doc/guix.texi:16172
  23715. #, no-wrap
  23716. msgid "{Data Type} log-rotation"
  23717. msgstr ""
  23718. #. type: deftp
  23719. #: guix-git/doc/guix.texi:16174
  23720. msgid "Data type representing the rotation of a group of log files."
  23721. msgstr ""
  23722. #. type: deftp
  23723. #: guix-git/doc/guix.texi:16178
  23724. 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:"
  23725. msgstr ""
  23726. #. type: lisp
  23727. #: guix-git/doc/guix.texi:16187
  23728. #, no-wrap
  23729. msgid ""
  23730. "(log-rotation\n"
  23731. " (frequency 'daily)\n"
  23732. " (files '(\"/var/log/apache/*\"))\n"
  23733. " (options '(\"storedir apache-archives\"\n"
  23734. " \"rotate 6\"\n"
  23735. " \"notifempty\"\n"
  23736. " \"nocompress\")))\n"
  23737. msgstr ""
  23738. #. type: deftp
  23739. #: guix-git/doc/guix.texi:16190
  23740. msgid "The list of fields is as follows:"
  23741. msgstr ""
  23742. #. type: item
  23743. #: guix-git/doc/guix.texi:16192
  23744. #, no-wrap
  23745. msgid "@code{frequency} (default: @code{'weekly})"
  23746. msgstr ""
  23747. #. type: table
  23748. #: guix-git/doc/guix.texi:16194
  23749. msgid "The log rotation frequency, a symbol."
  23750. msgstr ""
  23751. #. type: code{#1}
  23752. #: guix-git/doc/guix.texi:16195
  23753. #, no-wrap
  23754. msgid "files"
  23755. msgstr ""
  23756. #. type: table
  23757. #: guix-git/doc/guix.texi:16197
  23758. msgid "The list of files or file glob patterns to rotate."
  23759. msgstr ""
  23760. #. type: item
  23761. #: guix-git/doc/guix.texi:16198
  23762. #, no-wrap
  23763. msgid "@code{options} (default: @code{'()})"
  23764. msgstr ""
  23765. #. type: table
  23766. #: guix-git/doc/guix.texi:16201
  23767. msgid "The list of rottlog options for this rotation (@pxref{Configuration parameters,,, rottlog, GNU Rot[t]lg Manual})."
  23768. msgstr ""
  23769. #. type: item
  23770. #: guix-git/doc/guix.texi:16202
  23771. #, no-wrap
  23772. msgid "@code{post-rotate} (default: @code{#f})"
  23773. msgstr ""
  23774. #. type: table
  23775. #: guix-git/doc/guix.texi:16204
  23776. msgid "Either @code{#f} or a gexp to execute once the rotation has completed."
  23777. msgstr ""
  23778. #. type: defvr
  23779. #: guix-git/doc/guix.texi:16207
  23780. #, no-wrap
  23781. msgid "{Scheme Variable} %default-rotations"
  23782. msgstr ""
  23783. #. type: defvr
  23784. #: guix-git/doc/guix.texi:16210
  23785. msgid "Specifies weekly rotation of @code{%rotated-files} and of @file{/var/log/guix-daemon.log}."
  23786. msgstr ""
  23787. #. type: defvr
  23788. #: guix-git/doc/guix.texi:16212
  23789. #, no-wrap
  23790. msgid "{Scheme Variable} %rotated-files"
  23791. msgstr ""
  23792. #. type: defvr
  23793. #: guix-git/doc/guix.texi:16216
  23794. 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\")}."
  23795. msgstr ""
  23796. #. type: Plain text
  23797. #: guix-git/doc/guix.texi:16223
  23798. msgid "The @code{(gnu services networking)} module provides services to configure the network interface."
  23799. msgstr ""
  23800. #. type: cindex
  23801. #: guix-git/doc/guix.texi:16224
  23802. #, no-wrap
  23803. msgid "DHCP, networking service"
  23804. msgstr ""
  23805. #. type: defvr
  23806. #: guix-git/doc/guix.texi:16225
  23807. #, no-wrap
  23808. msgid "{Scheme Variable} dhcp-client-service-type"
  23809. msgstr ""
  23810. #. type: defvr
  23811. #: guix-git/doc/guix.texi:16229
  23812. 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."
  23813. msgstr ""
  23814. #. type: deffn
  23815. #: guix-git/doc/guix.texi:16231
  23816. #, no-wrap
  23817. msgid "{Scheme Procedure} dhcpd-service-type"
  23818. msgstr ""
  23819. #. type: deffn
  23820. #: guix-git/doc/guix.texi:16235
  23821. 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:"
  23822. msgstr ""
  23823. #. type: lisp
  23824. #: guix-git/doc/guix.texi:16241
  23825. #, no-wrap
  23826. msgid ""
  23827. "(service dhcpd-service-type\n"
  23828. " (dhcpd-configuration\n"
  23829. " (config-file (local-file \"my-dhcpd.conf\"))\n"
  23830. " (interfaces '(\"enp0s25\"))))\n"
  23831. msgstr ""
  23832. #. type: deftp
  23833. #: guix-git/doc/guix.texi:16244
  23834. #, no-wrap
  23835. msgid "{Data Type} dhcpd-configuration"
  23836. msgstr ""
  23837. #. type: item
  23838. #: guix-git/doc/guix.texi:16246
  23839. #, no-wrap
  23840. msgid "@code{package} (default: @code{isc-dhcp})"
  23841. msgstr ""
  23842. #. type: table
  23843. #: guix-git/doc/guix.texi:16251
  23844. 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}."
  23845. msgstr ""
  23846. #. type: item
  23847. #: guix-git/doc/guix.texi:16251 guix-git/doc/guix.texi:16507
  23848. #: guix-git/doc/guix.texi:21722
  23849. #, no-wrap
  23850. msgid "@code{config-file} (default: @code{#f})"
  23851. msgstr ""
  23852. #. type: table
  23853. #: guix-git/doc/guix.texi:16256
  23854. 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."
  23855. msgstr ""
  23856. #. type: item
  23857. #: guix-git/doc/guix.texi:16256
  23858. #, no-wrap
  23859. msgid "@code{version} (default: @code{\"4\"})"
  23860. msgstr ""
  23861. #. type: table
  23862. #: guix-git/doc/guix.texi:16261
  23863. 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."
  23864. msgstr ""
  23865. #. type: item
  23866. #: guix-git/doc/guix.texi:16261
  23867. #, no-wrap
  23868. msgid "@code{run-directory} (default: @code{\"/run/dhcpd\"})"
  23869. msgstr ""
  23870. #. type: table
  23871. #: guix-git/doc/guix.texi:16264
  23872. msgid "The run directory to use. At service activation time, this directory will be created if it does not exist."
  23873. msgstr ""
  23874. #. type: item
  23875. #: guix-git/doc/guix.texi:16264
  23876. #, no-wrap
  23877. msgid "@code{pid-file} (default: @code{\"/run/dhcpd/dhcpd.pid\"})"
  23878. msgstr ""
  23879. #. type: table
  23880. #: guix-git/doc/guix.texi:16267
  23881. msgid "The PID file to use. This corresponds to the @code{-pf} option of @code{dhcpd}. See @code{man dhcpd} for details."
  23882. msgstr ""
  23883. #. type: item
  23884. #: guix-git/doc/guix.texi:16267
  23885. #, no-wrap
  23886. msgid "@code{interfaces} (default: @code{'()})"
  23887. msgstr ""
  23888. #. type: table
  23889. #: guix-git/doc/guix.texi:16273
  23890. 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."
  23891. msgstr ""
  23892. #. type: defvr
  23893. #: guix-git/doc/guix.texi:16276
  23894. #, no-wrap
  23895. msgid "{Scheme Variable} static-networking-service-type"
  23896. msgstr ""
  23897. #. type: defvr
  23898. #: guix-git/doc/guix.texi:16279
  23899. msgid "This is the type for statically-configured network interfaces."
  23900. msgstr ""
  23901. #. type: deffn
  23902. #: guix-git/doc/guix.texi:16281
  23903. #, no-wrap
  23904. msgid "{Scheme Procedure} static-networking-service @var{interface} @var{ip} @"
  23905. msgstr ""
  23906. #. type: deffn
  23907. #: guix-git/doc/guix.texi:16289
  23908. msgid "[#:netmask #f] [#:gateway #f] [#:name-servers @code{'()}] @ [#:requirement @code{'(udev)}] Return a service that starts @var{interface} with address @var{ip}. If @var{netmask} is true, use it as the network mask. If @var{gateway} is true, it must be a string specifying the default network gateway. @var{requirement} can be used to declare a dependency on another service before configuring the interface."
  23909. msgstr ""
  23910. #. type: deffn
  23911. #: guix-git/doc/guix.texi:16294
  23912. msgid "This procedure can be called several times, one for each network interface of interest. Behind the scenes what it does is extend @code{static-networking-service-type} with additional network interfaces to handle."
  23913. msgstr ""
  23914. #. type: defvr
  23915. #: guix-git/doc/guix.texi:16296 guix-git/doc/guix.texi:29568
  23916. msgid "For example:"
  23917. msgstr ""
  23918. #. type: lisp
  23919. #: guix-git/doc/guix.texi:16301
  23920. #, no-wrap
  23921. msgid ""
  23922. "(static-networking-service \"eno1\" \"192.168.1.82\"\n"
  23923. " #:gateway \"192.168.1.2\"\n"
  23924. " #:name-servers '(\"192.168.1.2\"))\n"
  23925. msgstr ""
  23926. #. type: cindex
  23927. #: guix-git/doc/guix.texi:16304
  23928. #, no-wrap
  23929. msgid "wicd"
  23930. msgstr ""
  23931. #. type: cindex
  23932. #: guix-git/doc/guix.texi:16307
  23933. #, no-wrap
  23934. msgid "network management"
  23935. msgstr ""
  23936. #. type: deffn
  23937. #: guix-git/doc/guix.texi:16308
  23938. #, no-wrap
  23939. msgid "{Scheme Procedure} wicd-service [#:wicd @var{wicd}]"
  23940. msgstr ""
  23941. #. type: deffn
  23942. #: guix-git/doc/guix.texi:16311
  23943. msgid "Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a network management daemon that aims to simplify wired and wireless networking."
  23944. msgstr ""
  23945. #. type: deffn
  23946. #: guix-git/doc/guix.texi:16316
  23947. 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."
  23948. msgstr ""
  23949. #. type: cindex
  23950. #: guix-git/doc/guix.texi:16318
  23951. #, no-wrap
  23952. msgid "ModemManager"
  23953. msgstr ""
  23954. #. type: defvr
  23955. #: guix-git/doc/guix.texi:16320
  23956. #, no-wrap
  23957. msgid "{Scheme Variable} modem-manager-service-type"
  23958. msgstr ""
  23959. #. type: defvr
  23960. #: guix-git/doc/guix.texi:16325
  23961. 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."
  23962. msgstr ""
  23963. #. type: defvr
  23964. #: guix-git/doc/guix.texi:16328 guix-git/doc/guix.texi:16357
  23965. #: guix-git/doc/guix.texi:16389
  23966. msgid "This service is part of @code{%desktop-services} (@pxref{Desktop Services})."
  23967. msgstr ""
  23968. #. type: deftp
  23969. #: guix-git/doc/guix.texi:16330
  23970. #, no-wrap
  23971. msgid "{Data Type} modem-manager-configuration"
  23972. msgstr ""
  23973. #. type: deftp
  23974. #: guix-git/doc/guix.texi:16332
  23975. msgid "Data type representing the configuration of ModemManager."
  23976. msgstr ""
  23977. #. type: item
  23978. #: guix-git/doc/guix.texi:16334
  23979. #, no-wrap
  23980. msgid "@code{modem-manager} (default: @code{modem-manager})"
  23981. msgstr ""
  23982. #. type: table
  23983. #: guix-git/doc/guix.texi:16336
  23984. msgid "The ModemManager package to use."
  23985. msgstr ""
  23986. #. type: cindex
  23987. #: guix-git/doc/guix.texi:16340
  23988. #, no-wrap
  23989. msgid "USB_ModeSwitch"
  23990. msgstr ""
  23991. #. type: cindex
  23992. #: guix-git/doc/guix.texi:16341
  23993. #, no-wrap
  23994. msgid "Modeswitching"
  23995. msgstr ""
  23996. #. type: defvr
  23997. #: guix-git/doc/guix.texi:16343
  23998. #, no-wrap
  23999. msgid "{Scheme Variable} usb-modeswitch-service-type"
  24000. msgstr ""
  24001. #. type: defvr
  24002. #: guix-git/doc/guix.texi:16348
  24003. 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."
  24004. msgstr ""
  24005. #. type: defvr
  24006. #: guix-git/doc/guix.texi:16354
  24007. 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."
  24008. msgstr ""
  24009. #. type: deftp
  24010. #: guix-git/doc/guix.texi:16359
  24011. #, no-wrap
  24012. msgid "{Data Type} usb-modeswitch-configuration"
  24013. msgstr ""
  24014. #. type: deftp
  24015. #: guix-git/doc/guix.texi:16361
  24016. msgid "Data type representing the configuration of USB_ModeSwitch."
  24017. msgstr ""
  24018. #. type: item
  24019. #: guix-git/doc/guix.texi:16363
  24020. #, no-wrap
  24021. msgid "@code{usb-modeswitch} (default: @code{usb-modeswitch})"
  24022. msgstr ""
  24023. #. type: table
  24024. #: guix-git/doc/guix.texi:16365
  24025. msgid "The USB_ModeSwitch package providing the binaries for modeswitching."
  24026. msgstr ""
  24027. #. type: item
  24028. #: guix-git/doc/guix.texi:16366
  24029. #, no-wrap
  24030. msgid "@code{usb-modeswitch-data} (default: @code{usb-modeswitch-data})"
  24031. msgstr ""
  24032. #. type: table
  24033. #: guix-git/doc/guix.texi:16369
  24034. msgid "The package providing the device data and udev rules file used by USB_ModeSwitch."
  24035. msgstr ""
  24036. #. type: item
  24037. #: guix-git/doc/guix.texi:16370
  24038. #, no-wrap
  24039. msgid "@code{config-file} (default: @code{#~(string-append #$usb-modeswitch:dispatcher \"/etc/usb_modeswitch.conf\")})"
  24040. msgstr ""
  24041. #. type: table
  24042. #: guix-git/doc/guix.texi:16375
  24043. 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."
  24044. msgstr ""
  24045. #. type: cindex
  24046. #: guix-git/doc/guix.texi:16379
  24047. #, no-wrap
  24048. msgid "NetworkManager"
  24049. msgstr ""
  24050. #. type: defvr
  24051. #: guix-git/doc/guix.texi:16381
  24052. #, no-wrap
  24053. msgid "{Scheme Variable} network-manager-service-type"
  24054. msgstr ""
  24055. #. type: defvr
  24056. #: guix-git/doc/guix.texi:16386
  24057. 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."
  24058. msgstr ""
  24059. #. type: deftp
  24060. #: guix-git/doc/guix.texi:16391
  24061. #, no-wrap
  24062. msgid "{Data Type} network-manager-configuration"
  24063. msgstr ""
  24064. #. type: deftp
  24065. #: guix-git/doc/guix.texi:16393
  24066. msgid "Data type representing the configuration of NetworkManager."
  24067. msgstr ""
  24068. #. type: item
  24069. #: guix-git/doc/guix.texi:16395
  24070. #, no-wrap
  24071. msgid "@code{network-manager} (default: @code{network-manager})"
  24072. msgstr ""
  24073. #. type: table
  24074. #: guix-git/doc/guix.texi:16397
  24075. msgid "The NetworkManager package to use."
  24076. msgstr ""
  24077. #. type: item
  24078. #: guix-git/doc/guix.texi:16398
  24079. #, no-wrap
  24080. msgid "@code{dns} (default: @code{\"default\"})"
  24081. msgstr ""
  24082. #. type: table
  24083. #: guix-git/doc/guix.texi:16401
  24084. msgid "Processing mode for DNS, which affects how NetworkManager uses the @code{resolv.conf} configuration file."
  24085. msgstr ""
  24086. #. type: table
  24087. #: guix-git/doc/guix.texi:16406
  24088. msgid "NetworkManager will update @code{resolv.conf} to reflect the nameservers provided by currently active connections."
  24089. msgstr ""
  24090. #. type: item
  24091. #: guix-git/doc/guix.texi:16407
  24092. #, no-wrap
  24093. msgid "dnsmasq"
  24094. msgstr ""
  24095. #. type: table
  24096. #: guix-git/doc/guix.texi:16411
  24097. 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."
  24098. msgstr ""
  24099. #. type: table
  24100. #: guix-git/doc/guix.texi:16417
  24101. 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)."
  24102. msgstr ""
  24103. #. type: table
  24104. #: guix-git/doc/guix.texi:16424
  24105. 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:"
  24106. msgstr ""
  24107. #. type: example
  24108. #: guix-git/doc/guix.texi:16431
  24109. #, no-wrap
  24110. msgid ""
  24111. "nmcli connection add type tun \\\n"
  24112. " connection.interface-name tap0 \\\n"
  24113. " tun.mode tap tun.owner $(id -u) \\\n"
  24114. " ipv4.method shared \\\n"
  24115. " ipv4.addresses 172.28.112.1/24\n"
  24116. msgstr ""
  24117. #. type: table
  24118. #: guix-git/doc/guix.texi:16436
  24119. 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-...}."
  24120. msgstr ""
  24121. #. type: table
  24122. #: guix-git/doc/guix.texi:16439
  24123. msgid "NetworkManager will not modify @code{resolv.conf}."
  24124. msgstr ""
  24125. #. type: item
  24126. #: guix-git/doc/guix.texi:16441
  24127. #, no-wrap
  24128. msgid "@code{vpn-plugins} (default: @code{'()})"
  24129. msgstr ""
  24130. #. type: table
  24131. #: guix-git/doc/guix.texi:16445
  24132. 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."
  24133. msgstr ""
  24134. #. type: cindex
  24135. #: guix-git/doc/guix.texi:16449
  24136. #, no-wrap
  24137. msgid "Connman"
  24138. msgstr ""
  24139. #. type: deffn
  24140. #: guix-git/doc/guix.texi:16450
  24141. #, no-wrap
  24142. msgid "{Scheme Variable} connman-service-type"
  24143. msgstr ""
  24144. #. type: deffn
  24145. #: guix-git/doc/guix.texi:16453
  24146. msgid "This is the service type to run @url{https://01.org/connman,Connman}, a network connection manager."
  24147. msgstr ""
  24148. #. type: deffn
  24149. #: guix-git/doc/guix.texi:16456
  24150. msgid "Its value must be an @code{connman-configuration} record as in this example:"
  24151. msgstr ""
  24152. #. type: lisp
  24153. #: guix-git/doc/guix.texi:16461
  24154. #, no-wrap
  24155. msgid ""
  24156. "(service connman-service-type\n"
  24157. " (connman-configuration\n"
  24158. " (disable-vpn? #t)))\n"
  24159. msgstr ""
  24160. #. type: deffn
  24161. #: guix-git/doc/guix.texi:16464
  24162. msgid "See below for details about @code{connman-configuration}."
  24163. msgstr ""
  24164. #. type: deftp
  24165. #: guix-git/doc/guix.texi:16466
  24166. #, no-wrap
  24167. msgid "{Data Type} connman-configuration"
  24168. msgstr ""
  24169. #. type: deftp
  24170. #: guix-git/doc/guix.texi:16468
  24171. msgid "Data Type representing the configuration of connman."
  24172. msgstr ""
  24173. #. type: item
  24174. #: guix-git/doc/guix.texi:16470
  24175. #, no-wrap
  24176. msgid "@code{connman} (default: @var{connman})"
  24177. msgstr ""
  24178. #. type: table
  24179. #: guix-git/doc/guix.texi:16472
  24180. msgid "The connman package to use."
  24181. msgstr ""
  24182. #. type: item
  24183. #: guix-git/doc/guix.texi:16473
  24184. #, no-wrap
  24185. msgid "@code{disable-vpn?} (default: @code{#f})"
  24186. msgstr ""
  24187. #. type: table
  24188. #: guix-git/doc/guix.texi:16475
  24189. msgid "When true, disable connman's vpn plugin."
  24190. msgstr ""
  24191. #. type: cindex
  24192. #: guix-git/doc/guix.texi:16478
  24193. #, no-wrap
  24194. msgid "WPA Supplicant"
  24195. msgstr ""
  24196. #. type: defvr
  24197. #: guix-git/doc/guix.texi:16479
  24198. #, no-wrap
  24199. msgid "{Scheme Variable} wpa-supplicant-service-type"
  24200. msgstr ""
  24201. #. type: defvr
  24202. #: guix-git/doc/guix.texi:16483
  24203. 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."
  24204. msgstr ""
  24205. #. type: deftp
  24206. #: guix-git/doc/guix.texi:16485
  24207. #, no-wrap
  24208. msgid "{Data Type} wpa-supplicant-configuration"
  24209. msgstr ""
  24210. #. type: deftp
  24211. #: guix-git/doc/guix.texi:16487
  24212. msgid "Data type representing the configuration of WPA Supplicant."
  24213. msgstr ""
  24214. #. type: deftp
  24215. #: guix-git/doc/guix.texi:16489 guix-git/doc/guix.texi:31581
  24216. msgid "It takes the following parameters:"
  24217. msgstr ""
  24218. #. type: item
  24219. #: guix-git/doc/guix.texi:16491
  24220. #, no-wrap
  24221. msgid "@code{wpa-supplicant} (default: @code{wpa-supplicant})"
  24222. msgstr ""
  24223. #. type: table
  24224. #: guix-git/doc/guix.texi:16493
  24225. msgid "The WPA Supplicant package to use."
  24226. msgstr ""
  24227. #. type: item
  24228. #: guix-git/doc/guix.texi:16494
  24229. #, no-wrap
  24230. msgid "@code{requirement} (default: @code{'(user-processes loopback syslogd)}"
  24231. msgstr ""
  24232. #. type: table
  24233. #: guix-git/doc/guix.texi:16496
  24234. msgid "List of services that should be started before WPA Supplicant starts."
  24235. msgstr ""
  24236. #. type: item
  24237. #: guix-git/doc/guix.texi:16497
  24238. #, no-wrap
  24239. msgid "@code{dbus?} (default: @code{#t})"
  24240. msgstr "@code{dbus?} (padrão: @code{#t})"
  24241. #. type: table
  24242. #: guix-git/doc/guix.texi:16499
  24243. msgid "Whether to listen for requests on D-Bus."
  24244. msgstr ""
  24245. #. type: item
  24246. #: guix-git/doc/guix.texi:16500
  24247. #, no-wrap
  24248. msgid "@code{pid-file} (default: @code{\"/var/run/wpa_supplicant.pid\"})"
  24249. msgstr ""
  24250. #. type: table
  24251. #: guix-git/doc/guix.texi:16502
  24252. msgid "Where to store the PID file."
  24253. msgstr ""
  24254. #. type: item
  24255. #: guix-git/doc/guix.texi:16503 guix-git/doc/guix.texi:30026
  24256. #: guix-git/doc/guix.texi:30168
  24257. #, no-wrap
  24258. msgid "@code{interface} (default: @code{#f})"
  24259. msgstr ""
  24260. #. type: table
  24261. #: guix-git/doc/guix.texi:16506
  24262. msgid "If this is set, it must specify the name of a network interface that WPA supplicant will control."
  24263. msgstr ""
  24264. #. type: table
  24265. #: guix-git/doc/guix.texi:16509
  24266. msgid "Optional configuration file to use."
  24267. msgstr ""
  24268. #. type: table
  24269. #: guix-git/doc/guix.texi:16512
  24270. msgid "List of additional command-line arguments to pass to the daemon."
  24271. msgstr ""
  24272. #. type: cindex
  24273. #: guix-git/doc/guix.texi:16515
  24274. #, no-wrap
  24275. msgid "hostapd service, for Wi-Fi access points"
  24276. msgstr ""
  24277. #. type: cindex
  24278. #: guix-git/doc/guix.texi:16516
  24279. #, no-wrap
  24280. msgid "Wi-Fi access points, hostapd service"
  24281. msgstr ""
  24282. #. type: defvr
  24283. #: guix-git/doc/guix.texi:16517
  24284. #, no-wrap
  24285. msgid "{Scheme Variable} hostapd-service-type"
  24286. msgstr ""
  24287. #. type: defvr
  24288. #: guix-git/doc/guix.texi:16522
  24289. 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:"
  24290. msgstr ""
  24291. #. type: lisp
  24292. #: guix-git/doc/guix.texi:16530
  24293. #, no-wrap
  24294. msgid ""
  24295. ";; Use wlan1 to run the access point for \"My Network\".\n"
  24296. "(service hostapd-service-type\n"
  24297. " (hostapd-configuration\n"
  24298. " (interface \"wlan1\")\n"
  24299. " (ssid \"My Network\")\n"
  24300. " (channel 12)))\n"
  24301. msgstr ""
  24302. #. type: deftp
  24303. #: guix-git/doc/guix.texi:16533
  24304. #, no-wrap
  24305. msgid "{Data Type} hostapd-configuration"
  24306. msgstr ""
  24307. #. type: deftp
  24308. #: guix-git/doc/guix.texi:16536
  24309. msgid "This data type represents the configuration of the hostapd service, with the following fields:"
  24310. msgstr ""
  24311. #. type: item
  24312. #: guix-git/doc/guix.texi:16538
  24313. #, no-wrap
  24314. msgid "@code{package} (default: @code{hostapd})"
  24315. msgstr ""
  24316. #. type: table
  24317. #: guix-git/doc/guix.texi:16540
  24318. msgid "The hostapd package to use."
  24319. msgstr ""
  24320. #. type: item
  24321. #: guix-git/doc/guix.texi:16541
  24322. #, no-wrap
  24323. msgid "@code{interface} (default: @code{\"wlan0\"})"
  24324. msgstr ""
  24325. #. type: table
  24326. #: guix-git/doc/guix.texi:16543
  24327. msgid "The network interface to run the WiFi access point."
  24328. msgstr ""
  24329. #. type: code{#1}
  24330. #: guix-git/doc/guix.texi:16544
  24331. #, no-wrap
  24332. msgid "ssid"
  24333. msgstr ""
  24334. #. type: table
  24335. #: guix-git/doc/guix.texi:16547
  24336. msgid "The SSID (@dfn{service set identifier}), a string that identifies this network."
  24337. msgstr ""
  24338. #. type: item
  24339. #: guix-git/doc/guix.texi:16548
  24340. #, no-wrap
  24341. msgid "@code{broadcast-ssid?} (default: @code{#t})"
  24342. msgstr ""
  24343. #. type: table
  24344. #: guix-git/doc/guix.texi:16550
  24345. msgid "Whether to broadcast this SSID."
  24346. msgstr ""
  24347. #. type: item
  24348. #: guix-git/doc/guix.texi:16551
  24349. #, no-wrap
  24350. msgid "@code{channel} (default: @code{1})"
  24351. msgstr ""
  24352. #. type: table
  24353. #: guix-git/doc/guix.texi:16553
  24354. msgid "The WiFi channel to use."
  24355. msgstr ""
  24356. #. type: item
  24357. #: guix-git/doc/guix.texi:16554
  24358. #, no-wrap
  24359. msgid "@code{driver} (default: @code{\"nl80211\"})"
  24360. msgstr ""
  24361. #. type: table
  24362. #: guix-git/doc/guix.texi:16558
  24363. 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."
  24364. msgstr ""
  24365. #. type: item
  24366. #: guix-git/doc/guix.texi:16559 guix-git/doc/guix.texi:22571
  24367. #: guix-git/doc/guix.texi:25649
  24368. #, no-wrap
  24369. msgid "@code{extra-settings} (default: @code{\"\"})"
  24370. msgstr ""
  24371. #. type: table
  24372. #: guix-git/doc/guix.texi:16563
  24373. 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."
  24374. msgstr ""
  24375. #. type: defvr
  24376. #: guix-git/doc/guix.texi:16566
  24377. #, no-wrap
  24378. msgid "{Scheme Variable} simulated-wifi-service-type"
  24379. msgstr ""
  24380. #. type: defvr
  24381. #: guix-git/doc/guix.texi:16573
  24382. 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."
  24383. msgstr ""
  24384. #. type: defvr
  24385. #: guix-git/doc/guix.texi:16575
  24386. msgid "The service's value is a @code{hostapd-configuration} record."
  24387. msgstr ""
  24388. #. type: cindex
  24389. #: guix-git/doc/guix.texi:16577
  24390. #, no-wrap
  24391. msgid "iptables"
  24392. msgstr ""
  24393. #. type: defvr
  24394. #: guix-git/doc/guix.texi:16578
  24395. #, no-wrap
  24396. msgid "{Scheme Variable} iptables-service-type"
  24397. msgstr ""
  24398. #. type: defvr
  24399. #: guix-git/doc/guix.texi:16584
  24400. 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."
  24401. msgstr ""
  24402. #. type: lisp
  24403. #: guix-git/doc/guix.texi:16606
  24404. #, no-wrap
  24405. msgid ""
  24406. "(service iptables-service-type\n"
  24407. " (iptables-configuration\n"
  24408. " (ipv4-rules (plain-file \"iptables.rules\" \"*filter\n"
  24409. ":INPUT ACCEPT\n"
  24410. ":FORWARD ACCEPT\n"
  24411. ":OUTPUT ACCEPT\n"
  24412. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  24413. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  24414. "-A INPUT -j REJECT --reject-with icmp-port-unreachable\n"
  24415. "COMMIT\n"
  24416. "\"))\n"
  24417. " (ipv6-rules (plain-file \"ip6tables.rules\" \"*filter\n"
  24418. ":INPUT ACCEPT\n"
  24419. ":FORWARD ACCEPT\n"
  24420. ":OUTPUT ACCEPT\n"
  24421. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  24422. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  24423. "-A INPUT -j REJECT --reject-with icmp6-port-unreachable\n"
  24424. "COMMIT\n"
  24425. "\"))))\n"
  24426. msgstr ""
  24427. #. type: deftp
  24428. #: guix-git/doc/guix.texi:16609
  24429. #, no-wrap
  24430. msgid "{Data Type} iptables-configuration"
  24431. msgstr ""
  24432. #. type: deftp
  24433. #: guix-git/doc/guix.texi:16611
  24434. msgid "The data type representing the configuration of iptables."
  24435. msgstr ""
  24436. #. type: item
  24437. #: guix-git/doc/guix.texi:16613
  24438. #, no-wrap
  24439. msgid "@code{iptables} (default: @code{iptables})"
  24440. msgstr ""
  24441. #. type: table
  24442. #: guix-git/doc/guix.texi:16616
  24443. msgid "The iptables package that provides @code{iptables-restore} and @code{ip6tables-restore}."
  24444. msgstr ""
  24445. #. type: item
  24446. #: guix-git/doc/guix.texi:16616
  24447. #, no-wrap
  24448. msgid "@code{ipv4-rules} (default: @code{%iptables-accept-all-rules})"
  24449. msgstr ""
  24450. #. type: table
  24451. #: guix-git/doc/guix.texi:16620
  24452. 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})."
  24453. msgstr ""
  24454. #. type: item
  24455. #: guix-git/doc/guix.texi:16620
  24456. #, no-wrap
  24457. msgid "@code{ipv6-rules} (default: @code{%iptables-accept-all-rules})"
  24458. msgstr ""
  24459. #. type: table
  24460. #: guix-git/doc/guix.texi:16624
  24461. 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})."
  24462. msgstr ""
  24463. #. type: cindex
  24464. #: guix-git/doc/guix.texi:16627
  24465. #, no-wrap
  24466. msgid "nftables"
  24467. msgstr ""
  24468. #. type: defvr
  24469. #: guix-git/doc/guix.texi:16628
  24470. #, no-wrap
  24471. msgid "{Scheme Variable} nftables-service-type"
  24472. msgstr ""
  24473. #. type: defvr
  24474. #: guix-git/doc/guix.texi:16636
  24475. 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:"
  24476. msgstr ""
  24477. #. type: lisp
  24478. #: guix-git/doc/guix.texi:16639
  24479. #, no-wrap
  24480. msgid "(service nftables-service-type)\n"
  24481. msgstr ""
  24482. #. type: deftp
  24483. #: guix-git/doc/guix.texi:16642
  24484. #, no-wrap
  24485. msgid "{Data Type} nftables-configuration"
  24486. msgstr ""
  24487. #. type: deftp
  24488. #: guix-git/doc/guix.texi:16644
  24489. msgid "The data type representing the configuration of nftables."
  24490. msgstr ""
  24491. #. type: item
  24492. #: guix-git/doc/guix.texi:16646
  24493. #, no-wrap
  24494. msgid "@code{package} (default: @code{nftables})"
  24495. msgstr ""
  24496. #. type: table
  24497. #: guix-git/doc/guix.texi:16648
  24498. msgid "The nftables package that provides @command{nft}."
  24499. msgstr ""
  24500. #. type: item
  24501. #: guix-git/doc/guix.texi:16648
  24502. #, no-wrap
  24503. msgid "@code{ruleset} (default: @code{%default-nftables-ruleset})"
  24504. msgstr ""
  24505. #. type: table
  24506. #: guix-git/doc/guix.texi:16651
  24507. msgid "The nftables ruleset to use. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  24508. msgstr ""
  24509. #. type: cindex
  24510. #: guix-git/doc/guix.texi:16654
  24511. #, no-wrap
  24512. msgid "NTP (Network Time Protocol), service"
  24513. msgstr ""
  24514. #. type: cindex
  24515. #: guix-git/doc/guix.texi:16655
  24516. #, no-wrap
  24517. msgid "ntpd, service for the Network Time Protocol daemon"
  24518. msgstr ""
  24519. #. type: cindex
  24520. #: guix-git/doc/guix.texi:16656
  24521. #, no-wrap
  24522. msgid "real time clock"
  24523. msgstr ""
  24524. #. type: defvr
  24525. #: guix-git/doc/guix.texi:16657
  24526. #, no-wrap
  24527. msgid "{Scheme Variable} ntp-service-type"
  24528. msgstr ""
  24529. #. type: defvr
  24530. #: guix-git/doc/guix.texi:16661
  24531. 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."
  24532. msgstr ""
  24533. #. type: defvr
  24534. #: guix-git/doc/guix.texi:16664
  24535. msgid "The value of this service is an @code{ntpd-configuration} object, as described below."
  24536. msgstr ""
  24537. #. type: deftp
  24538. #: guix-git/doc/guix.texi:16666
  24539. #, no-wrap
  24540. msgid "{Data Type} ntp-configuration"
  24541. msgstr ""
  24542. #. type: deftp
  24543. #: guix-git/doc/guix.texi:16668
  24544. msgid "This is the data type for the NTP service configuration."
  24545. msgstr ""
  24546. #. type: item
  24547. #: guix-git/doc/guix.texi:16670
  24548. #, no-wrap
  24549. msgid "@code{servers} (default: @code{%ntp-servers})"
  24550. msgstr ""
  24551. #. type: table
  24552. #: guix-git/doc/guix.texi:16674
  24553. 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."
  24554. msgstr ""
  24555. #. type: item
  24556. #: guix-git/doc/guix.texi:16675
  24557. #, no-wrap
  24558. msgid "@code{allow-large-adjustment?} (default: @code{#t})"
  24559. msgstr ""
  24560. #. type: table
  24561. #: guix-git/doc/guix.texi:16678
  24562. msgid "This determines whether @command{ntpd} is allowed to make an initial adjustment of more than 1,000 seconds."
  24563. msgstr ""
  24564. #. type: item
  24565. #: guix-git/doc/guix.texi:16679
  24566. #, no-wrap
  24567. msgid "@code{ntp} (default: @code{ntp})"
  24568. msgstr ""
  24569. #. type: table
  24570. #: guix-git/doc/guix.texi:16681
  24571. msgid "The NTP package to use."
  24572. msgstr ""
  24573. #. type: defvr
  24574. #: guix-git/doc/guix.texi:16684
  24575. #, no-wrap
  24576. msgid "{Scheme Variable} %ntp-servers"
  24577. msgstr ""
  24578. #. type: defvr
  24579. #: guix-git/doc/guix.texi:16687
  24580. 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}."
  24581. msgstr ""
  24582. #. type: deftp
  24583. #: guix-git/doc/guix.texi:16689
  24584. #, no-wrap
  24585. msgid "{Data Type} ntp-server"
  24586. msgstr ""
  24587. #. type: deftp
  24588. #: guix-git/doc/guix.texi:16691
  24589. msgid "The data type representing the configuration of a NTP server."
  24590. msgstr ""
  24591. #. type: item
  24592. #: guix-git/doc/guix.texi:16693
  24593. #, no-wrap
  24594. msgid "@code{type} (default: @code{'server})"
  24595. msgstr ""
  24596. #. type: table
  24597. #: guix-git/doc/guix.texi:16696
  24598. msgid "The type of the NTP server, given as a symbol. One of @code{'pool}, @code{'server}, @code{'peer}, @code{'broadcast} or @code{'manycastclient}."
  24599. msgstr ""
  24600. #. type: code{#1}
  24601. #: guix-git/doc/guix.texi:16697
  24602. #, no-wrap
  24603. msgid "address"
  24604. msgstr ""
  24605. #. type: table
  24606. #: guix-git/doc/guix.texi:16699
  24607. msgid "The address of the server, as a string."
  24608. msgstr ""
  24609. #. type: code{#1}
  24610. #: guix-git/doc/guix.texi:16700 guix-git/doc/guix.texi:32416
  24611. #: guix-git/doc/guix.texi:32436
  24612. #, no-wrap
  24613. msgid "options"
  24614. msgstr ""
  24615. #. type: table
  24616. #: guix-git/doc/guix.texi:16705
  24617. 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."
  24618. msgstr ""
  24619. #. type: example
  24620. #: guix-git/doc/guix.texi:16711
  24621. #, no-wrap
  24622. msgid ""
  24623. "(ntp-server\n"
  24624. " (type 'server)\n"
  24625. " (address \"some.ntp.server.org\")\n"
  24626. " (options `(iburst (version 3) (maxpoll 16) prefer))))\n"
  24627. msgstr ""
  24628. #. type: cindex
  24629. #: guix-git/doc/guix.texi:16715
  24630. #, no-wrap
  24631. msgid "OpenNTPD"
  24632. msgstr ""
  24633. #. type: deffn
  24634. #: guix-git/doc/guix.texi:16716
  24635. #, no-wrap
  24636. msgid "{Scheme Procedure} openntpd-service-type"
  24637. msgstr ""
  24638. #. type: deffn
  24639. #: guix-git/doc/guix.texi:16720
  24640. 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."
  24641. msgstr ""
  24642. #. type: lisp
  24643. #: guix-git/doc/guix.texi:16729
  24644. #, no-wrap
  24645. msgid ""
  24646. "(service\n"
  24647. " openntpd-service-type\n"
  24648. " (openntpd-configuration\n"
  24649. " (listen-on '(\"127.0.0.1\" \"::1\"))\n"
  24650. " (sensor '(\"udcf0 correction 70000\"))\n"
  24651. " (constraint-from '(\"www.gnu.org\"))\n"
  24652. " (constraints-from '(\"https://www.google.com/\"))))\n"
  24653. "\n"
  24654. msgstr ""
  24655. #. type: defvr
  24656. #: guix-git/doc/guix.texi:16733
  24657. #, no-wrap
  24658. msgid "{Scheme Variable} %openntpd-servers"
  24659. msgstr ""
  24660. #. type: defvr
  24661. #: guix-git/doc/guix.texi:16736
  24662. msgid "This variable is a list of the server addresses defined in @code{%ntp-servers}."
  24663. msgstr ""
  24664. #. type: deftp
  24665. #: guix-git/doc/guix.texi:16738
  24666. #, no-wrap
  24667. msgid "{Data Type} openntpd-configuration"
  24668. msgstr ""
  24669. #. type: item
  24670. #: guix-git/doc/guix.texi:16740
  24671. #, no-wrap
  24672. msgid "@code{openntpd} (default: @code{(file-append openntpd \"/sbin/ntpd\")})"
  24673. msgstr ""
  24674. #. type: table
  24675. #: guix-git/doc/guix.texi:16742
  24676. msgid "The openntpd executable to use."
  24677. msgstr ""
  24678. #. type: item
  24679. #: guix-git/doc/guix.texi:16742
  24680. #, no-wrap
  24681. msgid "@code{listen-on} (default: @code{'(\"127.0.0.1\" \"::1\")})"
  24682. msgstr ""
  24683. #. type: table
  24684. #: guix-git/doc/guix.texi:16744
  24685. msgid "A list of local IP addresses or hostnames the ntpd daemon should listen on."
  24686. msgstr ""
  24687. #. type: item
  24688. #: guix-git/doc/guix.texi:16744
  24689. #, no-wrap
  24690. msgid "@code{query-from} (default: @code{'()})"
  24691. msgstr ""
  24692. #. type: table
  24693. #: guix-git/doc/guix.texi:16746
  24694. msgid "A list of local IP address the ntpd daemon should use for outgoing queries."
  24695. msgstr ""
  24696. #. type: item
  24697. #: guix-git/doc/guix.texi:16746
  24698. #, no-wrap
  24699. msgid "@code{sensor} (default: @code{'()})"
  24700. msgstr ""
  24701. #. type: table
  24702. #: guix-git/doc/guix.texi:16751
  24703. 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."
  24704. msgstr ""
  24705. #. type: item
  24706. #: guix-git/doc/guix.texi:16751
  24707. #, no-wrap
  24708. msgid "@code{server} (default: @code{'()})"
  24709. msgstr ""
  24710. #. type: table
  24711. #: guix-git/doc/guix.texi:16753
  24712. msgid "Specify a list of IP addresses or hostnames of NTP servers to synchronize to."
  24713. msgstr ""
  24714. #. type: item
  24715. #: guix-git/doc/guix.texi:16753
  24716. #, no-wrap
  24717. msgid "@code{servers} (default: @code{%openntp-servers})"
  24718. msgstr ""
  24719. #. type: table
  24720. #: guix-git/doc/guix.texi:16755
  24721. msgid "Specify a list of IP addresses or hostnames of NTP pools to synchronize to."
  24722. msgstr ""
  24723. #. type: item
  24724. #: guix-git/doc/guix.texi:16755
  24725. #, no-wrap
  24726. msgid "@code{constraint-from} (default: @code{'()})"
  24727. msgstr ""
  24728. #. type: table
  24729. #: guix-git/doc/guix.texi:16762
  24730. 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."
  24731. msgstr ""
  24732. #. type: item
  24733. #: guix-git/doc/guix.texi:16762
  24734. #, no-wrap
  24735. msgid "@code{constraints-from} (default: @code{'()})"
  24736. msgstr ""
  24737. #. type: table
  24738. #: guix-git/doc/guix.texi:16766
  24739. 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."
  24740. msgstr ""
  24741. #. type: cindex
  24742. #: guix-git/doc/guix.texi:16769
  24743. #, no-wrap
  24744. msgid "inetd"
  24745. msgstr ""
  24746. #. type: deffn
  24747. #: guix-git/doc/guix.texi:16770
  24748. #, no-wrap
  24749. msgid "{Scheme variable} inetd-service-type"
  24750. msgstr ""
  24751. #. type: deffn
  24752. #: guix-git/doc/guix.texi:16775
  24753. 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."
  24754. msgstr ""
  24755. #. type: deffn
  24756. #: guix-git/doc/guix.texi:16781
  24757. 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}:"
  24758. msgstr ""
  24759. #. type: lisp
  24760. #: guix-git/doc/guix.texi:16804
  24761. #, no-wrap
  24762. msgid ""
  24763. "(service\n"
  24764. " inetd-service-type\n"
  24765. " (inetd-configuration\n"
  24766. " (entries (list\n"
  24767. " (inetd-entry\n"
  24768. " (name \"echo\")\n"
  24769. " (socket-type 'stream)\n"
  24770. " (protocol \"tcp\")\n"
  24771. " (wait? #f)\n"
  24772. " (user \"root\"))\n"
  24773. " (inetd-entry\n"
  24774. " (node \"127.0.0.1\")\n"
  24775. " (name \"smtp\")\n"
  24776. " (socket-type 'stream)\n"
  24777. " (protocol \"tcp\")\n"
  24778. " (wait? #f)\n"
  24779. " (user \"root\")\n"
  24780. " (program (file-append openssh \"/bin/ssh\"))\n"
  24781. " (arguments\n"
  24782. " '(\"ssh\" \"-qT\" \"-i\" \"/path/to/ssh_key\"\n"
  24783. " \"-W\" \"smtp-server:25\" \"user@@hostname\")))))))\n"
  24784. msgstr ""
  24785. #. type: deffn
  24786. #: guix-git/doc/guix.texi:16807
  24787. msgid "See below for more details about @code{inetd-configuration}."
  24788. msgstr ""
  24789. #. type: deftp
  24790. #: guix-git/doc/guix.texi:16809
  24791. #, no-wrap
  24792. msgid "{Data Type} inetd-configuration"
  24793. msgstr ""
  24794. #. type: deftp
  24795. #: guix-git/doc/guix.texi:16811
  24796. msgid "Data type representing the configuration of @command{inetd}."
  24797. msgstr ""
  24798. #. type: item
  24799. #: guix-git/doc/guix.texi:16813
  24800. #, no-wrap
  24801. msgid "@code{program} (default: @code{(file-append inetutils \"/libexec/inetd\")})"
  24802. msgstr ""
  24803. #. type: table
  24804. #: guix-git/doc/guix.texi:16815
  24805. msgid "The @command{inetd} executable to use."
  24806. msgstr ""
  24807. #. type: item
  24808. #: guix-git/doc/guix.texi:16816 guix-git/doc/guix.texi:26491
  24809. #, no-wrap
  24810. msgid "@code{entries} (default: @code{'()})"
  24811. msgstr ""
  24812. #. type: table
  24813. #: guix-git/doc/guix.texi:16819
  24814. msgid "A list of @command{inetd} service entries. Each entry should be created by the @code{inetd-entry} constructor."
  24815. msgstr ""
  24816. #. type: deftp
  24817. #: guix-git/doc/guix.texi:16822
  24818. #, no-wrap
  24819. msgid "{Data Type} inetd-entry"
  24820. msgstr ""
  24821. #. type: deftp
  24822. #: guix-git/doc/guix.texi:16826
  24823. msgid "Data type representing an entry in the @command{inetd} configuration. Each entry corresponds to a socket where @command{inetd} will listen for requests."
  24824. msgstr ""
  24825. #. type: item
  24826. #: guix-git/doc/guix.texi:16828
  24827. #, no-wrap
  24828. msgid "@code{node} (default: @code{#f})"
  24829. msgstr "@code{node} (default: @code{#f})"
  24830. #. type: table
  24831. #: guix-git/doc/guix.texi:16833
  24832. 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."
  24833. msgstr ""
  24834. #. type: table
  24835. #: guix-git/doc/guix.texi:16835
  24836. msgid "A string, the name must correspond to an entry in @code{/etc/services}."
  24837. msgstr ""
  24838. #. type: code{#1}
  24839. #: guix-git/doc/guix.texi:16835
  24840. #, no-wrap
  24841. msgid "socket-type"
  24842. msgstr ""
  24843. #. type: table
  24844. #: guix-git/doc/guix.texi:16838
  24845. msgid "One of @code{'stream}, @code{'dgram}, @code{'raw}, @code{'rdm} or @code{'seqpacket}."
  24846. msgstr ""
  24847. #. type: code{#1}
  24848. #: guix-git/doc/guix.texi:16838
  24849. #, no-wrap
  24850. msgid "protocol"
  24851. msgstr ""
  24852. #. type: table
  24853. #: guix-git/doc/guix.texi:16840
  24854. msgid "A string, must correspond to an entry in @code{/etc/protocols}."
  24855. msgstr ""
  24856. #. type: item
  24857. #: guix-git/doc/guix.texi:16840
  24858. #, no-wrap
  24859. msgid "@code{wait?} (default: @code{#t})"
  24860. msgstr "@code{wait?} (padrão: @code{#t})"
  24861. #. type: table
  24862. #: guix-git/doc/guix.texi:16843
  24863. msgid "Whether @command{inetd} should wait for the server to exit before listening to new service requests."
  24864. msgstr ""
  24865. #. type: table
  24866. #: guix-git/doc/guix.texi:16848
  24867. 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\"}."
  24868. msgstr ""
  24869. #. type: item
  24870. #: guix-git/doc/guix.texi:16848
  24871. #, no-wrap
  24872. msgid "@code{program} (default: @code{\"internal\"})"
  24873. msgstr ""
  24874. #. type: table
  24875. #: guix-git/doc/guix.texi:16851
  24876. msgid "The server program which will serve the requests, or @code{\"internal\"} if @command{inetd} should use a built-in service."
  24877. msgstr ""
  24878. #. type: table
  24879. #: guix-git/doc/guix.texi:16856
  24880. 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\")}."
  24881. msgstr ""
  24882. #. type: deftp
  24883. #: guix-git/doc/guix.texi:16860
  24884. msgid "@xref{Configuration file,,, inetutils, GNU Inetutils} for a more detailed discussion of each configuration field."
  24885. msgstr ""
  24886. #. type: cindex
  24887. #: guix-git/doc/guix.texi:16862
  24888. #, no-wrap
  24889. msgid "opendht, distributed hash table network service"
  24890. msgstr ""
  24891. #. type: cindex
  24892. #: guix-git/doc/guix.texi:16863
  24893. #, no-wrap
  24894. msgid "dhtproxy, for use with jami"
  24895. msgstr ""
  24896. #. type: defvr
  24897. #: guix-git/doc/guix.texi:16864
  24898. #, fuzzy, no-wrap
  24899. msgid "{Scheme Variable} opendht-service-type"
  24900. msgstr "guix-publish-service-type"
  24901. #. type: defvr
  24902. #: guix-git/doc/guix.texi:16869
  24903. 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."
  24904. msgstr ""
  24905. #. type: quotation
  24906. #: guix-git/doc/guix.texi:16879
  24907. 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."
  24908. msgstr ""
  24909. #. type: defvr
  24910. #: guix-git/doc/guix.texi:16883
  24911. msgid "The value of this service is a @code{opendht-configuration} object, as described below."
  24912. msgstr ""
  24913. #. type: deftp
  24914. #: guix-git/doc/guix.texi:16885
  24915. #, fuzzy, no-wrap
  24916. msgid "{Data Type} opendht-configuration"
  24917. msgstr "build-machine {Data Type}"
  24918. #. type: deftp
  24919. #: guix-git/doc/guix.texi:16887
  24920. msgid "This is the data type for the OpenDHT service configuration."
  24921. msgstr ""
  24922. #. type: deftp
  24923. #: guix-git/doc/guix.texi:16892
  24924. msgid "Available @code{opendht-configuration} fields are:"
  24925. msgstr ""
  24926. #. type: deftypevr
  24927. #: guix-git/doc/guix.texi:16893
  24928. #, no-wrap
  24929. msgid "{@code{opendht-configuration} parameter} package opendht"
  24930. msgstr ""
  24931. #. type: deftypevr
  24932. #: guix-git/doc/guix.texi:16895
  24933. #, fuzzy
  24934. #| msgid "The GPM package to use."
  24935. msgid "The @code{opendht} package to use."
  24936. msgstr "O pacote GPM a ser usado."
  24937. #. type: deftypevr
  24938. #: guix-git/doc/guix.texi:16898
  24939. #, no-wrap
  24940. msgid "{@code{opendht-configuration} parameter} boolean peer-discovery?"
  24941. msgstr ""
  24942. #. type: deftypevr
  24943. #: guix-git/doc/guix.texi:16900
  24944. msgid "Whether to enable the multicast local peer discovery mechanism."
  24945. msgstr ""
  24946. #. type: deftypevr
  24947. #: guix-git/doc/guix.texi:16902 guix-git/doc/guix.texi:16910
  24948. #: guix-git/doc/guix.texi:16918 guix-git/doc/guix.texi:18562
  24949. #: guix-git/doc/guix.texi:18632 guix-git/doc/guix.texi:18674
  24950. #: guix-git/doc/guix.texi:18694 guix-git/doc/guix.texi:18700
  24951. #: guix-git/doc/guix.texi:18716 guix-git/doc/guix.texi:18804
  24952. #: guix-git/doc/guix.texi:18892 guix-git/doc/guix.texi:19205
  24953. #: guix-git/doc/guix.texi:19218 guix-git/doc/guix.texi:20335
  24954. #: guix-git/doc/guix.texi:21813 guix-git/doc/guix.texi:21919
  24955. #: guix-git/doc/guix.texi:21984 guix-git/doc/guix.texi:21993
  24956. #: guix-git/doc/guix.texi:23226 guix-git/doc/guix.texi:23270
  24957. #: guix-git/doc/guix.texi:23287 guix-git/doc/guix.texi:23295
  24958. #: guix-git/doc/guix.texi:23310 guix-git/doc/guix.texi:23328
  24959. #: guix-git/doc/guix.texi:23352 guix-git/doc/guix.texi:23405
  24960. #: guix-git/doc/guix.texi:23538 guix-git/doc/guix.texi:23572
  24961. #: guix-git/doc/guix.texi:23608 guix-git/doc/guix.texi:23624
  24962. #: guix-git/doc/guix.texi:23652 guix-git/doc/guix.texi:23713
  24963. #: guix-git/doc/guix.texi:23796 guix-git/doc/guix.texi:27206
  24964. #: guix-git/doc/guix.texi:27220 guix-git/doc/guix.texi:27242
  24965. #: guix-git/doc/guix.texi:27361 guix-git/doc/guix.texi:27375
  24966. #: guix-git/doc/guix.texi:27396 guix-git/doc/guix.texi:27417
  24967. #: guix-git/doc/guix.texi:27424 guix-git/doc/guix.texi:27469
  24968. #: guix-git/doc/guix.texi:27476 guix-git/doc/guix.texi:28259
  24969. #: guix-git/doc/guix.texi:28273 guix-git/doc/guix.texi:28445
  24970. #: guix-git/doc/guix.texi:28490 guix-git/doc/guix.texi:28577
  24971. #: guix-git/doc/guix.texi:28779 guix-git/doc/guix.texi:28812
  24972. #: guix-git/doc/guix.texi:28952 guix-git/doc/guix.texi:28963
  24973. #: guix-git/doc/guix.texi:29214 guix-git/doc/guix.texi:30680
  24974. #: guix-git/doc/guix.texi:30689 guix-git/doc/guix.texi:30697
  24975. #: guix-git/doc/guix.texi:30705 guix-git/doc/guix.texi:30721
  24976. #: guix-git/doc/guix.texi:30737 guix-git/doc/guix.texi:30745
  24977. #: guix-git/doc/guix.texi:30753 guix-git/doc/guix.texi:30762
  24978. #: guix-git/doc/guix.texi:30771 guix-git/doc/guix.texi:30787
  24979. #: guix-git/doc/guix.texi:30851 guix-git/doc/guix.texi:30957
  24980. #: guix-git/doc/guix.texi:30965 guix-git/doc/guix.texi:30973
  24981. #: guix-git/doc/guix.texi:30998 guix-git/doc/guix.texi:31052
  24982. #: guix-git/doc/guix.texi:31100 guix-git/doc/guix.texi:31301
  24983. #: guix-git/doc/guix.texi:31308
  24984. msgid "Defaults to @samp{#f}."
  24985. msgstr ""
  24986. #. type: deftypevr
  24987. #: guix-git/doc/guix.texi:16905
  24988. #, no-wrap
  24989. msgid "{@code{opendht-configuration} parameter} boolean enable-logging?"
  24990. msgstr ""
  24991. #. type: deftypevr
  24992. #: guix-git/doc/guix.texi:16908
  24993. msgid "Whether to enable logging messages to syslog. It is disabled by default as it is rather verbose."
  24994. msgstr ""
  24995. #. type: deftypevr
  24996. #: guix-git/doc/guix.texi:16913
  24997. #, no-wrap
  24998. msgid "{@code{opendht-configuration} parameter} boolean debug?"
  24999. msgstr ""
  25000. #. type: deftypevr
  25001. #: guix-git/doc/guix.texi:16916
  25002. msgid "Whether to enable debug-level logging messages. This has no effect if logging is disabled."
  25003. msgstr ""
  25004. #. type: deftypevr
  25005. #: guix-git/doc/guix.texi:16921
  25006. #, no-wrap
  25007. msgid "{@code{opendht-configuration} parameter} maybe-string bootstrap-host"
  25008. msgstr ""
  25009. #. type: deftypevr
  25010. #: guix-git/doc/guix.texi:16927
  25011. 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."
  25012. msgstr ""
  25013. #. type: deftypevr
  25014. #: guix-git/doc/guix.texi:16929
  25015. msgid "Defaults to @samp{\"bootstrap.jami.net:4222\"}."
  25016. msgstr ""
  25017. #. type: deftypevr
  25018. #: guix-git/doc/guix.texi:16932
  25019. #, no-wrap
  25020. msgid "{@code{opendht-configuration} parameter} maybe-number port"
  25021. msgstr ""
  25022. #. type: deftypevr
  25023. #: guix-git/doc/guix.texi:16935
  25024. msgid "The UDP port to bind to. When set to @code{'disabled}, an available port is automatically selected."
  25025. msgstr ""
  25026. #. type: deftypevr
  25027. #: guix-git/doc/guix.texi:16937
  25028. msgid "Defaults to @samp{4222}."
  25029. msgstr ""
  25030. #. type: deftypevr
  25031. #: guix-git/doc/guix.texi:16940
  25032. #, no-wrap
  25033. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port"
  25034. msgstr ""
  25035. #. type: deftypevr
  25036. #: guix-git/doc/guix.texi:16942
  25037. msgid "Spawn a proxy server listening on the specified port."
  25038. msgstr ""
  25039. #. type: deftypevr
  25040. #: guix-git/doc/guix.texi:16944 guix-git/doc/guix.texi:16951
  25041. #: guix-git/doc/guix.texi:23234 guix-git/doc/guix.texi:23278
  25042. #: guix-git/doc/guix.texi:23491 guix-git/doc/guix.texi:23547
  25043. #: guix-git/doc/guix.texi:23721 guix-git/doc/guix.texi:23732
  25044. #: guix-git/doc/guix.texi:23805 guix-git/doc/guix.texi:24530
  25045. #: guix-git/doc/guix.texi:24573 guix-git/doc/guix.texi:24581
  25046. #: guix-git/doc/guix.texi:24589 guix-git/doc/guix.texi:24597
  25047. #: guix-git/doc/guix.texi:24606 guix-git/doc/guix.texi:24614
  25048. #: guix-git/doc/guix.texi:24621 guix-git/doc/guix.texi:24629
  25049. #: guix-git/doc/guix.texi:24637 guix-git/doc/guix.texi:24647
  25050. #: guix-git/doc/guix.texi:24654 guix-git/doc/guix.texi:24678
  25051. #: guix-git/doc/guix.texi:24686 guix-git/doc/guix.texi:24712
  25052. #: guix-git/doc/guix.texi:24721 guix-git/doc/guix.texi:24730
  25053. #: guix-git/doc/guix.texi:24739 guix-git/doc/guix.texi:24748
  25054. #: guix-git/doc/guix.texi:24757 guix-git/doc/guix.texi:24765
  25055. #: guix-git/doc/guix.texi:24773 guix-git/doc/guix.texi:24780
  25056. #: guix-git/doc/guix.texi:24788 guix-git/doc/guix.texi:24795
  25057. #: guix-git/doc/guix.texi:24803 guix-git/doc/guix.texi:24811
  25058. #: guix-git/doc/guix.texi:24820 guix-git/doc/guix.texi:24829
  25059. #: guix-git/doc/guix.texi:24837 guix-git/doc/guix.texi:24845
  25060. #: guix-git/doc/guix.texi:24853 guix-git/doc/guix.texi:24864
  25061. #: guix-git/doc/guix.texi:24874 guix-git/doc/guix.texi:24885
  25062. #: guix-git/doc/guix.texi:24894 guix-git/doc/guix.texi:24904
  25063. #: guix-git/doc/guix.texi:24912 guix-git/doc/guix.texi:24923
  25064. #: guix-git/doc/guix.texi:24932 guix-git/doc/guix.texi:24942
  25065. #: guix-git/doc/guix.texi:28172 guix-git/doc/guix.texi:28179
  25066. #: guix-git/doc/guix.texi:28186 guix-git/doc/guix.texi:28193
  25067. #: guix-git/doc/guix.texi:28200 guix-git/doc/guix.texi:28207
  25068. #: guix-git/doc/guix.texi:28215 guix-git/doc/guix.texi:28223
  25069. #: guix-git/doc/guix.texi:28230 guix-git/doc/guix.texi:28237
  25070. #: guix-git/doc/guix.texi:28244 guix-git/doc/guix.texi:28251
  25071. #: guix-git/doc/guix.texi:28281 guix-git/doc/guix.texi:28319
  25072. #: guix-git/doc/guix.texi:28326 guix-git/doc/guix.texi:28335
  25073. #: guix-git/doc/guix.texi:28357 guix-git/doc/guix.texi:28365
  25074. #: guix-git/doc/guix.texi:28372 guix-git/doc/guix.texi:28527
  25075. #: guix-git/doc/guix.texi:28547 guix-git/doc/guix.texi:28562
  25076. #: guix-git/doc/guix.texi:28569 guix-git/doc/guix.texi:31253
  25077. #: guix-git/doc/guix.texi:31261 guix-git/doc/guix.texi:31269
  25078. #: guix-git/doc/guix.texi:31277 guix-git/doc/guix.texi:31285
  25079. #: guix-git/doc/guix.texi:31293
  25080. msgid "Defaults to @samp{disabled}."
  25081. msgstr ""
  25082. #. type: deftypevr
  25083. #: guix-git/doc/guix.texi:16947
  25084. #, no-wrap
  25085. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port-tls"
  25086. msgstr ""
  25087. #. type: deftypevr
  25088. #: guix-git/doc/guix.texi:16949
  25089. msgid "Spawn a proxy server listening to TLS connections on the specified port."
  25090. msgstr ""
  25091. #. type: cindex
  25092. #: guix-git/doc/guix.texi:16955
  25093. #, no-wrap
  25094. msgid "Tor"
  25095. msgstr ""
  25096. #. type: defvr
  25097. #: guix-git/doc/guix.texi:16956
  25098. #, no-wrap
  25099. msgid "{Scheme Variable} tor-service-type"
  25100. msgstr ""
  25101. #. type: defvr
  25102. #: guix-git/doc/guix.texi:16961
  25103. 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."
  25104. msgstr ""
  25105. #. type: deftp
  25106. #: guix-git/doc/guix.texi:16964
  25107. #, no-wrap
  25108. msgid "{Data Type} tor-configuration"
  25109. msgstr ""
  25110. #. type: item
  25111. #: guix-git/doc/guix.texi:16966
  25112. #, no-wrap
  25113. msgid "@code{tor} (default: @code{tor})"
  25114. msgstr "@code{tor} (default: @code{tor})"
  25115. #. type: table
  25116. #: guix-git/doc/guix.texi:16971
  25117. 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."
  25118. msgstr ""
  25119. #. type: item
  25120. #: guix-git/doc/guix.texi:16972
  25121. #, no-wrap
  25122. msgid "@code{config-file} (default: @code{(plain-file \"empty\" \"\")})"
  25123. msgstr ""
  25124. #. type: table
  25125. #: guix-git/doc/guix.texi:16978
  25126. 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."
  25127. msgstr ""
  25128. #. type: item
  25129. #: guix-git/doc/guix.texi:16979
  25130. #, no-wrap
  25131. msgid "@code{hidden-services} (default: @code{'()})"
  25132. msgstr ""
  25133. #. type: table
  25134. #: guix-git/doc/guix.texi:16985
  25135. 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."
  25136. msgstr ""
  25137. #. type: item
  25138. #: guix-git/doc/guix.texi:16986
  25139. #, no-wrap
  25140. msgid "@code{socks-socket-type} (default: @code{'tcp})"
  25141. msgstr ""
  25142. #. type: table
  25143. #: guix-git/doc/guix.texi:16993
  25144. 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."
  25145. msgstr ""
  25146. #. type: table
  25147. #: guix-git/doc/guix.texi:16998
  25148. 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."
  25149. msgstr ""
  25150. #. type: item
  25151. #: guix-git/doc/guix.texi:16999
  25152. #, no-wrap
  25153. msgid "@code{control-socket?} (default: @code{#f})"
  25154. msgstr ""
  25155. #. type: table
  25156. #: guix-git/doc/guix.texi:17005
  25157. 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."
  25158. msgstr ""
  25159. #. type: cindex
  25160. #: guix-git/doc/guix.texi:17009
  25161. #, no-wrap
  25162. msgid "hidden service"
  25163. msgstr ""
  25164. #. type: deffn
  25165. #: guix-git/doc/guix.texi:17010
  25166. #, no-wrap
  25167. msgid "{Scheme Procedure} tor-hidden-service @var{name} @var{mapping}"
  25168. msgstr ""
  25169. #. type: deffn
  25170. #: guix-git/doc/guix.texi:17013
  25171. 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:"
  25172. msgstr ""
  25173. #. type: example
  25174. #: guix-git/doc/guix.texi:17017
  25175. #, no-wrap
  25176. msgid ""
  25177. " '((22 \"127.0.0.1:22\")\n"
  25178. " (80 \"127.0.0.1:8080\"))\n"
  25179. msgstr ""
  25180. #. type: deffn
  25181. #: guix-git/doc/guix.texi:17021
  25182. 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."
  25183. msgstr ""
  25184. #. type: deffn
  25185. #: guix-git/doc/guix.texi:17025
  25186. 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."
  25187. msgstr ""
  25188. #. type: deffn
  25189. #: guix-git/doc/guix.texi:17028
  25190. msgid "See @uref{https://www.torproject.org/docs/tor-hidden-service.html.en, the Tor project's documentation} for more information."
  25191. msgstr ""
  25192. #. type: Plain text
  25193. #: guix-git/doc/guix.texi:17031
  25194. msgid "The @code{(gnu services rsync)} module provides the following services:"
  25195. msgstr ""
  25196. #. type: Plain text
  25197. #: guix-git/doc/guix.texi:17035
  25198. 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."
  25199. msgstr ""
  25200. #. type: deffn
  25201. #: guix-git/doc/guix.texi:17036
  25202. #, no-wrap
  25203. msgid "{Scheme Variable} rsync-service-type"
  25204. msgstr ""
  25205. #. type: deffn
  25206. #: guix-git/doc/guix.texi:17040
  25207. 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:"
  25208. msgstr ""
  25209. #. type: lisp
  25210. #: guix-git/doc/guix.texi:17043
  25211. #, no-wrap
  25212. msgid "(service rsync-service-type)\n"
  25213. msgstr ""
  25214. #. type: deffn
  25215. #: guix-git/doc/guix.texi:17046
  25216. msgid "See below for details about @code{rsync-configuration}."
  25217. msgstr ""
  25218. #. type: deftp
  25219. #: guix-git/doc/guix.texi:17048
  25220. #, no-wrap
  25221. msgid "{Data Type} rsync-configuration"
  25222. msgstr ""
  25223. #. type: deftp
  25224. #: guix-git/doc/guix.texi:17050
  25225. msgid "Data type representing the configuration for @code{rsync-service}."
  25226. msgstr ""
  25227. #. type: item
  25228. #: guix-git/doc/guix.texi:17052
  25229. #, no-wrap
  25230. msgid "@code{package} (default: @var{rsync})"
  25231. msgstr ""
  25232. #. type: table
  25233. #: guix-git/doc/guix.texi:17054
  25234. msgid "@code{rsync} package to use."
  25235. msgstr ""
  25236. #. type: item
  25237. #: guix-git/doc/guix.texi:17055
  25238. #, no-wrap
  25239. msgid "@code{port-number} (default: @code{873})"
  25240. msgstr ""
  25241. #. type: table
  25242. #: guix-git/doc/guix.texi:17059
  25243. 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."
  25244. msgstr ""
  25245. #. type: item
  25246. #: guix-git/doc/guix.texi:17060
  25247. #, no-wrap
  25248. msgid "@code{pid-file} (default: @code{\"/var/run/rsyncd/rsyncd.pid\"})"
  25249. msgstr ""
  25250. #. type: table
  25251. #: guix-git/doc/guix.texi:17062
  25252. msgid "Name of the file where @command{rsync} writes its PID."
  25253. msgstr ""
  25254. #. type: item
  25255. #: guix-git/doc/guix.texi:17063
  25256. #, no-wrap
  25257. msgid "@code{lock-file} (default: @code{\"/var/run/rsyncd/rsyncd.lock\"})"
  25258. msgstr ""
  25259. #. type: table
  25260. #: guix-git/doc/guix.texi:17065
  25261. msgid "Name of the file where @command{rsync} writes its lock file."
  25262. msgstr ""
  25263. #. type: item
  25264. #: guix-git/doc/guix.texi:17066
  25265. #, no-wrap
  25266. msgid "@code{log-file} (default: @code{\"/var/log/rsyncd.log\"})"
  25267. msgstr ""
  25268. #. type: table
  25269. #: guix-git/doc/guix.texi:17068
  25270. msgid "Name of the file where @command{rsync} writes its log file."
  25271. msgstr ""
  25272. #. type: item
  25273. #: guix-git/doc/guix.texi:17069
  25274. #, no-wrap
  25275. msgid "@code{use-chroot?} (default: @var{#t})"
  25276. msgstr ""
  25277. #. type: table
  25278. #: guix-git/doc/guix.texi:17071
  25279. msgid "Whether to use chroot for @command{rsync} shared directory."
  25280. msgstr ""
  25281. #. type: item
  25282. #: guix-git/doc/guix.texi:17072
  25283. #, no-wrap
  25284. msgid "@code{share-path} (default: @file{/srv/rsync})"
  25285. msgstr ""
  25286. #. type: table
  25287. #: guix-git/doc/guix.texi:17074
  25288. msgid "Location of the @command{rsync} shared directory."
  25289. msgstr ""
  25290. #. type: item
  25291. #: guix-git/doc/guix.texi:17075
  25292. #, no-wrap
  25293. msgid "@code{share-comment} (default: @code{\"Rsync share\"})"
  25294. msgstr ""
  25295. #. type: table
  25296. #: guix-git/doc/guix.texi:17077
  25297. msgid "Comment of the @command{rsync} shared directory."
  25298. msgstr ""
  25299. #. type: item
  25300. #: guix-git/doc/guix.texi:17078
  25301. #, no-wrap
  25302. msgid "@code{read-only?} (default: @var{#f})"
  25303. msgstr ""
  25304. #. type: table
  25305. #: guix-git/doc/guix.texi:17080
  25306. msgid "Read-write permissions to shared directory."
  25307. msgstr ""
  25308. #. type: item
  25309. #: guix-git/doc/guix.texi:17081
  25310. #, no-wrap
  25311. msgid "@code{timeout} (default: @code{300})"
  25312. msgstr ""
  25313. #. type: table
  25314. #: guix-git/doc/guix.texi:17083
  25315. msgid "I/O timeout in seconds."
  25316. msgstr ""
  25317. #. type: item
  25318. #: guix-git/doc/guix.texi:17084
  25319. #, no-wrap
  25320. msgid "@code{user} (default: @var{\"root\"})"
  25321. msgstr ""
  25322. #. type: table
  25323. #: guix-git/doc/guix.texi:17086
  25324. msgid "Owner of the @code{rsync} process."
  25325. msgstr ""
  25326. #. type: item
  25327. #: guix-git/doc/guix.texi:17087
  25328. #, no-wrap
  25329. msgid "@code{group} (default: @var{\"root\"})"
  25330. msgstr ""
  25331. #. type: table
  25332. #: guix-git/doc/guix.texi:17089
  25333. msgid "Group of the @code{rsync} process."
  25334. msgstr ""
  25335. #. type: item
  25336. #: guix-git/doc/guix.texi:17090
  25337. #, no-wrap
  25338. msgid "@code{uid} (default: @var{\"rsyncd\"})"
  25339. msgstr ""
  25340. #. type: table
  25341. #: guix-git/doc/guix.texi:17093
  25342. 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}."
  25343. msgstr ""
  25344. #. type: item
  25345. #: guix-git/doc/guix.texi:17094
  25346. #, no-wrap
  25347. msgid "@code{gid} (default: @var{\"rsyncd\"})"
  25348. msgstr ""
  25349. #. type: table
  25350. #: guix-git/doc/guix.texi:17096 guix-git/doc/guix.texi:17539
  25351. msgid "Group name or group ID that will be used when accessing the module."
  25352. msgstr ""
  25353. #. type: Plain text
  25354. #: guix-git/doc/guix.texi:17101
  25355. msgid "The @code{(gnu services syncthing)} module provides the following services:"
  25356. msgstr ""
  25357. #. type: cindex
  25358. #: guix-git/doc/guix.texi:17101
  25359. #, no-wrap
  25360. msgid "syncthing"
  25361. msgstr ""
  25362. #. type: Plain text
  25363. #: guix-git/doc/guix.texi:17106
  25364. 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."
  25365. msgstr ""
  25366. #. type: deffn
  25367. #: guix-git/doc/guix.texi:17107
  25368. #, no-wrap
  25369. msgid "{Scheme Variable} syncthing-service-type"
  25370. msgstr ""
  25371. #. type: deffn
  25372. #: guix-git/doc/guix.texi:17111
  25373. 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:"
  25374. msgstr ""
  25375. #. type: lisp
  25376. #: guix-git/doc/guix.texi:17115
  25377. #, no-wrap
  25378. msgid ""
  25379. "(service syncthing-service-type\n"
  25380. " (syncthing-configuration (user \"alice\")))\n"
  25381. msgstr ""
  25382. #. type: deffn
  25383. #: guix-git/doc/guix.texi:17118
  25384. msgid "See below for details about @code{syncthing-configuration}."
  25385. msgstr ""
  25386. #. type: deftp
  25387. #: guix-git/doc/guix.texi:17119
  25388. #, no-wrap
  25389. msgid "{Data Type} syncthing-configuration"
  25390. msgstr ""
  25391. #. type: deftp
  25392. #: guix-git/doc/guix.texi:17121
  25393. msgid "Data type representing the configuration for @code{syncthing-service-type}."
  25394. msgstr ""
  25395. #. type: item
  25396. #: guix-git/doc/guix.texi:17123
  25397. #, no-wrap
  25398. msgid "@code{syncthing} (default: @var{syncthing})"
  25399. msgstr ""
  25400. #. type: table
  25401. #: guix-git/doc/guix.texi:17125
  25402. msgid "@code{syncthing} package to use."
  25403. msgstr ""
  25404. #. type: item
  25405. #: guix-git/doc/guix.texi:17126
  25406. #, no-wrap
  25407. msgid "@code{arguments} (default: @var{'()})"
  25408. msgstr ""
  25409. #. type: table
  25410. #: guix-git/doc/guix.texi:17128
  25411. msgid "List of command-line arguments passing to @code{syncthing} binary."
  25412. msgstr ""
  25413. #. type: item
  25414. #: guix-git/doc/guix.texi:17129
  25415. #, no-wrap
  25416. msgid "@code{logflags} (default: @var{0})"
  25417. msgstr ""
  25418. #. type: table
  25419. #: guix-git/doc/guix.texi:17132
  25420. msgid "Sum of logging flags, see @uref{https://docs.syncthing.net/users/syncthing.html#cmdoption-logflags, Syncthing documentation logflags}."
  25421. msgstr ""
  25422. #. type: item
  25423. #: guix-git/doc/guix.texi:17133
  25424. #, no-wrap
  25425. msgid "@code{user} (default: @var{#f})"
  25426. msgstr ""
  25427. #. type: table
  25428. #: guix-git/doc/guix.texi:17136
  25429. msgid "The user as which the Syncthing service is to be run. This assumes that the specified user exists."
  25430. msgstr ""
  25431. #. type: item
  25432. #: guix-git/doc/guix.texi:17137
  25433. #, no-wrap
  25434. msgid "@code{group} (default: @var{\"users\"})"
  25435. msgstr ""
  25436. #. type: table
  25437. #: guix-git/doc/guix.texi:17140
  25438. msgid "The group as which the Syncthing service is to be run. This assumes that the specified group exists."
  25439. msgstr ""
  25440. #. type: item
  25441. #: guix-git/doc/guix.texi:17141
  25442. #, no-wrap
  25443. msgid "@code{home} (default: @var{#f})"
  25444. msgstr ""
  25445. #. type: table
  25446. #: guix-git/doc/guix.texi:17144
  25447. msgid "Common configuration and data directory. The default configuration directory is @file{$HOME} of the specified Syncthing @code{user}."
  25448. msgstr ""
  25449. #. type: Plain text
  25450. #: guix-git/doc/guix.texi:17150
  25451. msgid "Furthermore, @code{(gnu services ssh)} provides the following services."
  25452. msgstr ""
  25453. #. type: cindex
  25454. #: guix-git/doc/guix.texi:17150 guix-git/doc/guix.texi:17189
  25455. #: guix-git/doc/guix.texi:34307
  25456. #, no-wrap
  25457. msgid "SSH"
  25458. msgstr ""
  25459. #. type: cindex
  25460. #: guix-git/doc/guix.texi:17151 guix-git/doc/guix.texi:17190
  25461. #: guix-git/doc/guix.texi:34308
  25462. #, no-wrap
  25463. msgid "SSH server"
  25464. msgstr ""
  25465. #. type: deffn
  25466. #: guix-git/doc/guix.texi:17153
  25467. #, no-wrap
  25468. msgid "{Scheme Procedure} lsh-service [#:host-key \"/etc/lsh/host-key\"] @"
  25469. msgstr ""
  25470. #. type: deffn
  25471. #: guix-git/doc/guix.texi:17162
  25472. 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."
  25473. msgstr ""
  25474. #. type: deffn
  25475. #: guix-git/doc/guix.texi:17168
  25476. 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}."
  25477. msgstr ""
  25478. #. type: deffn
  25479. #: guix-git/doc/guix.texi:17172
  25480. 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."
  25481. msgstr ""
  25482. #. type: deffn
  25483. #: guix-git/doc/guix.texi:17177
  25484. 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})."
  25485. msgstr ""
  25486. #. type: deffn
  25487. #: guix-git/doc/guix.texi:17181
  25488. 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."
  25489. msgstr ""
  25490. #. type: deffn
  25491. #: guix-git/doc/guix.texi:17185
  25492. 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."
  25493. msgstr ""
  25494. #. type: deffn
  25495. #: guix-git/doc/guix.texi:17187
  25496. msgid "The other options should be self-descriptive."
  25497. msgstr ""
  25498. #. type: deffn
  25499. #: guix-git/doc/guix.texi:17191
  25500. #, no-wrap
  25501. msgid "{Scheme Variable} openssh-service-type"
  25502. msgstr ""
  25503. #. type: deffn
  25504. #: guix-git/doc/guix.texi:17195
  25505. 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:"
  25506. msgstr ""
  25507. #. type: lisp
  25508. #: guix-git/doc/guix.texi:17204
  25509. #, no-wrap
  25510. msgid ""
  25511. "(service openssh-service-type\n"
  25512. " (openssh-configuration\n"
  25513. " (x11-forwarding? #t)\n"
  25514. " (permit-root-login 'prohibit-password)\n"
  25515. " (authorized-keys\n"
  25516. " `((\"alice\" ,(local-file \"alice.pub\"))\n"
  25517. " (\"bob\" ,(local-file \"bob.pub\"))))))\n"
  25518. msgstr ""
  25519. #. type: deffn
  25520. #: guix-git/doc/guix.texi:17207
  25521. msgid "See below for details about @code{openssh-configuration}."
  25522. msgstr ""
  25523. #. type: deffn
  25524. #: guix-git/doc/guix.texi:17210
  25525. msgid "This service can be extended with extra authorized keys, as in this example:"
  25526. msgstr ""
  25527. #. type: lisp
  25528. #: guix-git/doc/guix.texi:17215
  25529. #, no-wrap
  25530. msgid ""
  25531. "(service-extension openssh-service-type\n"
  25532. " (const `((\"charlie\"\n"
  25533. " ,(local-file \"charlie.pub\")))))\n"
  25534. msgstr ""
  25535. #. type: deftp
  25536. #: guix-git/doc/guix.texi:17218
  25537. #, no-wrap
  25538. msgid "{Data Type} openssh-configuration"
  25539. msgstr ""
  25540. #. type: deftp
  25541. #: guix-git/doc/guix.texi:17220
  25542. msgid "This is the configuration record for OpenSSH's @command{sshd}."
  25543. msgstr ""
  25544. #. type: item
  25545. #: guix-git/doc/guix.texi:17222
  25546. #, no-wrap
  25547. msgid "@code{openssh} (default @var{openssh})"
  25548. msgstr ""
  25549. #. type: table
  25550. #: guix-git/doc/guix.texi:17224
  25551. msgid "The Openssh package to use."
  25552. msgstr ""
  25553. #. type: item
  25554. #: guix-git/doc/guix.texi:17225
  25555. #, no-wrap
  25556. msgid "@code{pid-file} (default: @code{\"/var/run/sshd.pid\"})"
  25557. msgstr ""
  25558. #. type: table
  25559. #: guix-git/doc/guix.texi:17227
  25560. msgid "Name of the file where @command{sshd} writes its PID."
  25561. msgstr ""
  25562. #. type: item
  25563. #: guix-git/doc/guix.texi:17228
  25564. #, no-wrap
  25565. msgid "@code{port-number} (default: @code{22})"
  25566. msgstr ""
  25567. #. type: table
  25568. #: guix-git/doc/guix.texi:17230
  25569. msgid "TCP port on which @command{sshd} listens for incoming connections."
  25570. msgstr ""
  25571. #. type: item
  25572. #: guix-git/doc/guix.texi:17231
  25573. #, no-wrap
  25574. msgid "@code{permit-root-login} (default: @code{#f})"
  25575. msgstr ""
  25576. #. type: table
  25577. #: guix-git/doc/guix.texi:17236
  25578. 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."
  25579. msgstr ""
  25580. #. type: item
  25581. #: guix-git/doc/guix.texi:17237 guix-git/doc/guix.texi:17398
  25582. #, no-wrap
  25583. msgid "@code{allow-empty-passwords?} (default: @code{#f})"
  25584. msgstr ""
  25585. #. type: table
  25586. #: guix-git/doc/guix.texi:17240
  25587. msgid "When true, users with empty passwords may log in. When false, they may not."
  25588. msgstr ""
  25589. #. type: item
  25590. #: guix-git/doc/guix.texi:17241 guix-git/doc/guix.texi:17401
  25591. #, no-wrap
  25592. msgid "@code{password-authentication?} (default: @code{#t})"
  25593. msgstr ""
  25594. #. type: table
  25595. #: guix-git/doc/guix.texi:17244
  25596. msgid "When true, users may log in with their password. When false, they have other authentication methods."
  25597. msgstr ""
  25598. #. type: item
  25599. #: guix-git/doc/guix.texi:17245
  25600. #, no-wrap
  25601. msgid "@code{public-key-authentication?} (default: @code{#t})"
  25602. msgstr ""
  25603. #. type: table
  25604. #: guix-git/doc/guix.texi:17248
  25605. msgid "When true, users may log in using public key authentication. When false, users have to use other authentication method."
  25606. msgstr ""
  25607. #. type: table
  25608. #: guix-git/doc/guix.texi:17251
  25609. msgid "Authorized public keys are stored in @file{~/.ssh/authorized_keys}. This is used only by protocol version 2."
  25610. msgstr ""
  25611. #. type: item
  25612. #: guix-git/doc/guix.texi:17252
  25613. #, no-wrap
  25614. msgid "@code{x11-forwarding?} (default: @code{#f})"
  25615. msgstr "@code{x11-forwarding?} (padrão: @code{#f})"
  25616. #. type: table
  25617. #: guix-git/doc/guix.texi:17256
  25618. msgid "When true, forwarding of X11 graphical client connections is enabled---in other words, @command{ssh} options @option{-X} and @option{-Y} will work."
  25619. msgstr ""
  25620. #. type: item
  25621. #: guix-git/doc/guix.texi:17257
  25622. #, no-wrap
  25623. msgid "@code{allow-agent-forwarding?} (default: @code{#t})"
  25624. msgstr "@code{allow-agent-forwarding?} (padrão: @code{#t})"
  25625. #. type: table
  25626. #: guix-git/doc/guix.texi:17259
  25627. msgid "Whether to allow agent forwarding."
  25628. msgstr ""
  25629. #. type: item
  25630. #: guix-git/doc/guix.texi:17260
  25631. #, no-wrap
  25632. msgid "@code{allow-tcp-forwarding?} (default: @code{#t})"
  25633. msgstr "@code{allow-tcp-forwarding?} (padrão: @code{#t})"
  25634. #. type: table
  25635. #: guix-git/doc/guix.texi:17262
  25636. msgid "Whether to allow TCP forwarding."
  25637. msgstr ""
  25638. #. type: item
  25639. #: guix-git/doc/guix.texi:17263
  25640. #, no-wrap
  25641. msgid "@code{gateway-ports?} (default: @code{#f})"
  25642. msgstr "@code{gateway-ports?} (padrão: @code{#f})"
  25643. #. type: table
  25644. #: guix-git/doc/guix.texi:17265
  25645. msgid "Whether to allow gateway ports."
  25646. msgstr ""
  25647. #. type: item
  25648. #: guix-git/doc/guix.texi:17266
  25649. #, no-wrap
  25650. msgid "@code{challenge-response-authentication?} (default: @code{#f})"
  25651. msgstr ""
  25652. #. type: table
  25653. #: guix-git/doc/guix.texi:17269
  25654. msgid "Specifies whether challenge response authentication is allowed (e.g.@: via PAM)."
  25655. msgstr ""
  25656. #. type: item
  25657. #: guix-git/doc/guix.texi:17270
  25658. #, no-wrap
  25659. msgid "@code{use-pam?} (default: @code{#t})"
  25660. msgstr ""
  25661. #. type: table
  25662. #: guix-git/doc/guix.texi:17276
  25663. 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."
  25664. msgstr ""
  25665. #. type: table
  25666. #: guix-git/doc/guix.texi:17281
  25667. 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?}."
  25668. msgstr ""
  25669. #. type: item
  25670. #: guix-git/doc/guix.texi:17282
  25671. #, no-wrap
  25672. msgid "@code{print-last-log?} (default: @code{#t})"
  25673. msgstr ""
  25674. #. type: table
  25675. #: guix-git/doc/guix.texi:17285
  25676. msgid "Specifies whether @command{sshd} should print the date and time of the last user login when a user logs in interactively."
  25677. msgstr ""
  25678. #. type: item
  25679. #: guix-git/doc/guix.texi:17286
  25680. #, no-wrap
  25681. msgid "@code{subsystems} (default: @code{'((\"sftp\" \"internal-sftp\"))})"
  25682. msgstr ""
  25683. #. type: table
  25684. #: guix-git/doc/guix.texi:17288
  25685. msgid "Configures external subsystems (e.g.@: file transfer daemon)."
  25686. msgstr ""
  25687. #. type: table
  25688. #: guix-git/doc/guix.texi:17292
  25689. 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."
  25690. msgstr ""
  25691. #. type: table
  25692. #: guix-git/doc/guix.texi:17295
  25693. msgid "The command @command{internal-sftp} implements an in-process SFTP server. Alternatively, one can specify the @command{sftp-server} command:"
  25694. msgstr ""
  25695. #. type: lisp
  25696. #: guix-git/doc/guix.texi:17300
  25697. #, no-wrap
  25698. msgid ""
  25699. "(service openssh-service-type\n"
  25700. " (openssh-configuration\n"
  25701. " (subsystems\n"
  25702. " `((\"sftp\" ,(file-append openssh \"/libexec/sftp-server\"))))))\n"
  25703. msgstr ""
  25704. #. type: item
  25705. #: guix-git/doc/guix.texi:17302
  25706. #, no-wrap
  25707. msgid "@code{accepted-environment} (default: @code{'()})"
  25708. msgstr ""
  25709. #. type: table
  25710. #: guix-git/doc/guix.texi:17304
  25711. msgid "List of strings describing which environment variables may be exported."
  25712. msgstr ""
  25713. #. type: table
  25714. #: guix-git/doc/guix.texi:17307
  25715. msgid "Each string gets on its own line. See the @code{AcceptEnv} option in @code{man sshd_config}."
  25716. msgstr ""
  25717. #. type: table
  25718. #: guix-git/doc/guix.texi:17312
  25719. 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."
  25720. msgstr ""
  25721. #. type: lisp
  25722. #: guix-git/doc/guix.texi:17317
  25723. #, no-wrap
  25724. msgid ""
  25725. "(service openssh-service-type\n"
  25726. " (openssh-configuration\n"
  25727. " (accepted-environment '(\"COLORTERM\"))))\n"
  25728. msgstr ""
  25729. #. type: item
  25730. #: guix-git/doc/guix.texi:17319
  25731. #, no-wrap
  25732. msgid "@code{authorized-keys} (default: @code{'()})"
  25733. msgstr ""
  25734. #. type: cindex
  25735. #: guix-git/doc/guix.texi:17320
  25736. #, no-wrap
  25737. msgid "authorized keys, SSH"
  25738. msgstr ""
  25739. #. type: cindex
  25740. #: guix-git/doc/guix.texi:17321
  25741. #, no-wrap
  25742. msgid "SSH authorized keys"
  25743. msgstr ""
  25744. #. type: table
  25745. #: guix-git/doc/guix.texi:17325
  25746. 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:"
  25747. msgstr ""
  25748. #. type: lisp
  25749. #: guix-git/doc/guix.texi:17332
  25750. #, no-wrap
  25751. msgid ""
  25752. "(openssh-configuration\n"
  25753. " (authorized-keys\n"
  25754. " `((\"rekado\" ,(local-file \"rekado.pub\"))\n"
  25755. " (\"chris\" ,(local-file \"chris.pub\"))\n"
  25756. " (\"root\" ,(local-file \"rekado.pub\") ,(local-file \"chris.pub\")))))\n"
  25757. msgstr ""
  25758. #. type: table
  25759. #: guix-git/doc/guix.texi:17337
  25760. msgid "registers the specified public keys for user accounts @code{rekado}, @code{chris}, and @code{root}."
  25761. msgstr ""
  25762. #. type: table
  25763. #: guix-git/doc/guix.texi:17340
  25764. msgid "Additional authorized keys can be specified @i{via} @code{service-extension}."
  25765. msgstr ""
  25766. #. type: table
  25767. #: guix-git/doc/guix.texi:17343
  25768. msgid "Note that this does @emph{not} interfere with the use of @file{~/.ssh/authorized_keys}."
  25769. msgstr ""
  25770. #. type: item
  25771. #: guix-git/doc/guix.texi:17344 guix-git/doc/guix.texi:17775
  25772. #, no-wrap
  25773. msgid "@code{log-level} (default: @code{'info})"
  25774. msgstr "@code{log-level} (default: @code{'info})"
  25775. #. type: table
  25776. #: guix-git/doc/guix.texi:17348
  25777. 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."
  25778. msgstr ""
  25779. #. type: item
  25780. #: guix-git/doc/guix.texi:17349 guix-git/doc/guix.texi:20171
  25781. #: guix-git/doc/guix.texi:25311
  25782. #, no-wrap
  25783. msgid "@code{extra-content} (default: @code{\"\"})"
  25784. msgstr ""
  25785. #. type: table
  25786. #: guix-git/doc/guix.texi:17354
  25787. 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:"
  25788. msgstr ""
  25789. #. type: lisp
  25790. #: guix-git/doc/guix.texi:17360
  25791. #, no-wrap
  25792. msgid ""
  25793. "(openssh-configuration\n"
  25794. " (extra-content \"\\\n"
  25795. "Match Address 192.168.0.1\n"
  25796. " PermitRootLogin yes\"))\n"
  25797. msgstr ""
  25798. #. type: deffn
  25799. #: guix-git/doc/guix.texi:17365
  25800. #, no-wrap
  25801. msgid "{Scheme Procedure} dropbear-service [@var{config}]"
  25802. msgstr ""
  25803. #. type: deffn
  25804. #: guix-git/doc/guix.texi:17369
  25805. 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."
  25806. msgstr ""
  25807. #. type: deffn
  25808. #: guix-git/doc/guix.texi:17372
  25809. msgid "For example, to specify a Dropbear service listening on port 1234, add this call to the operating system's @code{services} field:"
  25810. msgstr ""
  25811. #. type: lisp
  25812. #: guix-git/doc/guix.texi:17376
  25813. #, no-wrap
  25814. msgid ""
  25815. "(dropbear-service (dropbear-configuration\n"
  25816. " (port-number 1234)))\n"
  25817. msgstr ""
  25818. #. type: deftp
  25819. #: guix-git/doc/guix.texi:17379
  25820. #, no-wrap
  25821. msgid "{Data Type} dropbear-configuration"
  25822. msgstr ""
  25823. #. type: deftp
  25824. #: guix-git/doc/guix.texi:17381
  25825. msgid "This data type represents the configuration of a Dropbear SSH daemon."
  25826. msgstr ""
  25827. #. type: item
  25828. #: guix-git/doc/guix.texi:17383
  25829. #, no-wrap
  25830. msgid "@code{dropbear} (default: @var{dropbear})"
  25831. msgstr ""
  25832. #. type: table
  25833. #: guix-git/doc/guix.texi:17385
  25834. msgid "The Dropbear package to use."
  25835. msgstr ""
  25836. #. type: item
  25837. #: guix-git/doc/guix.texi:17386
  25838. #, no-wrap
  25839. msgid "@code{port-number} (default: 22)"
  25840. msgstr ""
  25841. #. type: table
  25842. #: guix-git/doc/guix.texi:17388
  25843. msgid "The TCP port where the daemon waits for incoming connections."
  25844. msgstr ""
  25845. #. type: item
  25846. #: guix-git/doc/guix.texi:17389
  25847. #, no-wrap
  25848. msgid "@code{syslog-output?} (default: @code{#t})"
  25849. msgstr "@code{syslog-output?} (padrão: @code{#t})"
  25850. #. type: table
  25851. #: guix-git/doc/guix.texi:17391
  25852. msgid "Whether to enable syslog output."
  25853. msgstr ""
  25854. #. type: item
  25855. #: guix-git/doc/guix.texi:17392
  25856. #, no-wrap
  25857. msgid "@code{pid-file} (default: @code{\"/var/run/dropbear.pid\"})"
  25858. msgstr ""
  25859. #. type: table
  25860. #: guix-git/doc/guix.texi:17394
  25861. msgid "File name of the daemon's PID file."
  25862. msgstr ""
  25863. #. type: item
  25864. #: guix-git/doc/guix.texi:17395
  25865. #, no-wrap
  25866. msgid "@code{root-login?} (default: @code{#f})"
  25867. msgstr ""
  25868. #. type: table
  25869. #: guix-git/doc/guix.texi:17397
  25870. msgid "Whether to allow @code{root} logins."
  25871. msgstr ""
  25872. #. type: table
  25873. #: guix-git/doc/guix.texi:17400
  25874. msgid "Whether to allow empty passwords."
  25875. msgstr ""
  25876. #. type: table
  25877. #: guix-git/doc/guix.texi:17403
  25878. msgid "Whether to enable password-based authentication."
  25879. msgstr ""
  25880. #. type: cindex
  25881. #: guix-git/doc/guix.texi:17406
  25882. #, no-wrap
  25883. msgid "AutoSSH"
  25884. msgstr ""
  25885. #. type: deffn
  25886. #: guix-git/doc/guix.texi:17407
  25887. #, no-wrap
  25888. msgid "{Scheme Variable} autossh-service-type"
  25889. msgstr ""
  25890. #. type: deffn
  25891. #: guix-git/doc/guix.texi:17415
  25892. 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."
  25893. msgstr ""
  25894. #. type: deffn
  25895. #: guix-git/doc/guix.texi:17419
  25896. 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."
  25897. msgstr ""
  25898. #. type: deffn
  25899. #: guix-git/doc/guix.texi:17424
  25900. 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:"
  25901. msgstr ""
  25902. #. type: lisp
  25903. #: guix-git/doc/guix.texi:17430
  25904. #, no-wrap
  25905. msgid ""
  25906. "(service autossh-service-type\n"
  25907. " (autossh-configuration\n"
  25908. " (user \"pino\")\n"
  25909. " (ssh-options (list \"-T\" \"-N\" \"-L\" \"8081:localhost:8081\" \"remote.net\"))))\n"
  25910. msgstr ""
  25911. #. type: deftp
  25912. #: guix-git/doc/guix.texi:17433
  25913. #, no-wrap
  25914. msgid "{Data Type} autossh-configuration"
  25915. msgstr ""
  25916. #. type: deftp
  25917. #: guix-git/doc/guix.texi:17435
  25918. msgid "This data type represents the configuration of an AutoSSH service."
  25919. msgstr ""
  25920. #. type: item
  25921. #: guix-git/doc/guix.texi:17438
  25922. #, no-wrap
  25923. msgid "@code{user} (default @code{\"autossh\"})"
  25924. msgstr ""
  25925. #. type: table
  25926. #: guix-git/doc/guix.texi:17441
  25927. msgid "The user as which the AutoSSH service is to be run. This assumes that the specified user exists."
  25928. msgstr ""
  25929. #. type: item
  25930. #: guix-git/doc/guix.texi:17442
  25931. #, no-wrap
  25932. msgid "@code{poll} (default @code{600})"
  25933. msgstr ""
  25934. #. type: table
  25935. #: guix-git/doc/guix.texi:17444
  25936. msgid "Specifies the connection poll time in seconds."
  25937. msgstr ""
  25938. #. type: item
  25939. #: guix-git/doc/guix.texi:17445
  25940. #, no-wrap
  25941. msgid "@code{first-poll} (default @code{#f})"
  25942. msgstr ""
  25943. #. type: table
  25944. #: guix-git/doc/guix.texi:17451
  25945. 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}."
  25946. msgstr ""
  25947. #. type: item
  25948. #: guix-git/doc/guix.texi:17452
  25949. #, no-wrap
  25950. msgid "@code{gate-time} (default @code{30})"
  25951. msgstr ""
  25952. #. type: table
  25953. #: guix-git/doc/guix.texi:17455
  25954. msgid "Specifies how many seconds an SSH connection must be active before it is considered successful."
  25955. msgstr ""
  25956. #. type: item
  25957. #: guix-git/doc/guix.texi:17456
  25958. #, no-wrap
  25959. msgid "@code{log-level} (default @code{1})"
  25960. msgstr ""
  25961. #. type: table
  25962. #: guix-git/doc/guix.texi:17459
  25963. msgid "The log level, corresponding to the levels used by syslog---so @code{0} is the most silent while @code{7} is the chattiest."
  25964. msgstr ""
  25965. #. type: item
  25966. #: guix-git/doc/guix.texi:17460
  25967. #, no-wrap
  25968. msgid "@code{max-start} (default @code{#f})"
  25969. msgstr ""
  25970. #. type: table
  25971. #: guix-git/doc/guix.texi:17463
  25972. 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."
  25973. msgstr ""
  25974. #. type: item
  25975. #: guix-git/doc/guix.texi:17464
  25976. #, no-wrap
  25977. msgid "@code{message} (default @code{\"\"})"
  25978. msgstr ""
  25979. #. type: table
  25980. #: guix-git/doc/guix.texi:17466
  25981. msgid "The message to append to the echo message sent when testing connections."
  25982. msgstr ""
  25983. #. type: item
  25984. #: guix-git/doc/guix.texi:17467
  25985. #, no-wrap
  25986. msgid "@code{port} (default @code{\"0\"})"
  25987. msgstr ""
  25988. #. type: table
  25989. #: guix-git/doc/guix.texi:17477
  25990. 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."
  25991. msgstr ""
  25992. #. type: item
  25993. #: guix-git/doc/guix.texi:17478
  25994. #, no-wrap
  25995. msgid "@code{ssh-options} (default @code{'()})"
  25996. msgstr ""
  25997. #. type: table
  25998. #: guix-git/doc/guix.texi:17482
  25999. 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."
  26000. msgstr ""
  26001. #. type: cindex
  26002. #: guix-git/doc/guix.texi:17486
  26003. #, no-wrap
  26004. msgid "WebSSH"
  26005. msgstr ""
  26006. #. type: deffn
  26007. #: guix-git/doc/guix.texi:17487
  26008. #, no-wrap
  26009. msgid "{Scheme Variable} webssh-service-type"
  26010. msgstr ""
  26011. #. type: deffn
  26012. #: guix-git/doc/guix.texi:17493
  26013. 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."
  26014. msgstr ""
  26015. #. type: deffn
  26016. #: guix-git/doc/guix.texi:17499
  26017. 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:"
  26018. msgstr ""
  26019. #. type: lisp
  26020. #: guix-git/doc/guix.texi:17507
  26021. #, no-wrap
  26022. msgid ""
  26023. "(service webssh-service-type\n"
  26024. " (webssh-configuration (address \"127.0.0.1\")\n"
  26025. " (port 8888)\n"
  26026. " (policy 'reject)\n"
  26027. " (known-hosts '(\"localhost ecdsa-sha2-nistp256 AAAA…\"\n"
  26028. " \"127.0.0.1 ecdsa-sha2-nistp256 AAAA…\"))))\n"
  26029. "\n"
  26030. msgstr ""
  26031. #. type: lisp
  26032. #: guix-git/doc/guix.texi:17523
  26033. #, no-wrap
  26034. msgid ""
  26035. "(service nginx-service-type\n"
  26036. " (nginx-configuration\n"
  26037. " (server-blocks\n"
  26038. " (list\n"
  26039. " (nginx-server-configuration\n"
  26040. " (inherit %webssh-configuration-nginx)\n"
  26041. " (server-name '(\"webssh.example.com\"))\n"
  26042. " (listen '(\"443 ssl\"))\n"
  26043. " (ssl-certificate (letsencrypt-certificate \"webssh.example.com\"))\n"
  26044. " (ssl-certificate-key (letsencrypt-key \"webssh.example.com\"))\n"
  26045. " (locations\n"
  26046. " (cons (nginx-location-configuration\n"
  26047. " (uri \"/.well-known\")\n"
  26048. " (body '(\"root /var/www;\")))\n"
  26049. " (nginx-server-configuration-locations %webssh-configuration-nginx))))))))\n"
  26050. msgstr ""
  26051. #. type: deftp
  26052. #: guix-git/doc/guix.texi:17526
  26053. #, no-wrap
  26054. msgid "{Data Type} webssh-configuration"
  26055. msgstr ""
  26056. #. type: deftp
  26057. #: guix-git/doc/guix.texi:17528
  26058. msgid "Data type representing the configuration for @code{webssh-service}."
  26059. msgstr ""
  26060. #. type: item
  26061. #: guix-git/doc/guix.texi:17530
  26062. #, no-wrap
  26063. msgid "@code{package} (default: @var{webssh})"
  26064. msgstr ""
  26065. #. type: table
  26066. #: guix-git/doc/guix.texi:17532
  26067. msgid "@code{webssh} package to use."
  26068. msgstr ""
  26069. #. type: item
  26070. #: guix-git/doc/guix.texi:17533
  26071. #, no-wrap
  26072. msgid "@code{user-name} (default: @var{\"webssh\"})"
  26073. msgstr ""
  26074. #. type: table
  26075. #: guix-git/doc/guix.texi:17536
  26076. msgid "User name or user ID that file transfers to and from that module should take place."
  26077. msgstr ""
  26078. #. type: item
  26079. #: guix-git/doc/guix.texi:17537
  26080. #, no-wrap
  26081. msgid "@code{group-name} (default: @var{\"webssh\"})"
  26082. msgstr ""
  26083. #. type: item
  26084. #: guix-git/doc/guix.texi:17540
  26085. #, no-wrap
  26086. msgid "@code{address} (default: @var{#f})"
  26087. msgstr ""
  26088. #. type: table
  26089. #: guix-git/doc/guix.texi:17542
  26090. msgid "IP address on which @command{webssh} listens for incoming connections."
  26091. msgstr ""
  26092. #. type: item
  26093. #: guix-git/doc/guix.texi:17543
  26094. #, no-wrap
  26095. msgid "@code{port} (default: @var{8888})"
  26096. msgstr ""
  26097. #. type: table
  26098. #: guix-git/doc/guix.texi:17545
  26099. msgid "TCP port on which @command{webssh} listens for incoming connections."
  26100. msgstr ""
  26101. #. type: item
  26102. #: guix-git/doc/guix.texi:17546
  26103. #, no-wrap
  26104. msgid "@code{policy} (default: @var{#f})"
  26105. msgstr ""
  26106. #. type: table
  26107. #: guix-git/doc/guix.texi:17548
  26108. msgid "Connection policy. @var{reject} policy requires to specify @var{known-hosts}."
  26109. msgstr ""
  26110. #. type: item
  26111. #: guix-git/doc/guix.texi:17549
  26112. #, no-wrap
  26113. msgid "@code{known-hosts} (default: @var{'()})"
  26114. msgstr ""
  26115. #. type: table
  26116. #: guix-git/doc/guix.texi:17551
  26117. msgid "List of hosts which allowed for SSH connection from @command{webssh}."
  26118. msgstr ""
  26119. #. type: item
  26120. #: guix-git/doc/guix.texi:17552
  26121. #, no-wrap
  26122. msgid "@code{log-file} (default: @file{\"/var/log/webssh.log\"})"
  26123. msgstr ""
  26124. #. type: table
  26125. #: guix-git/doc/guix.texi:17554
  26126. msgid "Name of the file where @command{webssh} writes its log file."
  26127. msgstr ""
  26128. #. type: item
  26129. #: guix-git/doc/guix.texi:17555
  26130. #, no-wrap
  26131. msgid "@code{log-level} (default: @var{#f})"
  26132. msgstr ""
  26133. #. type: table
  26134. #: guix-git/doc/guix.texi:17557
  26135. msgid "Logging level."
  26136. msgstr ""
  26137. #. type: defvr
  26138. #: guix-git/doc/guix.texi:17561
  26139. #, no-wrap
  26140. msgid "{Scheme Variable} %facebook-host-aliases"
  26141. msgstr ""
  26142. #. type: defvr
  26143. #: guix-git/doc/guix.texi:17567
  26144. 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}."
  26145. msgstr ""
  26146. #. type: defvr
  26147. #: guix-git/doc/guix.texi:17571
  26148. 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}}):"
  26149. msgstr ""
  26150. #. type: lisp
  26151. #: guix-git/doc/guix.texi:17584
  26152. #, no-wrap
  26153. msgid ""
  26154. "(operating-system\n"
  26155. " (host-name \"mymachine\")\n"
  26156. " ;; ...\n"
  26157. " (hosts-file\n"
  26158. " ;; Create a /etc/hosts file with aliases for \"localhost\"\n"
  26159. " ;; and \"mymachine\", as well as for Facebook servers.\n"
  26160. " (plain-file \"hosts\"\n"
  26161. " (string-append (local-host-aliases host-name)\n"
  26162. " %facebook-host-aliases))))\n"
  26163. msgstr ""
  26164. #. type: defvr
  26165. #: guix-git/doc/guix.texi:17588
  26166. msgid "This mechanism can prevent programs running locally, such as Web browsers, from accessing Facebook."
  26167. msgstr ""
  26168. #. type: Plain text
  26169. #: guix-git/doc/guix.texi:17591
  26170. msgid "The @code{(gnu services avahi)} provides the following definition."
  26171. msgstr ""
  26172. #. type: defvr
  26173. #: guix-git/doc/guix.texi:17592
  26174. #, no-wrap
  26175. msgid "{Scheme Variable} avahi-service-type"
  26176. msgstr ""
  26177. #. type: defvr
  26178. #: guix-git/doc/guix.texi:17597
  26179. 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."
  26180. msgstr ""
  26181. #. type: defvr
  26182. #: guix-git/doc/guix.texi:17602
  26183. 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."
  26184. msgstr ""
  26185. #. type: defvr
  26186. #: guix-git/doc/guix.texi:17605
  26187. msgid "Additionally, add the @var{avahi} package to the system profile so that commands such as @command{avahi-browse} are directly usable."
  26188. msgstr ""
  26189. #. type: deftp
  26190. #: guix-git/doc/guix.texi:17607
  26191. #, no-wrap
  26192. msgid "{Data Type} avahi-configuration"
  26193. msgstr ""
  26194. #. type: deftp
  26195. #: guix-git/doc/guix.texi:17609
  26196. msgid "Data type representation the configuration for Avahi."
  26197. msgstr ""
  26198. #. type: item
  26199. #: guix-git/doc/guix.texi:17612
  26200. #, no-wrap
  26201. msgid "@code{host-name} (default: @code{#f})"
  26202. msgstr "@code{host-name} (default: @code{#f})"
  26203. #. type: table
  26204. #: guix-git/doc/guix.texi:17615
  26205. 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."
  26206. msgstr ""
  26207. #. type: item
  26208. #: guix-git/doc/guix.texi:17616 guix-git/doc/guix.texi:27965
  26209. #, no-wrap
  26210. msgid "@code{publish?} (default: @code{#t})"
  26211. msgstr "@code{publish?} (padrão: @code{#t})"
  26212. #. type: table
  26213. #: guix-git/doc/guix.texi:17619
  26214. msgid "When true, allow host names and services to be published (broadcast) over the network."
  26215. msgstr ""
  26216. #. type: item
  26217. #: guix-git/doc/guix.texi:17620
  26218. #, no-wrap
  26219. msgid "@code{publish-workstation?} (default: @code{#t})"
  26220. msgstr "@code{publish-workstation?} (padrão: @code{#t})"
  26221. #. type: table
  26222. #: guix-git/doc/guix.texi:17624
  26223. 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:"
  26224. msgstr ""
  26225. #. type: example
  26226. #: guix-git/doc/guix.texi:17627
  26227. #, no-wrap
  26228. msgid "avahi-browse _workstation._tcp\n"
  26229. msgstr ""
  26230. #. type: item
  26231. #: guix-git/doc/guix.texi:17629
  26232. #, no-wrap
  26233. msgid "@code{wide-area?} (default: @code{#f})"
  26234. msgstr "@code{wide-area?} (padrão: @code{#f})"
  26235. #. type: table
  26236. #: guix-git/doc/guix.texi:17631
  26237. msgid "When true, DNS-SD over unicast DNS is enabled."
  26238. msgstr ""
  26239. #. type: item
  26240. #: guix-git/doc/guix.texi:17632
  26241. #, no-wrap
  26242. msgid "@code{ipv4?} (default: @code{#t})"
  26243. msgstr "@code{ipv4?} (default: @code{#t})"
  26244. #. type: itemx
  26245. #: guix-git/doc/guix.texi:17633
  26246. #, no-wrap
  26247. msgid "@code{ipv6?} (default: @code{#t})"
  26248. msgstr "@code{ipv6?} (default: @code{#t})"
  26249. #. type: table
  26250. #: guix-git/doc/guix.texi:17635
  26251. msgid "These fields determine whether to use IPv4/IPv6 sockets."
  26252. msgstr ""
  26253. #. type: item
  26254. #: guix-git/doc/guix.texi:17636
  26255. #, no-wrap
  26256. msgid "@code{domains-to-browse} (default: @code{'()})"
  26257. msgstr ""
  26258. #. type: table
  26259. #: guix-git/doc/guix.texi:17638
  26260. msgid "This is a list of domains to browse."
  26261. msgstr ""
  26262. #. type: deffn
  26263. #: guix-git/doc/guix.texi:17641
  26264. #, no-wrap
  26265. msgid "{Scheme Variable} openvswitch-service-type"
  26266. msgstr ""
  26267. #. type: deffn
  26268. #: guix-git/doc/guix.texi:17645
  26269. msgid "This is the type of the @uref{https://www.openvswitch.org, Open vSwitch} service, whose value should be an @code{openvswitch-configuration} object."
  26270. msgstr ""
  26271. #. type: deftp
  26272. #: guix-git/doc/guix.texi:17647
  26273. #, no-wrap
  26274. msgid "{Data Type} openvswitch-configuration"
  26275. msgstr ""
  26276. #. type: deftp
  26277. #: guix-git/doc/guix.texi:17651
  26278. msgid "Data type representing the configuration of Open vSwitch, a multilayer virtual switch which is designed to enable massive network automation through programmatic extension."
  26279. msgstr ""
  26280. #. type: item
  26281. #: guix-git/doc/guix.texi:17653
  26282. #, no-wrap
  26283. msgid "@code{package} (default: @var{openvswitch})"
  26284. msgstr ""
  26285. #. type: table
  26286. #: guix-git/doc/guix.texi:17655
  26287. msgid "Package object of the Open vSwitch."
  26288. msgstr ""
  26289. #. type: defvr
  26290. #: guix-git/doc/guix.texi:17659
  26291. #, no-wrap
  26292. msgid "{Scheme Variable} pagekite-service-type"
  26293. msgstr ""
  26294. #. type: defvr
  26295. #: guix-git/doc/guix.texi:17664
  26296. 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."
  26297. msgstr ""
  26298. #. type: defvr
  26299. #: guix-git/doc/guix.texi:17666
  26300. msgid "Here's an example exposing the local HTTP and SSH daemons:"
  26301. msgstr ""
  26302. #. type: lisp
  26303. #: guix-git/doc/guix.texi:17673
  26304. #, no-wrap
  26305. msgid ""
  26306. "(service pagekite-service-type\n"
  26307. " (pagekite-configuration\n"
  26308. " (kites '(\"http:@@kitename:localhost:80:@@kitesecret\"\n"
  26309. " \"raw/22:@@kitename:localhost:22:@@kitesecret\"))\n"
  26310. " (extra-file \"/etc/pagekite.rc\")))\n"
  26311. msgstr ""
  26312. #. type: deftp
  26313. #: guix-git/doc/guix.texi:17676
  26314. #, no-wrap
  26315. msgid "{Data Type} pagekite-configuration"
  26316. msgstr ""
  26317. #. type: deftp
  26318. #: guix-git/doc/guix.texi:17678
  26319. msgid "Data type representing the configuration of PageKite."
  26320. msgstr ""
  26321. #. type: item
  26322. #: guix-git/doc/guix.texi:17680
  26323. #, no-wrap
  26324. msgid "@code{package} (default: @var{pagekite})"
  26325. msgstr ""
  26326. #. type: table
  26327. #: guix-git/doc/guix.texi:17682
  26328. msgid "Package object of PageKite."
  26329. msgstr ""
  26330. #. type: item
  26331. #: guix-git/doc/guix.texi:17683
  26332. #, no-wrap
  26333. msgid "@code{kitename} (default: @code{#f})"
  26334. msgstr ""
  26335. #. type: table
  26336. #: guix-git/doc/guix.texi:17685
  26337. msgid "PageKite name for authenticating to the frontend server."
  26338. msgstr ""
  26339. #. type: item
  26340. #: guix-git/doc/guix.texi:17686
  26341. #, no-wrap
  26342. msgid "@code{kitesecret} (default: @code{#f})"
  26343. msgstr ""
  26344. #. type: table
  26345. #: guix-git/doc/guix.texi:17689
  26346. msgid "Shared secret for authenticating to the frontend server. You should probably put this inside @code{extra-file} instead."
  26347. msgstr ""
  26348. #. type: item
  26349. #: guix-git/doc/guix.texi:17690
  26350. #, no-wrap
  26351. msgid "@code{frontend} (default: @code{#f})"
  26352. msgstr ""
  26353. #. type: table
  26354. #: guix-git/doc/guix.texi:17693
  26355. msgid "Connect to the named PageKite frontend server instead of the @uref{https://pagekite.net,,pagekite.net} service."
  26356. msgstr ""
  26357. #. type: item
  26358. #: guix-git/doc/guix.texi:17694
  26359. #, no-wrap
  26360. msgid "@code{kites} (default: @code{'(\"http:@@kitename:localhost:80:@@kitesecret\")})"
  26361. msgstr ""
  26362. #. type: table
  26363. #: guix-git/doc/guix.texi:17697
  26364. msgid "List of service kites to use. Exposes HTTP on port 80 by default. The format is @code{proto:kitename:host:port:secret}."
  26365. msgstr ""
  26366. #. type: item
  26367. #: guix-git/doc/guix.texi:17698
  26368. #, no-wrap
  26369. msgid "@code{extra-file} (default: @code{#f})"
  26370. msgstr ""
  26371. #. type: table
  26372. #: guix-git/doc/guix.texi:17701
  26373. 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."
  26374. msgstr ""
  26375. #. type: defvr
  26376. #: guix-git/doc/guix.texi:17705
  26377. #, no-wrap
  26378. msgid "{Scheme Variable} yggdrasil-service-type"
  26379. msgstr ""
  26380. #. type: defvr
  26381. #: guix-git/doc/guix.texi:17709
  26382. 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."
  26383. msgstr ""
  26384. #. type: quotation
  26385. #: guix-git/doc/guix.texi:17716
  26386. 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}"
  26387. msgstr ""
  26388. #. type: defvr
  26389. #: guix-git/doc/guix.texi:17720
  26390. msgid "Pass it a value of @code{yggdrasil-configuration} to connect it to public peers and/or local peers."
  26391. msgstr ""
  26392. #. type: defvr
  26393. #: guix-git/doc/guix.texi:17724
  26394. 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})."
  26395. msgstr ""
  26396. #. type: lisp
  26397. #: guix-git/doc/guix.texi:17736
  26398. #, no-wrap
  26399. msgid ""
  26400. ";; part of the operating-system declaration\n"
  26401. "(service yggdrasil-service-type\n"
  26402. " (yggdrasil-configuration\n"
  26403. " (autoconf? #f) ;; use only the public peers\n"
  26404. " (json-config\n"
  26405. " ;; choose one from\n"
  26406. " ;; https://github.com/yggdrasil-network/public-peers\n"
  26407. " '((peers . #(\"tcp://1.2.3.4:1337\"))))\n"
  26408. " ;; /etc/yggdrasil-private.conf is the default value for config-file\n"
  26409. " ))\n"
  26410. msgstr ""
  26411. #. type: example
  26412. #: guix-git/doc/guix.texi:17743
  26413. #, no-wrap
  26414. msgid ""
  26415. "# sample content for /etc/yggdrasil-private.conf\n"
  26416. "@{\n"
  26417. " # Your public encryption key. Your peers may ask you for this to put\n"
  26418. " # into their AllowedEncryptionPublicKeys configuration.\n"
  26419. " EncryptionPublicKey: 378dc5...\n"
  26420. "\n"
  26421. msgstr ""
  26422. #. type: example
  26423. #: guix-git/doc/guix.texi:17746
  26424. #, no-wrap
  26425. msgid ""
  26426. " # Your private encryption key. DO NOT share this with anyone!\n"
  26427. " EncryptionPrivateKey: 0777...\n"
  26428. "\n"
  26429. msgstr ""
  26430. #. type: example
  26431. #: guix-git/doc/guix.texi:17750
  26432. #, no-wrap
  26433. msgid ""
  26434. " # Your public signing key. You should not ordinarily need to share\n"
  26435. " # this with anyone.\n"
  26436. " SigningPublicKey: e1664...\n"
  26437. "\n"
  26438. msgstr ""
  26439. #. type: example
  26440. #: guix-git/doc/guix.texi:17754
  26441. #, no-wrap
  26442. msgid ""
  26443. " # Your private signing key. DO NOT share this with anyone!\n"
  26444. " SigningPrivateKey: 0589d...\n"
  26445. "@}\n"
  26446. msgstr ""
  26447. #. type: deftp
  26448. #: guix-git/doc/guix.texi:17757
  26449. #, no-wrap
  26450. msgid "{Data Type} yggdrasil-configuration"
  26451. msgstr ""
  26452. #. type: deftp
  26453. #: guix-git/doc/guix.texi:17759
  26454. msgid "Data type representing the configuration of Yggdrasil."
  26455. msgstr ""
  26456. #. type: item
  26457. #: guix-git/doc/guix.texi:17761
  26458. #, no-wrap
  26459. msgid "@code{package} (default: @code{yggdrasil})"
  26460. msgstr ""
  26461. #. type: table
  26462. #: guix-git/doc/guix.texi:17763
  26463. msgid "Package object of Yggdrasil."
  26464. msgstr ""
  26465. #. type: item
  26466. #: guix-git/doc/guix.texi:17764
  26467. #, no-wrap
  26468. msgid "@code{json-config} (default: @code{'()})"
  26469. msgstr ""
  26470. #. type: table
  26471. #: guix-git/doc/guix.texi:17770
  26472. 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."
  26473. msgstr ""
  26474. #. type: item
  26475. #: guix-git/doc/guix.texi:17771
  26476. #, no-wrap
  26477. msgid "@code{autoconf?} (default: @code{#f})"
  26478. msgstr ""
  26479. #. type: table
  26480. #: guix-git/doc/guix.texi:17774
  26481. msgid "Whether to use automatic mode. Enabling it makes Yggdrasil use adynamic IP and peer with IPv6 neighbors."
  26482. msgstr ""
  26483. #. type: table
  26484. #: guix-git/doc/guix.texi:17777
  26485. msgid "How much detail to include in logs. Use @code{'debug} for more detail."
  26486. msgstr ""
  26487. #. type: item
  26488. #: guix-git/doc/guix.texi:17778
  26489. #, no-wrap
  26490. msgid "@code{log-to} (default: @code{'stdout})"
  26491. msgstr ""
  26492. #. type: table
  26493. #: guix-git/doc/guix.texi:17782
  26494. 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."
  26495. msgstr ""
  26496. #. type: item
  26497. #: guix-git/doc/guix.texi:17783
  26498. #, no-wrap
  26499. msgid "@code{config-file} (default: @code{\"/etc/yggdrasil-private.conf\"})"
  26500. msgstr ""
  26501. #. type: table
  26502. #: guix-git/doc/guix.texi:17790
  26503. 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:"
  26504. msgstr ""
  26505. #. type: code{#1}
  26506. #: guix-git/doc/guix.texi:17792
  26507. #, no-wrap
  26508. msgid "EncryptionPublicKey"
  26509. msgstr ""
  26510. #. type: code{#1}
  26511. #: guix-git/doc/guix.texi:17793
  26512. #, no-wrap
  26513. msgid "EncryptionPrivateKey"
  26514. msgstr ""
  26515. #. type: code{#1}
  26516. #: guix-git/doc/guix.texi:17794
  26517. #, no-wrap
  26518. msgid "SigningPublicKey"
  26519. msgstr ""
  26520. #. type: code{#1}
  26521. #: guix-git/doc/guix.texi:17795
  26522. #, no-wrap
  26523. msgid "SigningPrivateKey"
  26524. msgstr ""
  26525. #. type: cindex
  26526. #: guix-git/doc/guix.texi:17800
  26527. #, no-wrap
  26528. msgid "IPFS"
  26529. msgstr ""
  26530. #. type: defvr
  26531. #: guix-git/doc/guix.texi:17801
  26532. #, fuzzy, no-wrap
  26533. msgid "{Scheme Variable} ipfs-service-type"
  26534. msgstr "guix-publish-service-type"
  26535. #. type: defvr
  26536. #: guix-git/doc/guix.texi:17805
  26537. 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."
  26538. msgstr ""
  26539. #. type: defvr
  26540. #: guix-git/doc/guix.texi:17807
  26541. msgid "Here's an example configuration, using some non-standard ports:"
  26542. msgstr ""
  26543. #. type: lisp
  26544. #: guix-git/doc/guix.texi:17813
  26545. #, no-wrap
  26546. msgid ""
  26547. "(service ipfs-service-type\n"
  26548. " (ipfs-configuration\n"
  26549. " (gateway \"/ip4/127.0.0.1/tcp/8880\")\n"
  26550. " (api \"/ip4/127.0.0.1/tcp/8881\")))\n"
  26551. msgstr ""
  26552. #. type: deftp
  26553. #: guix-git/doc/guix.texi:17816
  26554. #, fuzzy, no-wrap
  26555. msgid "{Data Type} ipfs-configuration"
  26556. msgstr "build-machine {Data Type}"
  26557. #. type: deftp
  26558. #: guix-git/doc/guix.texi:17818
  26559. #, fuzzy
  26560. msgid "Data type representing the configuration of IPFS."
  26561. msgstr "Gerencie a configuração do sistema operacional."
  26562. #. type: item
  26563. #: guix-git/doc/guix.texi:17820
  26564. #, fuzzy, no-wrap
  26565. msgid "@code{package} (default: @code{go-ipfs})"
  26566. msgstr "@code{cache} (default: @code{#f})"
  26567. #. type: table
  26568. #: guix-git/doc/guix.texi:17822
  26569. msgid "Package object of IPFS."
  26570. msgstr ""
  26571. #. type: item
  26572. #: guix-git/doc/guix.texi:17823
  26573. #, fuzzy, no-wrap
  26574. msgid "@code{gateway} (default: @code{\"/ip4/127.0.0.1/tcp/8082\"})"
  26575. msgstr "@code{porta} (default: @code{15000})"
  26576. #. type: table
  26577. #: guix-git/doc/guix.texi:17825
  26578. msgid "Address of the gateway, in ‘multiaddress’ format."
  26579. msgstr ""
  26580. #. type: item
  26581. #: guix-git/doc/guix.texi:17826
  26582. #, fuzzy, no-wrap
  26583. msgid "@code{api} (default: @code{\"/ip4/127.0.0.1/tcp/5001\"})"
  26584. msgstr "@code{porta} (default: @code{15000})"
  26585. #. type: table
  26586. #: guix-git/doc/guix.texi:17828
  26587. msgid "Address of the API endpoint, in ‘multiaddress’ format."
  26588. msgstr ""
  26589. #. type: cindex
  26590. #: guix-git/doc/guix.texi:17831
  26591. #, no-wrap
  26592. msgid "keepalived"
  26593. msgstr ""
  26594. #. type: deffn
  26595. #: guix-git/doc/guix.texi:17832
  26596. #, no-wrap
  26597. msgid "{Scheme Variable} keepalived-service-type"
  26598. msgstr ""
  26599. #. type: deffn
  26600. #: guix-git/doc/guix.texi:17837
  26601. 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:"
  26602. msgstr ""
  26603. #. type: lisp
  26604. #: guix-git/doc/guix.texi:17842
  26605. #, no-wrap
  26606. msgid ""
  26607. "(service keepalived-service-type\n"
  26608. " (keepalived-configuration\n"
  26609. " (config-file (local-file \"keepalived-master.conf\"))))\n"
  26610. msgstr ""
  26611. #. type: deffn
  26612. #: guix-git/doc/guix.texi:17845
  26613. msgid "where @file{keepalived-master.conf}:"
  26614. msgstr ""
  26615. #. type: example
  26616. #: guix-git/doc/guix.texi:17857
  26617. #, no-wrap
  26618. msgid ""
  26619. "vrrp_instance my-group @{\n"
  26620. " state MASTER\n"
  26621. " interface enp9s0\n"
  26622. " virtual_router_id 100\n"
  26623. " priority 100\n"
  26624. " unicast_peer @{ 10.0.0.2 @}\n"
  26625. " virtual_ipaddress @{\n"
  26626. " 10.0.0.4/24\n"
  26627. " @}\n"
  26628. "@}\n"
  26629. msgstr ""
  26630. #. type: deffn
  26631. #: guix-git/doc/guix.texi:17860
  26632. msgid "and for backup machine:"
  26633. msgstr ""
  26634. #. type: lisp
  26635. #: guix-git/doc/guix.texi:17865
  26636. #, no-wrap
  26637. msgid ""
  26638. "(service keepalived-service-type\n"
  26639. " (keepalived-configuration\n"
  26640. " (config-file (local-file \"keepalived-backup.conf\"))))\n"
  26641. msgstr ""
  26642. #. type: deffn
  26643. #: guix-git/doc/guix.texi:17868
  26644. msgid "where @file{keepalived-backup.conf}:"
  26645. msgstr ""
  26646. #. type: example
  26647. #: guix-git/doc/guix.texi:17880
  26648. #, no-wrap
  26649. msgid ""
  26650. "vrrp_instance my-group @{\n"
  26651. " state BACKUP\n"
  26652. " interface enp9s0\n"
  26653. " virtual_router_id 100\n"
  26654. " priority 99\n"
  26655. " unicast_peer @{ 10.0.0.3 @}\n"
  26656. " virtual_ipaddress @{\n"
  26657. " 10.0.0.4/24\n"
  26658. " @}\n"
  26659. "@}\n"
  26660. msgstr ""
  26661. #. type: cindex
  26662. #: guix-git/doc/guix.texi:17886
  26663. #, no-wrap
  26664. msgid "unattended upgrades"
  26665. msgstr ""
  26666. #. type: cindex
  26667. #: guix-git/doc/guix.texi:17887
  26668. #, no-wrap
  26669. msgid "upgrades, unattended"
  26670. msgstr ""
  26671. #. type: Plain text
  26672. #: guix-git/doc/guix.texi:17892
  26673. 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:"
  26674. msgstr ""
  26675. #. type: itemize
  26676. #: guix-git/doc/guix.texi:17897
  26677. msgid "upgrades are transactional (either the upgrade succeeds or it fails, but you cannot end up with an ``in-between'' system state);"
  26678. msgstr ""
  26679. #. type: itemize
  26680. #: guix-git/doc/guix.texi:17901
  26681. 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;"
  26682. msgstr ""
  26683. #. type: itemize
  26684. #: guix-git/doc/guix.texi:17904
  26685. msgid "channel code is authenticated so you know you can only run genuine code (@pxref{Channels});"
  26686. msgstr ""
  26687. #. type: itemize
  26688. #: guix-git/doc/guix.texi:17907
  26689. msgid "@command{guix system reconfigure} prevents downgrades, which makes it immune to @dfn{downgrade attacks}."
  26690. msgstr ""
  26691. #. type: Plain text
  26692. #: guix-git/doc/guix.texi:17912
  26693. 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:"
  26694. msgstr ""
  26695. #. type: lisp
  26696. #: guix-git/doc/guix.texi:17915
  26697. #, no-wrap
  26698. msgid "(service unattended-upgrade-service-type)\n"
  26699. msgstr ""
  26700. #. type: Plain text
  26701. #: guix-git/doc/guix.texi:17922
  26702. 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."
  26703. msgstr ""
  26704. #. type: Plain text
  26705. #: guix-git/doc/guix.texi:17928
  26706. 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."
  26707. msgstr ""
  26708. #. type: Plain text
  26709. #: guix-git/doc/guix.texi:17932
  26710. 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)."
  26711. msgstr ""
  26712. #. type: defvr
  26713. #: guix-git/doc/guix.texi:17933
  26714. #, no-wrap
  26715. msgid "{Scheme Variable} unattended-upgrade-service-type"
  26716. msgstr ""
  26717. #. type: defvr
  26718. #: guix-git/doc/guix.texi:17937
  26719. 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."
  26720. msgstr ""
  26721. #. type: defvr
  26722. #: guix-git/doc/guix.texi:17940
  26723. msgid "Its value must be a @code{unattended-upgrade-configuration} record (see below)."
  26724. msgstr ""
  26725. #. type: deftp
  26726. #: guix-git/doc/guix.texi:17942
  26727. #, no-wrap
  26728. msgid "{Data Type} unattended-upgrade-configuration"
  26729. msgstr ""
  26730. #. type: deftp
  26731. #: guix-git/doc/guix.texi:17945
  26732. msgid "This data type represents the configuration of the unattended upgrade service. The following fields are available:"
  26733. msgstr ""
  26734. #. type: item
  26735. #: guix-git/doc/guix.texi:17947
  26736. #, no-wrap
  26737. msgid "@code{schedule} (default: @code{\"30 01 * * 0\"})"
  26738. msgstr ""
  26739. #. type: table
  26740. #: guix-git/doc/guix.texi:17951
  26741. 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})."
  26742. msgstr ""
  26743. #. type: item
  26744. #: guix-git/doc/guix.texi:17952
  26745. #, no-wrap
  26746. msgid "@code{channels} (default: @code{#~%default-channels})"
  26747. msgstr ""
  26748. #. type: table
  26749. #: guix-git/doc/guix.texi:17956
  26750. 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."
  26751. msgstr ""
  26752. #. type: item
  26753. #: guix-git/doc/guix.texi:17957
  26754. #, no-wrap
  26755. msgid "@code{operating-system-file} (default: @code{\"/run/current-system/configuration.scm\"})"
  26756. msgstr ""
  26757. #. type: table
  26758. #: guix-git/doc/guix.texi:17960
  26759. msgid "This field specifies the operating system configuration file to use. The default is to reuse the config file of the current configuration."
  26760. msgstr ""
  26761. #. type: table
  26762. #: guix-git/doc/guix.texi:17966
  26763. 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:"
  26764. msgstr ""
  26765. #. type: lisp
  26766. #: guix-git/doc/guix.texi:17972
  26767. #, no-wrap
  26768. msgid ""
  26769. "(unattended-upgrade-configuration\n"
  26770. " (operating-system-file\n"
  26771. " (file-append (local-file \".\" \"config-dir\" #:recursive? #t)\n"
  26772. " \"/config.scm\")))\n"
  26773. msgstr ""
  26774. #. type: table
  26775. #: guix-git/doc/guix.texi:17979
  26776. 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}."
  26777. msgstr ""
  26778. #. type: item
  26779. #: guix-git/doc/guix.texi:17980
  26780. #, no-wrap
  26781. msgid "@code{services-to-restart} (default: @code{'(mcron)})"
  26782. msgstr ""
  26783. #. type: table
  26784. #: guix-git/doc/guix.texi:17983
  26785. msgid "This field specifies the Shepherd services to restart when the upgrade completes."
  26786. msgstr ""
  26787. #. type: table
  26788. #: guix-git/doc/guix.texi:17990
  26789. 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."
  26790. msgstr ""
  26791. #. type: table
  26792. #: guix-git/doc/guix.texi:17994
  26793. 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}."
  26794. msgstr ""
  26795. #. type: table
  26796. #: guix-git/doc/guix.texi:17997
  26797. 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."
  26798. msgstr ""
  26799. #. type: item
  26800. #: guix-git/doc/guix.texi:17998
  26801. #, no-wrap
  26802. msgid "@code{system-expiration} (default: @code{(* 3 30 24 3600)})"
  26803. msgstr ""
  26804. #. type: table
  26805. #: guix-git/doc/guix.texi:18002
  26806. 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."
  26807. msgstr ""
  26808. #. type: quotation
  26809. #: guix-git/doc/guix.texi:18007
  26810. 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."
  26811. msgstr ""
  26812. #. type: item
  26813. #: guix-git/doc/guix.texi:18009
  26814. #, no-wrap
  26815. msgid "@code{maximum-duration} (default: @code{3600})"
  26816. msgstr ""
  26817. #. type: table
  26818. #: guix-git/doc/guix.texi:18012
  26819. msgid "Maximum duration in seconds for the upgrade; past that time, the upgrade aborts."
  26820. msgstr ""
  26821. #. type: table
  26822. #: guix-git/doc/guix.texi:18015
  26823. msgid "This is primarily useful to ensure the upgrade does not end up rebuilding or re-downloading ``the world''."
  26824. msgstr ""
  26825. #. type: item
  26826. #: guix-git/doc/guix.texi:18016
  26827. #, no-wrap
  26828. msgid "@code{log-file} (default: @code{\"/var/log/unattended-upgrade.log\"})"
  26829. msgstr ""
  26830. #. type: table
  26831. #: guix-git/doc/guix.texi:18018
  26832. msgid "File where unattended upgrades are logged."
  26833. msgstr ""
  26834. #. type: cindex
  26835. #: guix-git/doc/guix.texi:18024
  26836. #, no-wrap
  26837. msgid "X11"
  26838. msgstr ""
  26839. #. type: cindex
  26840. #: guix-git/doc/guix.texi:18025
  26841. #, no-wrap
  26842. msgid "X Window System"
  26843. msgstr ""
  26844. #. type: cindex
  26845. #: guix-git/doc/guix.texi:18026 guix-git/doc/guix.texi:18286
  26846. #, no-wrap
  26847. msgid "login manager"
  26848. msgstr ""
  26849. #. type: Plain text
  26850. #: guix-git/doc/guix.texi:18031
  26851. 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)."
  26852. msgstr ""
  26853. #. type: cindex
  26854. #: guix-git/doc/guix.texi:18032
  26855. #, no-wrap
  26856. msgid "GDM"
  26857. msgstr ""
  26858. #. type: cindex
  26859. #: guix-git/doc/guix.texi:18033
  26860. #, no-wrap
  26861. msgid "GNOME, login manager"
  26862. msgstr ""
  26863. #. type: Plain text
  26864. #: guix-git/doc/guix.texi:18037
  26865. 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."
  26866. msgstr ""
  26867. #. type: cindex
  26868. #: guix-git/doc/guix.texi:18038
  26869. #, no-wrap
  26870. msgid "window manager"
  26871. msgstr ""
  26872. #. type: Plain text
  26873. #: guix-git/doc/guix.texi:18043
  26874. 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})."
  26875. msgstr ""
  26876. #. type: defvr
  26877. #: guix-git/doc/guix.texi:18044
  26878. #, no-wrap
  26879. msgid "{Scheme Variable} gdm-service-type"
  26880. msgstr ""
  26881. #. type: defvr
  26882. #: guix-git/doc/guix.texi:18049
  26883. 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)."
  26884. msgstr ""
  26885. #. type: cindex
  26886. #: guix-git/doc/guix.texi:18050
  26887. #, no-wrap
  26888. msgid "session types (X11)"
  26889. msgstr ""
  26890. #. type: cindex
  26891. #: guix-git/doc/guix.texi:18051
  26892. #, no-wrap
  26893. msgid "X11 session types"
  26894. msgstr ""
  26895. #. type: defvr
  26896. #: guix-git/doc/guix.texi:18057
  26897. msgid "GDM looks for @dfn{session types} described by the @file{.desktop} files in @file{/run/current-system/profile/share/xsessions} and allows users to choose a session from the log-in screen. Packages such as @code{gnome}, @code{xfce}, and @code{i3} provide @file{.desktop} files; adding them to the system-wide set of packages automatically makes them available at the log-in screen."
  26898. msgstr ""
  26899. #. type: defvr
  26900. #: guix-git/doc/guix.texi:18061
  26901. 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."
  26902. msgstr ""
  26903. #. type: deftp
  26904. #: guix-git/doc/guix.texi:18063
  26905. #, no-wrap
  26906. msgid "{Data Type} gdm-configuration"
  26907. msgstr ""
  26908. #. type: item
  26909. #: guix-git/doc/guix.texi:18065 guix-git/doc/guix.texi:18141
  26910. #, no-wrap
  26911. msgid "@code{auto-login?} (default: @code{#f})"
  26912. msgstr ""
  26913. #. type: itemx
  26914. #: guix-git/doc/guix.texi:18066
  26915. #, no-wrap
  26916. msgid "@code{default-user} (default: @code{#f})"
  26917. msgstr ""
  26918. #. type: table
  26919. #: guix-git/doc/guix.texi:18068
  26920. msgid "When @code{auto-login?} is false, GDM presents a log-in screen."
  26921. msgstr ""
  26922. #. type: table
  26923. #: guix-git/doc/guix.texi:18071
  26924. msgid "When @code{auto-login?} is true, GDM logs in directly as @code{default-user}."
  26925. msgstr ""
  26926. #. type: item
  26927. #: guix-git/doc/guix.texi:18072 guix-git/doc/guix.texi:23920
  26928. #: guix-git/doc/guix.texi:25628 guix-git/doc/guix.texi:30046
  26929. #: guix-git/doc/guix.texi:30075 guix-git/doc/guix.texi:30104
  26930. #: guix-git/doc/guix.texi:30131 guix-git/doc/guix.texi:30186
  26931. #: guix-git/doc/guix.texi:30211 guix-git/doc/guix.texi:30238
  26932. #: guix-git/doc/guix.texi:30264 guix-git/doc/guix.texi:30306
  26933. #, no-wrap
  26934. msgid "@code{debug?} (default: @code{#f})"
  26935. msgstr "@code{debug?} (default: @code{#f})"
  26936. #. type: table
  26937. #: guix-git/doc/guix.texi:18074
  26938. msgid "When true, GDM writes debug messages to its log."
  26939. msgstr ""
  26940. #. type: item
  26941. #: guix-git/doc/guix.texi:18075
  26942. #, no-wrap
  26943. msgid "@code{gnome-shell-assets} (default: ...)"
  26944. msgstr ""
  26945. #. type: table
  26946. #: guix-git/doc/guix.texi:18077
  26947. msgid "List of GNOME Shell assets needed by GDM: icon theme, fonts, etc."
  26948. msgstr ""
  26949. #. type: item
  26950. #: guix-git/doc/guix.texi:18078
  26951. #, no-wrap
  26952. msgid "@code{xorg-configuration} (default: @code{(xorg-configuration)})"
  26953. msgstr ""
  26954. #. type: table
  26955. #: guix-git/doc/guix.texi:18080 guix-git/doc/guix.texi:18168
  26956. #: guix-git/doc/guix.texi:18252
  26957. msgid "Configuration of the Xorg graphical server."
  26958. msgstr ""
  26959. #. type: item
  26960. #: guix-git/doc/guix.texi:18081
  26961. #, no-wrap
  26962. msgid "@code{xsession} (default: @code{(xinitrc)})"
  26963. msgstr ""
  26964. #. type: table
  26965. #: guix-git/doc/guix.texi:18083 guix-git/doc/guix.texi:18267
  26966. msgid "Script to run before starting a X session."
  26967. msgstr ""
  26968. #. type: item
  26969. #: guix-git/doc/guix.texi:18084
  26970. #, no-wrap
  26971. msgid "@code{dbus-daemon} (default: @code{dbus-daemon-wrapper})"
  26972. msgstr ""
  26973. #. type: table
  26974. #: guix-git/doc/guix.texi:18086
  26975. msgid "File name of the @code{dbus-daemon} executable."
  26976. msgstr ""
  26977. #. type: item
  26978. #: guix-git/doc/guix.texi:18087
  26979. #, no-wrap
  26980. msgid "@code{gdm} (default: @code{gdm})"
  26981. msgstr "@code{gdm} (default: @code{gdm})"
  26982. #. type: table
  26983. #: guix-git/doc/guix.texi:18089
  26984. msgid "The GDM package to use."
  26985. msgstr ""
  26986. #. type: defvr
  26987. #: guix-git/doc/guix.texi:18092
  26988. #, no-wrap
  26989. msgid "{Scheme Variable} slim-service-type"
  26990. msgstr ""
  26991. #. type: defvr
  26992. #: guix-git/doc/guix.texi:18094
  26993. msgid "This is the type for the SLiM graphical login manager for X11."
  26994. msgstr ""
  26995. #. type: defvr
  26996. #: guix-git/doc/guix.texi:18098
  26997. 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."
  26998. msgstr ""
  26999. #. type: defvr
  27000. #: guix-git/doc/guix.texi:18105
  27001. 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."
  27002. msgstr ""
  27003. #. type: lisp
  27004. #: guix-git/doc/guix.texi:18111
  27005. #, no-wrap
  27006. msgid ""
  27007. "(use-modules (gnu services)\n"
  27008. " (gnu services desktop)\n"
  27009. " (gnu services xorg)\n"
  27010. " (srfi srfi-1)) ;for 'remove'\n"
  27011. "\n"
  27012. msgstr ""
  27013. #. type: lisp
  27014. #: guix-git/doc/guix.texi:18122
  27015. #, no-wrap
  27016. msgid ""
  27017. "(operating-system\n"
  27018. " ;; ...\n"
  27019. " (services (cons* (service slim-service-type (slim-configuration\n"
  27020. " (display \":0\")\n"
  27021. " (vt \"vt7\")))\n"
  27022. " (service slim-service-type (slim-configuration\n"
  27023. " (display \":1\")\n"
  27024. " (vt \"vt8\")))\n"
  27025. " (modify-services %desktop-services\n"
  27026. " (delete gdm-service-type)))))\n"
  27027. msgstr ""
  27028. #. type: deftp
  27029. #: guix-git/doc/guix.texi:18126
  27030. #, no-wrap
  27031. msgid "{Data Type} slim-configuration"
  27032. msgstr ""
  27033. #. type: deftp
  27034. #: guix-git/doc/guix.texi:18128
  27035. msgid "Data type representing the configuration of @code{slim-service-type}."
  27036. msgstr ""
  27037. #. type: table
  27038. #: guix-git/doc/guix.texi:18132
  27039. msgid "Whether to allow logins with empty passwords."
  27040. msgstr ""
  27041. #. type: item
  27042. #: guix-git/doc/guix.texi:18133
  27043. #, fuzzy, no-wrap
  27044. #| msgid "@code{hangup?} (default: @code{#f})"
  27045. msgid "@code{gnupg?} (default: @code{#f})"
  27046. msgstr "@code{hangup?} (padrão: @code{#f})"
  27047. #. type: table
  27048. #: guix-git/doc/guix.texi:18140
  27049. 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}."
  27050. msgstr ""
  27051. #. type: itemx
  27052. #: guix-git/doc/guix.texi:18142
  27053. #, no-wrap
  27054. msgid "@code{default-user} (default: @code{\"\"})"
  27055. msgstr ""
  27056. #. type: table
  27057. #: guix-git/doc/guix.texi:18144
  27058. msgid "When @code{auto-login?} is false, SLiM presents a log-in screen."
  27059. msgstr ""
  27060. #. type: table
  27061. #: guix-git/doc/guix.texi:18147
  27062. msgid "When @code{auto-login?} is true, SLiM logs in directly as @code{default-user}."
  27063. msgstr ""
  27064. #. type: item
  27065. #: guix-git/doc/guix.texi:18148
  27066. #, no-wrap
  27067. msgid "@code{theme} (default: @code{%default-slim-theme})"
  27068. msgstr ""
  27069. #. type: itemx
  27070. #: guix-git/doc/guix.texi:18149
  27071. #, no-wrap
  27072. msgid "@code{theme-name} (default: @code{%default-slim-theme-name})"
  27073. msgstr ""
  27074. #. type: table
  27075. #: guix-git/doc/guix.texi:18151
  27076. msgid "The graphical theme to use and its name."
  27077. msgstr ""
  27078. #. type: item
  27079. #: guix-git/doc/guix.texi:18152
  27080. #, no-wrap
  27081. msgid "@code{auto-login-session} (default: @code{#f})"
  27082. msgstr ""
  27083. #. type: table
  27084. #: guix-git/doc/guix.texi:18155
  27085. 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\")}."
  27086. msgstr ""
  27087. #. type: table
  27088. #: guix-git/doc/guix.texi:18159
  27089. 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."
  27090. msgstr ""
  27091. #. type: quotation
  27092. #: guix-git/doc/guix.texi:18164
  27093. 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."
  27094. msgstr ""
  27095. #. type: item
  27096. #: guix-git/doc/guix.texi:18166 guix-git/doc/guix.texi:18250
  27097. #, no-wrap
  27098. msgid "@code{xorg-configuration} (default @code{(xorg-configuration)})"
  27099. msgstr ""
  27100. #. type: item
  27101. #: guix-git/doc/guix.texi:18169
  27102. #, no-wrap
  27103. msgid "@code{display} (default @code{\":0\"})"
  27104. msgstr ""
  27105. #. type: table
  27106. #: guix-git/doc/guix.texi:18171
  27107. msgid "The display on which to start the Xorg graphical server."
  27108. msgstr ""
  27109. #. type: item
  27110. #: guix-git/doc/guix.texi:18172
  27111. #, no-wrap
  27112. msgid "@code{vt} (default @code{\"vt7\"})"
  27113. msgstr ""
  27114. #. type: table
  27115. #: guix-git/doc/guix.texi:18174
  27116. msgid "The VT on which to start the Xorg graphical server."
  27117. msgstr ""
  27118. #. type: item
  27119. #: guix-git/doc/guix.texi:18175
  27120. #, no-wrap
  27121. msgid "@code{xauth} (default: @code{xauth})"
  27122. msgstr ""
  27123. #. type: table
  27124. #: guix-git/doc/guix.texi:18177
  27125. msgid "The XAuth package to use."
  27126. msgstr ""
  27127. #. type: item
  27128. #: guix-git/doc/guix.texi:18178
  27129. #, no-wrap
  27130. msgid "@code{shepherd} (default: @code{shepherd})"
  27131. msgstr ""
  27132. #. type: table
  27133. #: guix-git/doc/guix.texi:18181
  27134. msgid "The Shepherd package used when invoking @command{halt} and @command{reboot}."
  27135. msgstr ""
  27136. #. type: item
  27137. #: guix-git/doc/guix.texi:18182
  27138. #, no-wrap
  27139. msgid "@code{sessreg} (default: @code{sessreg})"
  27140. msgstr ""
  27141. #. type: table
  27142. #: guix-git/doc/guix.texi:18184
  27143. msgid "The sessreg package used in order to register the session."
  27144. msgstr ""
  27145. #. type: item
  27146. #: guix-git/doc/guix.texi:18185
  27147. #, no-wrap
  27148. msgid "@code{slim} (default: @code{slim})"
  27149. msgstr ""
  27150. #. type: table
  27151. #: guix-git/doc/guix.texi:18187
  27152. msgid "The SLiM package to use."
  27153. msgstr ""
  27154. #. type: defvr
  27155. #: guix-git/doc/guix.texi:18190
  27156. #, no-wrap
  27157. msgid "{Scheme Variable} %default-theme"
  27158. msgstr ""
  27159. #. type: defvrx
  27160. #: guix-git/doc/guix.texi:18191
  27161. #, no-wrap
  27162. msgid "{Scheme Variable} %default-theme-name"
  27163. msgstr ""
  27164. #. type: defvr
  27165. #: guix-git/doc/guix.texi:18193
  27166. msgid "The default SLiM theme and its name."
  27167. msgstr ""
  27168. #. type: deftp
  27169. #: guix-git/doc/guix.texi:18196 guix-git/doc/guix.texi:18303
  27170. #, no-wrap
  27171. msgid "{Data Type} sddm-configuration"
  27172. msgstr ""
  27173. #. type: deftp
  27174. #: guix-git/doc/guix.texi:18198
  27175. msgid "This is the data type representing the SDDM service configuration."
  27176. msgstr ""
  27177. #. type: item
  27178. #: guix-git/doc/guix.texi:18200
  27179. #, no-wrap
  27180. msgid "@code{display-server} (default: \"x11\")"
  27181. msgstr ""
  27182. #. type: table
  27183. #: guix-git/doc/guix.texi:18203
  27184. msgid "Select display server to use for the greeter. Valid values are @samp{\"x11\"} or @samp{\"wayland\"}."
  27185. msgstr ""
  27186. #. type: item
  27187. #: guix-git/doc/guix.texi:18204
  27188. #, no-wrap
  27189. msgid "@code{numlock} (default: \"on\")"
  27190. msgstr ""
  27191. #. type: table
  27192. #: guix-git/doc/guix.texi:18206
  27193. msgid "Valid values are @samp{\"on\"}, @samp{\"off\"} or @samp{\"none\"}."
  27194. msgstr ""
  27195. #. type: item
  27196. #: guix-git/doc/guix.texi:18207
  27197. #, no-wrap
  27198. msgid "@code{halt-command} (default @code{#~(string-apppend #$shepherd \"/sbin/halt\")})"
  27199. msgstr ""
  27200. #. type: table
  27201. #: guix-git/doc/guix.texi:18209
  27202. msgid "Command to run when halting."
  27203. msgstr ""
  27204. #. type: item
  27205. #: guix-git/doc/guix.texi:18210
  27206. #, no-wrap
  27207. msgid "@code{reboot-command} (default @code{#~(string-append #$shepherd \"/sbin/reboot\")})"
  27208. msgstr ""
  27209. #. type: table
  27210. #: guix-git/doc/guix.texi:18212
  27211. msgid "Command to run when rebooting."
  27212. msgstr ""
  27213. #. type: item
  27214. #: guix-git/doc/guix.texi:18213
  27215. #, no-wrap
  27216. msgid "@code{theme} (default \"maldives\")"
  27217. msgstr ""
  27218. #. type: table
  27219. #: guix-git/doc/guix.texi:18216
  27220. msgid "Theme to use. Default themes provided by SDDM are @samp{\"elarun\"}, @samp{\"maldives\"} or @samp{\"maya\"}."
  27221. msgstr ""
  27222. #. type: item
  27223. #: guix-git/doc/guix.texi:18217
  27224. #, no-wrap
  27225. msgid "@code{themes-directory} (default \"/run/current-system/profile/share/sddm/themes\")"
  27226. msgstr ""
  27227. #. type: table
  27228. #: guix-git/doc/guix.texi:18219
  27229. msgid "Directory to look for themes."
  27230. msgstr ""
  27231. #. type: item
  27232. #: guix-git/doc/guix.texi:18220
  27233. #, no-wrap
  27234. msgid "@code{faces-directory} (default \"/run/current-system/profile/share/sddm/faces\")"
  27235. msgstr ""
  27236. #. type: table
  27237. #: guix-git/doc/guix.texi:18222
  27238. msgid "Directory to look for faces."
  27239. msgstr ""
  27240. #. type: item
  27241. #: guix-git/doc/guix.texi:18223
  27242. #, no-wrap
  27243. msgid "@code{default-path} (default \"/run/current-system/profile/bin\")"
  27244. msgstr ""
  27245. #. type: table
  27246. #: guix-git/doc/guix.texi:18225
  27247. msgid "Default PATH to use."
  27248. msgstr ""
  27249. #. type: item
  27250. #: guix-git/doc/guix.texi:18226
  27251. #, no-wrap
  27252. msgid "@code{minimum-uid} (default: 1000)"
  27253. msgstr ""
  27254. #. type: table
  27255. #: guix-git/doc/guix.texi:18228
  27256. msgid "Minimum UID displayed in SDDM and allowed for log-in."
  27257. msgstr ""
  27258. #. type: item
  27259. #: guix-git/doc/guix.texi:18229
  27260. #, no-wrap
  27261. msgid "@code{maximum-uid} (default: 2000)"
  27262. msgstr ""
  27263. #. type: table
  27264. #: guix-git/doc/guix.texi:18231
  27265. msgid "Maximum UID to display in SDDM."
  27266. msgstr ""
  27267. #. type: item
  27268. #: guix-git/doc/guix.texi:18232
  27269. #, no-wrap
  27270. msgid "@code{remember-last-user?} (default #t)"
  27271. msgstr ""
  27272. #. type: table
  27273. #: guix-git/doc/guix.texi:18234
  27274. msgid "Remember last user."
  27275. msgstr ""
  27276. #. type: item
  27277. #: guix-git/doc/guix.texi:18235
  27278. #, no-wrap
  27279. msgid "@code{remember-last-session?} (default #t)"
  27280. msgstr ""
  27281. #. type: table
  27282. #: guix-git/doc/guix.texi:18237
  27283. msgid "Remember last session."
  27284. msgstr ""
  27285. #. type: item
  27286. #: guix-git/doc/guix.texi:18238
  27287. #, no-wrap
  27288. msgid "@code{hide-users} (default \"\")"
  27289. msgstr ""
  27290. #. type: table
  27291. #: guix-git/doc/guix.texi:18240
  27292. msgid "Usernames to hide from SDDM greeter."
  27293. msgstr ""
  27294. #. type: item
  27295. #: guix-git/doc/guix.texi:18241
  27296. #, no-wrap
  27297. msgid "@code{hide-shells} (default @code{#~(string-append #$shadow \"/sbin/nologin\")})"
  27298. msgstr ""
  27299. #. type: table
  27300. #: guix-git/doc/guix.texi:18243
  27301. msgid "Users with shells listed will be hidden from the SDDM greeter."
  27302. msgstr ""
  27303. #. type: item
  27304. #: guix-git/doc/guix.texi:18244
  27305. #, no-wrap
  27306. msgid "@code{session-command} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/wayland-session\")})"
  27307. msgstr ""
  27308. #. type: table
  27309. #: guix-git/doc/guix.texi:18246
  27310. msgid "Script to run before starting a wayland session."
  27311. msgstr ""
  27312. #. type: item
  27313. #: guix-git/doc/guix.texi:18247
  27314. #, no-wrap
  27315. msgid "@code{sessions-directory} (default \"/run/current-system/profile/share/wayland-sessions\")"
  27316. msgstr ""
  27317. #. type: table
  27318. #: guix-git/doc/guix.texi:18249
  27319. msgid "Directory to look for desktop files starting wayland sessions."
  27320. msgstr ""
  27321. #. type: item
  27322. #: guix-git/doc/guix.texi:18253
  27323. #, no-wrap
  27324. msgid "@code{xauth-path} (default @code{#~(string-append #$xauth \"/bin/xauth\")})"
  27325. msgstr ""
  27326. #. type: table
  27327. #: guix-git/doc/guix.texi:18255
  27328. msgid "Path to xauth."
  27329. msgstr ""
  27330. #. type: item
  27331. #: guix-git/doc/guix.texi:18256
  27332. #, no-wrap
  27333. msgid "@code{xephyr-path} (default @code{#~(string-append #$xorg-server \"/bin/Xephyr\")})"
  27334. msgstr ""
  27335. #. type: table
  27336. #: guix-git/doc/guix.texi:18258
  27337. msgid "Path to Xephyr."
  27338. msgstr ""
  27339. #. type: item
  27340. #: guix-git/doc/guix.texi:18259
  27341. #, no-wrap
  27342. msgid "@code{xdisplay-start} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xsetup\")})"
  27343. msgstr ""
  27344. #. type: table
  27345. #: guix-git/doc/guix.texi:18261
  27346. msgid "Script to run after starting xorg-server."
  27347. msgstr ""
  27348. #. type: item
  27349. #: guix-git/doc/guix.texi:18262
  27350. #, no-wrap
  27351. msgid "@code{xdisplay-stop} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xstop\")})"
  27352. msgstr ""
  27353. #. type: table
  27354. #: guix-git/doc/guix.texi:18264
  27355. msgid "Script to run before stopping xorg-server."
  27356. msgstr ""
  27357. #. type: item
  27358. #: guix-git/doc/guix.texi:18265
  27359. #, no-wrap
  27360. msgid "@code{xsession-command} (default: @code{xinitrc})"
  27361. msgstr ""
  27362. #. type: item
  27363. #: guix-git/doc/guix.texi:18268
  27364. #, no-wrap
  27365. msgid "@code{xsessions-directory} (default: \"/run/current-system/profile/share/xsessions\")"
  27366. msgstr ""
  27367. #. type: table
  27368. #: guix-git/doc/guix.texi:18270
  27369. msgid "Directory to look for desktop files starting X sessions."
  27370. msgstr ""
  27371. #. type: item
  27372. #: guix-git/doc/guix.texi:18271
  27373. #, no-wrap
  27374. msgid "@code{minimum-vt} (default: 7)"
  27375. msgstr ""
  27376. #. type: table
  27377. #: guix-git/doc/guix.texi:18273
  27378. msgid "Minimum VT to use."
  27379. msgstr ""
  27380. #. type: item
  27381. #: guix-git/doc/guix.texi:18274
  27382. #, no-wrap
  27383. msgid "@code{auto-login-user} (default \"\")"
  27384. msgstr ""
  27385. #. type: table
  27386. #: guix-git/doc/guix.texi:18276
  27387. msgid "User to use for auto-login."
  27388. msgstr ""
  27389. #. type: item
  27390. #: guix-git/doc/guix.texi:18277
  27391. #, no-wrap
  27392. msgid "@code{auto-login-session} (default \"\")"
  27393. msgstr ""
  27394. #. type: table
  27395. #: guix-git/doc/guix.texi:18279
  27396. msgid "Desktop file to use for auto-login."
  27397. msgstr ""
  27398. #. type: item
  27399. #: guix-git/doc/guix.texi:18280
  27400. #, no-wrap
  27401. msgid "@code{relogin?} (default #f)"
  27402. msgstr ""
  27403. #. type: table
  27404. #: guix-git/doc/guix.texi:18282
  27405. msgid "Relogin after logout."
  27406. msgstr ""
  27407. #. type: cindex
  27408. #: guix-git/doc/guix.texi:18287
  27409. #, no-wrap
  27410. msgid "X11 login"
  27411. msgstr ""
  27412. #. type: defvr
  27413. #: guix-git/doc/guix.texi:18288
  27414. #, no-wrap
  27415. msgid "{Scheme Variable} sddm-service-type"
  27416. msgstr ""
  27417. #. type: defvr
  27418. #: guix-git/doc/guix.texi:18292
  27419. 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)."
  27420. msgstr ""
  27421. #. type: defvr
  27422. #: guix-git/doc/guix.texi:18294
  27423. msgid "Here's an example use:"
  27424. msgstr ""
  27425. #. type: lisp
  27426. #: guix-git/doc/guix.texi:18300
  27427. #, no-wrap
  27428. msgid ""
  27429. "(service sddm-service-type\n"
  27430. " (sddm-configuration\n"
  27431. " (auto-login-user \"alice\")\n"
  27432. " (auto-login-session \"xfce.desktop\")))\n"
  27433. msgstr ""
  27434. #. type: deftp
  27435. #: guix-git/doc/guix.texi:18306
  27436. msgid "This data type represents the configuration of the SDDM login manager. The available fields are:"
  27437. msgstr ""
  27438. #. type: item
  27439. #: guix-git/doc/guix.texi:18308
  27440. #, no-wrap
  27441. msgid "@code{sddm} (default: @code{sddm})"
  27442. msgstr ""
  27443. #. type: table
  27444. #: guix-git/doc/guix.texi:18310
  27445. msgid "The SDDM package to use."
  27446. msgstr ""
  27447. #. type: item
  27448. #: guix-git/doc/guix.texi:18311
  27449. #, no-wrap
  27450. msgid "@code{display-server} (default: @code{\"x11\"})"
  27451. msgstr ""
  27452. #. type: table
  27453. #: guix-git/doc/guix.texi:18313
  27454. msgid "This must be either @code{\"x11\"} or @code{\"wayland\"}."
  27455. msgstr ""
  27456. #. type: item
  27457. #: guix-git/doc/guix.texi:18316
  27458. #, no-wrap
  27459. msgid "@code{auto-login-user} (default: @code{\"\"})"
  27460. msgstr ""
  27461. #. type: table
  27462. #: guix-git/doc/guix.texi:18319
  27463. msgid "If non-empty, this is the user account under which to log in automatically."
  27464. msgstr ""
  27465. #. type: item
  27466. #: guix-git/doc/guix.texi:18320
  27467. #, no-wrap
  27468. msgid "@code{auto-login-session} (default: @code{\"\"})"
  27469. msgstr ""
  27470. #. type: table
  27471. #: guix-git/doc/guix.texi:18323
  27472. msgid "If non-empty, this is the @file{.desktop} file name to use as the auto-login session."
  27473. msgstr ""
  27474. #. type: cindex
  27475. #: guix-git/doc/guix.texi:18326
  27476. #, no-wrap
  27477. msgid "Xorg, configuration"
  27478. msgstr ""
  27479. #. type: deftp
  27480. #: guix-git/doc/guix.texi:18327
  27481. #, no-wrap
  27482. msgid "{Data Type} xorg-configuration"
  27483. msgstr ""
  27484. #. type: deftp
  27485. #: guix-git/doc/guix.texi:18332
  27486. 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."
  27487. msgstr ""
  27488. #. type: item
  27489. #: guix-git/doc/guix.texi:18334
  27490. #, no-wrap
  27491. msgid "@code{modules} (default: @code{%default-xorg-modules})"
  27492. msgstr ""
  27493. #. type: table
  27494. #: guix-git/doc/guix.texi:18337
  27495. 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."
  27496. msgstr ""
  27497. #. type: item
  27498. #: guix-git/doc/guix.texi:18338
  27499. #, no-wrap
  27500. msgid "@code{fonts} (default: @code{%default-xorg-fonts})"
  27501. msgstr ""
  27502. #. type: table
  27503. #: guix-git/doc/guix.texi:18340
  27504. msgid "This is a list of font directories to add to the server's @dfn{font path}."
  27505. msgstr ""
  27506. #. type: item
  27507. #: guix-git/doc/guix.texi:18341
  27508. #, no-wrap
  27509. msgid "@code{drivers} (default: @code{'()})"
  27510. msgstr ""
  27511. #. type: table
  27512. #: guix-git/doc/guix.texi:18345
  27513. 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\")}."
  27514. msgstr ""
  27515. #. type: item
  27516. #: guix-git/doc/guix.texi:18346
  27517. #, no-wrap
  27518. msgid "@code{resolutions} (default: @code{'()})"
  27519. msgstr ""
  27520. #. type: table
  27521. #: guix-git/doc/guix.texi:18350
  27522. 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))}."
  27523. msgstr ""
  27524. #. type: cindex
  27525. #: guix-git/doc/guix.texi:18351
  27526. #, no-wrap
  27527. msgid "keyboard layout, for Xorg"
  27528. msgstr "disposição do teclado, para Xorg"
  27529. #. type: cindex
  27530. #: guix-git/doc/guix.texi:18352
  27531. #, no-wrap
  27532. msgid "keymap, for Xorg"
  27533. msgstr ""
  27534. #. type: table
  27535. #: guix-git/doc/guix.texi:18356
  27536. msgid "If this is @code{#f}, Xorg uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  27537. msgstr ""
  27538. #. type: table
  27539. #: guix-git/doc/guix.texi:18360
  27540. 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."
  27541. msgstr ""
  27542. #. type: item
  27543. #: guix-git/doc/guix.texi:18361 guix-git/doc/guix.texi:20066
  27544. #: guix-git/doc/guix.texi:32678
  27545. #, no-wrap
  27546. msgid "@code{extra-config} (default: @code{'()})"
  27547. msgstr ""
  27548. #. type: table
  27549. #: guix-git/doc/guix.texi:18364 guix-git/doc/guix.texi:32682
  27550. 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."
  27551. msgstr ""
  27552. #. type: item
  27553. #: guix-git/doc/guix.texi:18365
  27554. #, no-wrap
  27555. msgid "@code{server} (default: @code{xorg-server})"
  27556. msgstr ""
  27557. #. type: table
  27558. #: guix-git/doc/guix.texi:18367
  27559. msgid "This is the package providing the Xorg server."
  27560. msgstr ""
  27561. #. type: item
  27562. #: guix-git/doc/guix.texi:18368
  27563. #, no-wrap
  27564. msgid "@code{server-arguments} (default: @code{%default-xorg-server-arguments})"
  27565. msgstr ""
  27566. #. type: table
  27567. #: guix-git/doc/guix.texi:18371
  27568. msgid "This is the list of command-line arguments to pass to the X server. The default is @code{-nolisten tcp}."
  27569. msgstr ""
  27570. #. type: deffn
  27571. #: guix-git/doc/guix.texi:18374
  27572. #, no-wrap
  27573. msgid "{Scheme Procedure} set-xorg-configuration @var{config} @"
  27574. msgstr ""
  27575. #. type: deffn
  27576. #: guix-git/doc/guix.texi:18378
  27577. 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."
  27578. msgstr ""
  27579. #. type: deffn
  27580. #: guix-git/doc/guix.texi:18382
  27581. 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."
  27582. msgstr ""
  27583. #. type: deffn
  27584. #: guix-git/doc/guix.texi:18384
  27585. #, no-wrap
  27586. msgid "{Scheme Procedure} xorg-start-command [@var{config}]"
  27587. msgstr ""
  27588. #. type: deffn
  27589. #: guix-git/doc/guix.texi:18388
  27590. 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}."
  27591. msgstr ""
  27592. #. type: deffn
  27593. #: guix-git/doc/guix.texi:18390
  27594. msgid "Usually the X server is started by a login manager."
  27595. msgstr ""
  27596. #. type: deffn
  27597. #: guix-git/doc/guix.texi:18393
  27598. #, no-wrap
  27599. msgid "{Scheme Procedure} screen-locker-service @var{package} [@var{program}]"
  27600. msgstr ""
  27601. #. type: deffn
  27602. #: guix-git/doc/guix.texi:18397
  27603. 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:"
  27604. msgstr ""
  27605. #. type: lisp
  27606. #: guix-git/doc/guix.texi:18400
  27607. #, no-wrap
  27608. msgid "(screen-locker-service xlockmore \"xlock\")\n"
  27609. msgstr ""
  27610. #. type: deffn
  27611. #: guix-git/doc/guix.texi:18403
  27612. msgid "makes the good ol' XlockMore usable."
  27613. msgstr ""
  27614. #. type: cindex
  27615. #: guix-git/doc/guix.texi:18409
  27616. #, no-wrap
  27617. msgid "printer support with CUPS"
  27618. msgstr ""
  27619. #. type: Plain text
  27620. #: guix-git/doc/guix.texi:18413
  27621. 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:"
  27622. msgstr ""
  27623. #. type: deffn
  27624. #: guix-git/doc/guix.texi:18414
  27625. #, no-wrap
  27626. msgid "{Scheme Variable} cups-service-type"
  27627. msgstr ""
  27628. #. type: deffn
  27629. #: guix-git/doc/guix.texi:18418
  27630. 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:"
  27631. msgstr ""
  27632. #. type: lisp
  27633. #: guix-git/doc/guix.texi:18420
  27634. #, no-wrap
  27635. msgid "(service cups-service-type)\n"
  27636. msgstr ""
  27637. #. type: Plain text
  27638. #: guix-git/doc/guix.texi:18430
  27639. 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."
  27640. msgstr ""
  27641. #. type: Plain text
  27642. #: guix-git/doc/guix.texi:18436
  27643. 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):"
  27644. msgstr ""
  27645. #. type: lisp
  27646. #: guix-git/doc/guix.texi:18443
  27647. #, no-wrap
  27648. msgid ""
  27649. "(service cups-service-type\n"
  27650. " (cups-configuration\n"
  27651. " (web-interface? #t)\n"
  27652. " (extensions\n"
  27653. " (list cups-filters epson-inkjet-printer-escpr hplip-minimal))))\n"
  27654. msgstr ""
  27655. #. type: Plain text
  27656. #: guix-git/doc/guix.texi:18448
  27657. 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."
  27658. msgstr ""
  27659. #. type: Plain text
  27660. #: guix-git/doc/guix.texi:18455
  27661. 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."
  27662. msgstr ""
  27663. #. type: Plain text
  27664. #: guix-git/doc/guix.texi:18466
  27665. msgid "Available @code{cups-configuration} fields are:"
  27666. msgstr ""
  27667. #. type: deftypevr
  27668. #: guix-git/doc/guix.texi:18467
  27669. #, no-wrap
  27670. msgid "{@code{cups-configuration} parameter} package cups"
  27671. msgstr ""
  27672. #. type: deftypevr
  27673. #: guix-git/doc/guix.texi:18469 guix-git/doc/guix.texi:19231
  27674. msgid "The CUPS package."
  27675. msgstr ""
  27676. #. type: deftypevr
  27677. #: guix-git/doc/guix.texi:18471
  27678. #, no-wrap
  27679. msgid "{@code{cups-configuration} parameter} package-list extensions (default: @code{(list brlaser cups-filters epson-inkjet-printer-escpr foomatic-filters hplip-minimal splix)})"
  27680. msgstr ""
  27681. #. type: deftypevr
  27682. #: guix-git/doc/guix.texi:18473
  27683. msgid "Drivers and other extensions to the CUPS package."
  27684. msgstr ""
  27685. #. type: deftypevr
  27686. #: guix-git/doc/guix.texi:18475
  27687. #, no-wrap
  27688. msgid "{@code{cups-configuration} parameter} files-configuration files-configuration"
  27689. msgstr ""
  27690. #. type: deftypevr
  27691. #: guix-git/doc/guix.texi:18478
  27692. msgid "Configuration of where to write logs, what directories to use for print spools, and related privileged configuration parameters."
  27693. msgstr ""
  27694. #. type: deftypevr
  27695. #: guix-git/doc/guix.texi:18480
  27696. msgid "Available @code{files-configuration} fields are:"
  27697. msgstr ""
  27698. #. type: deftypevr
  27699. #: guix-git/doc/guix.texi:18481
  27700. #, no-wrap
  27701. msgid "{@code{files-configuration} parameter} log-location access-log"
  27702. msgstr ""
  27703. #. type: deftypevr
  27704. #: guix-git/doc/guix.texi:18489
  27705. 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}."
  27706. msgstr ""
  27707. #. type: deftypevr
  27708. #: guix-git/doc/guix.texi:18491
  27709. msgid "Defaults to @samp{\"/var/log/cups/access_log\"}."
  27710. msgstr ""
  27711. #. type: deftypevr
  27712. #: guix-git/doc/guix.texi:18493
  27713. #, no-wrap
  27714. msgid "{@code{files-configuration} parameter} file-name cache-dir"
  27715. msgstr ""
  27716. #. type: deftypevr
  27717. #: guix-git/doc/guix.texi:18495
  27718. msgid "Where CUPS should cache data."
  27719. msgstr ""
  27720. #. type: deftypevr
  27721. #: guix-git/doc/guix.texi:18497
  27722. msgid "Defaults to @samp{\"/var/cache/cups\"}."
  27723. msgstr ""
  27724. #. type: deftypevr
  27725. #: guix-git/doc/guix.texi:18499
  27726. #, no-wrap
  27727. msgid "{@code{files-configuration} parameter} string config-file-perm"
  27728. msgstr ""
  27729. #. type: deftypevr
  27730. #: guix-git/doc/guix.texi:18502
  27731. msgid "Specifies the permissions for all configuration files that the scheduler writes."
  27732. msgstr ""
  27733. #. type: deftypevr
  27734. #: guix-git/doc/guix.texi:18508
  27735. 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."
  27736. msgstr ""
  27737. #. type: deftypevr
  27738. #: guix-git/doc/guix.texi:18510
  27739. msgid "Defaults to @samp{\"0640\"}."
  27740. msgstr ""
  27741. #. type: deftypevr
  27742. #: guix-git/doc/guix.texi:18512
  27743. #, no-wrap
  27744. msgid "{@code{files-configuration} parameter} log-location error-log"
  27745. msgstr ""
  27746. #. type: deftypevr
  27747. #: guix-git/doc/guix.texi:18520
  27748. 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}."
  27749. msgstr ""
  27750. #. type: deftypevr
  27751. #: guix-git/doc/guix.texi:18522
  27752. msgid "Defaults to @samp{\"/var/log/cups/error_log\"}."
  27753. msgstr ""
  27754. #. type: deftypevr
  27755. #: guix-git/doc/guix.texi:18524
  27756. #, no-wrap
  27757. msgid "{@code{files-configuration} parameter} string fatal-errors"
  27758. msgstr ""
  27759. #. type: deftypevr
  27760. #: guix-git/doc/guix.texi:18527
  27761. msgid "Specifies which errors are fatal, causing the scheduler to exit. The kind strings are:"
  27762. msgstr ""
  27763. #. type: table
  27764. #: guix-git/doc/guix.texi:18531
  27765. msgid "No errors are fatal."
  27766. msgstr ""
  27767. #. type: table
  27768. #: guix-git/doc/guix.texi:18534
  27769. msgid "All of the errors below are fatal."
  27770. msgstr ""
  27771. #. type: item
  27772. #: guix-git/doc/guix.texi:18535
  27773. #, no-wrap
  27774. msgid "browse"
  27775. msgstr ""
  27776. #. type: table
  27777. #: guix-git/doc/guix.texi:18538
  27778. msgid "Browsing initialization errors are fatal, for example failed connections to the DNS-SD daemon."
  27779. msgstr ""
  27780. #. type: item
  27781. #: guix-git/doc/guix.texi:18539
  27782. #, no-wrap
  27783. msgid "config"
  27784. msgstr "config"
  27785. #. type: table
  27786. #: guix-git/doc/guix.texi:18541
  27787. msgid "Configuration file syntax errors are fatal."
  27788. msgstr ""
  27789. #. type: item
  27790. #: guix-git/doc/guix.texi:18542
  27791. #, no-wrap
  27792. msgid "listen"
  27793. msgstr ""
  27794. #. type: table
  27795. #: guix-git/doc/guix.texi:18545
  27796. msgid "Listen or Port errors are fatal, except for IPv6 failures on the loopback or @code{any} addresses."
  27797. msgstr ""
  27798. #. type: item
  27799. #: guix-git/doc/guix.texi:18546
  27800. #, no-wrap
  27801. msgid "log"
  27802. msgstr ""
  27803. #. type: table
  27804. #: guix-git/doc/guix.texi:18548
  27805. msgid "Log file creation or write errors are fatal."
  27806. msgstr ""
  27807. #. type: item
  27808. #: guix-git/doc/guix.texi:18549
  27809. #, no-wrap
  27810. msgid "permissions"
  27811. msgstr ""
  27812. #. type: table
  27813. #: guix-git/doc/guix.texi:18552
  27814. msgid "Bad startup file permissions are fatal, for example shared TLS certificate and key files with world-read permissions."
  27815. msgstr ""
  27816. #. type: deftypevr
  27817. #: guix-git/doc/guix.texi:18555
  27818. msgid "Defaults to @samp{\"all -browse\"}."
  27819. msgstr ""
  27820. #. type: deftypevr
  27821. #: guix-git/doc/guix.texi:18557
  27822. #, no-wrap
  27823. msgid "{@code{files-configuration} parameter} boolean file-device?"
  27824. msgstr ""
  27825. #. type: deftypevr
  27826. #: guix-git/doc/guix.texi:18560
  27827. msgid "Specifies whether the file pseudo-device can be used for new printer queues. The URI @uref{file:///dev/null} is always allowed."
  27828. msgstr ""
  27829. #. type: deftypevr
  27830. #: guix-git/doc/guix.texi:18564
  27831. #, no-wrap
  27832. msgid "{@code{files-configuration} parameter} string group"
  27833. msgstr ""
  27834. #. type: deftypevr
  27835. #: guix-git/doc/guix.texi:18567
  27836. msgid "Specifies the group name or ID that will be used when executing external programs."
  27837. msgstr ""
  27838. #. type: deftypevr
  27839. #: guix-git/doc/guix.texi:18569 guix-git/doc/guix.texi:18649
  27840. msgid "Defaults to @samp{\"lp\"}."
  27841. msgstr ""
  27842. #. type: deftypevr
  27843. #: guix-git/doc/guix.texi:18571
  27844. #, no-wrap
  27845. msgid "{@code{files-configuration} parameter} string log-file-perm"
  27846. msgstr ""
  27847. #. type: deftypevr
  27848. #: guix-git/doc/guix.texi:18573
  27849. msgid "Specifies the permissions for all log files that the scheduler writes."
  27850. msgstr ""
  27851. #. type: deftypevr
  27852. #: guix-git/doc/guix.texi:18575
  27853. msgid "Defaults to @samp{\"0644\"}."
  27854. msgstr ""
  27855. #. type: deftypevr
  27856. #: guix-git/doc/guix.texi:18577
  27857. #, no-wrap
  27858. msgid "{@code{files-configuration} parameter} log-location page-log"
  27859. msgstr ""
  27860. #. type: deftypevr
  27861. #: guix-git/doc/guix.texi:18585
  27862. 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}."
  27863. msgstr ""
  27864. #. type: deftypevr
  27865. #: guix-git/doc/guix.texi:18587
  27866. msgid "Defaults to @samp{\"/var/log/cups/page_log\"}."
  27867. msgstr ""
  27868. #. type: deftypevr
  27869. #: guix-git/doc/guix.texi:18589
  27870. #, no-wrap
  27871. msgid "{@code{files-configuration} parameter} string remote-root"
  27872. msgstr ""
  27873. #. type: deftypevr
  27874. #: guix-git/doc/guix.texi:18592
  27875. msgid "Specifies the username that is associated with unauthenticated accesses by clients claiming to be the root user. The default is @code{remroot}."
  27876. msgstr ""
  27877. #. type: deftypevr
  27878. #: guix-git/doc/guix.texi:18594
  27879. msgid "Defaults to @samp{\"remroot\"}."
  27880. msgstr ""
  27881. #. type: deftypevr
  27882. #: guix-git/doc/guix.texi:18596
  27883. #, no-wrap
  27884. msgid "{@code{files-configuration} parameter} file-name request-root"
  27885. msgstr ""
  27886. #. type: deftypevr
  27887. #: guix-git/doc/guix.texi:18599
  27888. msgid "Specifies the directory that contains print jobs and other HTTP request data."
  27889. msgstr ""
  27890. #. type: deftypevr
  27891. #: guix-git/doc/guix.texi:18601
  27892. msgid "Defaults to @samp{\"/var/spool/cups\"}."
  27893. msgstr ""
  27894. #. type: deftypevr
  27895. #: guix-git/doc/guix.texi:18603
  27896. #, no-wrap
  27897. msgid "{@code{files-configuration} parameter} sandboxing sandboxing"
  27898. msgstr ""
  27899. #. type: deftypevr
  27900. #: guix-git/doc/guix.texi:18608
  27901. 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."
  27902. msgstr ""
  27903. #. type: deftypevr
  27904. #: guix-git/doc/guix.texi:18610
  27905. msgid "Defaults to @samp{strict}."
  27906. msgstr ""
  27907. #. type: deftypevr
  27908. #: guix-git/doc/guix.texi:18612
  27909. #, no-wrap
  27910. msgid "{@code{files-configuration} parameter} file-name server-keychain"
  27911. msgstr ""
  27912. #. type: deftypevr
  27913. #: guix-git/doc/guix.texi:18617
  27914. 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."
  27915. msgstr ""
  27916. #. type: deftypevr
  27917. #: guix-git/doc/guix.texi:18619
  27918. msgid "Defaults to @samp{\"/etc/cups/ssl\"}."
  27919. msgstr ""
  27920. #. type: deftypevr
  27921. #: guix-git/doc/guix.texi:18621
  27922. #, no-wrap
  27923. msgid "{@code{files-configuration} parameter} file-name server-root"
  27924. msgstr ""
  27925. #. type: deftypevr
  27926. #: guix-git/doc/guix.texi:18623
  27927. msgid "Specifies the directory containing the server configuration files."
  27928. msgstr ""
  27929. #. type: deftypevr
  27930. #: guix-git/doc/guix.texi:18625
  27931. msgid "Defaults to @samp{\"/etc/cups\"}."
  27932. msgstr ""
  27933. #. type: deftypevr
  27934. #: guix-git/doc/guix.texi:18627
  27935. #, no-wrap
  27936. msgid "{@code{files-configuration} parameter} boolean sync-on-close?"
  27937. msgstr ""
  27938. #. type: deftypevr
  27939. #: guix-git/doc/guix.texi:18630
  27940. msgid "Specifies whether the scheduler calls fsync(2) after writing configuration or state files."
  27941. msgstr ""
  27942. #. type: deftypevr
  27943. #: guix-git/doc/guix.texi:18634
  27944. #, no-wrap
  27945. msgid "{@code{files-configuration} parameter} space-separated-string-list system-group"
  27946. msgstr ""
  27947. #. type: deftypevr
  27948. #: guix-git/doc/guix.texi:18636
  27949. msgid "Specifies the group(s) to use for @code{@@SYSTEM} group authentication."
  27950. msgstr ""
  27951. #. type: deftypevr
  27952. #: guix-git/doc/guix.texi:18638
  27953. #, no-wrap
  27954. msgid "{@code{files-configuration} parameter} file-name temp-dir"
  27955. msgstr ""
  27956. #. type: deftypevr
  27957. #: guix-git/doc/guix.texi:18640
  27958. msgid "Specifies the directory where temporary files are stored."
  27959. msgstr ""
  27960. #. type: deftypevr
  27961. #: guix-git/doc/guix.texi:18642
  27962. msgid "Defaults to @samp{\"/var/spool/cups/tmp\"}."
  27963. msgstr ""
  27964. #. type: deftypevr
  27965. #: guix-git/doc/guix.texi:18644
  27966. #, no-wrap
  27967. msgid "{@code{files-configuration} parameter} string user"
  27968. msgstr ""
  27969. #. type: deftypevr
  27970. #: guix-git/doc/guix.texi:18647
  27971. msgid "Specifies the user name or ID that is used when running external programs."
  27972. msgstr ""
  27973. #. type: deftypevr
  27974. #: guix-git/doc/guix.texi:18651
  27975. #, no-wrap
  27976. msgid "{@code{files-configuration} parameter} string set-env"
  27977. msgstr ""
  27978. #. type: deftypevr
  27979. #: guix-git/doc/guix.texi:18653
  27980. msgid "Set the specified environment variable to be passed to child processes."
  27981. msgstr ""
  27982. #. type: deftypevr
  27983. #: guix-git/doc/guix.texi:18655
  27984. msgid "Defaults to @samp{\"variable value\"}."
  27985. msgstr ""
  27986. #. type: deftypevr
  27987. #: guix-git/doc/guix.texi:18658
  27988. #, no-wrap
  27989. msgid "{@code{cups-configuration} parameter} access-log-level access-log-level"
  27990. msgstr ""
  27991. #. type: deftypevr
  27992. #: guix-git/doc/guix.texi:18665
  27993. 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."
  27994. msgstr ""
  27995. #. type: deftypevr
  27996. #: guix-git/doc/guix.texi:18667
  27997. msgid "Defaults to @samp{actions}."
  27998. msgstr ""
  27999. #. type: deftypevr
  28000. #: guix-git/doc/guix.texi:18669
  28001. #, no-wrap
  28002. msgid "{@code{cups-configuration} parameter} boolean auto-purge-jobs?"
  28003. msgstr ""
  28004. #. type: deftypevr
  28005. #: guix-git/doc/guix.texi:18672
  28006. msgid "Specifies whether to purge job history data automatically when it is no longer required for quotas."
  28007. msgstr ""
  28008. #. type: deftypevr
  28009. #: guix-git/doc/guix.texi:18676
  28010. #, no-wrap
  28011. msgid "{@code{cups-configuration} parameter} comma-separated-string-list browse-dns-sd-sub-types"
  28012. msgstr ""
  28013. #. type: deftypevr
  28014. #: guix-git/doc/guix.texi:18680
  28015. 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."
  28016. msgstr ""
  28017. #. type: deftypevr
  28018. #: guix-git/doc/guix.texi:18682
  28019. msgid "Defaults to @samp{\"_cups\"}."
  28020. msgstr ""
  28021. #. type: deftypevr
  28022. #: guix-git/doc/guix.texi:18684
  28023. #, no-wrap
  28024. msgid "{@code{cups-configuration} parameter} browse-local-protocols browse-local-protocols"
  28025. msgstr ""
  28026. #. type: deftypevr
  28027. #: guix-git/doc/guix.texi:18686
  28028. msgid "Specifies which protocols to use for local printer sharing."
  28029. msgstr ""
  28030. #. type: deftypevr
  28031. #: guix-git/doc/guix.texi:18688
  28032. msgid "Defaults to @samp{dnssd}."
  28033. msgstr ""
  28034. #. type: deftypevr
  28035. #: guix-git/doc/guix.texi:18690
  28036. #, no-wrap
  28037. msgid "{@code{cups-configuration} parameter} boolean browse-web-if?"
  28038. msgstr ""
  28039. #. type: deftypevr
  28040. #: guix-git/doc/guix.texi:18692
  28041. msgid "Specifies whether the CUPS web interface is advertised."
  28042. msgstr ""
  28043. #. type: deftypevr
  28044. #: guix-git/doc/guix.texi:18696
  28045. #, no-wrap
  28046. msgid "{@code{cups-configuration} parameter} boolean browsing?"
  28047. msgstr ""
  28048. #. type: deftypevr
  28049. #: guix-git/doc/guix.texi:18698
  28050. msgid "Specifies whether shared printers are advertised."
  28051. msgstr ""
  28052. #. type: deftypevr
  28053. #: guix-git/doc/guix.texi:18702
  28054. #, no-wrap
  28055. msgid "{@code{cups-configuration} parameter} string classification"
  28056. msgstr ""
  28057. #. type: deftypevr
  28058. #: guix-git/doc/guix.texi:18707
  28059. 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."
  28060. msgstr ""
  28061. #. type: deftypevr
  28062. #: guix-git/doc/guix.texi:18709 guix-git/doc/guix.texi:19040
  28063. #: guix-git/doc/guix.texi:21023 guix-git/doc/guix.texi:21035
  28064. #: guix-git/doc/guix.texi:21063 guix-git/doc/guix.texi:21820
  28065. #: guix-git/doc/guix.texi:21834 guix-git/doc/guix.texi:21841
  28066. #: guix-git/doc/guix.texi:21848 guix-git/doc/guix.texi:21878
  28067. #: guix-git/doc/guix.texi:21976 guix-git/doc/guix.texi:24095
  28068. #: guix-git/doc/guix.texi:24121 guix-git/doc/guix.texi:24157
  28069. #: guix-git/doc/guix.texi:24203 guix-git/doc/guix.texi:24222
  28070. #: guix-git/doc/guix.texi:24261 guix-git/doc/guix.texi:24320
  28071. #: guix-git/doc/guix.texi:24330 guix-git/doc/guix.texi:28918
  28072. #: guix-git/doc/guix.texi:28926 guix-git/doc/guix.texi:28934
  28073. #: guix-git/doc/guix.texi:28942 guix-git/doc/guix.texi:29221
  28074. #: guix-git/doc/guix.texi:30523 guix-git/doc/guix.texi:30531
  28075. #: guix-git/doc/guix.texi:30539 guix-git/doc/guix.texi:30647
  28076. #: guix-git/doc/guix.texi:30672 guix-git/doc/guix.texi:30803
  28077. #: guix-git/doc/guix.texi:30811 guix-git/doc/guix.texi:30819
  28078. #: guix-git/doc/guix.texi:30827 guix-git/doc/guix.texi:30835
  28079. #: guix-git/doc/guix.texi:30843 guix-git/doc/guix.texi:30866
  28080. #: guix-git/doc/guix.texi:30874 guix-git/doc/guix.texi:30926
  28081. #: guix-git/doc/guix.texi:30942 guix-git/doc/guix.texi:30950
  28082. #: guix-git/doc/guix.texi:30989 guix-git/doc/guix.texi:31012
  28083. #: guix-git/doc/guix.texi:31034 guix-git/doc/guix.texi:31041
  28084. #: guix-git/doc/guix.texi:31076 guix-git/doc/guix.texi:31084
  28085. #: guix-git/doc/guix.texi:31108 guix-git/doc/guix.texi:31140
  28086. #: guix-git/doc/guix.texi:31169 guix-git/doc/guix.texi:31176
  28087. #: guix-git/doc/guix.texi:31183 guix-git/doc/guix.texi:31191
  28088. #: guix-git/doc/guix.texi:31205 guix-git/doc/guix.texi:31214
  28089. #: guix-git/doc/guix.texi:31224 guix-git/doc/guix.texi:31231
  28090. #: guix-git/doc/guix.texi:31238 guix-git/doc/guix.texi:31245
  28091. #: guix-git/doc/guix.texi:31316 guix-git/doc/guix.texi:31323
  28092. #: guix-git/doc/guix.texi:31330 guix-git/doc/guix.texi:31339
  28093. #: guix-git/doc/guix.texi:31355 guix-git/doc/guix.texi:31362
  28094. #: guix-git/doc/guix.texi:31369 guix-git/doc/guix.texi:31376
  28095. #: guix-git/doc/guix.texi:31384 guix-git/doc/guix.texi:31392
  28096. msgid "Defaults to @samp{\"\"}."
  28097. msgstr ""
  28098. #. type: deftypevr
  28099. #: guix-git/doc/guix.texi:18711
  28100. #, no-wrap
  28101. msgid "{@code{cups-configuration} parameter} boolean classify-override?"
  28102. msgstr ""
  28103. #. type: deftypevr
  28104. #: guix-git/doc/guix.texi:18714
  28105. msgid "Specifies whether users may override the classification (cover page) of individual print jobs using the @code{job-sheets} option."
  28106. msgstr ""
  28107. #. type: deftypevr
  28108. #: guix-git/doc/guix.texi:18718
  28109. #, no-wrap
  28110. msgid "{@code{cups-configuration} parameter} default-auth-type default-auth-type"
  28111. msgstr ""
  28112. #. type: deftypevr
  28113. #: guix-git/doc/guix.texi:18720
  28114. msgid "Specifies the default type of authentication to use."
  28115. msgstr ""
  28116. #. type: deftypevr
  28117. #: guix-git/doc/guix.texi:18722
  28118. msgid "Defaults to @samp{Basic}."
  28119. msgstr ""
  28120. #. type: deftypevr
  28121. #: guix-git/doc/guix.texi:18724
  28122. #, no-wrap
  28123. msgid "{@code{cups-configuration} parameter} default-encryption default-encryption"
  28124. msgstr ""
  28125. #. type: deftypevr
  28126. #: guix-git/doc/guix.texi:18726
  28127. msgid "Specifies whether encryption will be used for authenticated requests."
  28128. msgstr ""
  28129. #. type: deftypevr
  28130. #: guix-git/doc/guix.texi:18728
  28131. msgid "Defaults to @samp{Required}."
  28132. msgstr ""
  28133. #. type: deftypevr
  28134. #: guix-git/doc/guix.texi:18730
  28135. #, no-wrap
  28136. msgid "{@code{cups-configuration} parameter} string default-language"
  28137. msgstr ""
  28138. #. type: deftypevr
  28139. #: guix-git/doc/guix.texi:18732
  28140. msgid "Specifies the default language to use for text and web content."
  28141. msgstr ""
  28142. #. type: deftypevr
  28143. #: guix-git/doc/guix.texi:18734
  28144. msgid "Defaults to @samp{\"en\"}."
  28145. msgstr ""
  28146. #. type: deftypevr
  28147. #: guix-git/doc/guix.texi:18736
  28148. #, no-wrap
  28149. msgid "{@code{cups-configuration} parameter} string default-paper-size"
  28150. msgstr ""
  28151. #. type: deftypevr
  28152. #: guix-git/doc/guix.texi:18741
  28153. 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\"}."
  28154. msgstr ""
  28155. #. type: deftypevr
  28156. #: guix-git/doc/guix.texi:18743
  28157. msgid "Defaults to @samp{\"Auto\"}."
  28158. msgstr ""
  28159. #. type: deftypevr
  28160. #: guix-git/doc/guix.texi:18745
  28161. #, no-wrap
  28162. msgid "{@code{cups-configuration} parameter} string default-policy"
  28163. msgstr ""
  28164. #. type: deftypevr
  28165. #: guix-git/doc/guix.texi:18747
  28166. msgid "Specifies the default access policy to use."
  28167. msgstr ""
  28168. #. type: deftypevr
  28169. #: guix-git/doc/guix.texi:18749
  28170. msgid "Defaults to @samp{\"default\"}."
  28171. msgstr ""
  28172. #. type: deftypevr
  28173. #: guix-git/doc/guix.texi:18751
  28174. #, no-wrap
  28175. msgid "{@code{cups-configuration} parameter} boolean default-shared?"
  28176. msgstr ""
  28177. #. type: deftypevr
  28178. #: guix-git/doc/guix.texi:18753
  28179. msgid "Specifies whether local printers are shared by default."
  28180. msgstr ""
  28181. #. type: deftypevr
  28182. #: guix-git/doc/guix.texi:18755 guix-git/doc/guix.texi:18835
  28183. #: guix-git/doc/guix.texi:19125 guix-git/doc/guix.texi:21910
  28184. #: guix-git/doc/guix.texi:21961 guix-git/doc/guix.texi:21968
  28185. #: guix-git/doc/guix.texi:23250 guix-git/doc/guix.texi:23438
  28186. #: guix-git/doc/guix.texi:23555 guix-git/doc/guix.texi:23591
  28187. #: guix-git/doc/guix.texi:23642 guix-git/doc/guix.texi:23661
  28188. #: guix-git/doc/guix.texi:23671 guix-git/doc/guix.texi:23681
  28189. #: guix-git/doc/guix.texi:23740 guix-git/doc/guix.texi:23762
  28190. #: guix-git/doc/guix.texi:23787 guix-git/doc/guix.texi:23813
  28191. #: guix-git/doc/guix.texi:23831 guix-git/doc/guix.texi:27019
  28192. #: guix-git/doc/guix.texi:27047 guix-git/doc/guix.texi:27183
  28193. #: guix-git/doc/guix.texi:27190 guix-git/doc/guix.texi:27198
  28194. #: guix-git/doc/guix.texi:27235 guix-git/doc/guix.texi:27249
  28195. #: guix-git/doc/guix.texi:27338 guix-git/doc/guix.texi:27345
  28196. #: guix-git/doc/guix.texi:27353 guix-git/doc/guix.texi:28126
  28197. #: guix-git/doc/guix.texi:28266 guix-git/doc/guix.texi:28452
  28198. #: guix-git/doc/guix.texi:28459 guix-git/doc/guix.texi:28481
  28199. #: guix-git/doc/guix.texi:28520 guix-git/doc/guix.texi:28540
  28200. #: guix-git/doc/guix.texi:28554 guix-git/doc/guix.texi:28767
  28201. #: guix-git/doc/guix.texi:30625 guix-git/doc/guix.texi:30713
  28202. #: guix-git/doc/guix.texi:30729 guix-git/doc/guix.texi:30779
  28203. msgid "Defaults to @samp{#t}."
  28204. msgstr ""
  28205. #. type: deftypevr
  28206. #: guix-git/doc/guix.texi:18757
  28207. #, no-wrap
  28208. msgid "{@code{cups-configuration} parameter} non-negative-integer dirty-clean-interval"
  28209. msgstr ""
  28210. #. type: deftypevr
  28211. #: guix-git/doc/guix.texi:18761
  28212. 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."
  28213. msgstr ""
  28214. #. type: deftypevr
  28215. #: guix-git/doc/guix.texi:18763 guix-git/doc/guix.texi:18811
  28216. #: guix-git/doc/guix.texi:18820 guix-git/doc/guix.texi:19132
  28217. #: guix-git/doc/guix.texi:23600 guix-git/doc/guix.texi:23633
  28218. msgid "Defaults to @samp{30}."
  28219. msgstr ""
  28220. #. type: deftypevr
  28221. #: guix-git/doc/guix.texi:18765
  28222. #, no-wrap
  28223. msgid "{@code{cups-configuration} parameter} error-policy error-policy"
  28224. msgstr ""
  28225. #. type: deftypevr
  28226. #: guix-git/doc/guix.texi:18771
  28227. 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."
  28228. msgstr ""
  28229. #. type: deftypevr
  28230. #: guix-git/doc/guix.texi:18773
  28231. msgid "Defaults to @samp{stop-printer}."
  28232. msgstr ""
  28233. #. type: deftypevr
  28234. #: guix-git/doc/guix.texi:18775
  28235. #, no-wrap
  28236. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-limit"
  28237. msgstr ""
  28238. #. type: deftypevr
  28239. #: guix-git/doc/guix.texi:18783
  28240. 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."
  28241. msgstr ""
  28242. #. type: deftypevr
  28243. #: guix-git/doc/guix.texi:18785 guix-git/doc/guix.texi:18793
  28244. #: guix-git/doc/guix.texi:18842 guix-git/doc/guix.texi:18958
  28245. #: guix-git/doc/guix.texi:18972 guix-git/doc/guix.texi:18979
  28246. #: guix-git/doc/guix.texi:20465 guix-git/doc/guix.texi:20481
  28247. #: guix-git/doc/guix.texi:21138 guix-git/doc/guix.texi:21150
  28248. #: guix-git/doc/guix.texi:21929 guix-git/doc/guix.texi:21938
  28249. #: guix-git/doc/guix.texi:21946 guix-git/doc/guix.texi:21954
  28250. #: guix-git/doc/guix.texi:28142 guix-git/doc/guix.texi:28467
  28251. #: guix-git/doc/guix.texi:30618 guix-git/doc/guix.texi:30918
  28252. #: guix-git/doc/guix.texi:31092
  28253. msgid "Defaults to @samp{0}."
  28254. msgstr ""
  28255. #. type: deftypevr
  28256. #: guix-git/doc/guix.texi:18787
  28257. #, no-wrap
  28258. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-nice"
  28259. msgstr ""
  28260. #. type: deftypevr
  28261. #: guix-git/doc/guix.texi:18791
  28262. 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."
  28263. msgstr ""
  28264. #. type: deftypevr
  28265. #: guix-git/doc/guix.texi:18795
  28266. #, no-wrap
  28267. msgid "{@code{cups-configuration} parameter} host-name-lookups host-name-lookups"
  28268. msgstr ""
  28269. #. type: deftypevr
  28270. #: guix-git/doc/guix.texi:18802
  28271. 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."
  28272. msgstr ""
  28273. #. type: deftypevr
  28274. #: guix-git/doc/guix.texi:18806
  28275. #, no-wrap
  28276. msgid "{@code{cups-configuration} parameter} non-negative-integer job-kill-delay"
  28277. msgstr ""
  28278. #. type: deftypevr
  28279. #: guix-git/doc/guix.texi:18809
  28280. msgid "Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job."
  28281. msgstr ""
  28282. #. type: deftypevr
  28283. #: guix-git/doc/guix.texi:18813
  28284. #, no-wrap
  28285. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-interval"
  28286. msgstr ""
  28287. #. type: deftypevr
  28288. #: guix-git/doc/guix.texi:18818
  28289. 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}."
  28290. msgstr ""
  28291. #. type: deftypevr
  28292. #: guix-git/doc/guix.texi:18822
  28293. #, no-wrap
  28294. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-limit"
  28295. msgstr ""
  28296. #. type: deftypevr
  28297. #: guix-git/doc/guix.texi:18827
  28298. 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}."
  28299. msgstr ""
  28300. #. type: deftypevr
  28301. #: guix-git/doc/guix.texi:18829 guix-git/doc/guix.texi:23564
  28302. #: guix-git/doc/guix.texi:29019 guix-git/doc/guix.texi:29039
  28303. #: guix-git/doc/guix.texi:29055 guix-git/doc/guix.texi:29069
  28304. #: guix-git/doc/guix.texi:29076 guix-git/doc/guix.texi:29083
  28305. #: guix-git/doc/guix.texi:29090 guix-git/doc/guix.texi:29250
  28306. #: guix-git/doc/guix.texi:29266 guix-git/doc/guix.texi:29273
  28307. #: guix-git/doc/guix.texi:29280 guix-git/doc/guix.texi:29291
  28308. #: guix-git/doc/guix.texi:30570 guix-git/doc/guix.texi:30578
  28309. #: guix-git/doc/guix.texi:30586 guix-git/doc/guix.texi:30610
  28310. msgid "Defaults to @samp{5}."
  28311. msgstr ""
  28312. #. type: deftypevr
  28313. #: guix-git/doc/guix.texi:18831
  28314. #, no-wrap
  28315. msgid "{@code{cups-configuration} parameter} boolean keep-alive?"
  28316. msgstr ""
  28317. #. type: deftypevr
  28318. #: guix-git/doc/guix.texi:18833
  28319. msgid "Specifies whether to support HTTP keep-alive connections."
  28320. msgstr ""
  28321. #. type: deftypevr
  28322. #: guix-git/doc/guix.texi:18837
  28323. #, no-wrap
  28324. msgid "{@code{cups-configuration} parameter} non-negative-integer limit-request-body"
  28325. msgstr ""
  28326. #. type: deftypevr
  28327. #: guix-git/doc/guix.texi:18840
  28328. msgid "Specifies the maximum size of print files, IPP requests, and HTML form data. A limit of 0 disables the limit check."
  28329. msgstr ""
  28330. #. type: deftypevr
  28331. #: guix-git/doc/guix.texi:18844
  28332. #, no-wrap
  28333. msgid "{@code{cups-configuration} parameter} multiline-string-list listen"
  28334. msgstr ""
  28335. #. type: deftypevr
  28336. #: guix-git/doc/guix.texi:18851
  28337. 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."
  28338. msgstr ""
  28339. #. type: deftypevr
  28340. #: guix-git/doc/guix.texi:18853
  28341. #, no-wrap
  28342. msgid "{@code{cups-configuration} parameter} non-negative-integer listen-back-log"
  28343. msgstr ""
  28344. #. type: deftypevr
  28345. #: guix-git/doc/guix.texi:18860
  28346. 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."
  28347. msgstr ""
  28348. #. type: deftypevr
  28349. #: guix-git/doc/guix.texi:18862
  28350. msgid "Defaults to @samp{128}."
  28351. msgstr ""
  28352. #. type: deftypevr
  28353. #: guix-git/doc/guix.texi:18864
  28354. #, no-wrap
  28355. msgid "{@code{cups-configuration} parameter} location-access-control-list location-access-controls"
  28356. msgstr ""
  28357. #. type: deftypevr
  28358. #: guix-git/doc/guix.texi:18866
  28359. msgid "Specifies a set of additional access controls."
  28360. msgstr ""
  28361. #. type: deftypevr
  28362. #: guix-git/doc/guix.texi:18868
  28363. msgid "Available @code{location-access-controls} fields are:"
  28364. msgstr ""
  28365. #. type: deftypevr
  28366. #: guix-git/doc/guix.texi:18869
  28367. #, no-wrap
  28368. msgid "{@code{location-access-controls} parameter} file-name path"
  28369. msgstr ""
  28370. #. type: deftypevr
  28371. #: guix-git/doc/guix.texi:18871
  28372. msgid "Specifies the URI path to which the access control applies."
  28373. msgstr ""
  28374. #. type: deftypevr
  28375. #: guix-git/doc/guix.texi:18873
  28376. #, no-wrap
  28377. msgid "{@code{location-access-controls} parameter} access-control-list access-controls"
  28378. msgstr ""
  28379. #. type: deftypevr
  28380. #: guix-git/doc/guix.texi:18876
  28381. msgid "Access controls for all access to this path, in the same format as the @code{access-controls} of @code{operation-access-control}."
  28382. msgstr ""
  28383. #. type: deftypevr
  28384. #: guix-git/doc/guix.texi:18878 guix-git/doc/guix.texi:18884
  28385. #: guix-git/doc/guix.texi:18898 guix-git/doc/guix.texi:18905
  28386. #: guix-git/doc/guix.texi:19047 guix-git/doc/guix.texi:19106
  28387. #: guix-git/doc/guix.texi:19184 guix-git/doc/guix.texi:19198
  28388. #: guix-git/doc/guix.texi:20345 guix-git/doc/guix.texi:20354
  28389. #: guix-git/doc/guix.texi:21624 guix-git/doc/guix.texi:21827
  28390. #: guix-git/doc/guix.texi:21855 guix-git/doc/guix.texi:21885
  28391. #: guix-git/doc/guix.texi:22000 guix-git/doc/guix.texi:22013
  28392. #: guix-git/doc/guix.texi:22020 guix-git/doc/guix.texi:23770
  28393. #: guix-git/doc/guix.texi:24165 guix-git/doc/guix.texi:24269
  28394. #: guix-git/doc/guix.texi:24696 guix-git/doc/guix.texi:24704
  28395. #: guix-git/doc/guix.texi:24949 guix-git/doc/guix.texi:27078
  28396. #: guix-git/doc/guix.texi:27256 guix-git/doc/guix.texi:27455
  28397. #: guix-git/doc/guix.texi:28910 guix-git/doc/guix.texi:28970
  28398. #: guix-git/doc/guix.texi:28978 guix-git/doc/guix.texi:30633
  28399. #: guix-git/doc/guix.texi:30640 guix-git/doc/guix.texi:30982
  28400. #: guix-git/doc/guix.texi:31060 guix-git/doc/guix.texi:31154
  28401. #: guix-git/doc/guix.texi:31162 guix-git/doc/guix.texi:31198
  28402. #: guix-git/doc/guix.texi:31348 guix-git/doc/guix.texi:31399
  28403. #: guix-git/doc/guix.texi:31408
  28404. msgid "Defaults to @samp{()}."
  28405. msgstr ""
  28406. #. type: deftypevr
  28407. #: guix-git/doc/guix.texi:18880
  28408. #, no-wrap
  28409. msgid "{@code{location-access-controls} parameter} method-access-control-list method-access-controls"
  28410. msgstr ""
  28411. #. type: deftypevr
  28412. #: guix-git/doc/guix.texi:18882
  28413. msgid "Access controls for method-specific access to this path."
  28414. msgstr ""
  28415. #. type: deftypevr
  28416. #: guix-git/doc/guix.texi:18886
  28417. msgid "Available @code{method-access-controls} fields are:"
  28418. msgstr ""
  28419. #. type: deftypevr
  28420. #: guix-git/doc/guix.texi:18887
  28421. #, no-wrap
  28422. msgid "{@code{method-access-controls} parameter} boolean reverse?"
  28423. msgstr ""
  28424. #. type: deftypevr
  28425. #: guix-git/doc/guix.texi:18890
  28426. msgid "If @code{#t}, apply access controls to all methods except the listed methods. Otherwise apply to only the listed methods."
  28427. msgstr ""
  28428. #. type: deftypevr
  28429. #: guix-git/doc/guix.texi:18894
  28430. #, no-wrap
  28431. msgid "{@code{method-access-controls} parameter} method-list methods"
  28432. msgstr ""
  28433. #. type: deftypevr
  28434. #: guix-git/doc/guix.texi:18896
  28435. msgid "Methods to which this access control applies."
  28436. msgstr ""
  28437. #. type: deftypevr
  28438. #: guix-git/doc/guix.texi:18900
  28439. #, no-wrap
  28440. msgid "{@code{method-access-controls} parameter} access-control-list access-controls"
  28441. msgstr ""
  28442. #. type: deftypevr
  28443. #: guix-git/doc/guix.texi:18903
  28444. msgid "Access control directives, as a list of strings. Each string should be one directive, such as @samp{\"Order allow,deny\"}."
  28445. msgstr ""
  28446. #. type: deftypevr
  28447. #: guix-git/doc/guix.texi:18909
  28448. #, no-wrap
  28449. msgid "{@code{cups-configuration} parameter} non-negative-integer log-debug-history"
  28450. msgstr ""
  28451. #. type: deftypevr
  28452. #: guix-git/doc/guix.texi:18913
  28453. 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."
  28454. msgstr ""
  28455. #. type: deftypevr
  28456. #: guix-git/doc/guix.texi:18915 guix-git/doc/guix.texi:18936
  28457. #: guix-git/doc/guix.texi:18943 guix-git/doc/guix.texi:21384
  28458. #: guix-git/doc/guix.texi:23302 guix-git/doc/guix.texi:23317
  28459. #: guix-git/doc/guix.texi:27440
  28460. msgid "Defaults to @samp{100}."
  28461. msgstr ""
  28462. #. type: deftypevr
  28463. #: guix-git/doc/guix.texi:18917
  28464. #, no-wrap
  28465. msgid "{@code{cups-configuration} parameter} log-level log-level"
  28466. msgstr ""
  28467. #. type: deftypevr
  28468. #: guix-git/doc/guix.texi:18920
  28469. msgid "Specifies the level of logging for the ErrorLog file. The value @code{none} stops all logging while @code{debug2} logs everything."
  28470. msgstr ""
  28471. #. type: deftypevr
  28472. #: guix-git/doc/guix.texi:18922 guix-git/doc/guix.texi:23779
  28473. msgid "Defaults to @samp{info}."
  28474. msgstr ""
  28475. #. type: deftypevr
  28476. #: guix-git/doc/guix.texi:18924
  28477. #, no-wrap
  28478. msgid "{@code{cups-configuration} parameter} log-time-format log-time-format"
  28479. msgstr ""
  28480. #. type: deftypevr
  28481. #: guix-git/doc/guix.texi:18927
  28482. 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."
  28483. msgstr ""
  28484. #. type: deftypevr
  28485. #: guix-git/doc/guix.texi:18929
  28486. msgid "Defaults to @samp{standard}."
  28487. msgstr ""
  28488. #. type: deftypevr
  28489. #: guix-git/doc/guix.texi:18931
  28490. #, no-wrap
  28491. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients"
  28492. msgstr ""
  28493. #. type: deftypevr
  28494. #: guix-git/doc/guix.texi:18934
  28495. msgid "Specifies the maximum number of simultaneous clients that are allowed by the scheduler."
  28496. msgstr ""
  28497. #. type: deftypevr
  28498. #: guix-git/doc/guix.texi:18938
  28499. #, no-wrap
  28500. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients-per-host"
  28501. msgstr ""
  28502. #. type: deftypevr
  28503. #: guix-git/doc/guix.texi:18941
  28504. msgid "Specifies the maximum number of simultaneous clients that are allowed from a single address."
  28505. msgstr ""
  28506. #. type: deftypevr
  28507. #: guix-git/doc/guix.texi:18945
  28508. #, no-wrap
  28509. msgid "{@code{cups-configuration} parameter} non-negative-integer max-copies"
  28510. msgstr ""
  28511. #. type: deftypevr
  28512. #: guix-git/doc/guix.texi:18948
  28513. msgid "Specifies the maximum number of copies that a user can print of each job."
  28514. msgstr ""
  28515. #. type: deftypevr
  28516. #: guix-git/doc/guix.texi:18950
  28517. msgid "Defaults to @samp{9999}."
  28518. msgstr ""
  28519. #. type: deftypevr
  28520. #: guix-git/doc/guix.texi:18952
  28521. #, no-wrap
  28522. msgid "{@code{cups-configuration} parameter} non-negative-integer max-hold-time"
  28523. msgstr ""
  28524. #. type: deftypevr
  28525. #: guix-git/doc/guix.texi:18956
  28526. 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."
  28527. msgstr ""
  28528. #. type: deftypevr
  28529. #: guix-git/doc/guix.texi:18960
  28530. #, no-wrap
  28531. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs"
  28532. msgstr ""
  28533. #. type: deftypevr
  28534. #: guix-git/doc/guix.texi:18963
  28535. msgid "Specifies the maximum number of simultaneous jobs that are allowed. Set to 0 to allow an unlimited number of jobs."
  28536. msgstr ""
  28537. #. type: deftypevr
  28538. #: guix-git/doc/guix.texi:18965
  28539. msgid "Defaults to @samp{500}."
  28540. msgstr ""
  28541. #. type: deftypevr
  28542. #: guix-git/doc/guix.texi:18967
  28543. #, no-wrap
  28544. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-printer"
  28545. msgstr ""
  28546. #. type: deftypevr
  28547. #: guix-git/doc/guix.texi:18970
  28548. msgid "Specifies the maximum number of simultaneous jobs that are allowed per printer. A value of 0 allows up to MaxJobs jobs per printer."
  28549. msgstr ""
  28550. #. type: deftypevr
  28551. #: guix-git/doc/guix.texi:18974
  28552. #, no-wrap
  28553. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-user"
  28554. msgstr ""
  28555. #. type: deftypevr
  28556. #: guix-git/doc/guix.texi:18977
  28557. msgid "Specifies the maximum number of simultaneous jobs that are allowed per user. A value of 0 allows up to MaxJobs jobs per user."
  28558. msgstr ""
  28559. #. type: deftypevr
  28560. #: guix-git/doc/guix.texi:18981
  28561. #, no-wrap
  28562. msgid "{@code{cups-configuration} parameter} non-negative-integer max-job-time"
  28563. msgstr ""
  28564. #. type: deftypevr
  28565. #: guix-git/doc/guix.texi:18984
  28566. 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."
  28567. msgstr ""
  28568. #. type: deftypevr
  28569. #: guix-git/doc/guix.texi:18986
  28570. msgid "Defaults to @samp{10800}."
  28571. msgstr ""
  28572. #. type: deftypevr
  28573. #: guix-git/doc/guix.texi:18988
  28574. #, no-wrap
  28575. msgid "{@code{cups-configuration} parameter} non-negative-integer max-log-size"
  28576. msgstr ""
  28577. #. type: deftypevr
  28578. #: guix-git/doc/guix.texi:18991
  28579. msgid "Specifies the maximum size of the log files before they are rotated, in bytes. The value 0 disables log rotation."
  28580. msgstr ""
  28581. #. type: deftypevr
  28582. #: guix-git/doc/guix.texi:18993
  28583. msgid "Defaults to @samp{1048576}."
  28584. msgstr ""
  28585. #. type: deftypevr
  28586. #: guix-git/doc/guix.texi:18995
  28587. #, no-wrap
  28588. msgid "{@code{cups-configuration} parameter} non-negative-integer multiple-operation-timeout"
  28589. msgstr ""
  28590. #. type: deftypevr
  28591. #: guix-git/doc/guix.texi:18998
  28592. msgid "Specifies the maximum amount of time to allow between files in a multiple file print job, in seconds."
  28593. msgstr ""
  28594. #. type: deftypevr
  28595. #: guix-git/doc/guix.texi:19000 guix-git/doc/guix.texi:19211
  28596. #: guix-git/doc/guix.texi:27012
  28597. msgid "Defaults to @samp{300}."
  28598. msgstr ""
  28599. #. type: deftypevr
  28600. #: guix-git/doc/guix.texi:19002
  28601. #, no-wrap
  28602. msgid "{@code{cups-configuration} parameter} string page-log-format"
  28603. msgstr ""
  28604. #. type: deftypevr
  28605. #: guix-git/doc/guix.texi:19007
  28606. 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:"
  28607. msgstr ""
  28608. #. type: item
  28609. #: guix-git/doc/guix.texi:19009
  28610. #, no-wrap
  28611. msgid "%%"
  28612. msgstr ""
  28613. #. type: table
  28614. #: guix-git/doc/guix.texi:19011
  28615. msgid "insert a single percent character"
  28616. msgstr ""
  28617. #. type: item
  28618. #: guix-git/doc/guix.texi:19012
  28619. #, no-wrap
  28620. msgid "%@{name@}"
  28621. msgstr "%@{name@}"
  28622. #. type: table
  28623. #: guix-git/doc/guix.texi:19014
  28624. msgid "insert the value of the specified IPP attribute"
  28625. msgstr ""
  28626. #. type: item
  28627. #: guix-git/doc/guix.texi:19015
  28628. #, no-wrap
  28629. msgid "%C"
  28630. msgstr "%C"
  28631. #. type: table
  28632. #: guix-git/doc/guix.texi:19017
  28633. msgid "insert the number of copies for the current page"
  28634. msgstr ""
  28635. #. type: item
  28636. #: guix-git/doc/guix.texi:19018
  28637. #, no-wrap
  28638. msgid "%P"
  28639. msgstr ""
  28640. #. type: table
  28641. #: guix-git/doc/guix.texi:19020
  28642. msgid "insert the current page number"
  28643. msgstr ""
  28644. #. type: item
  28645. #: guix-git/doc/guix.texi:19021
  28646. #, no-wrap
  28647. msgid "%T"
  28648. msgstr "%T"
  28649. #. type: table
  28650. #: guix-git/doc/guix.texi:19023
  28651. msgid "insert the current date and time in common log format"
  28652. msgstr ""
  28653. #. type: item
  28654. #: guix-git/doc/guix.texi:19024
  28655. #, no-wrap
  28656. msgid "%j"
  28657. msgstr ""
  28658. #. type: table
  28659. #: guix-git/doc/guix.texi:19026
  28660. msgid "insert the job ID"
  28661. msgstr ""
  28662. #. type: item
  28663. #: guix-git/doc/guix.texi:19027 guix-git/doc/guix.texi:20983
  28664. #, no-wrap
  28665. msgid "%p"
  28666. msgstr ""
  28667. #. type: table
  28668. #: guix-git/doc/guix.texi:19029
  28669. msgid "insert the printer name"
  28670. msgstr ""
  28671. #. type: item
  28672. #: guix-git/doc/guix.texi:19030 guix-git/doc/guix.texi:21006
  28673. #, no-wrap
  28674. msgid "%u"
  28675. msgstr ""
  28676. #. type: table
  28677. #: guix-git/doc/guix.texi:19032
  28678. msgid "insert the username"
  28679. msgstr ""
  28680. #. type: deftypevr
  28681. #: guix-git/doc/guix.texi:19038
  28682. 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."
  28683. msgstr ""
  28684. #. type: deftypevr
  28685. #: guix-git/doc/guix.texi:19042
  28686. #, no-wrap
  28687. msgid "{@code{cups-configuration} parameter} environment-variables environment-variables"
  28688. msgstr ""
  28689. #. type: deftypevr
  28690. #: guix-git/doc/guix.texi:19045
  28691. msgid "Passes the specified environment variable(s) to child processes; a list of strings."
  28692. msgstr ""
  28693. #. type: deftypevr
  28694. #: guix-git/doc/guix.texi:19049
  28695. #, no-wrap
  28696. msgid "{@code{cups-configuration} parameter} policy-configuration-list policies"
  28697. msgstr ""
  28698. #. type: deftypevr
  28699. #: guix-git/doc/guix.texi:19051
  28700. msgid "Specifies named access control policies."
  28701. msgstr ""
  28702. #. type: deftypevr
  28703. #: guix-git/doc/guix.texi:19053
  28704. msgid "Available @code{policy-configuration} fields are:"
  28705. msgstr ""
  28706. #. type: deftypevr
  28707. #: guix-git/doc/guix.texi:19054
  28708. #, no-wrap
  28709. msgid "{@code{policy-configuration} parameter} string name"
  28710. msgstr ""
  28711. #. type: deftypevr
  28712. #: guix-git/doc/guix.texi:19056
  28713. msgid "Name of the policy."
  28714. msgstr ""
  28715. #. type: deftypevr
  28716. #: guix-git/doc/guix.texi:19058
  28717. #, no-wrap
  28718. msgid "{@code{policy-configuration} parameter} string job-private-access"
  28719. msgstr ""
  28720. #. type: deftypevr
  28721. #: guix-git/doc/guix.texi:19068
  28722. 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}."
  28723. msgstr ""
  28724. #. type: deftypevr
  28725. #: guix-git/doc/guix.texi:19070 guix-git/doc/guix.texi:19092
  28726. msgid "Defaults to @samp{\"@@OWNER @@SYSTEM\"}."
  28727. msgstr ""
  28728. #. type: deftypevr
  28729. #: guix-git/doc/guix.texi:19072
  28730. #, no-wrap
  28731. msgid "{@code{policy-configuration} parameter} string job-private-values"
  28732. msgstr ""
  28733. #. type: deftypevr
  28734. #: guix-git/doc/guix.texi:19075 guix-git/doc/guix.texi:19097
  28735. msgid "Specifies the list of job values to make private, or @code{all}, @code{default}, or @code{none}."
  28736. msgstr ""
  28737. #. type: deftypevr
  28738. #: guix-git/doc/guix.texi:19078
  28739. msgid "Defaults to @samp{\"job-name job-originating-host-name job-originating-user-name phone\"}."
  28740. msgstr ""
  28741. #. type: deftypevr
  28742. #: guix-git/doc/guix.texi:19080
  28743. #, no-wrap
  28744. msgid "{@code{policy-configuration} parameter} string subscription-private-access"
  28745. msgstr ""
  28746. #. type: deftypevr
  28747. #: guix-git/doc/guix.texi:19090
  28748. 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}."
  28749. msgstr ""
  28750. #. type: deftypevr
  28751. #: guix-git/doc/guix.texi:19094
  28752. #, no-wrap
  28753. msgid "{@code{policy-configuration} parameter} string subscription-private-values"
  28754. msgstr ""
  28755. #. type: deftypevr
  28756. #: guix-git/doc/guix.texi:19100
  28757. msgid "Defaults to @samp{\"notify-events notify-pull-method notify-recipient-uri notify-subscriber-user-name notify-user-data\"}."
  28758. msgstr ""
  28759. #. type: deftypevr
  28760. #: guix-git/doc/guix.texi:19102
  28761. #, no-wrap
  28762. msgid "{@code{policy-configuration} parameter} operation-access-control-list access-controls"
  28763. msgstr ""
  28764. #. type: deftypevr
  28765. #: guix-git/doc/guix.texi:19104
  28766. msgid "Access control by IPP operation."
  28767. msgstr ""
  28768. #. type: deftypevr
  28769. #: guix-git/doc/guix.texi:19109
  28770. #, no-wrap
  28771. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-files"
  28772. msgstr ""
  28773. #. type: deftypevr
  28774. #: guix-git/doc/guix.texi:19114
  28775. 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."
  28776. msgstr ""
  28777. #. type: deftypevr
  28778. #: guix-git/doc/guix.texi:19116
  28779. msgid "Defaults to @samp{86400}."
  28780. msgstr ""
  28781. #. type: deftypevr
  28782. #: guix-git/doc/guix.texi:19118
  28783. #, no-wrap
  28784. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-history"
  28785. msgstr ""
  28786. #. type: deftypevr
  28787. #: guix-git/doc/guix.texi:19123
  28788. 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."
  28789. msgstr ""
  28790. #. type: deftypevr
  28791. #: guix-git/doc/guix.texi:19127
  28792. #, no-wrap
  28793. msgid "{@code{cups-configuration} parameter} non-negative-integer reload-timeout"
  28794. msgstr ""
  28795. #. type: deftypevr
  28796. #: guix-git/doc/guix.texi:19130
  28797. msgid "Specifies the amount of time to wait for job completion before restarting the scheduler."
  28798. msgstr ""
  28799. #. type: deftypevr
  28800. #: guix-git/doc/guix.texi:19134
  28801. #, no-wrap
  28802. msgid "{@code{cups-configuration} parameter} string rip-cache"
  28803. msgstr ""
  28804. #. type: deftypevr
  28805. #: guix-git/doc/guix.texi:19137
  28806. msgid "Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer."
  28807. msgstr ""
  28808. #. type: deftypevr
  28809. #: guix-git/doc/guix.texi:19139
  28810. msgid "Defaults to @samp{\"128m\"}."
  28811. msgstr ""
  28812. #. type: deftypevr
  28813. #: guix-git/doc/guix.texi:19141
  28814. #, no-wrap
  28815. msgid "{@code{cups-configuration} parameter} string server-admin"
  28816. msgstr ""
  28817. #. type: deftypevr
  28818. #: guix-git/doc/guix.texi:19143
  28819. msgid "Specifies the email address of the server administrator."
  28820. msgstr ""
  28821. #. type: deftypevr
  28822. #: guix-git/doc/guix.texi:19145
  28823. msgid "Defaults to @samp{\"root@@localhost.localdomain\"}."
  28824. msgstr ""
  28825. #. type: deftypevr
  28826. #: guix-git/doc/guix.texi:19147
  28827. #, no-wrap
  28828. msgid "{@code{cups-configuration} parameter} host-name-list-or-* server-alias"
  28829. msgstr ""
  28830. #. type: deftypevr
  28831. #: guix-git/doc/guix.texi:19155
  28832. 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{*}."
  28833. msgstr ""
  28834. #. type: deftypevr
  28835. #: guix-git/doc/guix.texi:19157
  28836. msgid "Defaults to @samp{*}."
  28837. msgstr ""
  28838. #. type: deftypevr
  28839. #: guix-git/doc/guix.texi:19159
  28840. #, no-wrap
  28841. msgid "{@code{cups-configuration} parameter} string server-name"
  28842. msgstr ""
  28843. #. type: deftypevr
  28844. #: guix-git/doc/guix.texi:19161
  28845. msgid "Specifies the fully-qualified host name of the server."
  28846. msgstr ""
  28847. #. type: deftypevr
  28848. #: guix-git/doc/guix.texi:19163 guix-git/doc/guix.texi:24292
  28849. #: guix-git/doc/guix.texi:24337
  28850. msgid "Defaults to @samp{\"localhost\"}."
  28851. msgstr ""
  28852. #. type: deftypevr
  28853. #: guix-git/doc/guix.texi:19165
  28854. #, no-wrap
  28855. msgid "{@code{cups-configuration} parameter} server-tokens server-tokens"
  28856. msgstr ""
  28857. #. type: deftypevr
  28858. #: guix-git/doc/guix.texi:19173
  28859. 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}."
  28860. msgstr ""
  28861. #. type: deftypevr
  28862. #: guix-git/doc/guix.texi:19175
  28863. msgid "Defaults to @samp{Minimal}."
  28864. msgstr ""
  28865. #. type: deftypevr
  28866. #: guix-git/doc/guix.texi:19177
  28867. #, no-wrap
  28868. msgid "{@code{cups-configuration} parameter} multiline-string-list ssl-listen"
  28869. msgstr ""
  28870. #. type: deftypevr
  28871. #: guix-git/doc/guix.texi:19182
  28872. 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."
  28873. msgstr ""
  28874. #. type: deftypevr
  28875. #: guix-git/doc/guix.texi:19186
  28876. #, no-wrap
  28877. msgid "{@code{cups-configuration} parameter} ssl-options ssl-options"
  28878. msgstr ""
  28879. #. type: deftypevr
  28880. #: guix-git/doc/guix.texi:19196
  28881. 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."
  28882. msgstr ""
  28883. #. type: deftypevr
  28884. #: guix-git/doc/guix.texi:19200
  28885. #, no-wrap
  28886. msgid "{@code{cups-configuration} parameter} boolean strict-conformance?"
  28887. msgstr ""
  28888. #. type: deftypevr
  28889. #: guix-git/doc/guix.texi:19203
  28890. msgid "Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications."
  28891. msgstr ""
  28892. #. type: deftypevr
  28893. #: guix-git/doc/guix.texi:19207
  28894. #, no-wrap
  28895. msgid "{@code{cups-configuration} parameter} non-negative-integer timeout"
  28896. msgstr ""
  28897. #. type: deftypevr
  28898. #: guix-git/doc/guix.texi:19209
  28899. msgid "Specifies the HTTP request timeout, in seconds."
  28900. msgstr ""
  28901. #. type: deftypevr
  28902. #: guix-git/doc/guix.texi:19214
  28903. #, no-wrap
  28904. msgid "{@code{cups-configuration} parameter} boolean web-interface?"
  28905. msgstr ""
  28906. #. type: deftypevr
  28907. #: guix-git/doc/guix.texi:19216
  28908. msgid "Specifies whether the web interface is enabled."
  28909. msgstr ""
  28910. #. type: Plain text
  28911. #: guix-git/doc/guix.texi:19226
  28912. 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}."
  28913. msgstr ""
  28914. #. type: Plain text
  28915. #: guix-git/doc/guix.texi:19228
  28916. msgid "Available @code{opaque-cups-configuration} fields are:"
  28917. msgstr ""
  28918. #. type: deftypevr
  28919. #: guix-git/doc/guix.texi:19229
  28920. #, no-wrap
  28921. msgid "{@code{opaque-cups-configuration} parameter} package cups"
  28922. msgstr ""
  28923. #. type: deftypevr
  28924. #: guix-git/doc/guix.texi:19233
  28925. #, no-wrap
  28926. msgid "{@code{opaque-cups-configuration} parameter} string cupsd.conf"
  28927. msgstr ""
  28928. #. type: deftypevr
  28929. #: guix-git/doc/guix.texi:19235
  28930. msgid "The contents of the @code{cupsd.conf}, as a string."
  28931. msgstr ""
  28932. #. type: deftypevr
  28933. #: guix-git/doc/guix.texi:19237
  28934. #, no-wrap
  28935. msgid "{@code{opaque-cups-configuration} parameter} string cups-files.conf"
  28936. msgstr ""
  28937. #. type: deftypevr
  28938. #: guix-git/doc/guix.texi:19239
  28939. msgid "The contents of the @code{cups-files.conf} file, as a string."
  28940. msgstr ""
  28941. #. type: Plain text
  28942. #: guix-git/doc/guix.texi:19244
  28943. 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:"
  28944. msgstr ""
  28945. #. type: lisp
  28946. #: guix-git/doc/guix.texi:19250
  28947. #, no-wrap
  28948. msgid ""
  28949. "(service cups-service-type\n"
  28950. " (opaque-cups-configuration\n"
  28951. " (cupsd.conf cupsd.conf)\n"
  28952. " (cups-files.conf cups-files.conf)))\n"
  28953. msgstr ""
  28954. #. type: Plain text
  28955. #: guix-git/doc/guix.texi:19261
  28956. 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."
  28957. msgstr ""
  28958. #. type: Plain text
  28959. #: guix-git/doc/guix.texi:19265
  28960. 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:"
  28961. msgstr ""
  28962. #. type: defvr
  28963. #: guix-git/doc/guix.texi:19266
  28964. #, no-wrap
  28965. msgid "{Scheme Variable} %desktop-services"
  28966. msgstr ""
  28967. #. type: defvr
  28968. #: guix-git/doc/guix.texi:19269
  28969. msgid "This is a list of services that builds upon @code{%base-services} and adds or adjusts services for a typical ``desktop'' setup."
  28970. msgstr ""
  28971. #. type: defvr
  28972. #: guix-git/doc/guix.texi:19280
  28973. 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})."
  28974. msgstr ""
  28975. #. type: Plain text
  28976. #: guix-git/doc/guix.texi:19285
  28977. 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}})."
  28978. msgstr ""
  28979. #. type: Plain text
  28980. #: guix-git/doc/guix.texi:19308
  28981. 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."
  28982. msgstr ""
  28983. #. type: Plain text
  28984. #: guix-git/doc/guix.texi:19317
  28985. 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 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."
  28986. msgstr ""
  28987. #. type: defvr
  28988. #: guix-git/doc/guix.texi:19318
  28989. #, no-wrap
  28990. msgid "{Scheme Variable} gnome-desktop-service-type"
  28991. msgstr ""
  28992. #. type: defvr
  28993. #: guix-git/doc/guix.texi:19322
  28994. 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)."
  28995. msgstr ""
  28996. #. type: defvr
  28997. #: guix-git/doc/guix.texi:19325
  28998. msgid "This service adds the @code{gnome} package to the system profile, and extends polkit with the actions from @code{gnome-settings-daemon}."
  28999. msgstr ""
  29000. #. type: deftp
  29001. #: guix-git/doc/guix.texi:19327
  29002. #, no-wrap
  29003. msgid "{Data Type} gnome-desktop-configuration"
  29004. msgstr ""
  29005. #. type: deftp
  29006. #: guix-git/doc/guix.texi:19329
  29007. msgid "Configuration record for the GNOME desktop environment."
  29008. msgstr ""
  29009. #. type: item
  29010. #: guix-git/doc/guix.texi:19331
  29011. #, no-wrap
  29012. msgid "@code{gnome} (default: @code{gnome})"
  29013. msgstr ""
  29014. #. type: table
  29015. #: guix-git/doc/guix.texi:19333
  29016. msgid "The GNOME package to use."
  29017. msgstr ""
  29018. #. type: defvr
  29019. #: guix-git/doc/guix.texi:19336
  29020. #, no-wrap
  29021. msgid "{Scheme Variable} xfce-desktop-service-type"
  29022. msgstr ""
  29023. #. type: defvr
  29024. #: guix-git/doc/guix.texi:19340
  29025. 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)."
  29026. msgstr ""
  29027. #. type: defvr
  29028. #: guix-git/doc/guix.texi:19345
  29029. 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."
  29030. msgstr ""
  29031. #. type: defvr
  29032. #: guix-git/doc/guix.texi:19351
  29033. 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}."
  29034. msgstr ""
  29035. #. type: deftp
  29036. #: guix-git/doc/guix.texi:19353
  29037. #, no-wrap
  29038. msgid "{Data Type} xfce-desktop-configuration"
  29039. msgstr ""
  29040. #. type: deftp
  29041. #: guix-git/doc/guix.texi:19355
  29042. msgid "Configuration record for the Xfce desktop environment."
  29043. msgstr ""
  29044. #. type: item
  29045. #: guix-git/doc/guix.texi:19357
  29046. #, no-wrap
  29047. msgid "@code{xfce} (default: @code{xfce})"
  29048. msgstr "@code{xfce} (default: @code{xfce})"
  29049. #. type: table
  29050. #: guix-git/doc/guix.texi:19359
  29051. msgid "The Xfce package to use."
  29052. msgstr ""
  29053. #. type: deffn
  29054. #: guix-git/doc/guix.texi:19362
  29055. #, no-wrap
  29056. msgid "{Scheme Variable} mate-desktop-service-type"
  29057. msgstr ""
  29058. #. type: deffn
  29059. #: guix-git/doc/guix.texi:19366
  29060. 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)."
  29061. msgstr ""
  29062. #. type: deffn
  29063. #: guix-git/doc/guix.texi:19370
  29064. msgid "This service adds the @code{mate} package to the system profile, and extends polkit with the actions from @code{mate-settings-daemon}."
  29065. msgstr ""
  29066. #. type: deftp
  29067. #: guix-git/doc/guix.texi:19372
  29068. #, no-wrap
  29069. msgid "{Data Type} mate-desktop-configuration"
  29070. msgstr ""
  29071. #. type: deftp
  29072. #: guix-git/doc/guix.texi:19374
  29073. msgid "Configuration record for the MATE desktop environment."
  29074. msgstr ""
  29075. #. type: item
  29076. #: guix-git/doc/guix.texi:19376
  29077. #, no-wrap
  29078. msgid "@code{mate} (default: @code{mate})"
  29079. msgstr ""
  29080. #. type: table
  29081. #: guix-git/doc/guix.texi:19378
  29082. msgid "The MATE package to use."
  29083. msgstr ""
  29084. #. type: deffn
  29085. #: guix-git/doc/guix.texi:19381
  29086. #, no-wrap
  29087. msgid "{Scheme Variable} lxqt-desktop-service-type"
  29088. msgstr ""
  29089. #. type: deffn
  29090. #: guix-git/doc/guix.texi:19385
  29091. 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)."
  29092. msgstr ""
  29093. #. type: deffn
  29094. #: guix-git/doc/guix.texi:19388
  29095. msgid "This service adds the @code{lxqt} package to the system profile."
  29096. msgstr ""
  29097. #. type: deftp
  29098. #: guix-git/doc/guix.texi:19390
  29099. #, no-wrap
  29100. msgid "{Data Type} lxqt-desktop-configuration"
  29101. msgstr ""
  29102. #. type: deftp
  29103. #: guix-git/doc/guix.texi:19392
  29104. msgid "Configuration record for the LXQt desktop environment."
  29105. msgstr ""
  29106. #. type: item
  29107. #: guix-git/doc/guix.texi:19394
  29108. #, no-wrap
  29109. msgid "@code{lxqt} (default: @code{lxqt})"
  29110. msgstr ""
  29111. #. type: table
  29112. #: guix-git/doc/guix.texi:19396
  29113. msgid "The LXQT package to use."
  29114. msgstr ""
  29115. #. type: deffn
  29116. #: guix-git/doc/guix.texi:19399
  29117. #, no-wrap
  29118. msgid "{Scheme Variable} enlightenment-desktop-service-type"
  29119. msgstr ""
  29120. #. type: deffn
  29121. #: guix-git/doc/guix.texi:19402
  29122. msgid "Return a service that adds the @code{enlightenment} package to the system profile, and extends dbus with actions from @code{efl}."
  29123. msgstr ""
  29124. #. type: deftp
  29125. #: guix-git/doc/guix.texi:19404
  29126. #, no-wrap
  29127. msgid "{Data Type} enlightenment-desktop-service-configuration"
  29128. msgstr ""
  29129. #. type: item
  29130. #: guix-git/doc/guix.texi:19406
  29131. #, no-wrap
  29132. msgid "@code{enlightenment} (default: @code{enlightenment})"
  29133. msgstr ""
  29134. #. type: table
  29135. #: guix-git/doc/guix.texi:19408
  29136. msgid "The enlightenment package to use."
  29137. msgstr ""
  29138. #. type: Plain text
  29139. #: guix-git/doc/guix.texi:19416
  29140. 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}:"
  29141. msgstr ""
  29142. #. type: lisp
  29143. #: guix-git/doc/guix.texi:19427
  29144. #, no-wrap
  29145. msgid ""
  29146. "(use-modules (gnu))\n"
  29147. "(use-service-modules desktop)\n"
  29148. "(operating-system\n"
  29149. " ...\n"
  29150. " ;; cons* adds items to the list given as its last argument.\n"
  29151. " (services (cons* (service gnome-desktop-service-type)\n"
  29152. " (service xfce-desktop-service)\n"
  29153. " %desktop-services))\n"
  29154. " ...)\n"
  29155. msgstr ""
  29156. #. type: Plain text
  29157. #: guix-git/doc/guix.texi:19431
  29158. msgid "These desktop environments will then be available as options in the graphical login window."
  29159. msgstr ""
  29160. #. type: Plain text
  29161. #: guix-git/doc/guix.texi:19435
  29162. 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."
  29163. msgstr ""
  29164. #. type: deffn
  29165. #: guix-git/doc/guix.texi:19436
  29166. #, no-wrap
  29167. msgid "{Scheme Procedure} dbus-service [#:dbus @var{dbus}] [#:services '()]"
  29168. msgstr ""
  29169. #. type: deffn
  29170. #: guix-git/doc/guix.texi:19439
  29171. msgid "Return a service that runs the ``system bus'', using @var{dbus}, with support for @var{services}."
  29172. msgstr ""
  29173. #. type: deffn
  29174. #: guix-git/doc/guix.texi:19443
  29175. 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."
  29176. msgstr ""
  29177. #. type: deffn
  29178. #: guix-git/doc/guix.texi:19448
  29179. 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)}."
  29180. msgstr ""
  29181. #. type: deffn
  29182. #: guix-git/doc/guix.texi:19450
  29183. #, no-wrap
  29184. msgid "{Scheme Procedure} elogind-service [#:config @var{config}]"
  29185. msgstr ""
  29186. #. type: deffn
  29187. #: guix-git/doc/guix.texi:19456
  29188. 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."
  29189. msgstr ""
  29190. #. type: deffn
  29191. #: guix-git/doc/guix.texi:19460
  29192. 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."
  29193. msgstr ""
  29194. #. type: deffn
  29195. #: guix-git/doc/guix.texi:19465
  29196. 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:"
  29197. msgstr ""
  29198. #. type: item
  29199. #: guix-git/doc/guix.texi:19467
  29200. #, no-wrap
  29201. msgid "kill-user-processes?"
  29202. msgstr ""
  29203. #. type: code{#1}
  29204. #: guix-git/doc/guix.texi:19469 guix-git/doc/guix.texi:19489
  29205. #: guix-git/doc/guix.texi:19491 guix-git/doc/guix.texi:19493
  29206. #: guix-git/doc/guix.texi:19505
  29207. msgid "#f"
  29208. msgstr ""
  29209. #. type: item
  29210. #: guix-git/doc/guix.texi:19469
  29211. #, no-wrap
  29212. msgid "kill-only-users"
  29213. msgstr ""
  29214. #. type: code{#1}
  29215. #: guix-git/doc/guix.texi:19471 guix-git/doc/guix.texi:19511
  29216. msgid "()"
  29217. msgstr ""
  29218. #. type: item
  29219. #: guix-git/doc/guix.texi:19471
  29220. #, no-wrap
  29221. msgid "kill-exclude-users"
  29222. msgstr ""
  29223. #. type: code{#1}
  29224. #: guix-git/doc/guix.texi:19473
  29225. msgid "(\"root\")"
  29226. msgstr ""
  29227. #. type: item
  29228. #: guix-git/doc/guix.texi:19473
  29229. #, no-wrap
  29230. msgid "inhibit-delay-max-seconds"
  29231. msgstr ""
  29232. #. type: code{#1}
  29233. #: guix-git/doc/guix.texi:19475
  29234. msgid "5"
  29235. msgstr "5"
  29236. #. type: item
  29237. #: guix-git/doc/guix.texi:19475
  29238. #, no-wrap
  29239. msgid "handle-power-key"
  29240. msgstr ""
  29241. #. type: code{#1}
  29242. #: guix-git/doc/guix.texi:19477
  29243. msgid "poweroff"
  29244. msgstr ""
  29245. #. type: item
  29246. #: guix-git/doc/guix.texi:19477
  29247. #, no-wrap
  29248. msgid "handle-suspend-key"
  29249. msgstr ""
  29250. #. type: code{#1}
  29251. #: guix-git/doc/guix.texi:19479 guix-git/doc/guix.texi:19483
  29252. msgid "suspend"
  29253. msgstr ""
  29254. #. type: item
  29255. #: guix-git/doc/guix.texi:19479
  29256. #, no-wrap
  29257. msgid "handle-hibernate-key"
  29258. msgstr ""
  29259. #. type: code{#1}
  29260. #: guix-git/doc/guix.texi:19481
  29261. msgid "hibernate"
  29262. msgstr ""
  29263. #. type: item
  29264. #: guix-git/doc/guix.texi:19481
  29265. #, no-wrap
  29266. msgid "handle-lid-switch"
  29267. msgstr ""
  29268. #. type: item
  29269. #: guix-git/doc/guix.texi:19483
  29270. #, no-wrap
  29271. msgid "handle-lid-switch-docked"
  29272. msgstr ""
  29273. #. type: code{#1}
  29274. #: guix-git/doc/guix.texi:19485 guix-git/doc/guix.texi:19487
  29275. #: guix-git/doc/guix.texi:19499
  29276. msgid "ignore"
  29277. msgstr ""
  29278. #. type: item
  29279. #: guix-git/doc/guix.texi:19485
  29280. #, no-wrap
  29281. msgid "handle-lid-switch-external-power"
  29282. msgstr ""
  29283. #. type: item
  29284. #: guix-git/doc/guix.texi:19487
  29285. #, no-wrap
  29286. msgid "power-key-ignore-inhibited?"
  29287. msgstr ""
  29288. #. type: item
  29289. #: guix-git/doc/guix.texi:19489
  29290. #, no-wrap
  29291. msgid "suspend-key-ignore-inhibited?"
  29292. msgstr ""
  29293. #. type: item
  29294. #: guix-git/doc/guix.texi:19491
  29295. #, no-wrap
  29296. msgid "hibernate-key-ignore-inhibited?"
  29297. msgstr ""
  29298. #. type: item
  29299. #: guix-git/doc/guix.texi:19493
  29300. #, no-wrap
  29301. msgid "lid-switch-ignore-inhibited?"
  29302. msgstr ""
  29303. #. type: code{#1}
  29304. #: guix-git/doc/guix.texi:19495 guix-git/doc/guix.texi:19507
  29305. msgid "#t"
  29306. msgstr ""
  29307. #. type: item
  29308. #: guix-git/doc/guix.texi:19495
  29309. #, no-wrap
  29310. msgid "holdoff-timeout-seconds"
  29311. msgstr ""
  29312. #. type: code{#1}
  29313. #: guix-git/doc/guix.texi:19497
  29314. msgid "30"
  29315. msgstr ""
  29316. #. type: item
  29317. #: guix-git/doc/guix.texi:19497
  29318. #, no-wrap
  29319. msgid "idle-action"
  29320. msgstr ""
  29321. #. type: item
  29322. #: guix-git/doc/guix.texi:19499
  29323. #, no-wrap
  29324. msgid "idle-action-seconds"
  29325. msgstr ""
  29326. #. type: code{#1}
  29327. #: guix-git/doc/guix.texi:19501
  29328. msgid "(* 30 60)"
  29329. msgstr ""
  29330. #. type: item
  29331. #: guix-git/doc/guix.texi:19501
  29332. #, no-wrap
  29333. msgid "runtime-directory-size-percent"
  29334. msgstr ""
  29335. #. type: code{#1}
  29336. #: guix-git/doc/guix.texi:19503
  29337. msgid "10"
  29338. msgstr ""
  29339. #. type: item
  29340. #: guix-git/doc/guix.texi:19503
  29341. #, no-wrap
  29342. msgid "runtime-directory-size"
  29343. msgstr ""
  29344. #. type: item
  29345. #: guix-git/doc/guix.texi:19505
  29346. #, no-wrap
  29347. msgid "remove-ipc?"
  29348. msgstr ""
  29349. #. type: item
  29350. #: guix-git/doc/guix.texi:19507
  29351. #, no-wrap
  29352. msgid "suspend-state"
  29353. msgstr ""
  29354. #. type: code{#1}
  29355. #: guix-git/doc/guix.texi:19509
  29356. msgid "(\"mem\" \"standby\" \"freeze\")"
  29357. msgstr ""
  29358. #. type: item
  29359. #: guix-git/doc/guix.texi:19509
  29360. #, no-wrap
  29361. msgid "suspend-mode"
  29362. msgstr ""
  29363. #. type: item
  29364. #: guix-git/doc/guix.texi:19511
  29365. #, no-wrap
  29366. msgid "hibernate-state"
  29367. msgstr ""
  29368. #. type: code{#1}
  29369. #: guix-git/doc/guix.texi:19513 guix-git/doc/guix.texi:19517
  29370. msgid "(\"disk\")"
  29371. msgstr ""
  29372. #. type: item
  29373. #: guix-git/doc/guix.texi:19513
  29374. #, no-wrap
  29375. msgid "hibernate-mode"
  29376. msgstr ""
  29377. #. type: code{#1}
  29378. #: guix-git/doc/guix.texi:19515
  29379. msgid "(\"platform\" \"shutdown\")"
  29380. msgstr ""
  29381. #. type: item
  29382. #: guix-git/doc/guix.texi:19515
  29383. #, no-wrap
  29384. msgid "hybrid-sleep-state"
  29385. msgstr ""
  29386. #. type: item
  29387. #: guix-git/doc/guix.texi:19517
  29388. #, no-wrap
  29389. msgid "hybrid-sleep-mode"
  29390. msgstr ""
  29391. #. type: code{#1}
  29392. #: guix-git/doc/guix.texi:19519
  29393. msgid "(\"suspend\" \"platform\" \"shutdown\")"
  29394. msgstr ""
  29395. #. type: deffn
  29396. #: guix-git/doc/guix.texi:19522
  29397. #, no-wrap
  29398. msgid "{Scheme Procedure} accountsservice-service @"
  29399. msgstr ""
  29400. #. type: deffn
  29401. #: guix-git/doc/guix.texi:19530
  29402. 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."
  29403. msgstr ""
  29404. #. type: deffn
  29405. #: guix-git/doc/guix.texi:19533
  29406. msgid "The @var{accountsservice} keyword argument is the @code{accountsservice} package to expose as a service."
  29407. msgstr ""
  29408. #. type: deffn
  29409. #: guix-git/doc/guix.texi:19535
  29410. #, no-wrap
  29411. msgid "{Scheme Procedure} polkit-service @"
  29412. msgstr ""
  29413. #. type: deffn
  29414. #: guix-git/doc/guix.texi:19544
  29415. 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."
  29416. msgstr ""
  29417. #. type: defvr
  29418. #: guix-git/doc/guix.texi:19546
  29419. #, no-wrap
  29420. msgid "{Scheme Variable} polkit-wheel-service"
  29421. msgstr ""
  29422. #. type: defvr
  29423. #: guix-git/doc/guix.texi:19551
  29424. 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}."
  29425. msgstr ""
  29426. #. type: defvr
  29427. #: guix-git/doc/guix.texi:19553
  29428. #, no-wrap
  29429. msgid "{Scheme Variable} upower-service-type"
  29430. msgstr ""
  29431. #. type: defvr
  29432. #: guix-git/doc/guix.texi:19557
  29433. 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."
  29434. msgstr ""
  29435. #. type: defvr
  29436. #: guix-git/doc/guix.texi:19560
  29437. msgid "It implements the @code{org.freedesktop.UPower} D-Bus interface, and is notably used by GNOME."
  29438. msgstr ""
  29439. #. type: deftp
  29440. #: guix-git/doc/guix.texi:19562
  29441. #, no-wrap
  29442. msgid "{Data Type} upower-configuration"
  29443. msgstr ""
  29444. #. type: deftp
  29445. #: guix-git/doc/guix.texi:19564
  29446. msgid "Data type representation the configuration for UPower."
  29447. msgstr ""
  29448. #. type: item
  29449. #: guix-git/doc/guix.texi:19567
  29450. #, no-wrap
  29451. msgid "@code{upower} (default: @var{upower})"
  29452. msgstr "@code{upower} (default: @var{upower})"
  29453. #. type: table
  29454. #: guix-git/doc/guix.texi:19569
  29455. msgid "Package to use for @code{upower}."
  29456. msgstr ""
  29457. #. type: item
  29458. #: guix-git/doc/guix.texi:19570
  29459. #, no-wrap
  29460. msgid "@code{watts-up-pro?} (default: @code{#f})"
  29461. msgstr "@code{watts-up-pro?} (padrão: @code{#f})"
  29462. #. type: table
  29463. #: guix-git/doc/guix.texi:19572
  29464. msgid "Enable the Watts Up Pro device."
  29465. msgstr ""
  29466. #. type: item
  29467. #: guix-git/doc/guix.texi:19573
  29468. #, no-wrap
  29469. msgid "@code{poll-batteries?} (default: @code{#t})"
  29470. msgstr "@code{poll-batteries?} (padrão: @code{#t})"
  29471. #. type: table
  29472. #: guix-git/doc/guix.texi:19575
  29473. msgid "Enable polling the kernel for battery level changes."
  29474. msgstr ""
  29475. #. type: item
  29476. #: guix-git/doc/guix.texi:19576
  29477. #, no-wrap
  29478. msgid "@code{ignore-lid?} (default: @code{#f})"
  29479. msgstr "@code{ignore-lid?} (padrão: @code{#f})"
  29480. #. type: table
  29481. #: guix-git/doc/guix.texi:19578
  29482. msgid "Ignore the lid state, this can be useful if it's incorrect on a device."
  29483. msgstr ""
  29484. #. type: item
  29485. #: guix-git/doc/guix.texi:19579
  29486. #, no-wrap
  29487. msgid "@code{use-percentage-for-policy?} (default: @code{#f})"
  29488. msgstr ""
  29489. #. type: table
  29490. #: guix-git/doc/guix.texi:19582
  29491. 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."
  29492. msgstr ""
  29493. #. type: item
  29494. #: guix-git/doc/guix.texi:19583
  29495. #, no-wrap
  29496. msgid "@code{percentage-low} (default: @code{10})"
  29497. msgstr ""
  29498. #. type: table
  29499. #: guix-git/doc/guix.texi:19586
  29500. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered low."
  29501. msgstr ""
  29502. #. type: item
  29503. #: guix-git/doc/guix.texi:19587
  29504. #, no-wrap
  29505. msgid "@code{percentage-critical} (default: @code{3})"
  29506. msgstr ""
  29507. #. type: table
  29508. #: guix-git/doc/guix.texi:19590
  29509. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered critical."
  29510. msgstr ""
  29511. #. type: item
  29512. #: guix-git/doc/guix.texi:19591
  29513. #, no-wrap
  29514. msgid "@code{percentage-action} (default: @code{2})"
  29515. msgstr ""
  29516. #. type: table
  29517. #: guix-git/doc/guix.texi:19594
  29518. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which action will be taken."
  29519. msgstr ""
  29520. #. type: item
  29521. #: guix-git/doc/guix.texi:19595
  29522. #, no-wrap
  29523. msgid "@code{time-low} (default: @code{1200})"
  29524. msgstr ""
  29525. #. type: table
  29526. #: guix-git/doc/guix.texi:19598
  29527. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered low."
  29528. msgstr ""
  29529. #. type: item
  29530. #: guix-git/doc/guix.texi:19599
  29531. #, no-wrap
  29532. msgid "@code{time-critical} (default: @code{300})"
  29533. msgstr ""
  29534. #. type: table
  29535. #: guix-git/doc/guix.texi:19602
  29536. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered critical."
  29537. msgstr ""
  29538. #. type: item
  29539. #: guix-git/doc/guix.texi:19603
  29540. #, no-wrap
  29541. msgid "@code{time-action} (default: @code{120})"
  29542. msgstr ""
  29543. #. type: table
  29544. #: guix-git/doc/guix.texi:19606
  29545. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which action will be taken."
  29546. msgstr ""
  29547. #. type: item
  29548. #: guix-git/doc/guix.texi:19607
  29549. #, no-wrap
  29550. msgid "@code{critical-power-action} (default: @code{'hybrid-sleep})"
  29551. msgstr ""
  29552. #. type: table
  29553. #: guix-git/doc/guix.texi:19610
  29554. msgid "The action taken when @code{percentage-action} or @code{time-action} is reached (depending on the configuration of @code{use-percentage-for-policy?})."
  29555. msgstr ""
  29556. #. type: table
  29557. #: guix-git/doc/guix.texi:19612
  29558. msgid "Possible values are:"
  29559. msgstr ""
  29560. #. type: code{#1}
  29561. #: guix-git/doc/guix.texi:19616
  29562. msgid "'power-off"
  29563. msgstr ""
  29564. #. type: code{#1}
  29565. #: guix-git/doc/guix.texi:19619
  29566. msgid "'hibernate"
  29567. msgstr ""
  29568. #. type: itemize
  29569. #: guix-git/doc/guix.texi:19622
  29570. msgid "@code{'hybrid-sleep}."
  29571. msgstr ""
  29572. #. type: deffn
  29573. #: guix-git/doc/guix.texi:19627
  29574. #, no-wrap
  29575. msgid "{Scheme Procedure} udisks-service [#:udisks @var{udisks}]"
  29576. msgstr ""
  29577. #. type: deffn
  29578. #: guix-git/doc/guix.texi:19637
  29579. 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."
  29580. msgstr ""
  29581. #. type: deffn
  29582. #: guix-git/doc/guix.texi:19639
  29583. #, no-wrap
  29584. msgid "{Scheme Variable} colord-service-type"
  29585. msgstr ""
  29586. #. type: deffn
  29587. #: guix-git/doc/guix.texi:19646
  29588. 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."
  29589. msgstr ""
  29590. #. type: cindex
  29591. #: guix-git/doc/guix.texi:19648
  29592. #, no-wrap
  29593. msgid "scanner access"
  29594. msgstr ""
  29595. #. type: defvr
  29596. #: guix-git/doc/guix.texi:19649
  29597. #, no-wrap
  29598. msgid "{Scheme Variable} sane-service-type"
  29599. msgstr ""
  29600. #. type: defvr
  29601. #: guix-git/doc/guix.texi:19655
  29602. 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."
  29603. msgstr ""
  29604. #. type: defvr
  29605. #: guix-git/doc/guix.texi:19657
  29606. #, no-wrap
  29607. msgid "{Scheme Variable} sane-backends-minimal"
  29608. msgstr ""
  29609. #. type: defvr
  29610. #: guix-git/doc/guix.texi:19660
  29611. msgid "The default package which the @code{sane-service-type} installs. It supports many recent scanners."
  29612. msgstr ""
  29613. #. type: defvr
  29614. #: guix-git/doc/guix.texi:19662
  29615. #, no-wrap
  29616. msgid "{Scheme Variable} sane-backends"
  29617. msgstr ""
  29618. #. type: defvr
  29619. #: guix-git/doc/guix.texi:19669
  29620. 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:"
  29621. msgstr ""
  29622. #. type: lisp
  29623. #: guix-git/doc/guix.texi:19678
  29624. #, no-wrap
  29625. msgid ""
  29626. "(use-modules (gnu))\n"
  29627. "(use-service-modules\n"
  29628. " @dots{}\n"
  29629. " desktop)\n"
  29630. "(use-package-modules\n"
  29631. " @dots{}\n"
  29632. " scanner)\n"
  29633. "\n"
  29634. msgstr ""
  29635. #. type: lisp
  29636. #: guix-git/doc/guix.texi:19683
  29637. #, no-wrap
  29638. msgid ""
  29639. "(define %my-desktop-services\n"
  29640. " ;; List of desktop services that supports a broader range of scanners.\n"
  29641. " (modify-services %desktop-services\n"
  29642. " (sane-service-type _ => sane-backends)))\n"
  29643. "\n"
  29644. msgstr ""
  29645. #. type: lisp
  29646. #: guix-git/doc/guix.texi:19687
  29647. #, no-wrap
  29648. msgid ""
  29649. "(operating-system\n"
  29650. " @dots{}\n"
  29651. " (services %my-desktop-services)\n"
  29652. msgstr ""
  29653. #. type: deffn
  29654. #: guix-git/doc/guix.texi:19690
  29655. #, no-wrap
  29656. msgid "{Scheme Procedure} geoclue-application name [#:allowed? #t] [#:system? #f] [#:users '()]"
  29657. msgstr ""
  29658. #. type: deffn
  29659. #: guix-git/doc/guix.texi:19699
  29660. 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."
  29661. msgstr ""
  29662. #. type: defvr
  29663. #: guix-git/doc/guix.texi:19701
  29664. #, no-wrap
  29665. msgid "{Scheme Variable} %standard-geoclue-applications"
  29666. msgstr ""
  29667. #. type: defvr
  29668. #: guix-git/doc/guix.texi:19708
  29669. 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."
  29670. msgstr ""
  29671. #. type: deffn
  29672. #: guix-git/doc/guix.texi:19710
  29673. #, no-wrap
  29674. msgid "{Scheme Procedure} geoclue-service [#:colord @var{colord}] @"
  29675. msgstr ""
  29676. #. type: deffn
  29677. #: guix-git/doc/guix.texi:19723
  29678. 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."
  29679. msgstr ""
  29680. #. type: deffn
  29681. #: guix-git/doc/guix.texi:19725
  29682. #, no-wrap
  29683. msgid "{Scheme Procedure} bluetooth-service [#:bluez @var{bluez}] @"
  29684. msgstr ""
  29685. #. type: deffn
  29686. #: guix-git/doc/guix.texi:19732
  29687. 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."
  29688. msgstr ""
  29689. #. type: deffn
  29690. #: guix-git/doc/guix.texi:19734
  29691. msgid "Users need to be in the @code{lp} group to access the D-Bus service."
  29692. msgstr ""
  29693. #. type: defvr
  29694. #: guix-git/doc/guix.texi:19736
  29695. #, no-wrap
  29696. msgid "{Scheme Variable} gnome-keyring-service-type"
  29697. msgstr ""
  29698. #. type: defvr
  29699. #: guix-git/doc/guix.texi:19740
  29700. 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)."
  29701. msgstr ""
  29702. #. type: defvr
  29703. #: guix-git/doc/guix.texi:19744
  29704. 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."
  29705. msgstr ""
  29706. #. type: deftp
  29707. #: guix-git/doc/guix.texi:19746
  29708. #, no-wrap
  29709. msgid "{Data Type} gnome-keyring-configuration"
  29710. msgstr ""
  29711. #. type: deftp
  29712. #: guix-git/doc/guix.texi:19748
  29713. msgid "Configuration record for the GNOME Keyring service."
  29714. msgstr ""
  29715. #. type: item
  29716. #: guix-git/doc/guix.texi:19750
  29717. #, no-wrap
  29718. msgid "@code{keyring} (default: @code{gnome-keyring})"
  29719. msgstr ""
  29720. #. type: table
  29721. #: guix-git/doc/guix.texi:19752
  29722. msgid "The GNOME keyring package to use."
  29723. msgstr ""
  29724. #. type: code{#1}
  29725. #: guix-git/doc/guix.texi:19753
  29726. #, no-wrap
  29727. msgid "pam-services"
  29728. msgstr ""
  29729. #. type: table
  29730. #: guix-git/doc/guix.texi:19758
  29731. 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}."
  29732. msgstr ""
  29733. #. type: table
  29734. #: guix-git/doc/guix.texi:19764
  29735. 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."
  29736. msgstr ""
  29737. #. type: table
  29738. #: guix-git/doc/guix.texi:19767
  29739. msgid "By default, this field contains ``gdm-password'' with the value @code{login} and ``passwd'' is with the value @code{passwd}."
  29740. msgstr ""
  29741. #. type: cindex
  29742. #: guix-git/doc/guix.texi:19774
  29743. #, no-wrap
  29744. msgid "sound support"
  29745. msgstr ""
  29746. #. type: cindex
  29747. #: guix-git/doc/guix.texi:19775
  29748. #, no-wrap
  29749. msgid "ALSA"
  29750. msgstr ""
  29751. #. type: cindex
  29752. #: guix-git/doc/guix.texi:19776
  29753. #, no-wrap
  29754. msgid "PulseAudio, sound support"
  29755. msgstr ""
  29756. #. type: Plain text
  29757. #: guix-git/doc/guix.texi:19781
  29758. 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."
  29759. msgstr ""
  29760. #. type: deffn
  29761. #: guix-git/doc/guix.texi:19782
  29762. #, no-wrap
  29763. msgid "{Scheme Variable} alsa-service-type"
  29764. msgstr ""
  29765. #. type: deffn
  29766. #: guix-git/doc/guix.texi:19787
  29767. 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:"
  29768. msgstr ""
  29769. #. type: lisp
  29770. #: guix-git/doc/guix.texi:19790
  29771. #, no-wrap
  29772. msgid "(service alsa-service-type)\n"
  29773. msgstr ""
  29774. #. type: deffn
  29775. #: guix-git/doc/guix.texi:19793
  29776. msgid "See below for details about @code{alsa-configuration}."
  29777. msgstr ""
  29778. #. type: deftp
  29779. #: guix-git/doc/guix.texi:19795
  29780. #, no-wrap
  29781. msgid "{Data Type} alsa-configuration"
  29782. msgstr ""
  29783. #. type: deftp
  29784. #: guix-git/doc/guix.texi:19797
  29785. msgid "Data type representing the configuration for @code{alsa-service}."
  29786. msgstr ""
  29787. #. type: item
  29788. #: guix-git/doc/guix.texi:19799
  29789. #, no-wrap
  29790. msgid "@code{alsa-plugins} (default: @var{alsa-plugins})"
  29791. msgstr "@code{alsa-plugins} (default: @var{alsa-plugins})"
  29792. #. type: table
  29793. #: guix-git/doc/guix.texi:19801
  29794. msgid "@code{alsa-plugins} package to use."
  29795. msgstr ""
  29796. #. type: item
  29797. #: guix-git/doc/guix.texi:19802
  29798. #, no-wrap
  29799. msgid "@code{pulseaudio?} (default: @var{#t})"
  29800. msgstr ""
  29801. #. type: table
  29802. #: guix-git/doc/guix.texi:19805
  29803. msgid "Whether ALSA applications should transparently be made to use the @uref{https://www.pulseaudio.org/, PulseAudio} sound server."
  29804. msgstr ""
  29805. #. type: table
  29806. #: guix-git/doc/guix.texi:19809
  29807. 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."
  29808. msgstr ""
  29809. #. type: item
  29810. #: guix-git/doc/guix.texi:19810
  29811. #, no-wrap
  29812. msgid "@code{extra-options} (default: @var{\"\"})"
  29813. msgstr ""
  29814. #. type: table
  29815. #: guix-git/doc/guix.texi:19812
  29816. msgid "String to append to the @file{/etc/asound.conf} file."
  29817. msgstr ""
  29818. #. type: Plain text
  29819. #: guix-git/doc/guix.texi:19818
  29820. msgid "Individual users who want to override the system configuration of ALSA can do it with the @file{~/.asoundrc} file:"
  29821. msgstr ""
  29822. #. type: example
  29823. #: guix-git/doc/guix.texi:19824
  29824. #, no-wrap
  29825. msgid ""
  29826. "# In guix, we have to specify the absolute path for plugins.\n"
  29827. "pcm_type.jack @{\n"
  29828. " lib \"/home/alice/.guix-profile/lib/alsa-lib/libasound_module_pcm_jack.so\"\n"
  29829. "@}\n"
  29830. "\n"
  29831. msgstr ""
  29832. #. type: example
  29833. #: guix-git/doc/guix.texi:19833
  29834. #, no-wrap
  29835. msgid ""
  29836. "# Routing ALSA to jack:\n"
  29837. "# <http://jackaudio.org/faq/routing_alsa.html>.\n"
  29838. "pcm.rawjack @{\n"
  29839. " type jack\n"
  29840. " playback_ports @{\n"
  29841. " 0 system:playback_1\n"
  29842. " 1 system:playback_2\n"
  29843. " @}\n"
  29844. "\n"
  29845. msgstr ""
  29846. #. type: example
  29847. #: guix-git/doc/guix.texi:19839
  29848. #, no-wrap
  29849. msgid ""
  29850. " capture_ports @{\n"
  29851. " 0 system:capture_1\n"
  29852. " 1 system:capture_2\n"
  29853. " @}\n"
  29854. "@}\n"
  29855. "\n"
  29856. msgstr ""
  29857. #. type: example
  29858. #: guix-git/doc/guix.texi:19846
  29859. #, no-wrap
  29860. msgid ""
  29861. "pcm.!default @{\n"
  29862. " type plug\n"
  29863. " slave @{\n"
  29864. " pcm \"rawjack\"\n"
  29865. " @}\n"
  29866. "@}\n"
  29867. msgstr ""
  29868. #. type: Plain text
  29869. #: guix-git/doc/guix.texi:19850
  29870. msgid "See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the details."
  29871. msgstr ""
  29872. #. type: deffn
  29873. #: guix-git/doc/guix.texi:19851
  29874. #, no-wrap
  29875. msgid "{Scheme Variable} pulseaudio-service-type"
  29876. msgstr ""
  29877. #. type: deffn
  29878. #: guix-git/doc/guix.texi:19855
  29879. 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."
  29880. msgstr ""
  29881. #. type: quotation
  29882. #: guix-git/doc/guix.texi:19861
  29883. 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}."
  29884. msgstr ""
  29885. #. type: quotation
  29886. #: guix-git/doc/guix.texi:19869
  29887. 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."
  29888. msgstr ""
  29889. #. type: deftp
  29890. #: guix-git/doc/guix.texi:19872
  29891. #, no-wrap
  29892. msgid "{Data Type} pulseaudio-configuration"
  29893. msgstr ""
  29894. #. type: deftp
  29895. #: guix-git/doc/guix.texi:19874
  29896. msgid "Data type representing the configuration for @code{pulseaudio-service}."
  29897. msgstr ""
  29898. #. type: item
  29899. #: guix-git/doc/guix.texi:19876
  29900. #, no-wrap
  29901. msgid "@code{client-conf} (default: @code{'()})"
  29902. msgstr ""
  29903. #. type: table
  29904. #: guix-git/doc/guix.texi:19881
  29905. msgid "List of settings to set in @file{client.conf}. Accepts a list of strings or a 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."
  29906. msgstr ""
  29907. #. type: item
  29908. #: guix-git/doc/guix.texi:19882
  29909. #, no-wrap
  29910. msgid "@code{daemon-conf} (default: @code{'((flat-volumes . no))})"
  29911. msgstr ""
  29912. #. type: table
  29913. #: guix-git/doc/guix.texi:19885
  29914. msgid "List of settings to set in @file{daemon.conf}, formatted just like @var{client-conf}."
  29915. msgstr ""
  29916. #. type: item
  29917. #: guix-git/doc/guix.texi:19886
  29918. #, no-wrap
  29919. msgid "@code{script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/default.pa\")})"
  29920. msgstr ""
  29921. #. type: table
  29922. #: guix-git/doc/guix.texi:19888
  29923. msgid "Script file to use as @file{default.pa}."
  29924. msgstr ""
  29925. #. type: item
  29926. #: guix-git/doc/guix.texi:19889
  29927. #, no-wrap
  29928. msgid "@code{system-script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/system.pa\")})"
  29929. msgstr ""
  29930. #. type: table
  29931. #: guix-git/doc/guix.texi:19891
  29932. msgid "Script file to use as @file{system.pa}."
  29933. msgstr ""
  29934. #. type: deffn
  29935. #: guix-git/doc/guix.texi:19894
  29936. #, no-wrap
  29937. msgid "{Scheme Variable} ladspa-service-type"
  29938. msgstr ""
  29939. #. type: deffn
  29940. #: guix-git/doc/guix.texi:19897
  29941. msgid "This service sets the @var{LADSPA_PATH} variable, so that programs, which respect it, e.g. PulseAudio, can load LADSPA plugins."
  29942. msgstr ""
  29943. #. type: deffn
  29944. #: guix-git/doc/guix.texi:19900
  29945. msgid "The following example will setup the service to enable modules from the @code{swh-plugins} package:"
  29946. msgstr ""
  29947. #. type: lisp
  29948. #: guix-git/doc/guix.texi:19904
  29949. #, no-wrap
  29950. msgid ""
  29951. "(service ladspa-service-type\n"
  29952. " (ladspa-configuration (plugins (list swh-plugins))))\n"
  29953. msgstr ""
  29954. #. type: deffn
  29955. #: guix-git/doc/guix.texi:19908
  29956. msgid "See @uref{http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html} for the details."
  29957. msgstr ""
  29958. #. type: cindex
  29959. #: guix-git/doc/guix.texi:19915
  29960. #, no-wrap
  29961. msgid "SQL"
  29962. msgstr ""
  29963. #. type: Plain text
  29964. #: guix-git/doc/guix.texi:19917
  29965. msgid "The @code{(gnu services databases)} module provides the following services."
  29966. msgstr ""
  29967. #. type: subsubheading
  29968. #: guix-git/doc/guix.texi:19918
  29969. #, no-wrap
  29970. msgid "PostgreSQL"
  29971. msgstr ""
  29972. #. type: Plain text
  29973. #: guix-git/doc/guix.texi:19922
  29974. msgid "The following example describes a PostgreSQL service with the default configuration."
  29975. msgstr ""
  29976. #. type: lisp
  29977. #: guix-git/doc/guix.texi:19927
  29978. #, no-wrap
  29979. msgid ""
  29980. "(service postgresql-service-type\n"
  29981. " (postgresql-configuration\n"
  29982. " (postgresql postgresql-10)))\n"
  29983. msgstr ""
  29984. #. type: Plain text
  29985. #: guix-git/doc/guix.texi:19933
  29986. 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."
  29987. msgstr ""
  29988. #. type: Plain text
  29989. #: guix-git/doc/guix.texi:19940
  29990. 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."
  29991. msgstr ""
  29992. #. type: example
  29993. #: guix-git/doc/guix.texi:19945
  29994. #, no-wrap
  29995. msgid ""
  29996. "sudo -u postgres -s /bin/sh\n"
  29997. "createuser --interactive\n"
  29998. "createdb $MY_USER_LOGIN # Replace appropriately.\n"
  29999. msgstr ""
  30000. #. type: deftp
  30001. #: guix-git/doc/guix.texi:19947
  30002. #, no-wrap
  30003. msgid "{Data Type} postgresql-configuration"
  30004. msgstr ""
  30005. #. type: deftp
  30006. #: guix-git/doc/guix.texi:19950
  30007. msgid "Data type representing the configuration for the @code{postgresql-service-type}."
  30008. msgstr ""
  30009. #. type: code{#1}
  30010. #: guix-git/doc/guix.texi:19952
  30011. #, no-wrap
  30012. msgid "postgresql"
  30013. msgstr ""
  30014. #. type: table
  30015. #: guix-git/doc/guix.texi:19954
  30016. msgid "PostgreSQL package to use for the service."
  30017. msgstr ""
  30018. #. type: item
  30019. #: guix-git/doc/guix.texi:19955
  30020. #, no-wrap
  30021. msgid "@code{port} (default: @code{5432})"
  30022. msgstr ""
  30023. #. type: table
  30024. #: guix-git/doc/guix.texi:19957
  30025. msgid "Port on which PostgreSQL should listen."
  30026. msgstr ""
  30027. #. type: table
  30028. #: guix-git/doc/guix.texi:19960
  30029. msgid "Locale to use as the default when creating the database cluster."
  30030. msgstr ""
  30031. #. type: item
  30032. #: guix-git/doc/guix.texi:19961
  30033. #, no-wrap
  30034. msgid "@code{config-file} (default: @code{(postgresql-config-file)})"
  30035. msgstr ""
  30036. #. type: table
  30037. #: guix-git/doc/guix.texi:19965
  30038. 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."
  30039. msgstr ""
  30040. #. type: item
  30041. #: guix-git/doc/guix.texi:19966
  30042. #, no-wrap
  30043. msgid "@code{log-directory} (default: @code{\"/var/log/postgresql\"})"
  30044. msgstr ""
  30045. #. type: table
  30046. #: guix-git/doc/guix.texi:19970
  30047. 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."
  30048. msgstr ""
  30049. #. type: item
  30050. #: guix-git/doc/guix.texi:19971
  30051. #, no-wrap
  30052. msgid "@code{data-directory} (default: @code{\"/var/lib/postgresql/data\"})"
  30053. msgstr ""
  30054. #. type: table
  30055. #: guix-git/doc/guix.texi:19973
  30056. msgid "Directory in which to store the data."
  30057. msgstr ""
  30058. #. type: item
  30059. #: guix-git/doc/guix.texi:19974
  30060. #, no-wrap
  30061. msgid "@code{extension-packages} (default: @code{'()})"
  30062. msgstr ""
  30063. #. type: cindex
  30064. #: guix-git/doc/guix.texi:19975
  30065. #, no-wrap
  30066. msgid "postgresql extension-packages"
  30067. msgstr ""
  30068. #. type: table
  30069. #: guix-git/doc/guix.texi:19980
  30070. 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:"
  30071. msgstr ""
  30072. #. type: cindex
  30073. #: guix-git/doc/guix.texi:19981
  30074. #, no-wrap
  30075. msgid "postgis"
  30076. msgstr ""
  30077. #. type: lisp
  30078. #: guix-git/doc/guix.texi:19984
  30079. #, no-wrap
  30080. msgid ""
  30081. "(use-package-modules databases geo)\n"
  30082. "\n"
  30083. msgstr ""
  30084. #. type: lisp
  30085. #: guix-git/doc/guix.texi:19997
  30086. #, no-wrap
  30087. msgid ""
  30088. "(operating-system\n"
  30089. " ...\n"
  30090. " ;; postgresql is required to run `psql' but postgis is not required for\n"
  30091. " ;; proper operation.\n"
  30092. " (packages (cons* postgresql %base-packages))\n"
  30093. " (services\n"
  30094. " (cons*\n"
  30095. " (service postgresql-service-type\n"
  30096. " (postgresql-configuration\n"
  30097. " (postgresql postgresql-10)\n"
  30098. " (extension-packages (list postgis))))\n"
  30099. " %base-services)))\n"
  30100. msgstr ""
  30101. #. type: table
  30102. #: guix-git/doc/guix.texi:20001
  30103. msgid "Then the extension becomes visible and you can initialise an empty geographic database in this way:"
  30104. msgstr ""
  30105. #. type: example
  30106. #: guix-git/doc/guix.texi:20008
  30107. #, no-wrap
  30108. msgid ""
  30109. "psql -U postgres\n"
  30110. "> create database postgistest;\n"
  30111. "> \\connect postgistest;\n"
  30112. "> create extension postgis;\n"
  30113. "> create extension postgis_topology;\n"
  30114. msgstr ""
  30115. #. type: table
  30116. #: guix-git/doc/guix.texi:20013
  30117. 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."
  30118. msgstr ""
  30119. #. type: deftp
  30120. #: guix-git/doc/guix.texi:20017
  30121. #, no-wrap
  30122. msgid "{Data Type} postgresql-config-file"
  30123. msgstr ""
  30124. #. type: deftp
  30125. #: guix-git/doc/guix.texi:20023
  30126. 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."
  30127. msgstr ""
  30128. #. type: lisp
  30129. #: guix-git/doc/guix.texi:20043
  30130. #, no-wrap
  30131. msgid ""
  30132. "(service postgresql-service-type\n"
  30133. " (postgresql-configuration\n"
  30134. " (config-file\n"
  30135. " (postgresql-config-file\n"
  30136. " (log-destination \"stderr\")\n"
  30137. " (hba-file\n"
  30138. " (plain-file \"pg_hba.conf\"\n"
  30139. " \"\n"
  30140. "local\tall\tall\t\t\ttrust\n"
  30141. "host\tall\tall\t127.0.0.1/32 \tmd5\n"
  30142. "host\tall\tall\t::1/128 \tmd5\"))\n"
  30143. " (extra-config\n"
  30144. " '((\"session_preload_libraries\" \"auto_explain\")\n"
  30145. " (\"random_page_cost\" 2)\n"
  30146. " (\"auto_explain.log_min_duration\" \"100 ms\")\n"
  30147. " (\"work_mem\" \"500 MB\")\n"
  30148. " (\"logging_collector\" #t)\n"
  30149. " (\"log_directory\" \"/var/log/postgresql\")))))))\n"
  30150. msgstr ""
  30151. #. type: item
  30152. #: guix-git/doc/guix.texi:20046
  30153. #, no-wrap
  30154. msgid "@code{log-destination} (default: @code{\"syslog\"})"
  30155. msgstr ""
  30156. #. type: table
  30157. #: guix-git/doc/guix.texi:20049
  30158. msgid "The logging method to use for PostgreSQL@. Multiple values are accepted, separated by commas."
  30159. msgstr ""
  30160. #. type: item
  30161. #: guix-git/doc/guix.texi:20050
  30162. #, no-wrap
  30163. msgid "@code{hba-file} (default: @code{%default-postgres-hba})"
  30164. msgstr ""
  30165. #. type: table
  30166. #: guix-git/doc/guix.texi:20053
  30167. msgid "Filename or G-expression for the host-based authentication configuration."
  30168. msgstr ""
  30169. #. type: item
  30170. #: guix-git/doc/guix.texi:20054
  30171. #, no-wrap
  30172. msgid "@code{ident-file} (default: @code{%default-postgres-ident})"
  30173. msgstr ""
  30174. #. type: table
  30175. #: guix-git/doc/guix.texi:20056
  30176. msgid "Filename or G-expression for the user name mapping configuration."
  30177. msgstr ""
  30178. #. type: item
  30179. #: guix-git/doc/guix.texi:20057
  30180. #, fuzzy, no-wrap
  30181. msgid "@code{socket-directory} (default: @code{#false})"
  30182. msgstr "@code{chdir} (default: @code{#f})"
  30183. #. type: table
  30184. #: guix-git/doc/guix.texi:20062
  30185. 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."
  30186. msgstr ""
  30187. #. type: table
  30188. #: guix-git/doc/guix.texi:20065
  30189. msgid "By default, the @code{#false} value means the PostgreSQL default value will be used, which is currently @samp{/tmp}."
  30190. msgstr ""
  30191. #. type: table
  30192. #: guix-git/doc/guix.texi:20070
  30193. 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."
  30194. msgstr ""
  30195. #. type: table
  30196. #: guix-git/doc/guix.texi:20076
  30197. 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}."
  30198. msgstr ""
  30199. #. type: deffn
  30200. #: guix-git/doc/guix.texi:20080
  30201. #, no-wrap
  30202. msgid "{Scheme Variable} postgresql-role-service-type"
  30203. msgstr ""
  30204. #. type: deffn
  30205. #: guix-git/doc/guix.texi:20083
  30206. msgid "This service allows to create PostgreSQL roles and databases after PostgreSQL service start. Here is an example of its use."
  30207. msgstr ""
  30208. #. type: lisp
  30209. #: guix-git/doc/guix.texi:20091
  30210. #, no-wrap
  30211. msgid ""
  30212. "(service postgresql-role-service-type\n"
  30213. " (postgresql-role-configuration\n"
  30214. " (roles\n"
  30215. " (list (postgresql-role\n"
  30216. " (name \"test\")\n"
  30217. " (create-database? #t))))))\n"
  30218. msgstr ""
  30219. #. type: deffn
  30220. #: guix-git/doc/guix.texi:20095
  30221. msgid "This service can be extended with extra roles, as in this example:"
  30222. msgstr ""
  30223. #. type: lisp
  30224. #: guix-git/doc/guix.texi:20101
  30225. #, no-wrap
  30226. msgid ""
  30227. "(service-extension postgresql-role-service-type\n"
  30228. " (const (postgresql-role\n"
  30229. " (name \"alice\")\n"
  30230. " (create-database? #t))))\n"
  30231. msgstr ""
  30232. #. type: deftp
  30233. #: guix-git/doc/guix.texi:20104
  30234. #, no-wrap
  30235. msgid "{Data Type} postgresql-role"
  30236. msgstr ""
  30237. #. type: deftp
  30238. #: guix-git/doc/guix.texi:20110
  30239. 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."
  30240. msgstr ""
  30241. #. type: table
  30242. #: guix-git/doc/guix.texi:20114
  30243. msgid "The role name."
  30244. msgstr ""
  30245. #. type: item
  30246. #: guix-git/doc/guix.texi:20115
  30247. #, no-wrap
  30248. msgid "@code{permissions} (default: @code{'(createdb login)})"
  30249. msgstr ""
  30250. #. type: table
  30251. #: guix-git/doc/guix.texi:20119
  30252. msgid "The role permissions list. Supported permissions are @code{bypassrls}, @code{createdb}, @code{createrole}, @code{login}, @code{replication} and @code{superuser}."
  30253. msgstr ""
  30254. #. type: item
  30255. #: guix-git/doc/guix.texi:20120
  30256. #, no-wrap
  30257. msgid "@code{create-database?} (default: @code{#f})"
  30258. msgstr ""
  30259. #. type: table
  30260. #: guix-git/doc/guix.texi:20122
  30261. msgid "Whether to create a database with the same name as the role."
  30262. msgstr ""
  30263. #. type: deftp
  30264. #: guix-git/doc/guix.texi:20126
  30265. #, no-wrap
  30266. msgid "{Data Type} postgresql-role-configuration"
  30267. msgstr ""
  30268. #. type: deftp
  30269. #: guix-git/doc/guix.texi:20129
  30270. msgid "Data type representing the configuration of @var{postgresql-role-service-type}."
  30271. msgstr ""
  30272. #. type: item
  30273. #: guix-git/doc/guix.texi:20131
  30274. #, no-wrap
  30275. msgid "@code{host} (default: @code{\"/var/run/postgresql\"})"
  30276. msgstr ""
  30277. #. type: table
  30278. #: guix-git/doc/guix.texi:20133
  30279. msgid "The PostgreSQL host to connect to."
  30280. msgstr ""
  30281. #. type: item
  30282. #: guix-git/doc/guix.texi:20134
  30283. #, no-wrap
  30284. msgid "@code{log} (default: @code{\"/var/log/postgresql_roles.log\"})"
  30285. msgstr ""
  30286. #. type: table
  30287. #: guix-git/doc/guix.texi:20136
  30288. msgid "File name of the log file."
  30289. msgstr ""
  30290. #. type: item
  30291. #: guix-git/doc/guix.texi:20137
  30292. #, no-wrap
  30293. msgid "@code{roles} (default: @code{'()})"
  30294. msgstr ""
  30295. #. type: table
  30296. #: guix-git/doc/guix.texi:20139
  30297. msgid "The initial PostgreSQL roles to create."
  30298. msgstr ""
  30299. #. type: subsubheading
  30300. #: guix-git/doc/guix.texi:20142
  30301. #, no-wrap
  30302. msgid "MariaDB/MySQL"
  30303. msgstr ""
  30304. #. type: defvr
  30305. #: guix-git/doc/guix.texi:20144
  30306. #, no-wrap
  30307. msgid "{Scheme Variable} mysql-service-type"
  30308. msgstr ""
  30309. #. type: defvr
  30310. #: guix-git/doc/guix.texi:20148
  30311. 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."
  30312. msgstr ""
  30313. #. type: deftp
  30314. #: guix-git/doc/guix.texi:20150
  30315. #, no-wrap
  30316. msgid "{Data Type} mysql-configuration"
  30317. msgstr ""
  30318. #. type: deftp
  30319. #: guix-git/doc/guix.texi:20152
  30320. msgid "Data type representing the configuration of @var{mysql-service-type}."
  30321. msgstr ""
  30322. #. type: item
  30323. #: guix-git/doc/guix.texi:20154
  30324. #, no-wrap
  30325. msgid "@code{mysql} (default: @var{mariadb})"
  30326. msgstr ""
  30327. #. type: table
  30328. #: guix-git/doc/guix.texi:20157
  30329. msgid "Package object of the MySQL database server, can be either @var{mariadb} or @var{mysql}."
  30330. msgstr ""
  30331. #. type: table
  30332. #: guix-git/doc/guix.texi:20160
  30333. msgid "For MySQL, a temporary root password will be displayed at activation time. For MariaDB, the root password is empty."
  30334. msgstr ""
  30335. #. type: item
  30336. #: guix-git/doc/guix.texi:20161 guix-git/doc/guix.texi:23981
  30337. #, no-wrap
  30338. msgid "@code{bind-address} (default: @code{\"127.0.0.1\"})"
  30339. msgstr ""
  30340. #. type: table
  30341. #: guix-git/doc/guix.texi:20164
  30342. msgid "The IP on which to listen for network connections. Use @code{\"0.0.0.0\"} to bind to all available network interfaces."
  30343. msgstr ""
  30344. #. type: item
  30345. #: guix-git/doc/guix.texi:20165
  30346. #, no-wrap
  30347. msgid "@code{port} (default: @code{3306})"
  30348. msgstr "@code{porta} (default: @code{3306})"
  30349. #. type: table
  30350. #: guix-git/doc/guix.texi:20167
  30351. msgid "TCP port on which the database server listens for incoming connections."
  30352. msgstr ""
  30353. #. type: item
  30354. #: guix-git/doc/guix.texi:20168
  30355. #, no-wrap
  30356. msgid "@code{socket} (default: @code{\"/run/mysqld/mysqld.sock\"})"
  30357. msgstr ""
  30358. #. type: table
  30359. #: guix-git/doc/guix.texi:20170
  30360. msgid "Socket file to use for local (non-network) connections."
  30361. msgstr ""
  30362. #. type: table
  30363. #: guix-git/doc/guix.texi:20173
  30364. msgid "Additional settings for the @file{my.cnf} configuration file."
  30365. msgstr ""
  30366. #. type: item
  30367. #: guix-git/doc/guix.texi:20174
  30368. #, fuzzy, no-wrap
  30369. #| msgid "@code{replacement} (default: @code{#f})"
  30370. msgid "@code{extra-environment} (default: @code{#~'()})"
  30371. msgstr "@code{replacement} (default: @code{#f})"
  30372. #. type: table
  30373. #: guix-git/doc/guix.texi:20176
  30374. msgid "List of environment variables passed to the @command{mysqld} process."
  30375. msgstr ""
  30376. #. type: item
  30377. #: guix-git/doc/guix.texi:20177
  30378. #, no-wrap
  30379. msgid "@code{auto-upgrade?} (default: @code{#t})"
  30380. msgstr ""
  30381. #. type: table
  30382. #: guix-git/doc/guix.texi:20182
  30383. 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."
  30384. msgstr ""
  30385. #. type: subsubheading
  30386. #: guix-git/doc/guix.texi:20186
  30387. #, no-wrap
  30388. msgid "Memcached"
  30389. msgstr ""
  30390. #. type: defvr
  30391. #: guix-git/doc/guix.texi:20188
  30392. #, no-wrap
  30393. msgid "{Scheme Variable} memcached-service-type"
  30394. msgstr ""
  30395. #. type: defvr
  30396. #: guix-git/doc/guix.texi:20192
  30397. 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."
  30398. msgstr ""
  30399. #. type: lisp
  30400. #: guix-git/doc/guix.texi:20196
  30401. #, no-wrap
  30402. msgid "(service memcached-service-type)\n"
  30403. msgstr ""
  30404. #. type: deftp
  30405. #: guix-git/doc/guix.texi:20198
  30406. #, no-wrap
  30407. msgid "{Data Type} memcached-configuration"
  30408. msgstr ""
  30409. #. type: deftp
  30410. #: guix-git/doc/guix.texi:20200
  30411. msgid "Data type representing the configuration of memcached."
  30412. msgstr ""
  30413. #. type: item
  30414. #: guix-git/doc/guix.texi:20202
  30415. #, no-wrap
  30416. msgid "@code{memcached} (default: @code{memcached})"
  30417. msgstr ""
  30418. #. type: table
  30419. #: guix-git/doc/guix.texi:20204
  30420. msgid "The Memcached package to use."
  30421. msgstr ""
  30422. #. type: item
  30423. #: guix-git/doc/guix.texi:20205
  30424. #, no-wrap
  30425. msgid "@code{interfaces} (default: @code{'(\"0.0.0.0\")})"
  30426. msgstr ""
  30427. #. type: table
  30428. #: guix-git/doc/guix.texi:20207
  30429. msgid "Network interfaces on which to listen."
  30430. msgstr ""
  30431. #. type: item
  30432. #: guix-git/doc/guix.texi:20208
  30433. #, no-wrap
  30434. msgid "@code{tcp-port} (default: @code{11211})"
  30435. msgstr ""
  30436. #. type: table
  30437. #: guix-git/doc/guix.texi:20210
  30438. msgid "Port on which to accept connections."
  30439. msgstr ""
  30440. #. type: item
  30441. #: guix-git/doc/guix.texi:20211
  30442. #, no-wrap
  30443. msgid "@code{udp-port} (default: @code{11211})"
  30444. msgstr ""
  30445. #. type: table
  30446. #: guix-git/doc/guix.texi:20214
  30447. msgid "Port on which to accept UDP connections on, a value of 0 will disable listening on a UDP socket."
  30448. msgstr ""
  30449. #. type: item
  30450. #: guix-git/doc/guix.texi:20215
  30451. #, no-wrap
  30452. msgid "@code{additional-options} (default: @code{'()})"
  30453. msgstr ""
  30454. #. type: table
  30455. #: guix-git/doc/guix.texi:20217
  30456. msgid "Additional command line options to pass to @code{memcached}."
  30457. msgstr ""
  30458. #. type: subsubheading
  30459. #: guix-git/doc/guix.texi:20220
  30460. #, no-wrap
  30461. msgid "Redis"
  30462. msgstr ""
  30463. #. type: defvr
  30464. #: guix-git/doc/guix.texi:20222
  30465. #, no-wrap
  30466. msgid "{Scheme Variable} redis-service-type"
  30467. msgstr ""
  30468. #. type: defvr
  30469. #: guix-git/doc/guix.texi:20225
  30470. msgid "This is the service type for the @uref{https://redis.io/, Redis} key/value store, whose value is a @code{redis-configuration} object."
  30471. msgstr ""
  30472. #. type: deftp
  30473. #: guix-git/doc/guix.texi:20227
  30474. #, no-wrap
  30475. msgid "{Data Type} redis-configuration"
  30476. msgstr ""
  30477. #. type: deftp
  30478. #: guix-git/doc/guix.texi:20229
  30479. msgid "Data type representing the configuration of redis."
  30480. msgstr ""
  30481. #. type: item
  30482. #: guix-git/doc/guix.texi:20231
  30483. #, no-wrap
  30484. msgid "@code{redis} (default: @code{redis})"
  30485. msgstr ""
  30486. #. type: table
  30487. #: guix-git/doc/guix.texi:20233
  30488. msgid "The Redis package to use."
  30489. msgstr ""
  30490. #. type: item
  30491. #: guix-git/doc/guix.texi:20234
  30492. #, no-wrap
  30493. msgid "@code{bind} (default: @code{\"127.0.0.1\"})"
  30494. msgstr ""
  30495. #. type: table
  30496. #: guix-git/doc/guix.texi:20236
  30497. msgid "Network interface on which to listen."
  30498. msgstr ""
  30499. #. type: item
  30500. #: guix-git/doc/guix.texi:20237
  30501. #, no-wrap
  30502. msgid "@code{port} (default: @code{6379})"
  30503. msgstr "@code{porta} (default: @code{6379})"
  30504. #. type: table
  30505. #: guix-git/doc/guix.texi:20240
  30506. msgid "Port on which to accept connections on, a value of 0 will disable listening on a TCP socket."
  30507. msgstr ""
  30508. #. type: item
  30509. #: guix-git/doc/guix.texi:20241
  30510. #, no-wrap
  30511. msgid "@code{working-directory} (default: @code{\"/var/lib/redis\"})"
  30512. msgstr ""
  30513. #. type: table
  30514. #: guix-git/doc/guix.texi:20243
  30515. msgid "Directory in which to store the database and related files."
  30516. msgstr ""
  30517. #. type: cindex
  30518. #: guix-git/doc/guix.texi:20249
  30519. #, no-wrap
  30520. msgid "mail"
  30521. msgstr ""
  30522. #. type: cindex
  30523. #: guix-git/doc/guix.texi:20250
  30524. #, no-wrap
  30525. msgid "email"
  30526. msgstr "e-mail"
  30527. #. type: Plain text
  30528. #: guix-git/doc/guix.texi:20255
  30529. 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."
  30530. msgstr ""
  30531. #. type: subsubheading
  30532. #: guix-git/doc/guix.texi:20256
  30533. #, no-wrap
  30534. msgid "Dovecot Service"
  30535. msgstr ""
  30536. #. type: deffn
  30537. #: guix-git/doc/guix.texi:20258
  30538. #, no-wrap
  30539. msgid "{Scheme Procedure} dovecot-service [#:config (dovecot-configuration)]"
  30540. msgstr ""
  30541. #. type: deffn
  30542. #: guix-git/doc/guix.texi:20260
  30543. msgid "Return a service that runs the Dovecot IMAP/POP3/LMTP mail server."
  30544. msgstr ""
  30545. #. type: Plain text
  30546. #: guix-git/doc/guix.texi:20270
  30547. 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."
  30548. msgstr ""
  30549. #. type: Plain text
  30550. #: guix-git/doc/guix.texi:20273
  30551. msgid "For example, to specify that mail is located at @code{maildir~/.mail}, one would instantiate the Dovecot service like this:"
  30552. msgstr ""
  30553. #. type: lisp
  30554. #: guix-git/doc/guix.texi:20278
  30555. #, no-wrap
  30556. msgid ""
  30557. "(dovecot-service #:config\n"
  30558. " (dovecot-configuration\n"
  30559. " (mail-location \"maildir:~/.mail\")))\n"
  30560. msgstr ""
  30561. #. type: Plain text
  30562. #: guix-git/doc/guix.texi:20286
  30563. 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."
  30564. msgstr ""
  30565. #. type: Plain text
  30566. #: guix-git/doc/guix.texi:20296
  30567. msgid "Available @code{dovecot-configuration} fields are:"
  30568. msgstr ""
  30569. #. type: deftypevr
  30570. #: guix-git/doc/guix.texi:20297
  30571. #, no-wrap
  30572. msgid "{@code{dovecot-configuration} parameter} package dovecot"
  30573. msgstr ""
  30574. #. type: deftypevr
  30575. #: guix-git/doc/guix.texi:20299 guix-git/doc/guix.texi:21648
  30576. msgid "The dovecot package."
  30577. msgstr ""
  30578. #. type: deftypevr
  30579. #: guix-git/doc/guix.texi:20301
  30580. #, no-wrap
  30581. msgid "{@code{dovecot-configuration} parameter} comma-separated-string-list listen"
  30582. msgstr ""
  30583. #. type: deftypevr
  30584. #: guix-git/doc/guix.texi:20307
  30585. 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."
  30586. msgstr ""
  30587. #. type: deftypevr
  30588. #: guix-git/doc/guix.texi:20309
  30589. #, no-wrap
  30590. msgid "{@code{dovecot-configuration} parameter} protocol-configuration-list protocols"
  30591. msgstr ""
  30592. #. type: deftypevr
  30593. #: guix-git/doc/guix.texi:20312
  30594. msgid "List of protocols we want to serve. Available protocols include @samp{imap}, @samp{pop3}, and @samp{lmtp}."
  30595. msgstr ""
  30596. #. type: deftypevr
  30597. #: guix-git/doc/guix.texi:20314
  30598. msgid "Available @code{protocol-configuration} fields are:"
  30599. msgstr ""
  30600. #. type: deftypevr
  30601. #: guix-git/doc/guix.texi:20315
  30602. #, no-wrap
  30603. msgid "{@code{protocol-configuration} parameter} string name"
  30604. msgstr ""
  30605. #. type: deftypevr
  30606. #: guix-git/doc/guix.texi:20317
  30607. msgid "The name of the protocol."
  30608. msgstr ""
  30609. #. type: deftypevr
  30610. #: guix-git/doc/guix.texi:20319
  30611. #, no-wrap
  30612. msgid "{@code{protocol-configuration} parameter} string auth-socket-path"
  30613. msgstr ""
  30614. #. type: deftypevr
  30615. #: guix-git/doc/guix.texi:20323
  30616. 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\"}."
  30617. msgstr ""
  30618. #. type: deftypevr
  30619. #: guix-git/doc/guix.texi:20325
  30620. #, no-wrap
  30621. msgid "{@code{protocol-configuration} parameter} boolean imap-metadata?"
  30622. msgstr ""
  30623. #. type: deftypevr
  30624. #: guix-git/doc/guix.texi:20330
  30625. 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."
  30626. msgstr ""
  30627. #. type: deftypevr
  30628. #: guix-git/doc/guix.texi:20333
  30629. msgid "If this is @samp{#t}, you must also specify a dictionary @i{via} the @code{mail-attribute-dict} setting."
  30630. msgstr ""
  30631. #. type: deftypevr
  30632. #: guix-git/doc/guix.texi:20338
  30633. #, no-wrap
  30634. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-notify-capabilities"
  30635. msgstr ""
  30636. #. type: deftypevr
  30637. #: guix-git/doc/guix.texi:20343
  30638. 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."
  30639. msgstr ""
  30640. #. type: deftypevr
  30641. #: guix-git/doc/guix.texi:20347
  30642. #, no-wrap
  30643. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-sieve-capability"
  30644. msgstr ""
  30645. #. type: deftypevr
  30646. #: guix-git/doc/guix.texi:20352
  30647. 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."
  30648. msgstr ""
  30649. #. type: deftypevr
  30650. #: guix-git/doc/guix.texi:20357
  30651. #, no-wrap
  30652. msgid "{@code{protocol-configuration} parameter} space-separated-string-list mail-plugins"
  30653. msgstr ""
  30654. #. type: deftypevr
  30655. #: guix-git/doc/guix.texi:20359
  30656. msgid "Space separated list of plugins to load."
  30657. msgstr ""
  30658. #. type: deftypevr
  30659. #: guix-git/doc/guix.texi:20361
  30660. #, no-wrap
  30661. msgid "{@code{protocol-configuration} parameter} non-negative-integer mail-max-userip-connections"
  30662. msgstr ""
  30663. #. type: deftypevr
  30664. #: guix-git/doc/guix.texi:20365
  30665. 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}."
  30666. msgstr ""
  30667. #. type: deftypevr
  30668. #: guix-git/doc/guix.texi:20369
  30669. #, no-wrap
  30670. msgid "{@code{dovecot-configuration} parameter} service-configuration-list services"
  30671. msgstr ""
  30672. #. type: deftypevr
  30673. #: guix-git/doc/guix.texi:20373
  30674. msgid "List of services to enable. Available services include @samp{imap}, @samp{imap-login}, @samp{pop3}, @samp{pop3-login}, @samp{auth}, and @samp{lmtp}."
  30675. msgstr ""
  30676. #. type: deftypevr
  30677. #: guix-git/doc/guix.texi:20375
  30678. msgid "Available @code{service-configuration} fields are:"
  30679. msgstr ""
  30680. #. type: deftypevr
  30681. #: guix-git/doc/guix.texi:20376
  30682. #, no-wrap
  30683. msgid "{@code{service-configuration} parameter} string kind"
  30684. msgstr ""
  30685. #. type: deftypevr
  30686. #: guix-git/doc/guix.texi:20381
  30687. 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."
  30688. msgstr ""
  30689. #. type: deftypevr
  30690. #: guix-git/doc/guix.texi:20383
  30691. #, no-wrap
  30692. msgid "{@code{service-configuration} parameter} listener-configuration-list listeners"
  30693. msgstr ""
  30694. #. type: deftypevr
  30695. #: guix-git/doc/guix.texi:20388
  30696. 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{()}."
  30697. msgstr ""
  30698. #. type: deftypevr
  30699. #: guix-git/doc/guix.texi:20390
  30700. msgid "Available @code{unix-listener-configuration} fields are:"
  30701. msgstr ""
  30702. #. type: deftypevr
  30703. #: guix-git/doc/guix.texi:20391
  30704. #, no-wrap
  30705. msgid "{@code{unix-listener-configuration} parameter} string path"
  30706. msgstr ""
  30707. #. type: deftypevr
  30708. #: guix-git/doc/guix.texi:20394 guix-git/doc/guix.texi:20417
  30709. msgid "Path to the file, relative to @code{base-dir} field. This is also used as the section name."
  30710. msgstr ""
  30711. #. type: deftypevr
  30712. #: guix-git/doc/guix.texi:20396
  30713. #, no-wrap
  30714. msgid "{@code{unix-listener-configuration} parameter} string mode"
  30715. msgstr ""
  30716. #. type: deftypevr
  30717. #: guix-git/doc/guix.texi:20399 guix-git/doc/guix.texi:20422
  30718. msgid "The access mode for the socket. Defaults to @samp{\"0600\"}."
  30719. msgstr ""
  30720. #. type: deftypevr
  30721. #: guix-git/doc/guix.texi:20401
  30722. #, no-wrap
  30723. msgid "{@code{unix-listener-configuration} parameter} string user"
  30724. msgstr ""
  30725. #. type: deftypevr
  30726. #: guix-git/doc/guix.texi:20404 guix-git/doc/guix.texi:20427
  30727. msgid "The user to own the socket. Defaults to @samp{\"\"}."
  30728. msgstr ""
  30729. #. type: deftypevr
  30730. #: guix-git/doc/guix.texi:20406
  30731. #, no-wrap
  30732. msgid "{@code{unix-listener-configuration} parameter} string group"
  30733. msgstr ""
  30734. #. type: deftypevr
  30735. #: guix-git/doc/guix.texi:20409 guix-git/doc/guix.texi:20432
  30736. msgid "The group to own the socket. Defaults to @samp{\"\"}."
  30737. msgstr ""
  30738. #. type: deftypevr
  30739. #: guix-git/doc/guix.texi:20413
  30740. msgid "Available @code{fifo-listener-configuration} fields are:"
  30741. msgstr ""
  30742. #. type: deftypevr
  30743. #: guix-git/doc/guix.texi:20414
  30744. #, no-wrap
  30745. msgid "{@code{fifo-listener-configuration} parameter} string path"
  30746. msgstr ""
  30747. #. type: deftypevr
  30748. #: guix-git/doc/guix.texi:20419
  30749. #, no-wrap
  30750. msgid "{@code{fifo-listener-configuration} parameter} string mode"
  30751. msgstr ""
  30752. #. type: deftypevr
  30753. #: guix-git/doc/guix.texi:20424
  30754. #, no-wrap
  30755. msgid "{@code{fifo-listener-configuration} parameter} string user"
  30756. msgstr ""
  30757. #. type: deftypevr
  30758. #: guix-git/doc/guix.texi:20429
  30759. #, no-wrap
  30760. msgid "{@code{fifo-listener-configuration} parameter} string group"
  30761. msgstr ""
  30762. #. type: deftypevr
  30763. #: guix-git/doc/guix.texi:20436
  30764. msgid "Available @code{inet-listener-configuration} fields are:"
  30765. msgstr ""
  30766. #. type: deftypevr
  30767. #: guix-git/doc/guix.texi:20437
  30768. #, no-wrap
  30769. msgid "{@code{inet-listener-configuration} parameter} string protocol"
  30770. msgstr ""
  30771. #. type: deftypevr
  30772. #: guix-git/doc/guix.texi:20439
  30773. msgid "The protocol to listen for."
  30774. msgstr ""
  30775. #. type: deftypevr
  30776. #: guix-git/doc/guix.texi:20441
  30777. #, no-wrap
  30778. msgid "{@code{inet-listener-configuration} parameter} string address"
  30779. msgstr ""
  30780. #. type: deftypevr
  30781. #: guix-git/doc/guix.texi:20444
  30782. msgid "The address on which to listen, or empty for all addresses. Defaults to @samp{\"\"}."
  30783. msgstr ""
  30784. #. type: deftypevr
  30785. #: guix-git/doc/guix.texi:20446
  30786. #, no-wrap
  30787. msgid "{@code{inet-listener-configuration} parameter} non-negative-integer port"
  30788. msgstr ""
  30789. #. type: deftypevr
  30790. #: guix-git/doc/guix.texi:20448
  30791. msgid "The port on which to listen."
  30792. msgstr ""
  30793. #. type: deftypevr
  30794. #: guix-git/doc/guix.texi:20450
  30795. #, no-wrap
  30796. msgid "{@code{inet-listener-configuration} parameter} boolean ssl?"
  30797. msgstr ""
  30798. #. type: deftypevr
  30799. #: guix-git/doc/guix.texi:20454
  30800. msgid "Whether to use SSL for this service; @samp{yes}, @samp{no}, or @samp{required}. Defaults to @samp{#t}."
  30801. msgstr ""
  30802. #. type: deftypevr
  30803. #: guix-git/doc/guix.texi:20458
  30804. #, no-wrap
  30805. msgid "{@code{service-configuration} parameter} non-negative-integer client-limit"
  30806. msgstr ""
  30807. #. type: deftypevr
  30808. #: guix-git/doc/guix.texi:20463
  30809. 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."
  30810. msgstr ""
  30811. #. type: deftypevr
  30812. #: guix-git/doc/guix.texi:20468
  30813. #, no-wrap
  30814. msgid "{@code{service-configuration} parameter} non-negative-integer service-count"
  30815. msgstr ""
  30816. #. type: deftypevr
  30817. #: guix-git/doc/guix.texi:20473
  30818. 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}."
  30819. msgstr ""
  30820. #. type: deftypevr
  30821. #: guix-git/doc/guix.texi:20476
  30822. #, no-wrap
  30823. msgid "{@code{service-configuration} parameter} non-negative-integer process-limit"
  30824. msgstr ""
  30825. #. type: deftypevr
  30826. #: guix-git/doc/guix.texi:20479
  30827. msgid "Maximum number of processes that can exist for this service. If set to 0, @code{default-process-limit} is used instead."
  30828. msgstr ""
  30829. #. type: deftypevr
  30830. #: guix-git/doc/guix.texi:20484
  30831. #, no-wrap
  30832. msgid "{@code{service-configuration} parameter} non-negative-integer process-min-avail"
  30833. msgstr ""
  30834. #. type: deftypevr
  30835. #: guix-git/doc/guix.texi:20487
  30836. msgid "Number of processes to always keep waiting for more connections. Defaults to @samp{0}."
  30837. msgstr ""
  30838. #. type: deftypevr
  30839. #: guix-git/doc/guix.texi:20489
  30840. #, no-wrap
  30841. msgid "{@code{service-configuration} parameter} non-negative-integer vsz-limit"
  30842. msgstr ""
  30843. #. type: deftypevr
  30844. #: guix-git/doc/guix.texi:20493
  30845. msgid "If you set @samp{service-count 0}, you probably need to grow this. Defaults to @samp{256000000}."
  30846. msgstr ""
  30847. #. type: deftypevr
  30848. #: guix-git/doc/guix.texi:20497
  30849. #, no-wrap
  30850. msgid "{@code{dovecot-configuration} parameter} dict-configuration dict"
  30851. msgstr ""
  30852. #. type: deftypevr
  30853. #: guix-git/doc/guix.texi:20500
  30854. msgid "Dict configuration, as created by the @code{dict-configuration} constructor."
  30855. msgstr ""
  30856. #. type: deftypevr
  30857. #: guix-git/doc/guix.texi:20502
  30858. msgid "Available @code{dict-configuration} fields are:"
  30859. msgstr ""
  30860. #. type: deftypevr
  30861. #: guix-git/doc/guix.texi:20503
  30862. #, no-wrap
  30863. msgid "{@code{dict-configuration} parameter} free-form-fields entries"
  30864. msgstr ""
  30865. #. type: deftypevr
  30866. #: guix-git/doc/guix.texi:20506
  30867. msgid "A list of key-value pairs that this dict should hold. Defaults to @samp{()}."
  30868. msgstr ""
  30869. #. type: deftypevr
  30870. #: guix-git/doc/guix.texi:20510
  30871. #, no-wrap
  30872. msgid "{@code{dovecot-configuration} parameter} passdb-configuration-list passdbs"
  30873. msgstr ""
  30874. #. type: deftypevr
  30875. #: guix-git/doc/guix.texi:20513
  30876. msgid "A list of passdb configurations, each one created by the @code{passdb-configuration} constructor."
  30877. msgstr ""
  30878. #. type: deftypevr
  30879. #: guix-git/doc/guix.texi:20515
  30880. msgid "Available @code{passdb-configuration} fields are:"
  30881. msgstr ""
  30882. #. type: deftypevr
  30883. #: guix-git/doc/guix.texi:20516
  30884. #, no-wrap
  30885. msgid "{@code{passdb-configuration} parameter} string driver"
  30886. msgstr ""
  30887. #. type: deftypevr
  30888. #: guix-git/doc/guix.texi:20521
  30889. 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\"}."
  30890. msgstr ""
  30891. #. type: deftypevr
  30892. #: guix-git/doc/guix.texi:20523
  30893. #, no-wrap
  30894. msgid "{@code{passdb-configuration} parameter} space-separated-string-list args"
  30895. msgstr ""
  30896. #. type: deftypevr
  30897. #: guix-git/doc/guix.texi:20526
  30898. msgid "Space separated list of arguments to the passdb driver. Defaults to @samp{\"\"}."
  30899. msgstr ""
  30900. #. type: deftypevr
  30901. #: guix-git/doc/guix.texi:20530
  30902. #, no-wrap
  30903. msgid "{@code{dovecot-configuration} parameter} userdb-configuration-list userdbs"
  30904. msgstr ""
  30905. #. type: deftypevr
  30906. #: guix-git/doc/guix.texi:20533
  30907. msgid "List of userdb configurations, each one created by the @code{userdb-configuration} constructor."
  30908. msgstr ""
  30909. #. type: deftypevr
  30910. #: guix-git/doc/guix.texi:20535
  30911. msgid "Available @code{userdb-configuration} fields are:"
  30912. msgstr ""
  30913. #. type: deftypevr
  30914. #: guix-git/doc/guix.texi:20536
  30915. #, no-wrap
  30916. msgid "{@code{userdb-configuration} parameter} string driver"
  30917. msgstr ""
  30918. #. type: deftypevr
  30919. #: guix-git/doc/guix.texi:20540
  30920. msgid "The driver that the userdb should use. Valid values include @samp{passwd} and @samp{static}. Defaults to @samp{\"passwd\"}."
  30921. msgstr ""
  30922. #. type: deftypevr
  30923. #: guix-git/doc/guix.texi:20542
  30924. #, no-wrap
  30925. msgid "{@code{userdb-configuration} parameter} space-separated-string-list args"
  30926. msgstr ""
  30927. #. type: deftypevr
  30928. #: guix-git/doc/guix.texi:20545
  30929. msgid "Space separated list of arguments to the userdb driver. Defaults to @samp{\"\"}."
  30930. msgstr ""
  30931. #. type: deftypevr
  30932. #: guix-git/doc/guix.texi:20547
  30933. #, no-wrap
  30934. msgid "{@code{userdb-configuration} parameter} free-form-args override-fields"
  30935. msgstr ""
  30936. #. type: deftypevr
  30937. #: guix-git/doc/guix.texi:20550
  30938. msgid "Override fields from passwd. Defaults to @samp{()}."
  30939. msgstr ""
  30940. #. type: deftypevr
  30941. #: guix-git/doc/guix.texi:20554
  30942. #, no-wrap
  30943. msgid "{@code{dovecot-configuration} parameter} plugin-configuration plugin-configuration"
  30944. msgstr ""
  30945. #. type: deftypevr
  30946. #: guix-git/doc/guix.texi:20557
  30947. msgid "Plug-in configuration, created by the @code{plugin-configuration} constructor."
  30948. msgstr ""
  30949. #. type: deftypevr
  30950. #: guix-git/doc/guix.texi:20559
  30951. #, no-wrap
  30952. msgid "{@code{dovecot-configuration} parameter} list-of-namespace-configuration namespaces"
  30953. msgstr ""
  30954. #. type: deftypevr
  30955. #: guix-git/doc/guix.texi:20562
  30956. msgid "List of namespaces. Each item in the list is created by the @code{namespace-configuration} constructor."
  30957. msgstr ""
  30958. #. type: deftypevr
  30959. #: guix-git/doc/guix.texi:20564
  30960. msgid "Available @code{namespace-configuration} fields are:"
  30961. msgstr ""
  30962. #. type: deftypevr
  30963. #: guix-git/doc/guix.texi:20565
  30964. #, no-wrap
  30965. msgid "{@code{namespace-configuration} parameter} string name"
  30966. msgstr ""
  30967. #. type: deftypevr
  30968. #: guix-git/doc/guix.texi:20567
  30969. msgid "Name for this namespace."
  30970. msgstr ""
  30971. #. type: deftypevr
  30972. #: guix-git/doc/guix.texi:20569
  30973. #, no-wrap
  30974. msgid "{@code{namespace-configuration} parameter} string type"
  30975. msgstr ""
  30976. #. type: deftypevr
  30977. #: guix-git/doc/guix.texi:20572
  30978. msgid "Namespace type: @samp{private}, @samp{shared} or @samp{public}. Defaults to @samp{\"private\"}."
  30979. msgstr ""
  30980. #. type: deftypevr
  30981. #: guix-git/doc/guix.texi:20574
  30982. #, no-wrap
  30983. msgid "{@code{namespace-configuration} parameter} string separator"
  30984. msgstr ""
  30985. #. type: deftypevr
  30986. #: guix-git/doc/guix.texi:20580
  30987. 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{\"\"}."
  30988. msgstr ""
  30989. #. type: deftypevr
  30990. #: guix-git/doc/guix.texi:20582
  30991. #, no-wrap
  30992. msgid "{@code{namespace-configuration} parameter} string prefix"
  30993. msgstr ""
  30994. #. type: deftypevr
  30995. #: guix-git/doc/guix.texi:20586
  30996. msgid "Prefix required to access this namespace. This needs to be different for all namespaces. For example @samp{Public/}. Defaults to @samp{\"\"}."
  30997. msgstr ""
  30998. #. type: deftypevr
  30999. #: guix-git/doc/guix.texi:20588
  31000. #, no-wrap
  31001. msgid "{@code{namespace-configuration} parameter} string location"
  31002. msgstr ""
  31003. #. type: deftypevr
  31004. #: guix-git/doc/guix.texi:20592
  31005. 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{\"\"}."
  31006. msgstr ""
  31007. #. type: deftypevr
  31008. #: guix-git/doc/guix.texi:20594
  31009. #, no-wrap
  31010. msgid "{@code{namespace-configuration} parameter} boolean inbox?"
  31011. msgstr ""
  31012. #. type: deftypevr
  31013. #: guix-git/doc/guix.texi:20598
  31014. msgid "There can be only one INBOX, and this setting defines which namespace has it. Defaults to @samp{#f}."
  31015. msgstr ""
  31016. #. type: deftypevr
  31017. #: guix-git/doc/guix.texi:20600
  31018. #, no-wrap
  31019. msgid "{@code{namespace-configuration} parameter} boolean hidden?"
  31020. msgstr ""
  31021. #. type: deftypevr
  31022. #: guix-git/doc/guix.texi:20608
  31023. 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}."
  31024. msgstr ""
  31025. #. type: deftypevr
  31026. #: guix-git/doc/guix.texi:20610
  31027. #, no-wrap
  31028. msgid "{@code{namespace-configuration} parameter} boolean list?"
  31029. msgstr ""
  31030. #. type: deftypevr
  31031. #: guix-git/doc/guix.texi:20616
  31032. 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}."
  31033. msgstr ""
  31034. #. type: deftypevr
  31035. #: guix-git/doc/guix.texi:20618
  31036. #, no-wrap
  31037. msgid "{@code{namespace-configuration} parameter} boolean subscriptions?"
  31038. msgstr ""
  31039. #. type: deftypevr
  31040. #: guix-git/doc/guix.texi:20623
  31041. 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}."
  31042. msgstr ""
  31043. #. type: deftypevr
  31044. #: guix-git/doc/guix.texi:20625
  31045. #, no-wrap
  31046. msgid "{@code{namespace-configuration} parameter} mailbox-configuration-list mailboxes"
  31047. msgstr ""
  31048. #. type: deftypevr
  31049. #: guix-git/doc/guix.texi:20628
  31050. msgid "List of predefined mailboxes in this namespace. Defaults to @samp{()}."
  31051. msgstr ""
  31052. #. type: deftypevr
  31053. #: guix-git/doc/guix.texi:20630
  31054. msgid "Available @code{mailbox-configuration} fields are:"
  31055. msgstr ""
  31056. #. type: deftypevr
  31057. #: guix-git/doc/guix.texi:20631
  31058. #, no-wrap
  31059. msgid "{@code{mailbox-configuration} parameter} string name"
  31060. msgstr ""
  31061. #. type: deftypevr
  31062. #: guix-git/doc/guix.texi:20633
  31063. msgid "Name for this mailbox."
  31064. msgstr ""
  31065. #. type: deftypevr
  31066. #: guix-git/doc/guix.texi:20635
  31067. #, no-wrap
  31068. msgid "{@code{mailbox-configuration} parameter} string auto"
  31069. msgstr ""
  31070. #. type: deftypevr
  31071. #: guix-git/doc/guix.texi:20639
  31072. msgid "@samp{create} will automatically create this mailbox. @samp{subscribe} will both create and subscribe to the mailbox. Defaults to @samp{\"no\"}."
  31073. msgstr ""
  31074. #. type: deftypevr
  31075. #: guix-git/doc/guix.texi:20641
  31076. #, no-wrap
  31077. msgid "{@code{mailbox-configuration} parameter} space-separated-string-list special-use"
  31078. msgstr ""
  31079. #. type: deftypevr
  31080. #: guix-git/doc/guix.texi:20646
  31081. 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{()}."
  31082. msgstr ""
  31083. #. type: deftypevr
  31084. #: guix-git/doc/guix.texi:20652
  31085. #, no-wrap
  31086. msgid "{@code{dovecot-configuration} parameter} file-name base-dir"
  31087. msgstr ""
  31088. #. type: deftypevr
  31089. #: guix-git/doc/guix.texi:20655
  31090. msgid "Base directory where to store runtime data. Defaults to @samp{\"/var/run/dovecot/\"}."
  31091. msgstr ""
  31092. #. type: deftypevr
  31093. #: guix-git/doc/guix.texi:20657
  31094. #, no-wrap
  31095. msgid "{@code{dovecot-configuration} parameter} string login-greeting"
  31096. msgstr ""
  31097. #. type: deftypevr
  31098. #: guix-git/doc/guix.texi:20660
  31099. msgid "Greeting message for clients. Defaults to @samp{\"Dovecot ready.\"}."
  31100. msgstr ""
  31101. #. type: deftypevr
  31102. #: guix-git/doc/guix.texi:20662
  31103. #, no-wrap
  31104. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-trusted-networks"
  31105. msgstr ""
  31106. #. type: deftypevr
  31107. #: guix-git/doc/guix.texi:20669
  31108. 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{()}."
  31109. msgstr ""
  31110. #. type: deftypevr
  31111. #: guix-git/doc/guix.texi:20671
  31112. #, no-wrap
  31113. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-access-sockets"
  31114. msgstr ""
  31115. #. type: deftypevr
  31116. #: guix-git/doc/guix.texi:20674
  31117. msgid "List of login access check sockets (e.g.@: tcpwrap). Defaults to @samp{()}."
  31118. msgstr ""
  31119. #. type: deftypevr
  31120. #: guix-git/doc/guix.texi:20676
  31121. #, no-wrap
  31122. msgid "{@code{dovecot-configuration} parameter} boolean verbose-proctitle?"
  31123. msgstr ""
  31124. #. type: deftypevr
  31125. #: guix-git/doc/guix.texi:20682
  31126. 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}."
  31127. msgstr ""
  31128. #. type: deftypevr
  31129. #: guix-git/doc/guix.texi:20684
  31130. #, no-wrap
  31131. msgid "{@code{dovecot-configuration} parameter} boolean shutdown-clients?"
  31132. msgstr ""
  31133. #. type: deftypevr
  31134. #: guix-git/doc/guix.texi:20690
  31135. 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}."
  31136. msgstr ""
  31137. #. type: deftypevr
  31138. #: guix-git/doc/guix.texi:20692
  31139. #, no-wrap
  31140. msgid "{@code{dovecot-configuration} parameter} non-negative-integer doveadm-worker-count"
  31141. msgstr ""
  31142. #. type: deftypevr
  31143. #: guix-git/doc/guix.texi:20696
  31144. 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}."
  31145. msgstr ""
  31146. #. type: deftypevr
  31147. #: guix-git/doc/guix.texi:20698
  31148. #, no-wrap
  31149. msgid "{@code{dovecot-configuration} parameter} string doveadm-socket-path"
  31150. msgstr ""
  31151. #. type: deftypevr
  31152. #: guix-git/doc/guix.texi:20701
  31153. msgid "UNIX socket or host:port used for connecting to doveadm server. Defaults to @samp{\"doveadm-server\"}."
  31154. msgstr ""
  31155. #. type: deftypevr
  31156. #: guix-git/doc/guix.texi:20703
  31157. #, no-wrap
  31158. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list import-environment"
  31159. msgstr ""
  31160. #. type: deftypevr
  31161. #: guix-git/doc/guix.texi:20707
  31162. 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."
  31163. msgstr ""
  31164. #. type: deftypevr
  31165. #: guix-git/doc/guix.texi:20709
  31166. #, no-wrap
  31167. msgid "{@code{dovecot-configuration} parameter} boolean disable-plaintext-auth?"
  31168. msgstr ""
  31169. #. type: deftypevr
  31170. #: guix-git/doc/guix.texi:20716
  31171. 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}."
  31172. msgstr ""
  31173. #. type: deftypevr
  31174. #: guix-git/doc/guix.texi:20718
  31175. #, no-wrap
  31176. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-cache-size"
  31177. msgstr ""
  31178. #. type: deftypevr
  31179. #: guix-git/doc/guix.texi:20723
  31180. 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}."
  31181. msgstr ""
  31182. #. type: deftypevr
  31183. #: guix-git/doc/guix.texi:20725
  31184. #, no-wrap
  31185. msgid "{@code{dovecot-configuration} parameter} string auth-cache-ttl"
  31186. msgstr ""
  31187. #. type: deftypevr
  31188. #: guix-git/doc/guix.texi:20733
  31189. 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\"}."
  31190. msgstr ""
  31191. #. type: deftypevr
  31192. #: guix-git/doc/guix.texi:20735
  31193. #, no-wrap
  31194. msgid "{@code{dovecot-configuration} parameter} string auth-cache-negative-ttl"
  31195. msgstr ""
  31196. #. type: deftypevr
  31197. #: guix-git/doc/guix.texi:20739
  31198. msgid "TTL for negative hits (user not found, password mismatch). 0 disables caching them completely. Defaults to @samp{\"1 hour\"}."
  31199. msgstr ""
  31200. #. type: deftypevr
  31201. #: guix-git/doc/guix.texi:20741
  31202. #, no-wrap
  31203. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-realms"
  31204. msgstr ""
  31205. #. type: deftypevr
  31206. #: guix-git/doc/guix.texi:20747
  31207. 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{()}."
  31208. msgstr ""
  31209. #. type: deftypevr
  31210. #: guix-git/doc/guix.texi:20749
  31211. #, no-wrap
  31212. msgid "{@code{dovecot-configuration} parameter} string auth-default-realm"
  31213. msgstr ""
  31214. #. type: deftypevr
  31215. #: guix-git/doc/guix.texi:20754
  31216. 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{\"\"}."
  31217. msgstr ""
  31218. #. type: deftypevr
  31219. #: guix-git/doc/guix.texi:20756
  31220. #, no-wrap
  31221. msgid "{@code{dovecot-configuration} parameter} string auth-username-chars"
  31222. msgstr ""
  31223. #. type: deftypevr
  31224. #: guix-git/doc/guix.texi:20763
  31225. 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.-_@@\"}."
  31226. msgstr ""
  31227. #. type: deftypevr
  31228. #: guix-git/doc/guix.texi:20765
  31229. #, no-wrap
  31230. msgid "{@code{dovecot-configuration} parameter} string auth-username-translation"
  31231. msgstr ""
  31232. #. type: deftypevr
  31233. #: guix-git/doc/guix.texi:20771
  31234. 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{\"\"}."
  31235. msgstr ""
  31236. #. type: deftypevr
  31237. #: guix-git/doc/guix.texi:20773
  31238. #, no-wrap
  31239. msgid "{@code{dovecot-configuration} parameter} string auth-username-format"
  31240. msgstr ""
  31241. #. type: deftypevr
  31242. #: guix-git/doc/guix.texi:20780
  31243. 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\"}."
  31244. msgstr ""
  31245. #. type: deftypevr
  31246. #: guix-git/doc/guix.texi:20782
  31247. #, no-wrap
  31248. msgid "{@code{dovecot-configuration} parameter} string auth-master-user-separator"
  31249. msgstr ""
  31250. #. type: deftypevr
  31251. #: guix-git/doc/guix.texi:20790
  31252. 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{\"\"}."
  31253. msgstr ""
  31254. #. type: deftypevr
  31255. #: guix-git/doc/guix.texi:20792
  31256. #, no-wrap
  31257. msgid "{@code{dovecot-configuration} parameter} string auth-anonymous-username"
  31258. msgstr ""
  31259. #. type: deftypevr
  31260. #: guix-git/doc/guix.texi:20796
  31261. msgid "Username to use for users logging in with ANONYMOUS SASL mechanism. Defaults to @samp{\"anonymous\"}."
  31262. msgstr ""
  31263. #. type: deftypevr
  31264. #: guix-git/doc/guix.texi:20798
  31265. #, no-wrap
  31266. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-worker-max-count"
  31267. msgstr ""
  31268. #. type: deftypevr
  31269. #: guix-git/doc/guix.texi:20803
  31270. 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}."
  31271. msgstr ""
  31272. #. type: deftypevr
  31273. #: guix-git/doc/guix.texi:20805
  31274. #, no-wrap
  31275. msgid "{@code{dovecot-configuration} parameter} string auth-gssapi-hostname"
  31276. msgstr ""
  31277. #. type: deftypevr
  31278. #: guix-git/doc/guix.texi:20810
  31279. 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{\"\"}."
  31280. msgstr ""
  31281. #. type: deftypevr
  31282. #: guix-git/doc/guix.texi:20812
  31283. #, no-wrap
  31284. msgid "{@code{dovecot-configuration} parameter} string auth-krb5-keytab"
  31285. msgstr ""
  31286. #. type: deftypevr
  31287. #: guix-git/doc/guix.texi:20818
  31288. 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{\"\"}."
  31289. msgstr ""
  31290. #. type: deftypevr
  31291. #: guix-git/doc/guix.texi:20820
  31292. #, no-wrap
  31293. msgid "{@code{dovecot-configuration} parameter} boolean auth-use-winbind?"
  31294. msgstr ""
  31295. #. type: deftypevr
  31296. #: guix-git/doc/guix.texi:20825
  31297. 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}."
  31298. msgstr ""
  31299. #. type: deftypevr
  31300. #: guix-git/doc/guix.texi:20827
  31301. #, no-wrap
  31302. msgid "{@code{dovecot-configuration} parameter} file-name auth-winbind-helper-path"
  31303. msgstr ""
  31304. #. type: deftypevr
  31305. #: guix-git/doc/guix.texi:20830
  31306. msgid "Path for Samba's @samp{ntlm-auth} helper binary. Defaults to @samp{\"/usr/bin/ntlm_auth\"}."
  31307. msgstr ""
  31308. #. type: deftypevr
  31309. #: guix-git/doc/guix.texi:20832
  31310. #, no-wrap
  31311. msgid "{@code{dovecot-configuration} parameter} string auth-failure-delay"
  31312. msgstr ""
  31313. #. type: deftypevr
  31314. #: guix-git/doc/guix.texi:20835
  31315. msgid "Time to delay before replying to failed authentications. Defaults to @samp{\"2 secs\"}."
  31316. msgstr ""
  31317. #. type: deftypevr
  31318. #: guix-git/doc/guix.texi:20837
  31319. #, no-wrap
  31320. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-require-client-cert?"
  31321. msgstr ""
  31322. #. type: deftypevr
  31323. #: guix-git/doc/guix.texi:20841
  31324. msgid "Require a valid SSL client certificate or the authentication fails. Defaults to @samp{#f}."
  31325. msgstr ""
  31326. #. type: deftypevr
  31327. #: guix-git/doc/guix.texi:20843
  31328. #, no-wrap
  31329. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-username-from-cert?"
  31330. msgstr ""
  31331. #. type: deftypevr
  31332. #: guix-git/doc/guix.texi:20848
  31333. 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}."
  31334. msgstr ""
  31335. #. type: deftypevr
  31336. #: guix-git/doc/guix.texi:20850
  31337. #, no-wrap
  31338. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-mechanisms"
  31339. msgstr ""
  31340. #. type: deftypevr
  31341. #: guix-git/doc/guix.texi:20856
  31342. 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."
  31343. msgstr ""
  31344. #. type: deftypevr
  31345. #: guix-git/doc/guix.texi:20858
  31346. #, no-wrap
  31347. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-servers"
  31348. msgstr ""
  31349. #. type: deftypevr
  31350. #: guix-git/doc/guix.texi:20863
  31351. 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{()}."
  31352. msgstr ""
  31353. #. type: deftypevr
  31354. #: guix-git/doc/guix.texi:20865
  31355. #, no-wrap
  31356. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-mail-servers"
  31357. msgstr ""
  31358. #. type: deftypevr
  31359. #: guix-git/doc/guix.texi:20869
  31360. 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{()}."
  31361. msgstr ""
  31362. #. type: deftypevr
  31363. #: guix-git/doc/guix.texi:20871
  31364. #, no-wrap
  31365. msgid "{@code{dovecot-configuration} parameter} string director-user-expire"
  31366. msgstr ""
  31367. #. type: deftypevr
  31368. #: guix-git/doc/guix.texi:20875
  31369. msgid "How long to redirect users to a specific server after it no longer has any connections. Defaults to @samp{\"15 min\"}."
  31370. msgstr ""
  31371. #. type: deftypevr
  31372. #: guix-git/doc/guix.texi:20877
  31373. #, no-wrap
  31374. msgid "{@code{dovecot-configuration} parameter} string director-username-hash"
  31375. msgstr ""
  31376. #. type: deftypevr
  31377. #: guix-git/doc/guix.texi:20882
  31378. 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\"}."
  31379. msgstr ""
  31380. #. type: deftypevr
  31381. #: guix-git/doc/guix.texi:20884
  31382. #, no-wrap
  31383. msgid "{@code{dovecot-configuration} parameter} string log-path"
  31384. msgstr ""
  31385. #. type: deftypevr
  31386. #: guix-git/doc/guix.texi:20888
  31387. msgid "Log file to use for error messages. @samp{syslog} logs to syslog, @samp{/dev/stderr} logs to stderr. Defaults to @samp{\"syslog\"}."
  31388. msgstr ""
  31389. #. type: deftypevr
  31390. #: guix-git/doc/guix.texi:20890
  31391. #, no-wrap
  31392. msgid "{@code{dovecot-configuration} parameter} string info-log-path"
  31393. msgstr ""
  31394. #. type: deftypevr
  31395. #: guix-git/doc/guix.texi:20894
  31396. msgid "Log file to use for informational messages. Defaults to @samp{log-path}. Defaults to @samp{\"\"}."
  31397. msgstr ""
  31398. #. type: deftypevr
  31399. #: guix-git/doc/guix.texi:20896
  31400. #, no-wrap
  31401. msgid "{@code{dovecot-configuration} parameter} string debug-log-path"
  31402. msgstr ""
  31403. #. type: deftypevr
  31404. #: guix-git/doc/guix.texi:20900
  31405. msgid "Log file to use for debug messages. Defaults to @samp{info-log-path}. Defaults to @samp{\"\"}."
  31406. msgstr ""
  31407. #. type: deftypevr
  31408. #: guix-git/doc/guix.texi:20902
  31409. #, no-wrap
  31410. msgid "{@code{dovecot-configuration} parameter} string syslog-facility"
  31411. msgstr ""
  31412. #. type: deftypevr
  31413. #: guix-git/doc/guix.texi:20907
  31414. 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\"}."
  31415. msgstr ""
  31416. #. type: deftypevr
  31417. #: guix-git/doc/guix.texi:20909
  31418. #, no-wrap
  31419. msgid "{@code{dovecot-configuration} parameter} boolean auth-verbose?"
  31420. msgstr ""
  31421. #. type: deftypevr
  31422. #: guix-git/doc/guix.texi:20913
  31423. msgid "Log unsuccessful authentication attempts and the reasons why they failed. Defaults to @samp{#f}."
  31424. msgstr ""
  31425. #. type: deftypevr
  31426. #: guix-git/doc/guix.texi:20915
  31427. #, no-wrap
  31428. msgid "{@code{dovecot-configuration} parameter} string auth-verbose-passwords"
  31429. msgstr ""
  31430. #. type: deftypevr
  31431. #: guix-git/doc/guix.texi:20922
  31432. 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\"}."
  31433. msgstr ""
  31434. #. type: deftypevr
  31435. #: guix-git/doc/guix.texi:20924
  31436. #, no-wrap
  31437. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug?"
  31438. msgstr ""
  31439. #. type: deftypevr
  31440. #: guix-git/doc/guix.texi:20928
  31441. msgid "Even more verbose logging for debugging purposes. Shows for example SQL queries. Defaults to @samp{#f}."
  31442. msgstr ""
  31443. #. type: deftypevr
  31444. #: guix-git/doc/guix.texi:20930
  31445. #, no-wrap
  31446. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug-passwords?"
  31447. msgstr ""
  31448. #. type: deftypevr
  31449. #: guix-git/doc/guix.texi:20935
  31450. 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}."
  31451. msgstr ""
  31452. #. type: deftypevr
  31453. #: guix-git/doc/guix.texi:20937
  31454. #, no-wrap
  31455. msgid "{@code{dovecot-configuration} parameter} boolean mail-debug?"
  31456. msgstr ""
  31457. #. type: deftypevr
  31458. #: guix-git/doc/guix.texi:20941
  31459. msgid "Enable mail process debugging. This can help you figure out why Dovecot isn't finding your mails. Defaults to @samp{#f}."
  31460. msgstr ""
  31461. #. type: deftypevr
  31462. #: guix-git/doc/guix.texi:20943
  31463. #, no-wrap
  31464. msgid "{@code{dovecot-configuration} parameter} boolean verbose-ssl?"
  31465. msgstr ""
  31466. #. type: deftypevr
  31467. #: guix-git/doc/guix.texi:20946
  31468. msgid "Show protocol level SSL errors. Defaults to @samp{#f}."
  31469. msgstr ""
  31470. #. type: deftypevr
  31471. #: guix-git/doc/guix.texi:20948
  31472. #, no-wrap
  31473. msgid "{@code{dovecot-configuration} parameter} string log-timestamp"
  31474. msgstr ""
  31475. #. type: deftypevr
  31476. #: guix-git/doc/guix.texi:20952
  31477. msgid "Prefix for each line written to log file. % codes are in strftime(3) format. Defaults to @samp{\"\\\"%b %d %H:%M:%S \\\"\"}."
  31478. msgstr ""
  31479. #. type: deftypevr
  31480. #: guix-git/doc/guix.texi:20954
  31481. #, no-wrap
  31482. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-log-format-elements"
  31483. msgstr ""
  31484. #. type: deftypevr
  31485. #: guix-git/doc/guix.texi:20958
  31486. 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."
  31487. msgstr ""
  31488. #. type: deftypevr
  31489. #: guix-git/doc/guix.texi:20960
  31490. #, no-wrap
  31491. msgid "{@code{dovecot-configuration} parameter} string login-log-format"
  31492. msgstr ""
  31493. #. type: deftypevr
  31494. #: guix-git/doc/guix.texi:20964
  31495. msgid "Login log format. %s contains @samp{login-log-format-elements} string, %$ contains the data we want to log. Defaults to @samp{\"%$: %s\"}."
  31496. msgstr ""
  31497. #. type: deftypevr
  31498. #: guix-git/doc/guix.texi:20966
  31499. #, no-wrap
  31500. msgid "{@code{dovecot-configuration} parameter} string mail-log-prefix"
  31501. msgstr ""
  31502. #. type: deftypevr
  31503. #: guix-git/doc/guix.texi:20970
  31504. 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@}>: \\\"\"}."
  31505. msgstr ""
  31506. #. type: deftypevr
  31507. #: guix-git/doc/guix.texi:20972
  31508. #, no-wrap
  31509. msgid "{@code{dovecot-configuration} parameter} string deliver-log-format"
  31510. msgstr ""
  31511. #. type: deftypevr
  31512. #: guix-git/doc/guix.texi:20974
  31513. msgid "Format to use for logging mail deliveries. You can use variables:"
  31514. msgstr ""
  31515. #. type: item
  31516. #: guix-git/doc/guix.texi:20975
  31517. #, no-wrap
  31518. msgid "%$"
  31519. msgstr ""
  31520. #. type: table
  31521. #: guix-git/doc/guix.texi:20977
  31522. msgid "Delivery status message (e.g.@: @samp{saved to INBOX})"
  31523. msgstr ""
  31524. #. type: item
  31525. #: guix-git/doc/guix.texi:20977
  31526. #, no-wrap
  31527. msgid "%m"
  31528. msgstr ""
  31529. #. type: table
  31530. #: guix-git/doc/guix.texi:20979
  31531. msgid "Message-ID"
  31532. msgstr "Mensagem-ID"
  31533. #. type: item
  31534. #: guix-git/doc/guix.texi:20979 guix-git/doc/guix.texi:21522
  31535. #, no-wrap
  31536. msgid "%s"
  31537. msgstr ""
  31538. #. type: table
  31539. #: guix-git/doc/guix.texi:20981
  31540. msgid "Subject"
  31541. msgstr "Assunto"
  31542. #. type: item
  31543. #: guix-git/doc/guix.texi:20981
  31544. #, no-wrap
  31545. msgid "%f"
  31546. msgstr ""
  31547. #. type: table
  31548. #: guix-git/doc/guix.texi:20983
  31549. msgid "From address"
  31550. msgstr ""
  31551. #. type: table
  31552. #: guix-git/doc/guix.texi:20985
  31553. msgid "Physical size"
  31554. msgstr ""
  31555. #. type: item
  31556. #: guix-git/doc/guix.texi:20985
  31557. #, no-wrap
  31558. msgid "%w"
  31559. msgstr ""
  31560. #. type: table
  31561. #: guix-git/doc/guix.texi:20987
  31562. msgid "Virtual size."
  31563. msgstr ""
  31564. #. type: deftypevr
  31565. #: guix-git/doc/guix.texi:20989
  31566. msgid "Defaults to @samp{\"msgid=%m: %$\"}."
  31567. msgstr ""
  31568. #. type: deftypevr
  31569. #: guix-git/doc/guix.texi:20991
  31570. #, no-wrap
  31571. msgid "{@code{dovecot-configuration} parameter} string mail-location"
  31572. msgstr ""
  31573. #. type: deftypevr
  31574. #: guix-git/doc/guix.texi:20996
  31575. 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."
  31576. msgstr ""
  31577. #. type: deftypevr
  31578. #: guix-git/doc/guix.texi:21002
  31579. 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."
  31580. msgstr ""
  31581. #. type: deftypevr
  31582. #: guix-git/doc/guix.texi:21004
  31583. msgid "There are a few special variables you can use, e.g.:"
  31584. msgstr ""
  31585. #. type: table
  31586. #: guix-git/doc/guix.texi:21008
  31587. msgid "username"
  31588. msgstr "nome de usuário"
  31589. #. type: item
  31590. #: guix-git/doc/guix.texi:21008 guix-git/doc/guix.texi:21518
  31591. #, no-wrap
  31592. msgid "%n"
  31593. msgstr ""
  31594. #. type: table
  31595. #: guix-git/doc/guix.texi:21010
  31596. msgid "user part in user@@domain, same as %u if there's no domain"
  31597. msgstr ""
  31598. #. type: item
  31599. #: guix-git/doc/guix.texi:21010
  31600. #, no-wrap
  31601. msgid "%d"
  31602. msgstr "%d"
  31603. #. type: table
  31604. #: guix-git/doc/guix.texi:21012
  31605. msgid "domain part in user@@domain, empty if there's no domain"
  31606. msgstr ""
  31607. #. type: item
  31608. #: guix-git/doc/guix.texi:21012
  31609. #, no-wrap
  31610. msgid "%h"
  31611. msgstr ""
  31612. #. type: table
  31613. #: guix-git/doc/guix.texi:21014
  31614. msgid "home director"
  31615. msgstr ""
  31616. #. type: deftypevr
  31617. #: guix-git/doc/guix.texi:21017
  31618. msgid "See doc/wiki/Variables.txt for full list. Some examples:"
  31619. msgstr ""
  31620. #. type: item
  31621. #: guix-git/doc/guix.texi:21018
  31622. #, no-wrap
  31623. msgid "maildir:~/Maildir"
  31624. msgstr ""
  31625. #. type: item
  31626. #: guix-git/doc/guix.texi:21019
  31627. #, no-wrap
  31628. msgid "mbox:~/mail:INBOX=/var/mail/%u"
  31629. msgstr ""
  31630. #. type: item
  31631. #: guix-git/doc/guix.texi:21020
  31632. #, no-wrap
  31633. msgid "mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%"
  31634. msgstr ""
  31635. #. type: deftypevr
  31636. #: guix-git/doc/guix.texi:21025
  31637. #, no-wrap
  31638. msgid "{@code{dovecot-configuration} parameter} string mail-uid"
  31639. msgstr ""
  31640. #. type: deftypevr
  31641. #: guix-git/doc/guix.texi:21030
  31642. 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{\"\"}."
  31643. msgstr ""
  31644. #. type: deftypevr
  31645. #: guix-git/doc/guix.texi:21032
  31646. #, no-wrap
  31647. msgid "{@code{dovecot-configuration} parameter} string mail-gid"
  31648. msgstr ""
  31649. #. type: deftypevr
  31650. #: guix-git/doc/guix.texi:21037
  31651. #, no-wrap
  31652. msgid "{@code{dovecot-configuration} parameter} string mail-privileged-group"
  31653. msgstr ""
  31654. #. type: deftypevr
  31655. #: guix-git/doc/guix.texi:21043
  31656. 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{\"\"}."
  31657. msgstr ""
  31658. #. type: deftypevr
  31659. #: guix-git/doc/guix.texi:21045
  31660. #, no-wrap
  31661. msgid "{@code{dovecot-configuration} parameter} string mail-access-groups"
  31662. msgstr ""
  31663. #. type: deftypevr
  31664. #: guix-git/doc/guix.texi:21053
  31665. 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{\"\"}."
  31666. msgstr ""
  31667. #. type: deftypevr
  31668. #: guix-git/doc/guix.texi:21055
  31669. #, no-wrap
  31670. msgid "{@code{dovecot-configuration} parameter} string mail-attribute-dict"
  31671. msgstr ""
  31672. #. type: deftypevr
  31673. #: guix-git/doc/guix.texi:21058
  31674. 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}."
  31675. msgstr ""
  31676. #. type: deftypevr
  31677. #: guix-git/doc/guix.texi:21061
  31678. msgid "The IMAP METADATA commands are available only if the ``imap'' protocol configuration's @code{imap-metadata?} field is @samp{#t}."
  31679. msgstr ""
  31680. #. type: deftypevr
  31681. #: guix-git/doc/guix.texi:21066
  31682. #, no-wrap
  31683. msgid "{@code{dovecot-configuration} parameter} boolean mail-full-filesystem-access?"
  31684. msgstr ""
  31685. #. type: deftypevr
  31686. #: guix-git/doc/guix.texi:21072
  31687. 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}."
  31688. msgstr ""
  31689. #. type: deftypevr
  31690. #: guix-git/doc/guix.texi:21074
  31691. #, no-wrap
  31692. msgid "{@code{dovecot-configuration} parameter} boolean mmap-disable?"
  31693. msgstr ""
  31694. #. type: deftypevr
  31695. #: guix-git/doc/guix.texi:21078
  31696. 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}."
  31697. msgstr ""
  31698. #. type: deftypevr
  31699. #: guix-git/doc/guix.texi:21080
  31700. #, no-wrap
  31701. msgid "{@code{dovecot-configuration} parameter} boolean dotlock-use-excl?"
  31702. msgstr ""
  31703. #. type: deftypevr
  31704. #: guix-git/doc/guix.texi:21085
  31705. 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}."
  31706. msgstr ""
  31707. #. type: deftypevr
  31708. #: guix-git/doc/guix.texi:21087
  31709. #, no-wrap
  31710. msgid "{@code{dovecot-configuration} parameter} string mail-fsync"
  31711. msgstr ""
  31712. #. type: deftypevr
  31713. #: guix-git/doc/guix.texi:21089
  31714. msgid "When to use fsync() or fdatasync() calls:"
  31715. msgstr ""
  31716. #. type: item
  31717. #: guix-git/doc/guix.texi:21090
  31718. #, no-wrap
  31719. msgid "optimized"
  31720. msgstr ""
  31721. #. type: table
  31722. #: guix-git/doc/guix.texi:21092
  31723. msgid "Whenever necessary to avoid losing important data"
  31724. msgstr ""
  31725. #. type: table
  31726. #: guix-git/doc/guix.texi:21094
  31727. msgid "Useful with e.g.@: NFS when @code{write()}s are delayed"
  31728. msgstr ""
  31729. #. type: table
  31730. #: guix-git/doc/guix.texi:21096
  31731. msgid "Never use it (best performance, but crashes can lose data)."
  31732. msgstr ""
  31733. #. type: deftypevr
  31734. #: guix-git/doc/guix.texi:21098
  31735. msgid "Defaults to @samp{\"optimized\"}."
  31736. msgstr ""
  31737. #. type: deftypevr
  31738. #: guix-git/doc/guix.texi:21100
  31739. #, no-wrap
  31740. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-storage?"
  31741. msgstr ""
  31742. #. type: deftypevr
  31743. #: guix-git/doc/guix.texi:21105
  31744. 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}."
  31745. msgstr ""
  31746. #. type: deftypevr
  31747. #: guix-git/doc/guix.texi:21107
  31748. #, no-wrap
  31749. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-index?"
  31750. msgstr ""
  31751. #. type: deftypevr
  31752. #: guix-git/doc/guix.texi:21111
  31753. 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}."
  31754. msgstr ""
  31755. #. type: deftypevr
  31756. #: guix-git/doc/guix.texi:21113
  31757. #, no-wrap
  31758. msgid "{@code{dovecot-configuration} parameter} string lock-method"
  31759. msgstr ""
  31760. #. type: deftypevr
  31761. #: guix-git/doc/guix.texi:21119
  31762. 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\"}."
  31763. msgstr ""
  31764. #. type: deftypevr
  31765. #: guix-git/doc/guix.texi:21121
  31766. #, no-wrap
  31767. msgid "{@code{dovecot-configuration} parameter} file-name mail-temp-dir"
  31768. msgstr ""
  31769. #. type: deftypevr
  31770. #: guix-git/doc/guix.texi:21125
  31771. msgid "Directory in which LDA/LMTP temporarily stores incoming mails >128 kB. Defaults to @samp{\"/tmp\"}."
  31772. msgstr ""
  31773. #. type: deftypevr
  31774. #: guix-git/doc/guix.texi:21127
  31775. #, no-wrap
  31776. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-uid"
  31777. msgstr ""
  31778. #. type: deftypevr
  31779. #: guix-git/doc/guix.texi:21133
  31780. 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}."
  31781. msgstr ""
  31782. #. type: deftypevr
  31783. #: guix-git/doc/guix.texi:21135
  31784. #, no-wrap
  31785. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-uid"
  31786. msgstr ""
  31787. #. type: deftypevr
  31788. #: guix-git/doc/guix.texi:21140
  31789. #, no-wrap
  31790. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-gid"
  31791. msgstr ""
  31792. #. type: deftypevr
  31793. #: guix-git/doc/guix.texi:21145
  31794. 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}."
  31795. msgstr ""
  31796. #. type: deftypevr
  31797. #: guix-git/doc/guix.texi:21147
  31798. #, no-wrap
  31799. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-gid"
  31800. msgstr ""
  31801. #. type: deftypevr
  31802. #: guix-git/doc/guix.texi:21152
  31803. #, no-wrap
  31804. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-max-keyword-length"
  31805. msgstr ""
  31806. #. type: deftypevr
  31807. #: guix-git/doc/guix.texi:21156
  31808. msgid "Maximum allowed length for mail keyword name. It's only forced when trying to create new keywords. Defaults to @samp{50}."
  31809. msgstr ""
  31810. #. type: deftypevr
  31811. #: guix-git/doc/guix.texi:21158
  31812. #, no-wrap
  31813. msgid "{@code{dovecot-configuration} parameter} colon-separated-file-name-list valid-chroot-dirs"
  31814. msgstr ""
  31815. #. type: deftypevr
  31816. #: guix-git/doc/guix.texi:21168
  31817. 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{()}."
  31818. msgstr ""
  31819. #. type: deftypevr
  31820. #: guix-git/doc/guix.texi:21170
  31821. #, no-wrap
  31822. msgid "{@code{dovecot-configuration} parameter} string mail-chroot"
  31823. msgstr ""
  31824. #. type: deftypevr
  31825. #: guix-git/doc/guix.texi:21179
  31826. 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{\"\"}."
  31827. msgstr ""
  31828. #. type: deftypevr
  31829. #: guix-git/doc/guix.texi:21181
  31830. #, no-wrap
  31831. msgid "{@code{dovecot-configuration} parameter} file-name auth-socket-path"
  31832. msgstr ""
  31833. #. type: deftypevr
  31834. #: guix-git/doc/guix.texi:21185
  31835. 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\"}."
  31836. msgstr ""
  31837. #. type: deftypevr
  31838. #: guix-git/doc/guix.texi:21187
  31839. #, no-wrap
  31840. msgid "{@code{dovecot-configuration} parameter} file-name mail-plugin-dir"
  31841. msgstr ""
  31842. #. type: deftypevr
  31843. #: guix-git/doc/guix.texi:21190
  31844. msgid "Directory where to look up mail plugins. Defaults to @samp{\"/usr/lib/dovecot\"}."
  31845. msgstr ""
  31846. #. type: deftypevr
  31847. #: guix-git/doc/guix.texi:21192
  31848. #, no-wrap
  31849. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mail-plugins"
  31850. msgstr ""
  31851. #. type: deftypevr
  31852. #: guix-git/doc/guix.texi:21196
  31853. 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{()}."
  31854. msgstr ""
  31855. #. type: deftypevr
  31856. #: guix-git/doc/guix.texi:21198
  31857. #, no-wrap
  31858. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-cache-min-mail-count"
  31859. msgstr ""
  31860. #. type: deftypevr
  31861. #: guix-git/doc/guix.texi:21203
  31862. 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}."
  31863. msgstr ""
  31864. #. type: deftypevr
  31865. #: guix-git/doc/guix.texi:21205
  31866. #, no-wrap
  31867. msgid "{@code{dovecot-configuration} parameter} string mailbox-idle-check-interval"
  31868. msgstr ""
  31869. #. type: deftypevr
  31870. #: guix-git/doc/guix.texi:21212
  31871. 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\"}."
  31872. msgstr ""
  31873. #. type: deftypevr
  31874. #: guix-git/doc/guix.texi:21214
  31875. #, no-wrap
  31876. msgid "{@code{dovecot-configuration} parameter} boolean mail-save-crlf?"
  31877. msgstr ""
  31878. #. type: deftypevr
  31879. #: guix-git/doc/guix.texi:21221
  31880. 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}."
  31881. msgstr ""
  31882. #. type: deftypevr
  31883. #: guix-git/doc/guix.texi:21223
  31884. #, no-wrap
  31885. msgid "{@code{dovecot-configuration} parameter} boolean maildir-stat-dirs?"
  31886. msgstr ""
  31887. #. type: deftypevr
  31888. #: guix-git/doc/guix.texi:21231
  31889. 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}."
  31890. msgstr ""
  31891. #. type: deftypevr
  31892. #: guix-git/doc/guix.texi:21233
  31893. #, no-wrap
  31894. msgid "{@code{dovecot-configuration} parameter} boolean maildir-copy-with-hardlinks?"
  31895. msgstr ""
  31896. #. type: deftypevr
  31897. #: guix-git/doc/guix.texi:21238
  31898. 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}."
  31899. msgstr ""
  31900. #. type: deftypevr
  31901. #: guix-git/doc/guix.texi:21240
  31902. #, no-wrap
  31903. msgid "{@code{dovecot-configuration} parameter} boolean maildir-very-dirty-syncs?"
  31904. msgstr ""
  31905. #. type: deftypevr
  31906. #: guix-git/doc/guix.texi:21245
  31907. 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}."
  31908. msgstr ""
  31909. #. type: deftypevr
  31910. #: guix-git/doc/guix.texi:21247
  31911. #, no-wrap
  31912. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-read-locks"
  31913. msgstr ""
  31914. #. type: deftypevr
  31915. #: guix-git/doc/guix.texi:21250
  31916. msgid "Which locking methods to use for locking mbox. There are four available:"
  31917. msgstr ""
  31918. #. type: item
  31919. #: guix-git/doc/guix.texi:21252
  31920. #, no-wrap
  31921. msgid "dotlock"
  31922. msgstr ""
  31923. #. type: table
  31924. #: guix-git/doc/guix.texi:21256
  31925. 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."
  31926. msgstr ""
  31927. #. type: item
  31928. #: guix-git/doc/guix.texi:21256
  31929. #, no-wrap
  31930. msgid "dotlock-try"
  31931. msgstr ""
  31932. #. type: table
  31933. #: guix-git/doc/guix.texi:21259
  31934. msgid "Same as dotlock, but if it fails because of permissions or because there isn't enough disk space, just skip it."
  31935. msgstr ""
  31936. #. type: item
  31937. #: guix-git/doc/guix.texi:21259
  31938. #, no-wrap
  31939. msgid "fcntl"
  31940. msgstr ""
  31941. #. type: table
  31942. #: guix-git/doc/guix.texi:21261
  31943. msgid "Use this if possible. Works with NFS too if lockd is used."
  31944. msgstr ""
  31945. #. type: item
  31946. #: guix-git/doc/guix.texi:21261
  31947. #, no-wrap
  31948. msgid "flock"
  31949. msgstr ""
  31950. #. type: table
  31951. #: guix-git/doc/guix.texi:21263 guix-git/doc/guix.texi:21265
  31952. msgid "May not exist in all systems. Doesn't work with NFS."
  31953. msgstr ""
  31954. #. type: item
  31955. #: guix-git/doc/guix.texi:21263
  31956. #, no-wrap
  31957. msgid "lockf"
  31958. msgstr ""
  31959. #. type: deftypevr
  31960. #: guix-git/doc/guix.texi:21271
  31961. 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."
  31962. msgstr ""
  31963. #. type: deftypevr
  31964. #: guix-git/doc/guix.texi:21273
  31965. #, no-wrap
  31966. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-write-locks"
  31967. msgstr ""
  31968. #. type: deftypevr
  31969. #: guix-git/doc/guix.texi:21277
  31970. #, no-wrap
  31971. msgid "{@code{dovecot-configuration} parameter} string mbox-lock-timeout"
  31972. msgstr ""
  31973. #. type: deftypevr
  31974. #: guix-git/doc/guix.texi:21280
  31975. msgid "Maximum time to wait for lock (all of them) before aborting. Defaults to @samp{\"5 mins\"}."
  31976. msgstr ""
  31977. #. type: deftypevr
  31978. #: guix-git/doc/guix.texi:21282
  31979. #, no-wrap
  31980. msgid "{@code{dovecot-configuration} parameter} string mbox-dotlock-change-timeout"
  31981. msgstr ""
  31982. #. type: deftypevr
  31983. #: guix-git/doc/guix.texi:21286
  31984. 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\"}."
  31985. msgstr ""
  31986. #. type: deftypevr
  31987. #: guix-git/doc/guix.texi:21288
  31988. #, no-wrap
  31989. msgid "{@code{dovecot-configuration} parameter} boolean mbox-dirty-syncs?"
  31990. msgstr ""
  31991. #. type: deftypevr
  31992. #: guix-git/doc/guix.texi:21299
  31993. 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}."
  31994. msgstr ""
  31995. #. type: deftypevr
  31996. #: guix-git/doc/guix.texi:21301
  31997. #, no-wrap
  31998. msgid "{@code{dovecot-configuration} parameter} boolean mbox-very-dirty-syncs?"
  31999. msgstr ""
  32000. #. type: deftypevr
  32001. #: guix-git/doc/guix.texi:21306
  32002. 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}."
  32003. msgstr ""
  32004. #. type: deftypevr
  32005. #: guix-git/doc/guix.texi:21308
  32006. #, no-wrap
  32007. msgid "{@code{dovecot-configuration} parameter} boolean mbox-lazy-writes?"
  32008. msgstr ""
  32009. #. type: deftypevr
  32010. #: guix-git/doc/guix.texi:21314
  32011. 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}."
  32012. msgstr ""
  32013. #. type: deftypevr
  32014. #: guix-git/doc/guix.texi:21316
  32015. #, no-wrap
  32016. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mbox-min-index-size"
  32017. msgstr ""
  32018. #. type: deftypevr
  32019. #: guix-git/doc/guix.texi:21321
  32020. 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}."
  32021. msgstr ""
  32022. #. type: deftypevr
  32023. #: guix-git/doc/guix.texi:21323
  32024. #, no-wrap
  32025. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mdbox-rotate-size"
  32026. msgstr ""
  32027. #. type: deftypevr
  32028. #: guix-git/doc/guix.texi:21326
  32029. msgid "Maximum dbox file size until it's rotated. Defaults to @samp{10000000}."
  32030. msgstr ""
  32031. #. type: deftypevr
  32032. #: guix-git/doc/guix.texi:21328
  32033. #, no-wrap
  32034. msgid "{@code{dovecot-configuration} parameter} string mdbox-rotate-interval"
  32035. msgstr ""
  32036. #. type: deftypevr
  32037. #: guix-git/doc/guix.texi:21333
  32038. 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\"}."
  32039. msgstr ""
  32040. #. type: deftypevr
  32041. #: guix-git/doc/guix.texi:21335
  32042. #, no-wrap
  32043. msgid "{@code{dovecot-configuration} parameter} boolean mdbox-preallocate-space?"
  32044. msgstr ""
  32045. #. type: deftypevr
  32046. #: guix-git/doc/guix.texi:21340
  32047. 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}."
  32048. msgstr ""
  32049. #. type: deftypevr
  32050. #: guix-git/doc/guix.texi:21342
  32051. #, no-wrap
  32052. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-dir"
  32053. msgstr ""
  32054. #. type: deftypevr
  32055. #: guix-git/doc/guix.texi:21346
  32056. 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."
  32057. msgstr ""
  32058. #. type: deftypevr
  32059. #: guix-git/doc/guix.texi:21348
  32060. msgid "WARNING: This feature hasn't been tested much yet. Use at your own risk."
  32061. msgstr ""
  32062. #. type: deftypevr
  32063. #: guix-git/doc/guix.texi:21351
  32064. msgid "Directory root where to store mail attachments. Disabled, if empty. Defaults to @samp{\"\"}."
  32065. msgstr ""
  32066. #. type: deftypevr
  32067. #: guix-git/doc/guix.texi:21353
  32068. #, no-wrap
  32069. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-attachment-min-size"
  32070. msgstr ""
  32071. #. type: deftypevr
  32072. #: guix-git/doc/guix.texi:21358
  32073. 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}."
  32074. msgstr ""
  32075. #. type: deftypevr
  32076. #: guix-git/doc/guix.texi:21360
  32077. #, no-wrap
  32078. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-fs"
  32079. msgstr ""
  32080. #. type: deftypevr
  32081. #: guix-git/doc/guix.texi:21362
  32082. msgid "File system backend to use for saving attachments:"
  32083. msgstr ""
  32084. #. type: item
  32085. #: guix-git/doc/guix.texi:21363
  32086. #, no-wrap
  32087. msgid "posix"
  32088. msgstr ""
  32089. #. type: table
  32090. #: guix-git/doc/guix.texi:21365
  32091. msgid "No SiS done by Dovecot (but this might help FS's own deduplication)"
  32092. msgstr ""
  32093. #. type: item
  32094. #: guix-git/doc/guix.texi:21365
  32095. #, no-wrap
  32096. msgid "sis posix"
  32097. msgstr ""
  32098. #. type: table
  32099. #: guix-git/doc/guix.texi:21367
  32100. msgid "SiS with immediate byte-by-byte comparison during saving"
  32101. msgstr ""
  32102. #. type: item
  32103. #: guix-git/doc/guix.texi:21367
  32104. #, no-wrap
  32105. msgid "sis-queue posix"
  32106. msgstr ""
  32107. #. type: table
  32108. #: guix-git/doc/guix.texi:21369
  32109. msgid "SiS with delayed comparison and deduplication."
  32110. msgstr ""
  32111. #. type: deftypevr
  32112. #: guix-git/doc/guix.texi:21371
  32113. msgid "Defaults to @samp{\"sis posix\"}."
  32114. msgstr ""
  32115. #. type: deftypevr
  32116. #: guix-git/doc/guix.texi:21373
  32117. #, no-wrap
  32118. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-hash"
  32119. msgstr ""
  32120. #. type: deftypevr
  32121. #: guix-git/doc/guix.texi:21379
  32122. 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@}\"}."
  32123. msgstr ""
  32124. #. type: deftypevr
  32125. #: guix-git/doc/guix.texi:21381
  32126. #, no-wrap
  32127. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-process-limit"
  32128. msgstr ""
  32129. #. type: deftypevr
  32130. #: guix-git/doc/guix.texi:21386
  32131. #, no-wrap
  32132. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-client-limit"
  32133. msgstr ""
  32134. #. type: deftypevr
  32135. #: guix-git/doc/guix.texi:21389 guix-git/doc/guix.texi:29004
  32136. msgid "Defaults to @samp{1000}."
  32137. msgstr ""
  32138. #. type: deftypevr
  32139. #: guix-git/doc/guix.texi:21391
  32140. #, no-wrap
  32141. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-vsz-limit"
  32142. msgstr ""
  32143. #. type: deftypevr
  32144. #: guix-git/doc/guix.texi:21396
  32145. 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}."
  32146. msgstr ""
  32147. #. type: deftypevr
  32148. #: guix-git/doc/guix.texi:21398
  32149. #, no-wrap
  32150. msgid "{@code{dovecot-configuration} parameter} string default-login-user"
  32151. msgstr ""
  32152. #. type: deftypevr
  32153. #: guix-git/doc/guix.texi:21403
  32154. 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\"}."
  32155. msgstr ""
  32156. #. type: deftypevr
  32157. #: guix-git/doc/guix.texi:21405
  32158. #, no-wrap
  32159. msgid "{@code{dovecot-configuration} parameter} string default-internal-user"
  32160. msgstr ""
  32161. #. type: deftypevr
  32162. #: guix-git/doc/guix.texi:21410
  32163. 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\"}."
  32164. msgstr ""
  32165. #. type: deftypevr
  32166. #: guix-git/doc/guix.texi:21412
  32167. #, no-wrap
  32168. msgid "{@code{dovecot-configuration} parameter} string ssl?"
  32169. msgstr ""
  32170. #. type: deftypevr
  32171. #: guix-git/doc/guix.texi:21415
  32172. msgid "SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>. Defaults to @samp{\"required\"}."
  32173. msgstr ""
  32174. #. type: deftypevr
  32175. #: guix-git/doc/guix.texi:21417
  32176. #, no-wrap
  32177. msgid "{@code{dovecot-configuration} parameter} string ssl-cert"
  32178. msgstr ""
  32179. #. type: deftypevr
  32180. #: guix-git/doc/guix.texi:21420
  32181. msgid "PEM encoded X.509 SSL/TLS certificate (public key). Defaults to @samp{\"</etc/dovecot/default.pem\"}."
  32182. msgstr ""
  32183. #. type: deftypevr
  32184. #: guix-git/doc/guix.texi:21422
  32185. #, no-wrap
  32186. msgid "{@code{dovecot-configuration} parameter} string ssl-key"
  32187. msgstr ""
  32188. #. type: deftypevr
  32189. #: guix-git/doc/guix.texi:21427
  32190. 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\"}."
  32191. msgstr ""
  32192. #. type: deftypevr
  32193. #: guix-git/doc/guix.texi:21429
  32194. #, no-wrap
  32195. msgid "{@code{dovecot-configuration} parameter} string ssl-key-password"
  32196. msgstr ""
  32197. #. type: deftypevr
  32198. #: guix-git/doc/guix.texi:21435
  32199. 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{\"\"}."
  32200. msgstr ""
  32201. #. type: deftypevr
  32202. #: guix-git/doc/guix.texi:21437
  32203. #, no-wrap
  32204. msgid "{@code{dovecot-configuration} parameter} string ssl-ca"
  32205. msgstr ""
  32206. #. type: deftypevr
  32207. #: guix-git/doc/guix.texi:21443
  32208. 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{\"\"}."
  32209. msgstr ""
  32210. #. type: deftypevr
  32211. #: guix-git/doc/guix.texi:21445
  32212. #, no-wrap
  32213. msgid "{@code{dovecot-configuration} parameter} boolean ssl-require-crl?"
  32214. msgstr ""
  32215. #. type: deftypevr
  32216. #: guix-git/doc/guix.texi:21448
  32217. msgid "Require that CRL check succeeds for client certificates. Defaults to @samp{#t}."
  32218. msgstr ""
  32219. #. type: deftypevr
  32220. #: guix-git/doc/guix.texi:21450
  32221. #, no-wrap
  32222. msgid "{@code{dovecot-configuration} parameter} boolean ssl-verify-client-cert?"
  32223. msgstr ""
  32224. #. type: deftypevr
  32225. #: guix-git/doc/guix.texi:21454
  32226. 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}."
  32227. msgstr ""
  32228. #. type: deftypevr
  32229. #: guix-git/doc/guix.texi:21456
  32230. #, no-wrap
  32231. msgid "{@code{dovecot-configuration} parameter} string ssl-cert-username-field"
  32232. msgstr ""
  32233. #. type: deftypevr
  32234. #: guix-git/doc/guix.texi:21461
  32235. 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\"}."
  32236. msgstr ""
  32237. #. type: deftypevr
  32238. #: guix-git/doc/guix.texi:21463
  32239. #, no-wrap
  32240. msgid "{@code{dovecot-configuration} parameter} string ssl-min-protocol"
  32241. msgstr ""
  32242. #. type: deftypevr
  32243. #: guix-git/doc/guix.texi:21466
  32244. msgid "Minimum SSL protocol version to accept. Defaults to @samp{\"TLSv1\"}."
  32245. msgstr ""
  32246. #. type: deftypevr
  32247. #: guix-git/doc/guix.texi:21468
  32248. #, no-wrap
  32249. msgid "{@code{dovecot-configuration} parameter} string ssl-cipher-list"
  32250. msgstr ""
  32251. #. type: deftypevr
  32252. #: guix-git/doc/guix.texi:21471
  32253. msgid "SSL ciphers to use. Defaults to @samp{\"ALL:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@@STRENGTH\"}."
  32254. msgstr ""
  32255. #. type: deftypevr
  32256. #: guix-git/doc/guix.texi:21473
  32257. #, no-wrap
  32258. msgid "{@code{dovecot-configuration} parameter} string ssl-crypto-device"
  32259. msgstr ""
  32260. #. type: deftypevr
  32261. #: guix-git/doc/guix.texi:21476
  32262. msgid "SSL crypto device to use, for valid values run \"openssl engine\". Defaults to @samp{\"\"}."
  32263. msgstr ""
  32264. #. type: deftypevr
  32265. #: guix-git/doc/guix.texi:21478
  32266. #, no-wrap
  32267. msgid "{@code{dovecot-configuration} parameter} string postmaster-address"
  32268. msgstr ""
  32269. #. type: deftypevr
  32270. #: guix-git/doc/guix.texi:21482
  32271. msgid "Address to use when sending rejection mails. %d expands to recipient domain. Defaults to @samp{\"postmaster@@%d\"}."
  32272. msgstr ""
  32273. #. type: deftypevr
  32274. #: guix-git/doc/guix.texi:21484
  32275. #, no-wrap
  32276. msgid "{@code{dovecot-configuration} parameter} string hostname"
  32277. msgstr ""
  32278. #. type: deftypevr
  32279. #: guix-git/doc/guix.texi:21488
  32280. 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{\"\"}."
  32281. msgstr ""
  32282. #. type: deftypevr
  32283. #: guix-git/doc/guix.texi:21490
  32284. #, no-wrap
  32285. msgid "{@code{dovecot-configuration} parameter} boolean quota-full-tempfail?"
  32286. msgstr ""
  32287. #. type: deftypevr
  32288. #: guix-git/doc/guix.texi:21494
  32289. msgid "If user is over quota, return with temporary failure instead of bouncing the mail. Defaults to @samp{#f}."
  32290. msgstr ""
  32291. #. type: deftypevr
  32292. #: guix-git/doc/guix.texi:21496
  32293. #, no-wrap
  32294. msgid "{@code{dovecot-configuration} parameter} file-name sendmail-path"
  32295. msgstr ""
  32296. #. type: deftypevr
  32297. #: guix-git/doc/guix.texi:21499
  32298. msgid "Binary to use for sending mails. Defaults to @samp{\"/usr/sbin/sendmail\"}."
  32299. msgstr ""
  32300. #. type: deftypevr
  32301. #: guix-git/doc/guix.texi:21501
  32302. #, no-wrap
  32303. msgid "{@code{dovecot-configuration} parameter} string submission-host"
  32304. msgstr ""
  32305. #. type: deftypevr
  32306. #: guix-git/doc/guix.texi:21505
  32307. msgid "If non-empty, send mails via this SMTP host[:port] instead of sendmail. Defaults to @samp{\"\"}."
  32308. msgstr ""
  32309. #. type: deftypevr
  32310. #: guix-git/doc/guix.texi:21507
  32311. #, no-wrap
  32312. msgid "{@code{dovecot-configuration} parameter} string rejection-subject"
  32313. msgstr ""
  32314. #. type: deftypevr
  32315. #: guix-git/doc/guix.texi:21511
  32316. 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\"}."
  32317. msgstr ""
  32318. #. type: deftypevr
  32319. #: guix-git/doc/guix.texi:21513
  32320. #, no-wrap
  32321. msgid "{@code{dovecot-configuration} parameter} string rejection-reason"
  32322. msgstr ""
  32323. #. type: deftypevr
  32324. #: guix-git/doc/guix.texi:21516
  32325. msgid "Human readable error message for rejection mails. You can use variables:"
  32326. msgstr ""
  32327. #. type: table
  32328. #: guix-git/doc/guix.texi:21520
  32329. msgid "CRLF"
  32330. msgstr ""
  32331. #. type: item
  32332. #: guix-git/doc/guix.texi:21520
  32333. #, no-wrap
  32334. msgid "%r"
  32335. msgstr ""
  32336. #. type: table
  32337. #: guix-git/doc/guix.texi:21522
  32338. msgid "reason"
  32339. msgstr ""
  32340. #. type: table
  32341. #: guix-git/doc/guix.texi:21524
  32342. msgid "original subject"
  32343. msgstr ""
  32344. #. type: item
  32345. #: guix-git/doc/guix.texi:21524
  32346. #, no-wrap
  32347. msgid "%t"
  32348. msgstr ""
  32349. #. type: table
  32350. #: guix-git/doc/guix.texi:21526
  32351. msgid "recipient"
  32352. msgstr "destinatário"
  32353. #. type: deftypevr
  32354. #: guix-git/doc/guix.texi:21528
  32355. msgid "Defaults to @samp{\"Your message to <%t> was automatically rejected:%n%r\"}."
  32356. msgstr ""
  32357. #. type: deftypevr
  32358. #: guix-git/doc/guix.texi:21530
  32359. #, no-wrap
  32360. msgid "{@code{dovecot-configuration} parameter} string recipient-delimiter"
  32361. msgstr ""
  32362. #. type: deftypevr
  32363. #: guix-git/doc/guix.texi:21534
  32364. msgid "Delimiter character between local-part and detail in email address. Defaults to @samp{\"+\"}."
  32365. msgstr ""
  32366. #. type: deftypevr
  32367. #: guix-git/doc/guix.texi:21536
  32368. #, no-wrap
  32369. msgid "{@code{dovecot-configuration} parameter} string lda-original-recipient-header"
  32370. msgstr ""
  32371. #. type: deftypevr
  32372. #: guix-git/doc/guix.texi:21542
  32373. 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{\"\"}."
  32374. msgstr ""
  32375. #. type: deftypevr
  32376. #: guix-git/doc/guix.texi:21544
  32377. #, no-wrap
  32378. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autocreate?"
  32379. msgstr ""
  32380. #. type: deftypevr
  32381. #: guix-git/doc/guix.texi:21548
  32382. msgid "Should saving a mail to a nonexistent mailbox automatically create it?. Defaults to @samp{#f}."
  32383. msgstr ""
  32384. #. type: deftypevr
  32385. #: guix-git/doc/guix.texi:21550
  32386. #, no-wrap
  32387. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autosubscribe?"
  32388. msgstr ""
  32389. #. type: deftypevr
  32390. #: guix-git/doc/guix.texi:21554
  32391. msgid "Should automatically created mailboxes be also automatically subscribed?. Defaults to @samp{#f}."
  32392. msgstr ""
  32393. #. type: deftypevr
  32394. #: guix-git/doc/guix.texi:21556
  32395. #, no-wrap
  32396. msgid "{@code{dovecot-configuration} parameter} non-negative-integer imap-max-line-length"
  32397. msgstr ""
  32398. #. type: deftypevr
  32399. #: guix-git/doc/guix.texi:21562
  32400. 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}."
  32401. msgstr ""
  32402. #. type: deftypevr
  32403. #: guix-git/doc/guix.texi:21564
  32404. #, no-wrap
  32405. msgid "{@code{dovecot-configuration} parameter} string imap-logout-format"
  32406. msgstr ""
  32407. #. type: deftypevr
  32408. #: guix-git/doc/guix.texi:21566
  32409. msgid "IMAP logout format string:"
  32410. msgstr ""
  32411. #. type: item
  32412. #: guix-git/doc/guix.texi:21567
  32413. #, no-wrap
  32414. msgid "%i"
  32415. msgstr ""
  32416. #. type: table
  32417. #: guix-git/doc/guix.texi:21569
  32418. msgid "total number of bytes read from client"
  32419. msgstr ""
  32420. #. type: item
  32421. #: guix-git/doc/guix.texi:21569
  32422. #, no-wrap
  32423. msgid "%o"
  32424. msgstr ""
  32425. #. type: table
  32426. #: guix-git/doc/guix.texi:21571
  32427. msgid "total number of bytes sent to client."
  32428. msgstr ""
  32429. #. type: deftypevr
  32430. #: guix-git/doc/guix.texi:21574
  32431. 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@}\"}."
  32432. msgstr ""
  32433. #. type: deftypevr
  32434. #: guix-git/doc/guix.texi:21576
  32435. #, no-wrap
  32436. msgid "{@code{dovecot-configuration} parameter} string imap-capability"
  32437. msgstr ""
  32438. #. type: deftypevr
  32439. #: guix-git/doc/guix.texi:21580
  32440. 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{\"\"}."
  32441. msgstr ""
  32442. #. type: deftypevr
  32443. #: guix-git/doc/guix.texi:21582
  32444. #, no-wrap
  32445. msgid "{@code{dovecot-configuration} parameter} string imap-idle-notify-interval"
  32446. msgstr ""
  32447. #. type: deftypevr
  32448. #: guix-git/doc/guix.texi:21586
  32449. msgid "How long to wait between \"OK Still here\" notifications when client is IDLEing. Defaults to @samp{\"2 mins\"}."
  32450. msgstr ""
  32451. #. type: deftypevr
  32452. #: guix-git/doc/guix.texi:21588
  32453. #, no-wrap
  32454. msgid "{@code{dovecot-configuration} parameter} string imap-id-send"
  32455. msgstr ""
  32456. #. type: deftypevr
  32457. #: guix-git/doc/guix.texi:21594
  32458. 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{\"\"}."
  32459. msgstr ""
  32460. #. type: deftypevr
  32461. #: guix-git/doc/guix.texi:21596
  32462. #, no-wrap
  32463. msgid "{@code{dovecot-configuration} parameter} string imap-id-log"
  32464. msgstr ""
  32465. #. type: deftypevr
  32466. #: guix-git/doc/guix.texi:21599
  32467. msgid "ID fields sent by client to log. * means everything. Defaults to @samp{\"\"}."
  32468. msgstr ""
  32469. #. type: deftypevr
  32470. #: guix-git/doc/guix.texi:21601
  32471. #, no-wrap
  32472. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list imap-client-workarounds"
  32473. msgstr ""
  32474. #. type: deftypevr
  32475. #: guix-git/doc/guix.texi:21603
  32476. msgid "Workarounds for various client bugs:"
  32477. msgstr ""
  32478. #. type: item
  32479. #: guix-git/doc/guix.texi:21605
  32480. #, no-wrap
  32481. msgid "delay-newmail"
  32482. msgstr ""
  32483. #. type: table
  32484. #: guix-git/doc/guix.texi:21612
  32485. 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\"."
  32486. msgstr ""
  32487. #. type: item
  32488. #: guix-git/doc/guix.texi:21613
  32489. #, no-wrap
  32490. msgid "tb-extra-mailbox-sep"
  32491. msgstr ""
  32492. #. type: table
  32493. #: guix-git/doc/guix.texi:21617
  32494. 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."
  32495. msgstr ""
  32496. #. type: item
  32497. #: guix-git/doc/guix.texi:21618
  32498. #, no-wrap
  32499. msgid "tb-lsub-flags"
  32500. msgstr ""
  32501. #. type: table
  32502. #: guix-git/doc/guix.texi:21622
  32503. 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."
  32504. msgstr ""
  32505. #. type: deftypevr
  32506. #: guix-git/doc/guix.texi:21626
  32507. #, no-wrap
  32508. msgid "{@code{dovecot-configuration} parameter} string imap-urlauth-host"
  32509. msgstr ""
  32510. #. type: deftypevr
  32511. #: guix-git/doc/guix.texi:21629
  32512. msgid "Host allowed in URLAUTH URLs sent by client. \"*\" allows all. Defaults to @samp{\"\"}."
  32513. msgstr ""
  32514. #. type: Plain text
  32515. #: guix-git/doc/guix.texi:21637
  32516. 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."
  32517. msgstr ""
  32518. #. type: Plain text
  32519. #: guix-git/doc/guix.texi:21643
  32520. 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."
  32521. msgstr ""
  32522. #. type: Plain text
  32523. #: guix-git/doc/guix.texi:21645
  32524. msgid "Available @code{opaque-dovecot-configuration} fields are:"
  32525. msgstr ""
  32526. #. type: deftypevr
  32527. #: guix-git/doc/guix.texi:21646
  32528. #, no-wrap
  32529. msgid "{@code{opaque-dovecot-configuration} parameter} package dovecot"
  32530. msgstr ""
  32531. #. type: deftypevr
  32532. #: guix-git/doc/guix.texi:21650
  32533. #, no-wrap
  32534. msgid "{@code{opaque-dovecot-configuration} parameter} string string"
  32535. msgstr ""
  32536. #. type: deftypevr
  32537. #: guix-git/doc/guix.texi:21652
  32538. msgid "The contents of the @code{dovecot.conf}, as a string."
  32539. msgstr ""
  32540. #. type: Plain text
  32541. #: guix-git/doc/guix.texi:21656
  32542. msgid "For example, if your @code{dovecot.conf} is just the empty string, you could instantiate a dovecot service like this:"
  32543. msgstr ""
  32544. #. type: lisp
  32545. #: guix-git/doc/guix.texi:21661
  32546. #, no-wrap
  32547. msgid ""
  32548. "(dovecot-service #:config\n"
  32549. " (opaque-dovecot-configuration\n"
  32550. " (string \"\")))\n"
  32551. msgstr ""
  32552. #. type: subsubheading
  32553. #: guix-git/doc/guix.texi:21663
  32554. #, no-wrap
  32555. msgid "OpenSMTPD Service"
  32556. msgstr ""
  32557. #. type: deffn
  32558. #: guix-git/doc/guix.texi:21665
  32559. #, no-wrap
  32560. msgid "{Scheme Variable} opensmtpd-service-type"
  32561. msgstr ""
  32562. #. type: deffn
  32563. #: guix-git/doc/guix.texi:21669
  32564. 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:"
  32565. msgstr ""
  32566. #. type: lisp
  32567. #: guix-git/doc/guix.texi:21674
  32568. #, no-wrap
  32569. msgid ""
  32570. "(service opensmtpd-service-type\n"
  32571. " (opensmtpd-configuration\n"
  32572. " (config-file (local-file \"./my-smtpd.conf\"))))\n"
  32573. msgstr ""
  32574. #. type: deftp
  32575. #: guix-git/doc/guix.texi:21677
  32576. #, no-wrap
  32577. msgid "{Data Type} opensmtpd-configuration"
  32578. msgstr ""
  32579. #. type: deftp
  32580. #: guix-git/doc/guix.texi:21679
  32581. msgid "Data type representing the configuration of opensmtpd."
  32582. msgstr ""
  32583. #. type: item
  32584. #: guix-git/doc/guix.texi:21681
  32585. #, no-wrap
  32586. msgid "@code{package} (default: @var{opensmtpd})"
  32587. msgstr ""
  32588. #. type: table
  32589. #: guix-git/doc/guix.texi:21683
  32590. msgid "Package object of the OpenSMTPD SMTP server."
  32591. msgstr ""
  32592. #. type: item
  32593. #: guix-git/doc/guix.texi:21684
  32594. #, no-wrap
  32595. msgid "@code{config-file} (default: @code{%default-opensmtpd-file})"
  32596. msgstr ""
  32597. #. type: table
  32598. #: guix-git/doc/guix.texi:21689
  32599. 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."
  32600. msgstr ""
  32601. #. type: subsubheading
  32602. #: guix-git/doc/guix.texi:21693
  32603. #, no-wrap
  32604. msgid "Exim Service"
  32605. msgstr ""
  32606. #. type: cindex
  32607. #: guix-git/doc/guix.texi:21695
  32608. #, no-wrap
  32609. msgid "mail transfer agent (MTA)"
  32610. msgstr ""
  32611. #. type: cindex
  32612. #: guix-git/doc/guix.texi:21696
  32613. #, no-wrap
  32614. msgid "MTA (mail transfer agent)"
  32615. msgstr ""
  32616. #. type: cindex
  32617. #: guix-git/doc/guix.texi:21697
  32618. #, no-wrap
  32619. msgid "SMTP"
  32620. msgstr ""
  32621. #. type: deffn
  32622. #: guix-git/doc/guix.texi:21699
  32623. #, no-wrap
  32624. msgid "{Scheme Variable} exim-service-type"
  32625. msgstr ""
  32626. #. type: deffn
  32627. #: guix-git/doc/guix.texi:21703
  32628. 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:"
  32629. msgstr ""
  32630. #. type: lisp
  32631. #: guix-git/doc/guix.texi:21708
  32632. #, no-wrap
  32633. msgid ""
  32634. "(service exim-service-type\n"
  32635. " (exim-configuration\n"
  32636. " (config-file (local-file \"./my-exim.conf\"))))\n"
  32637. msgstr ""
  32638. #. type: Plain text
  32639. #: guix-git/doc/guix.texi:21714
  32640. 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)."
  32641. msgstr ""
  32642. #. type: deftp
  32643. #: guix-git/doc/guix.texi:21715
  32644. #, no-wrap
  32645. msgid "{Data Type} exim-configuration"
  32646. msgstr ""
  32647. #. type: deftp
  32648. #: guix-git/doc/guix.texi:21717
  32649. msgid "Data type representing the configuration of exim."
  32650. msgstr ""
  32651. #. type: item
  32652. #: guix-git/doc/guix.texi:21719
  32653. #, no-wrap
  32654. msgid "@code{package} (default: @var{exim})"
  32655. msgstr ""
  32656. #. type: table
  32657. #: guix-git/doc/guix.texi:21721
  32658. msgid "Package object of the Exim server."
  32659. msgstr ""
  32660. #. type: table
  32661. #: guix-git/doc/guix.texi:21728
  32662. 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."
  32663. msgstr ""
  32664. #. type: subsubheading
  32665. #: guix-git/doc/guix.texi:21732
  32666. #, no-wrap
  32667. msgid "Getmail service"
  32668. msgstr ""
  32669. #. type: cindex
  32670. #: guix-git/doc/guix.texi:21734
  32671. #, no-wrap
  32672. msgid "IMAP"
  32673. msgstr ""
  32674. #. type: cindex
  32675. #: guix-git/doc/guix.texi:21735
  32676. #, no-wrap
  32677. msgid "POP"
  32678. msgstr ""
  32679. #. type: deffn
  32680. #: guix-git/doc/guix.texi:21737
  32681. #, no-wrap
  32682. msgid "{Scheme Variable} getmail-service-type"
  32683. msgstr ""
  32684. #. type: deffn
  32685. #: guix-git/doc/guix.texi:21740
  32686. msgid "This is the type of the @uref{http://pyropus.ca/software/getmail/, Getmail} mail retriever, whose value should be an @code{getmail-configuration}."
  32687. msgstr ""
  32688. #. type: Plain text
  32689. #: guix-git/doc/guix.texi:21743
  32690. msgid "Available @code{getmail-configuration} fields are:"
  32691. msgstr ""
  32692. #. type: deftypevr
  32693. #: guix-git/doc/guix.texi:21744
  32694. #, no-wrap
  32695. msgid "{@code{getmail-configuration} parameter} symbol name"
  32696. msgstr ""
  32697. #. type: deftypevr
  32698. #: guix-git/doc/guix.texi:21746
  32699. msgid "A symbol to identify the getmail service."
  32700. msgstr ""
  32701. #. type: deftypevr
  32702. #: guix-git/doc/guix.texi:21748
  32703. msgid "Defaults to @samp{\"unset\"}."
  32704. msgstr ""
  32705. #. type: deftypevr
  32706. #: guix-git/doc/guix.texi:21751
  32707. #, no-wrap
  32708. msgid "{@code{getmail-configuration} parameter} package package"
  32709. msgstr ""
  32710. #. type: deftypevr
  32711. #: guix-git/doc/guix.texi:21753
  32712. msgid "The getmail package to use."
  32713. msgstr ""
  32714. #. type: deftypevr
  32715. #: guix-git/doc/guix.texi:21756
  32716. #, no-wrap
  32717. msgid "{@code{getmail-configuration} parameter} string user"
  32718. msgstr ""
  32719. #. type: deftypevr
  32720. #: guix-git/doc/guix.texi:21758
  32721. msgid "The user to run getmail as."
  32722. msgstr ""
  32723. #. type: deftypevr
  32724. #: guix-git/doc/guix.texi:21760 guix-git/doc/guix.texi:21767
  32725. msgid "Defaults to @samp{\"getmail\"}."
  32726. msgstr ""
  32727. #. type: deftypevr
  32728. #: guix-git/doc/guix.texi:21763
  32729. #, no-wrap
  32730. msgid "{@code{getmail-configuration} parameter} string group"
  32731. msgstr ""
  32732. #. type: deftypevr
  32733. #: guix-git/doc/guix.texi:21765
  32734. msgid "The group to run getmail as."
  32735. msgstr ""
  32736. #. type: deftypevr
  32737. #: guix-git/doc/guix.texi:21770
  32738. #, no-wrap
  32739. msgid "{@code{getmail-configuration} parameter} string directory"
  32740. msgstr ""
  32741. #. type: deftypevr
  32742. #: guix-git/doc/guix.texi:21772
  32743. msgid "The getmail directory to use."
  32744. msgstr ""
  32745. #. type: deftypevr
  32746. #: guix-git/doc/guix.texi:21774
  32747. msgid "Defaults to @samp{\"/var/lib/getmail/default\"}."
  32748. msgstr ""
  32749. #. type: deftypevr
  32750. #: guix-git/doc/guix.texi:21777
  32751. #, no-wrap
  32752. msgid "{@code{getmail-configuration} parameter} getmail-configuration-file rcfile"
  32753. msgstr ""
  32754. #. type: deftypevr
  32755. #: guix-git/doc/guix.texi:21779
  32756. msgid "The getmail configuration file to use."
  32757. msgstr ""
  32758. #. type: deftypevr
  32759. #: guix-git/doc/guix.texi:21781
  32760. msgid "Available @code{getmail-configuration-file} fields are:"
  32761. msgstr ""
  32762. #. type: deftypevr
  32763. #: guix-git/doc/guix.texi:21782
  32764. #, no-wrap
  32765. msgid "{@code{getmail-configuration-file} parameter} getmail-retriever-configuration retriever"
  32766. msgstr ""
  32767. #. type: deftypevr
  32768. #: guix-git/doc/guix.texi:21784
  32769. msgid "What mail account to retrieve mail from, and how to access that account."
  32770. msgstr ""
  32771. #. type: deftypevr
  32772. #: guix-git/doc/guix.texi:21786
  32773. msgid "Available @code{getmail-retriever-configuration} fields are:"
  32774. msgstr ""
  32775. #. type: deftypevr
  32776. #: guix-git/doc/guix.texi:21787
  32777. #, no-wrap
  32778. msgid "{@code{getmail-retriever-configuration} parameter} string type"
  32779. msgstr ""
  32780. #. type: deftypevr
  32781. #: guix-git/doc/guix.texi:21790
  32782. msgid "The type of mail retriever to use. Valid values include @samp{passwd} and @samp{static}."
  32783. msgstr ""
  32784. #. type: deftypevr
  32785. #: guix-git/doc/guix.texi:21792
  32786. msgid "Defaults to @samp{\"SimpleIMAPSSLRetriever\"}."
  32787. msgstr ""
  32788. #. type: deftypevr
  32789. #: guix-git/doc/guix.texi:21795
  32790. #, no-wrap
  32791. msgid "{@code{getmail-retriever-configuration} parameter} string server"
  32792. msgstr ""
  32793. #. type: deftypevr
  32794. #: guix-git/doc/guix.texi:21797 guix-git/doc/guix.texi:21804
  32795. msgid "Username to login to the mail server with."
  32796. msgstr ""
  32797. #. type: deftypevr
  32798. #: guix-git/doc/guix.texi:21799 guix-git/doc/guix.texi:21806
  32799. #: guix-git/doc/guix.texi:21870
  32800. msgid "Defaults to @samp{unset}."
  32801. msgstr ""
  32802. #. type: deftypevr
  32803. #: guix-git/doc/guix.texi:21802
  32804. #, no-wrap
  32805. msgid "{@code{getmail-retriever-configuration} parameter} string username"
  32806. msgstr ""
  32807. #. type: deftypevr
  32808. #: guix-git/doc/guix.texi:21809
  32809. #, no-wrap
  32810. msgid "{@code{getmail-retriever-configuration} parameter} non-negative-integer port"
  32811. msgstr ""
  32812. #. type: deftypevr
  32813. #: guix-git/doc/guix.texi:21811
  32814. msgid "Port number to connect to."
  32815. msgstr ""
  32816. #. type: deftypevr
  32817. #: guix-git/doc/guix.texi:21816
  32818. #, no-wrap
  32819. msgid "{@code{getmail-retriever-configuration} parameter} string password"
  32820. msgstr ""
  32821. #. type: deftypevr
  32822. #: guix-git/doc/guix.texi:21818 guix-git/doc/guix.texi:21825
  32823. msgid "Override fields from passwd."
  32824. msgstr ""
  32825. #. type: deftypevr
  32826. #: guix-git/doc/guix.texi:21823
  32827. #, no-wrap
  32828. msgid "{@code{getmail-retriever-configuration} parameter} list password-command"
  32829. msgstr ""
  32830. #. type: deftypevr
  32831. #: guix-git/doc/guix.texi:21830
  32832. #, no-wrap
  32833. msgid "{@code{getmail-retriever-configuration} parameter} string keyfile"
  32834. msgstr ""
  32835. #. type: deftypevr
  32836. #: guix-git/doc/guix.texi:21832
  32837. msgid "PEM-formatted key file to use for the TLS negotiation."
  32838. msgstr ""
  32839. #. type: deftypevr
  32840. #: guix-git/doc/guix.texi:21837
  32841. #, no-wrap
  32842. msgid "{@code{getmail-retriever-configuration} parameter} string certfile"
  32843. msgstr ""
  32844. #. type: deftypevr
  32845. #: guix-git/doc/guix.texi:21839
  32846. msgid "PEM-formatted certificate file to use for the TLS negotiation."
  32847. msgstr ""
  32848. #. type: deftypevr
  32849. #: guix-git/doc/guix.texi:21844
  32850. #, no-wrap
  32851. msgid "{@code{getmail-retriever-configuration} parameter} string ca-certs"
  32852. msgstr ""
  32853. #. type: deftypevr
  32854. #: guix-git/doc/guix.texi:21846
  32855. msgid "CA certificates to use."
  32856. msgstr ""
  32857. #. type: deftypevr
  32858. #: guix-git/doc/guix.texi:21851
  32859. #, no-wrap
  32860. msgid "{@code{getmail-retriever-configuration} parameter} parameter-alist extra-parameters"
  32861. msgstr ""
  32862. #. type: deftypevr
  32863. #: guix-git/doc/guix.texi:21853
  32864. msgid "Extra retriever parameters."
  32865. msgstr ""
  32866. #. type: deftypevr
  32867. #: guix-git/doc/guix.texi:21860
  32868. #, no-wrap
  32869. msgid "{@code{getmail-configuration-file} parameter} getmail-destination-configuration destination"
  32870. msgstr ""
  32871. #. type: deftypevr
  32872. #: guix-git/doc/guix.texi:21862
  32873. msgid "What to do with retrieved messages."
  32874. msgstr ""
  32875. #. type: deftypevr
  32876. #: guix-git/doc/guix.texi:21864
  32877. msgid "Available @code{getmail-destination-configuration} fields are:"
  32878. msgstr ""
  32879. #. type: deftypevr
  32880. #: guix-git/doc/guix.texi:21865
  32881. #, no-wrap
  32882. msgid "{@code{getmail-destination-configuration} parameter} string type"
  32883. msgstr ""
  32884. #. type: deftypevr
  32885. #: guix-git/doc/guix.texi:21868
  32886. msgid "The type of mail destination. Valid values include @samp{Maildir}, @samp{Mboxrd} and @samp{MDA_external}."
  32887. msgstr ""
  32888. #. type: deftypevr
  32889. #: guix-git/doc/guix.texi:21873
  32890. #, no-wrap
  32891. msgid "{@code{getmail-destination-configuration} parameter} string-or-filelike path"
  32892. msgstr ""
  32893. #. type: deftypevr
  32894. #: guix-git/doc/guix.texi:21876
  32895. msgid "The path option for the mail destination. The behaviour depends on the chosen type."
  32896. msgstr ""
  32897. #. type: deftypevr
  32898. #: guix-git/doc/guix.texi:21881
  32899. #, no-wrap
  32900. msgid "{@code{getmail-destination-configuration} parameter} parameter-alist extra-parameters"
  32901. msgstr ""
  32902. #. type: deftypevr
  32903. #: guix-git/doc/guix.texi:21883
  32904. msgid "Extra destination parameters"
  32905. msgstr ""
  32906. #. type: deftypevr
  32907. #: guix-git/doc/guix.texi:21890
  32908. #, no-wrap
  32909. msgid "{@code{getmail-configuration-file} parameter} getmail-options-configuration options"
  32910. msgstr ""
  32911. #. type: deftypevr
  32912. #: guix-git/doc/guix.texi:21892
  32913. msgid "Configure getmail."
  32914. msgstr ""
  32915. #. type: deftypevr
  32916. #: guix-git/doc/guix.texi:21894
  32917. msgid "Available @code{getmail-options-configuration} fields are:"
  32918. msgstr ""
  32919. #. type: deftypevr
  32920. #: guix-git/doc/guix.texi:21895
  32921. #, no-wrap
  32922. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer verbose"
  32923. msgstr ""
  32924. #. type: deftypevr
  32925. #: guix-git/doc/guix.texi:21900
  32926. 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."
  32927. msgstr ""
  32928. #. type: deftypevr
  32929. #: guix-git/doc/guix.texi:21902 guix-git/doc/guix.texi:28474
  32930. #: guix-git/doc/guix.texi:29062 guix-git/doc/guix.texi:29207
  32931. msgid "Defaults to @samp{1}."
  32932. msgstr ""
  32933. #. type: deftypevr
  32934. #: guix-git/doc/guix.texi:21905
  32935. #, no-wrap
  32936. msgid "{@code{getmail-options-configuration} parameter} boolean read-all"
  32937. msgstr ""
  32938. #. type: deftypevr
  32939. #: guix-git/doc/guix.texi:21908
  32940. msgid "If true, getmail will retrieve all available messages. Otherwise it will only retrieve messages it hasn't seen previously."
  32941. msgstr ""
  32942. #. type: deftypevr
  32943. #: guix-git/doc/guix.texi:21913
  32944. #, no-wrap
  32945. msgid "{@code{getmail-options-configuration} parameter} boolean delete"
  32946. msgstr ""
  32947. #. type: deftypevr
  32948. #: guix-git/doc/guix.texi:21917
  32949. 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."
  32950. msgstr ""
  32951. #. type: deftypevr
  32952. #: guix-git/doc/guix.texi:21922
  32953. #, no-wrap
  32954. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-after"
  32955. msgstr ""
  32956. #. type: deftypevr
  32957. #: guix-git/doc/guix.texi:21927
  32958. 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."
  32959. msgstr ""
  32960. #. type: deftypevr
  32961. #: guix-git/doc/guix.texi:21932
  32962. #, no-wrap
  32963. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-bigger-than"
  32964. msgstr ""
  32965. #. type: deftypevr
  32966. #: guix-git/doc/guix.texi:21936
  32967. 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."
  32968. msgstr ""
  32969. #. type: deftypevr
  32970. #: guix-git/doc/guix.texi:21941
  32971. #, no-wrap
  32972. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-bytes-per-session"
  32973. msgstr ""
  32974. #. type: deftypevr
  32975. #: guix-git/doc/guix.texi:21944
  32976. 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."
  32977. msgstr ""
  32978. #. type: deftypevr
  32979. #: guix-git/doc/guix.texi:21949
  32980. #, no-wrap
  32981. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-message-size"
  32982. msgstr ""
  32983. #. type: deftypevr
  32984. #: guix-git/doc/guix.texi:21952
  32985. msgid "Don't retrieve messages larger than this number of bytes. A value of @samp{0} disables this feature."
  32986. msgstr ""
  32987. #. type: deftypevr
  32988. #: guix-git/doc/guix.texi:21957
  32989. #, no-wrap
  32990. msgid "{@code{getmail-options-configuration} parameter} boolean delivered-to"
  32991. msgstr ""
  32992. #. type: deftypevr
  32993. #: guix-git/doc/guix.texi:21959
  32994. msgid "If true, getmail will add a Delivered-To header to messages."
  32995. msgstr ""
  32996. #. type: deftypevr
  32997. #: guix-git/doc/guix.texi:21964
  32998. #, no-wrap
  32999. msgid "{@code{getmail-options-configuration} parameter} boolean received"
  33000. msgstr ""
  33001. #. type: deftypevr
  33002. #: guix-git/doc/guix.texi:21966
  33003. msgid "If set, getmail adds a Received header to the messages."
  33004. msgstr ""
  33005. #. type: deftypevr
  33006. #: guix-git/doc/guix.texi:21971
  33007. #, no-wrap
  33008. msgid "{@code{getmail-options-configuration} parameter} string message-log"
  33009. msgstr ""
  33010. #. type: deftypevr
  33011. #: guix-git/doc/guix.texi:21974
  33012. msgid "Getmail will record a log of its actions to the named file. A value of @samp{\"\"} disables this feature."
  33013. msgstr ""
  33014. #. type: deftypevr
  33015. #: guix-git/doc/guix.texi:21979
  33016. #, no-wrap
  33017. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-syslog"
  33018. msgstr ""
  33019. #. type: deftypevr
  33020. #: guix-git/doc/guix.texi:21982
  33021. msgid "If true, getmail will record a log of its actions using the system logger."
  33022. msgstr ""
  33023. #. type: deftypevr
  33024. #: guix-git/doc/guix.texi:21987
  33025. #, no-wrap
  33026. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-verbose"
  33027. msgstr ""
  33028. #. type: deftypevr
  33029. #: guix-git/doc/guix.texi:21991
  33030. 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."
  33031. msgstr ""
  33032. #. type: deftypevr
  33033. #: guix-git/doc/guix.texi:21996
  33034. #, no-wrap
  33035. msgid "{@code{getmail-options-configuration} parameter} parameter-alist extra-parameters"
  33036. msgstr ""
  33037. #. type: deftypevr
  33038. #: guix-git/doc/guix.texi:21998
  33039. msgid "Extra options to include."
  33040. msgstr ""
  33041. #. type: deftypevr
  33042. #: guix-git/doc/guix.texi:22007
  33043. #, no-wrap
  33044. msgid "{@code{getmail-configuration} parameter} list idle"
  33045. msgstr ""
  33046. #. type: deftypevr
  33047. #: guix-git/doc/guix.texi:22011
  33048. 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."
  33049. msgstr ""
  33050. #. type: deftypevr
  33051. #: guix-git/doc/guix.texi:22016
  33052. #, no-wrap
  33053. msgid "{@code{getmail-configuration} parameter} list environment-variables"
  33054. msgstr ""
  33055. #. type: deftypevr
  33056. #: guix-git/doc/guix.texi:22018
  33057. msgid "Environment variables to set for getmail."
  33058. msgstr ""
  33059. #. type: subsubheading
  33060. #: guix-git/doc/guix.texi:22023
  33061. #, no-wrap
  33062. msgid "Mail Aliases Service"
  33063. msgstr ""
  33064. #. type: cindex
  33065. #: guix-git/doc/guix.texi:22025
  33066. #, no-wrap
  33067. msgid "email aliases"
  33068. msgstr ""
  33069. #. type: cindex
  33070. #: guix-git/doc/guix.texi:22026
  33071. #, no-wrap
  33072. msgid "aliases, for email addresses"
  33073. msgstr ""
  33074. #. type: deffn
  33075. #: guix-git/doc/guix.texi:22028
  33076. #, no-wrap
  33077. msgid "{Scheme Variable} mail-aliases-service-type"
  33078. msgstr ""
  33079. #. type: deffn
  33080. #: guix-git/doc/guix.texi:22031
  33081. msgid "This is the type of the service which provides @code{/etc/aliases}, specifying how to deliver mail to users on this system."
  33082. msgstr ""
  33083. #. type: lisp
  33084. #: guix-git/doc/guix.texi:22036
  33085. #, no-wrap
  33086. msgid ""
  33087. "(service mail-aliases-service-type\n"
  33088. " '((\"postmaster\" \"bob\")\n"
  33089. " (\"bob\" \"bob@@example.com\" \"bob@@example2.com\")))\n"
  33090. msgstr ""
  33091. #. type: Plain text
  33092. #: guix-git/doc/guix.texi:22044
  33093. 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."
  33094. msgstr ""
  33095. #. type: Plain text
  33096. #: guix-git/doc/guix.texi:22050
  33097. 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})."
  33098. msgstr ""
  33099. #. type: cindex
  33100. #: guix-git/doc/guix.texi:22051 guix-git/doc/guix.texi:22052
  33101. #, no-wrap
  33102. msgid "GNU Mailutils IMAP4 Daemon"
  33103. msgstr ""
  33104. #. type: deffn
  33105. #: guix-git/doc/guix.texi:22054
  33106. #, no-wrap
  33107. msgid "{Scheme Variable} imap4d-service-type"
  33108. msgstr ""
  33109. #. type: deffn
  33110. #: guix-git/doc/guix.texi:22058
  33111. 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:"
  33112. msgstr ""
  33113. #. type: lisp
  33114. #: guix-git/doc/guix.texi:22063
  33115. #, no-wrap
  33116. msgid ""
  33117. "(service imap4d-service-type\n"
  33118. " (imap4d-configuration\n"
  33119. " (config-file (local-file \"imap4d.conf\"))))\n"
  33120. msgstr ""
  33121. #. type: deftp
  33122. #: guix-git/doc/guix.texi:22066
  33123. #, no-wrap
  33124. msgid "{Data Type} imap4d-configuration"
  33125. msgstr ""
  33126. #. type: deftp
  33127. #: guix-git/doc/guix.texi:22068
  33128. msgid "Data type representing the configuration of @command{imap4d}."
  33129. msgstr ""
  33130. #. type: item
  33131. #: guix-git/doc/guix.texi:22070
  33132. #, no-wrap
  33133. msgid "@code{package} (default: @code{mailutils})"
  33134. msgstr ""
  33135. #. type: table
  33136. #: guix-git/doc/guix.texi:22072
  33137. msgid "The package that provides @command{imap4d}."
  33138. msgstr ""
  33139. #. type: item
  33140. #: guix-git/doc/guix.texi:22073
  33141. #, no-wrap
  33142. msgid "@code{config-file} (default: @code{%default-imap4d-config-file})"
  33143. msgstr ""
  33144. #. type: table
  33145. #: guix-git/doc/guix.texi:22077
  33146. 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."
  33147. msgstr ""
  33148. #. type: subsubheading
  33149. #: guix-git/doc/guix.texi:22081
  33150. #, no-wrap
  33151. msgid "Radicale Service"
  33152. msgstr ""
  33153. #. type: cindex
  33154. #: guix-git/doc/guix.texi:22082
  33155. #, no-wrap
  33156. msgid "CalDAV"
  33157. msgstr ""
  33158. #. type: cindex
  33159. #: guix-git/doc/guix.texi:22083
  33160. #, no-wrap
  33161. msgid "CardDAV"
  33162. msgstr ""
  33163. #. type: deffn
  33164. #: guix-git/doc/guix.texi:22085
  33165. #, no-wrap
  33166. msgid "{Scheme Variable} radicale-service-type"
  33167. msgstr ""
  33168. #. type: deffn
  33169. #: guix-git/doc/guix.texi:22088
  33170. msgid "This is the type of the @uref{https://radicale.org, Radicale} CalDAV/CardDAV server whose value should be a @code{radicale-configuration}."
  33171. msgstr ""
  33172. #. type: deftp
  33173. #: guix-git/doc/guix.texi:22090
  33174. #, no-wrap
  33175. msgid "{Data Type} radicale-configuration"
  33176. msgstr ""
  33177. #. type: deftp
  33178. #: guix-git/doc/guix.texi:22092
  33179. msgid "Data type representing the configuration of @command{radicale}."
  33180. msgstr ""
  33181. #. type: item
  33182. #: guix-git/doc/guix.texi:22094
  33183. #, no-wrap
  33184. msgid "@code{package} (default: @code{radicale})"
  33185. msgstr ""
  33186. #. type: table
  33187. #: guix-git/doc/guix.texi:22096
  33188. msgid "The package that provides @command{radicale}."
  33189. msgstr ""
  33190. #. type: item
  33191. #: guix-git/doc/guix.texi:22097
  33192. #, no-wrap
  33193. msgid "@code{config-file} (default: @code{%default-radicale-config-file})"
  33194. msgstr ""
  33195. #. type: table
  33196. #: guix-git/doc/guix.texi:22101
  33197. 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."
  33198. msgstr ""
  33199. #. type: cindex
  33200. #: guix-git/doc/guix.texi:22108
  33201. #, no-wrap
  33202. msgid "messaging"
  33203. msgstr ""
  33204. #. type: cindex
  33205. #: guix-git/doc/guix.texi:22109
  33206. #, no-wrap
  33207. msgid "jabber"
  33208. msgstr ""
  33209. #. type: cindex
  33210. #: guix-git/doc/guix.texi:22110
  33211. #, no-wrap
  33212. msgid "XMPP"
  33213. msgstr "XMPP"
  33214. #. type: Plain text
  33215. #: guix-git/doc/guix.texi:22114
  33216. msgid "The @code{(gnu services messaging)} module provides Guix service definitions for messaging services. Currently it provides the following services:"
  33217. msgstr ""
  33218. #. type: subsubheading
  33219. #: guix-git/doc/guix.texi:22115
  33220. #, no-wrap
  33221. msgid "Prosody Service"
  33222. msgstr ""
  33223. #. type: deffn
  33224. #: guix-git/doc/guix.texi:22117
  33225. #, no-wrap
  33226. msgid "{Scheme Variable} prosody-service-type"
  33227. msgstr ""
  33228. #. type: deffn
  33229. #: guix-git/doc/guix.texi:22121
  33230. 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:"
  33231. msgstr ""
  33232. #. type: lisp
  33233. #: guix-git/doc/guix.texi:22136
  33234. #, no-wrap
  33235. msgid ""
  33236. "(service prosody-service-type\n"
  33237. " (prosody-configuration\n"
  33238. " (modules-enabled (cons* \"groups\" \"mam\" %default-modules-enabled))\n"
  33239. " (int-components\n"
  33240. " (list\n"
  33241. " (int-component-configuration\n"
  33242. " (hostname \"conference.example.net\")\n"
  33243. " (plugin \"muc\")\n"
  33244. " (mod-muc (mod-muc-configuration)))))\n"
  33245. " (virtualhosts\n"
  33246. " (list\n"
  33247. " (virtualhost-configuration\n"
  33248. " (domain \"example.net\"))))))\n"
  33249. msgstr ""
  33250. #. type: deffn
  33251. #: guix-git/doc/guix.texi:22139
  33252. msgid "See below for details about @code{prosody-configuration}."
  33253. msgstr ""
  33254. #. type: Plain text
  33255. #: guix-git/doc/guix.texi:22145
  33256. 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."
  33257. msgstr ""
  33258. #. type: Plain text
  33259. #: guix-git/doc/guix.texi:22148
  33260. msgid "You can perform various sanity checks on the generated configuration with the @code{prosodyctl check} command."
  33261. msgstr ""
  33262. #. type: Plain text
  33263. #: guix-git/doc/guix.texi:22152
  33264. 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}."
  33265. msgstr ""
  33266. #. type: example
  33267. #: guix-git/doc/guix.texi:22155
  33268. #, no-wrap
  33269. msgid "prosodyctl --root cert import /etc/letsencrypt/live\n"
  33270. msgstr ""
  33271. #. type: Plain text
  33272. #: guix-git/doc/guix.texi:22162
  33273. 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}."
  33274. msgstr ""
  33275. #. type: Plain text
  33276. #: guix-git/doc/guix.texi:22166
  33277. 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."
  33278. msgstr ""
  33279. #. type: Plain text
  33280. #: guix-git/doc/guix.texi:22169
  33281. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a file name."
  33282. msgstr ""
  33283. #. type: Plain text
  33284. #: guix-git/doc/guix.texi:22179
  33285. msgid "Available @code{prosody-configuration} fields are:"
  33286. msgstr ""
  33287. #. type: deftypevr
  33288. #: guix-git/doc/guix.texi:22180
  33289. #, no-wrap
  33290. msgid "{@code{prosody-configuration} parameter} package prosody"
  33291. msgstr ""
  33292. #. type: deftypevr
  33293. #: guix-git/doc/guix.texi:22182
  33294. msgid "The Prosody package."
  33295. msgstr ""
  33296. #. type: deftypevr
  33297. #: guix-git/doc/guix.texi:22184
  33298. #, no-wrap
  33299. msgid "{@code{prosody-configuration} parameter} file-name data-path"
  33300. msgstr ""
  33301. #. type: deftypevr
  33302. #: guix-git/doc/guix.texi:22188
  33303. msgid "Location of the Prosody data storage directory. See @url{https://prosody.im/doc/configure}. Defaults to @samp{\"/var/lib/prosody\"}."
  33304. msgstr ""
  33305. #. type: deftypevr
  33306. #: guix-git/doc/guix.texi:22190
  33307. #, no-wrap
  33308. msgid "{@code{prosody-configuration} parameter} file-object-list plugin-paths"
  33309. msgstr ""
  33310. #. type: deftypevr
  33311. #: guix-git/doc/guix.texi:22194
  33312. 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{()}."
  33313. msgstr ""
  33314. #. type: deftypevr
  33315. #: guix-git/doc/guix.texi:22196
  33316. #, no-wrap
  33317. msgid "{@code{prosody-configuration} parameter} file-name certificates"
  33318. msgstr ""
  33319. #. type: deftypevr
  33320. #: guix-git/doc/guix.texi:22201
  33321. 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\"}."
  33322. msgstr ""
  33323. #. type: deftypevr
  33324. #: guix-git/doc/guix.texi:22203
  33325. #, no-wrap
  33326. msgid "{@code{prosody-configuration} parameter} string-list admins"
  33327. msgstr ""
  33328. #. type: deftypevr
  33329. #: guix-git/doc/guix.texi:22209
  33330. 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{()}."
  33331. msgstr ""
  33332. #. type: deftypevr
  33333. #: guix-git/doc/guix.texi:22211
  33334. #, no-wrap
  33335. msgid "{@code{prosody-configuration} parameter} boolean use-libevent?"
  33336. msgstr ""
  33337. #. type: deftypevr
  33338. #: guix-git/doc/guix.texi:22215
  33339. msgid "Enable use of libevent for better performance under high load. See @url{https://prosody.im/doc/libevent}. Defaults to @samp{#f}."
  33340. msgstr ""
  33341. #. type: deftypevr
  33342. #: guix-git/doc/guix.texi:22217
  33343. #, no-wrap
  33344. msgid "{@code{prosody-configuration} parameter} module-list modules-enabled"
  33345. msgstr ""
  33346. #. type: deftypevr
  33347. #: guix-git/doc/guix.texi:22223
  33348. 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\")}."
  33349. msgstr ""
  33350. #. type: deftypevr
  33351. #: guix-git/doc/guix.texi:22225
  33352. #, no-wrap
  33353. msgid "{@code{prosody-configuration} parameter} string-list modules-disabled"
  33354. msgstr ""
  33355. #. type: deftypevr
  33356. #: guix-git/doc/guix.texi:22229
  33357. 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{()}."
  33358. msgstr ""
  33359. #. type: deftypevr
  33360. #: guix-git/doc/guix.texi:22231
  33361. #, no-wrap
  33362. msgid "{@code{prosody-configuration} parameter} file-object groups-file"
  33363. msgstr ""
  33364. #. type: deftypevr
  33365. #: guix-git/doc/guix.texi:22236
  33366. 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\"}."
  33367. msgstr ""
  33368. #. type: deftypevr
  33369. #: guix-git/doc/guix.texi:22238
  33370. #, no-wrap
  33371. msgid "{@code{prosody-configuration} parameter} boolean allow-registration?"
  33372. msgstr ""
  33373. #. type: deftypevr
  33374. #: guix-git/doc/guix.texi:22242
  33375. msgid "Disable account creation by default, for security. See @url{https://prosody.im/doc/creating_accounts}. Defaults to @samp{#f}."
  33376. msgstr ""
  33377. #. type: deftypevr
  33378. #: guix-git/doc/guix.texi:22244
  33379. #, no-wrap
  33380. msgid "{@code{prosody-configuration} parameter} maybe-ssl-configuration ssl"
  33381. msgstr ""
  33382. #. type: deftypevr
  33383. #: guix-git/doc/guix.texi:22249
  33384. 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}."
  33385. msgstr ""
  33386. #. type: deftypevr
  33387. #: guix-git/doc/guix.texi:22251
  33388. msgid "Available @code{ssl-configuration} fields are:"
  33389. msgstr ""
  33390. #. type: deftypevr
  33391. #: guix-git/doc/guix.texi:22252
  33392. #, no-wrap
  33393. msgid "{@code{ssl-configuration} parameter} maybe-string protocol"
  33394. msgstr ""
  33395. #. type: deftypevr
  33396. #: guix-git/doc/guix.texi:22254
  33397. msgid "This determines what handshake to use."
  33398. msgstr ""
  33399. #. type: deftypevr
  33400. #: guix-git/doc/guix.texi:22256
  33401. #, no-wrap
  33402. msgid "{@code{ssl-configuration} parameter} maybe-file-name key"
  33403. msgstr ""
  33404. #. type: deftypevr
  33405. #: guix-git/doc/guix.texi:22258
  33406. msgid "Path to your private key file."
  33407. msgstr ""
  33408. #. type: deftypevr
  33409. #: guix-git/doc/guix.texi:22260
  33410. #, no-wrap
  33411. msgid "{@code{ssl-configuration} parameter} maybe-file-name certificate"
  33412. msgstr ""
  33413. #. type: deftypevr
  33414. #: guix-git/doc/guix.texi:22262
  33415. msgid "Path to your certificate file."
  33416. msgstr ""
  33417. #. type: deftypevr
  33418. #: guix-git/doc/guix.texi:22264
  33419. #, no-wrap
  33420. msgid "{@code{ssl-configuration} parameter} file-object capath"
  33421. msgstr ""
  33422. #. type: deftypevr
  33423. #: guix-git/doc/guix.texi:22268
  33424. 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\"}."
  33425. msgstr ""
  33426. #. type: deftypevr
  33427. #: guix-git/doc/guix.texi:22270
  33428. #, no-wrap
  33429. msgid "{@code{ssl-configuration} parameter} maybe-file-object cafile"
  33430. msgstr ""
  33431. #. type: deftypevr
  33432. #: guix-git/doc/guix.texi:22273
  33433. msgid "Path to a file containing root certificates that you wish Prosody to trust. Similar to @code{capath} but with all certificates concatenated together."
  33434. msgstr ""
  33435. #. type: deftypevr
  33436. #: guix-git/doc/guix.texi:22275
  33437. #, no-wrap
  33438. msgid "{@code{ssl-configuration} parameter} maybe-string-list verify"
  33439. msgstr ""
  33440. #. type: deftypevr
  33441. #: guix-git/doc/guix.texi:22278
  33442. msgid "A list of verification options (these mostly map to OpenSSL's @code{set_verify()} flags)."
  33443. msgstr ""
  33444. #. type: deftypevr
  33445. #: guix-git/doc/guix.texi:22280
  33446. #, no-wrap
  33447. msgid "{@code{ssl-configuration} parameter} maybe-string-list options"
  33448. msgstr ""
  33449. #. type: deftypevr
  33450. #: guix-git/doc/guix.texi:22284
  33451. 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."
  33452. msgstr ""
  33453. #. type: deftypevr
  33454. #: guix-git/doc/guix.texi:22286
  33455. #, no-wrap
  33456. msgid "{@code{ssl-configuration} parameter} maybe-non-negative-integer depth"
  33457. msgstr ""
  33458. #. type: deftypevr
  33459. #: guix-git/doc/guix.texi:22289
  33460. msgid "How long a chain of certificate authorities to check when looking for a trusted root certificate."
  33461. msgstr ""
  33462. #. type: deftypevr
  33463. #: guix-git/doc/guix.texi:22291
  33464. #, no-wrap
  33465. msgid "{@code{ssl-configuration} parameter} maybe-string ciphers"
  33466. msgstr ""
  33467. #. type: deftypevr
  33468. #: guix-git/doc/guix.texi:22294
  33469. msgid "An OpenSSL cipher string. This selects what ciphers Prosody will offer to clients, and in what order."
  33470. msgstr ""
  33471. #. type: deftypevr
  33472. #: guix-git/doc/guix.texi:22296
  33473. #, no-wrap
  33474. msgid "{@code{ssl-configuration} parameter} maybe-file-name dhparam"
  33475. msgstr ""
  33476. #. type: deftypevr
  33477. #: guix-git/doc/guix.texi:22300
  33478. 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}"
  33479. msgstr ""
  33480. #. type: deftypevr
  33481. #: guix-git/doc/guix.texi:22302
  33482. #, no-wrap
  33483. msgid "{@code{ssl-configuration} parameter} maybe-string curve"
  33484. msgstr ""
  33485. #. type: deftypevr
  33486. #: guix-git/doc/guix.texi:22305
  33487. msgid "Curve for Elliptic curve Diffie-Hellman. Prosody's default is @samp{\"secp384r1\"}."
  33488. msgstr ""
  33489. #. type: deftypevr
  33490. #: guix-git/doc/guix.texi:22307
  33491. #, no-wrap
  33492. msgid "{@code{ssl-configuration} parameter} maybe-string-list verifyext"
  33493. msgstr ""
  33494. #. type: deftypevr
  33495. #: guix-git/doc/guix.texi:22309
  33496. msgid "A list of ``extra'' verification options."
  33497. msgstr ""
  33498. #. type: deftypevr
  33499. #: guix-git/doc/guix.texi:22311
  33500. #, no-wrap
  33501. msgid "{@code{ssl-configuration} parameter} maybe-string password"
  33502. msgstr ""
  33503. #. type: deftypevr
  33504. #: guix-git/doc/guix.texi:22313
  33505. msgid "Password for encrypted private keys."
  33506. msgstr ""
  33507. #. type: deftypevr
  33508. #: guix-git/doc/guix.texi:22317
  33509. #, no-wrap
  33510. msgid "{@code{prosody-configuration} parameter} boolean c2s-require-encryption?"
  33511. msgstr ""
  33512. #. type: deftypevr
  33513. #: guix-git/doc/guix.texi:22321
  33514. 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}."
  33515. msgstr ""
  33516. #. type: deftypevr
  33517. #: guix-git/doc/guix.texi:22323
  33518. #, no-wrap
  33519. msgid "{@code{prosody-configuration} parameter} string-list disable-sasl-mechanisms"
  33520. msgstr ""
  33521. #. type: deftypevr
  33522. #: guix-git/doc/guix.texi:22327
  33523. msgid "Set of mechanisms that will never be offered. See @url{https://prosody.im/doc/modules/mod_saslauth}. Defaults to @samp{(\"DIGEST-MD5\")}."
  33524. msgstr ""
  33525. #. type: deftypevr
  33526. #: guix-git/doc/guix.texi:22329
  33527. #, no-wrap
  33528. msgid "{@code{prosody-configuration} parameter} boolean s2s-require-encryption?"
  33529. msgstr ""
  33530. #. type: deftypevr
  33531. #: guix-git/doc/guix.texi:22333
  33532. 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}."
  33533. msgstr ""
  33534. #. type: deftypevr
  33535. #: guix-git/doc/guix.texi:22335
  33536. #, no-wrap
  33537. msgid "{@code{prosody-configuration} parameter} boolean s2s-secure-auth?"
  33538. msgstr ""
  33539. #. type: deftypevr
  33540. #: guix-git/doc/guix.texi:22341
  33541. 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}."
  33542. msgstr ""
  33543. #. type: deftypevr
  33544. #: guix-git/doc/guix.texi:22343
  33545. #, no-wrap
  33546. msgid "{@code{prosody-configuration} parameter} string-list s2s-insecure-domains"
  33547. msgstr ""
  33548. #. type: deftypevr
  33549. #: guix-git/doc/guix.texi:22349
  33550. 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{()}."
  33551. msgstr ""
  33552. #. type: deftypevr
  33553. #: guix-git/doc/guix.texi:22351
  33554. #, no-wrap
  33555. msgid "{@code{prosody-configuration} parameter} string-list s2s-secure-domains"
  33556. msgstr ""
  33557. #. type: deftypevr
  33558. #: guix-git/doc/guix.texi:22356
  33559. 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{()}."
  33560. msgstr ""
  33561. #. type: deftypevr
  33562. #: guix-git/doc/guix.texi:22358
  33563. #, no-wrap
  33564. msgid "{@code{prosody-configuration} parameter} string authentication"
  33565. msgstr ""
  33566. #. type: deftypevr
  33567. #: guix-git/doc/guix.texi:22366
  33568. 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\"}."
  33569. msgstr ""
  33570. #. type: deftypevr
  33571. #: guix-git/doc/guix.texi:22368
  33572. #, no-wrap
  33573. msgid "{@code{prosody-configuration} parameter} maybe-string log"
  33574. msgstr ""
  33575. #. type: deftypevr
  33576. #: guix-git/doc/guix.texi:22372
  33577. 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\"}."
  33578. msgstr ""
  33579. #. type: deftypevr
  33580. #: guix-git/doc/guix.texi:22374
  33581. #, no-wrap
  33582. msgid "{@code{prosody-configuration} parameter} file-name pidfile"
  33583. msgstr ""
  33584. #. type: deftypevr
  33585. #: guix-git/doc/guix.texi:22377
  33586. msgid "File to write pid in. See @url{https://prosody.im/doc/modules/mod_posix}. Defaults to @samp{\"/var/run/prosody/prosody.pid\"}."
  33587. msgstr ""
  33588. #. type: deftypevr
  33589. #: guix-git/doc/guix.texi:22379
  33590. #, no-wrap
  33591. msgid "{@code{prosody-configuration} parameter} maybe-non-negative-integer http-max-content-size"
  33592. msgstr ""
  33593. #. type: deftypevr
  33594. #: guix-git/doc/guix.texi:22381
  33595. msgid "Maximum allowed size of the HTTP body (in bytes)."
  33596. msgstr ""
  33597. #. type: deftypevr
  33598. #: guix-git/doc/guix.texi:22383
  33599. #, no-wrap
  33600. msgid "{@code{prosody-configuration} parameter} maybe-string http-external-url"
  33601. msgstr ""
  33602. #. type: deftypevr
  33603. #: guix-git/doc/guix.texi:22388
  33604. 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}."
  33605. msgstr ""
  33606. #. type: deftypevr
  33607. #: guix-git/doc/guix.texi:22390
  33608. #, no-wrap
  33609. msgid "{@code{prosody-configuration} parameter} virtualhost-configuration-list virtualhosts"
  33610. msgstr ""
  33611. #. type: deftypevr
  33612. #: guix-git/doc/guix.texi:22395
  33613. 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."
  33614. msgstr ""
  33615. #. type: deftypevr
  33616. #: guix-git/doc/guix.texi:22401
  33617. 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."
  33618. msgstr ""
  33619. #. type: deftypevr
  33620. #: guix-git/doc/guix.texi:22403
  33621. msgid "See @url{https://prosody.im/doc/configure#virtual_host_settings}."
  33622. msgstr ""
  33623. #. type: deftypevr
  33624. #: guix-git/doc/guix.texi:22405
  33625. msgid "Available @code{virtualhost-configuration} fields are:"
  33626. msgstr ""
  33627. #. type: deftypevr
  33628. #: guix-git/doc/guix.texi:22407 guix-git/doc/guix.texi:22429
  33629. #: guix-git/doc/guix.texi:22482
  33630. 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:"
  33631. msgstr ""
  33632. #. type: deftypevr
  33633. #: guix-git/doc/guix.texi:22407
  33634. #, no-wrap
  33635. msgid "{@code{virtualhost-configuration} parameter} string domain"
  33636. msgstr ""
  33637. #. type: deftypevr
  33638. #: guix-git/doc/guix.texi:22409
  33639. msgid "Domain you wish Prosody to serve."
  33640. msgstr ""
  33641. #. type: deftypevr
  33642. #: guix-git/doc/guix.texi:22413
  33643. #, no-wrap
  33644. msgid "{@code{prosody-configuration} parameter} int-component-configuration-list int-components"
  33645. msgstr ""
  33646. #. type: deftypevr
  33647. #: guix-git/doc/guix.texi:22418
  33648. 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."
  33649. msgstr ""
  33650. #. type: deftypevr
  33651. #: guix-git/doc/guix.texi:22422
  33652. 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."
  33653. msgstr ""
  33654. #. type: deftypevr
  33655. #: guix-git/doc/guix.texi:22425
  33656. msgid "See @url{https://prosody.im/doc/components}. Defaults to @samp{()}."
  33657. msgstr ""
  33658. #. type: deftypevr
  33659. #: guix-git/doc/guix.texi:22427
  33660. msgid "Available @code{int-component-configuration} fields are:"
  33661. msgstr ""
  33662. #. type: deftypevr
  33663. #: guix-git/doc/guix.texi:22429
  33664. #, no-wrap
  33665. msgid "{@code{int-component-configuration} parameter} string hostname"
  33666. msgstr ""
  33667. #. type: deftypevr
  33668. #: guix-git/doc/guix.texi:22431 guix-git/doc/guix.texi:22488
  33669. msgid "Hostname of the component."
  33670. msgstr ""
  33671. #. type: deftypevr
  33672. #: guix-git/doc/guix.texi:22433
  33673. #, no-wrap
  33674. msgid "{@code{int-component-configuration} parameter} string plugin"
  33675. msgstr ""
  33676. #. type: deftypevr
  33677. #: guix-git/doc/guix.texi:22435
  33678. msgid "Plugin you wish to use for the component."
  33679. msgstr ""
  33680. #. type: deftypevr
  33681. #: guix-git/doc/guix.texi:22437
  33682. #, no-wrap
  33683. msgid "{@code{int-component-configuration} parameter} maybe-mod-muc-configuration mod-muc"
  33684. msgstr ""
  33685. #. type: deftypevr
  33686. #: guix-git/doc/guix.texi:22440
  33687. msgid "Multi-user chat (MUC) is Prosody's module for allowing you to create hosted chatrooms/conferences for XMPP users."
  33688. msgstr ""
  33689. #. type: deftypevr
  33690. #: guix-git/doc/guix.texi:22444
  33691. 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."
  33692. msgstr ""
  33693. #. type: deftypevr
  33694. #: guix-git/doc/guix.texi:22446
  33695. msgid "See also @url{https://prosody.im/doc/modules/mod_muc}."
  33696. msgstr ""
  33697. #. type: deftypevr
  33698. #: guix-git/doc/guix.texi:22448
  33699. msgid "Available @code{mod-muc-configuration} fields are:"
  33700. msgstr ""
  33701. #. type: deftypevr
  33702. #: guix-git/doc/guix.texi:22449
  33703. #, no-wrap
  33704. msgid "{@code{mod-muc-configuration} parameter} string name"
  33705. msgstr ""
  33706. #. type: deftypevr
  33707. #: guix-git/doc/guix.texi:22452
  33708. msgid "The name to return in service discovery responses. Defaults to @samp{\"Prosody Chatrooms\"}."
  33709. msgstr ""
  33710. #. type: deftypevr
  33711. #: guix-git/doc/guix.texi:22454
  33712. #, no-wrap
  33713. msgid "{@code{mod-muc-configuration} parameter} string-or-boolean restrict-room-creation"
  33714. msgstr ""
  33715. #. type: deftypevr
  33716. #: guix-git/doc/guix.texi:22461
  33717. 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}."
  33718. msgstr ""
  33719. #. type: deftypevr
  33720. #: guix-git/doc/guix.texi:22463
  33721. #, no-wrap
  33722. msgid "{@code{mod-muc-configuration} parameter} non-negative-integer max-history-messages"
  33723. msgstr ""
  33724. #. type: deftypevr
  33725. #: guix-git/doc/guix.texi:22467
  33726. msgid "Maximum number of history messages that will be sent to the member that has just joined the room. Defaults to @samp{20}."
  33727. msgstr ""
  33728. #. type: deftypevr
  33729. #: guix-git/doc/guix.texi:22473
  33730. #, no-wrap
  33731. msgid "{@code{prosody-configuration} parameter} ext-component-configuration-list ext-components"
  33732. msgstr ""
  33733. #. type: deftypevr
  33734. #: guix-git/doc/guix.texi:22478
  33735. 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{()}."
  33736. msgstr ""
  33737. #. type: deftypevr
  33738. #: guix-git/doc/guix.texi:22480
  33739. msgid "Available @code{ext-component-configuration} fields are:"
  33740. msgstr ""
  33741. #. type: deftypevr
  33742. #: guix-git/doc/guix.texi:22482
  33743. #, no-wrap
  33744. msgid "{@code{ext-component-configuration} parameter} string component-secret"
  33745. msgstr ""
  33746. #. type: deftypevr
  33747. #: guix-git/doc/guix.texi:22484
  33748. msgid "Password which the component will use to log in."
  33749. msgstr ""
  33750. #. type: deftypevr
  33751. #: guix-git/doc/guix.texi:22486
  33752. #, no-wrap
  33753. msgid "{@code{ext-component-configuration} parameter} string hostname"
  33754. msgstr ""
  33755. #. type: deftypevr
  33756. #: guix-git/doc/guix.texi:22492
  33757. #, no-wrap
  33758. msgid "{@code{prosody-configuration} parameter} non-negative-integer-list component-ports"
  33759. msgstr ""
  33760. #. type: deftypevr
  33761. #: guix-git/doc/guix.texi:22495
  33762. msgid "Port(s) Prosody listens on for component connections. Defaults to @samp{(5347)}."
  33763. msgstr ""
  33764. #. type: deftypevr
  33765. #: guix-git/doc/guix.texi:22497
  33766. #, no-wrap
  33767. msgid "{@code{prosody-configuration} parameter} string component-interface"
  33768. msgstr ""
  33769. #. type: deftypevr
  33770. #: guix-git/doc/guix.texi:22500
  33771. msgid "Interface Prosody listens on for component connections. Defaults to @samp{\"127.0.0.1\"}."
  33772. msgstr ""
  33773. #. type: deftypevr
  33774. #: guix-git/doc/guix.texi:22502
  33775. #, no-wrap
  33776. msgid "{@code{prosody-configuration} parameter} maybe-raw-content raw-content"
  33777. msgstr ""
  33778. #. type: deftypevr
  33779. #: guix-git/doc/guix.texi:22504
  33780. msgid "Raw content that will be added to the configuration file."
  33781. msgstr ""
  33782. #. type: Plain text
  33783. #: guix-git/doc/guix.texi:22512
  33784. 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:"
  33785. msgstr ""
  33786. #. type: deftypevr
  33787. #: guix-git/doc/guix.texi:22513
  33788. #, no-wrap
  33789. msgid "{@code{opaque-prosody-configuration} parameter} package prosody"
  33790. msgstr ""
  33791. #. type: deftypevr
  33792. #: guix-git/doc/guix.texi:22515
  33793. msgid "The prosody package."
  33794. msgstr ""
  33795. #. type: deftypevr
  33796. #: guix-git/doc/guix.texi:22517
  33797. #, no-wrap
  33798. msgid "{@code{opaque-prosody-configuration} parameter} string prosody.cfg.lua"
  33799. msgstr ""
  33800. #. type: deftypevr
  33801. #: guix-git/doc/guix.texi:22519
  33802. msgid "The contents of the @code{prosody.cfg.lua} to use."
  33803. msgstr ""
  33804. #. type: Plain text
  33805. #: guix-git/doc/guix.texi:22523
  33806. msgid "For example, if your @code{prosody.cfg.lua} is just the empty string, you could instantiate a prosody service like this:"
  33807. msgstr ""
  33808. #. type: lisp
  33809. #: guix-git/doc/guix.texi:22528
  33810. #, no-wrap
  33811. msgid ""
  33812. "(service prosody-service-type\n"
  33813. " (opaque-prosody-configuration\n"
  33814. " (prosody.cfg.lua \"\")))\n"
  33815. msgstr ""
  33816. #. type: subsubheading
  33817. #: guix-git/doc/guix.texi:22532
  33818. #, no-wrap
  33819. msgid "BitlBee Service"
  33820. msgstr ""
  33821. #. type: cindex
  33822. #: guix-git/doc/guix.texi:22534 guix-git/doc/guix.texi:22578
  33823. #, no-wrap
  33824. msgid "IRC (Internet Relay Chat)"
  33825. msgstr ""
  33826. #. type: cindex
  33827. #: guix-git/doc/guix.texi:22535
  33828. #, no-wrap
  33829. msgid "IRC gateway"
  33830. msgstr ""
  33831. #. type: Plain text
  33832. #: guix-git/doc/guix.texi:22538
  33833. msgid "@url{https://bitlbee.org,BitlBee} is a gateway that provides an IRC interface to a variety of messaging protocols such as XMPP."
  33834. msgstr ""
  33835. #. type: defvr
  33836. #: guix-git/doc/guix.texi:22539
  33837. #, no-wrap
  33838. msgid "{Scheme Variable} bitlbee-service-type"
  33839. msgstr ""
  33840. #. type: defvr
  33841. #: guix-git/doc/guix.texi:22543
  33842. 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)."
  33843. msgstr ""
  33844. #. type: defvr
  33845. #: guix-git/doc/guix.texi:22546
  33846. msgid "To have BitlBee listen on port 6667 on localhost, add this line to your services:"
  33847. msgstr ""
  33848. #. type: lisp
  33849. #: guix-git/doc/guix.texi:22549
  33850. #, no-wrap
  33851. msgid "(service bitlbee-service-type)\n"
  33852. msgstr ""
  33853. #. type: deftp
  33854. #: guix-git/doc/guix.texi:22552
  33855. #, no-wrap
  33856. msgid "{Data Type} bitlbee-configuration"
  33857. msgstr ""
  33858. #. type: deftp
  33859. #: guix-git/doc/guix.texi:22554
  33860. msgid "This is the configuration for BitlBee, with the following fields:"
  33861. msgstr ""
  33862. #. type: item
  33863. #: guix-git/doc/guix.texi:22556
  33864. #, no-wrap
  33865. msgid "@code{interface} (default: @code{\"127.0.0.1\"})"
  33866. msgstr ""
  33867. #. type: itemx
  33868. #: guix-git/doc/guix.texi:22557
  33869. #, no-wrap
  33870. msgid "@code{port} (default: @code{6667})"
  33871. msgstr "@code{porta} (default: @code{6667})"
  33872. #. type: table
  33873. #: guix-git/doc/guix.texi:22560
  33874. msgid "Listen on the network interface corresponding to the IP address specified in @var{interface}, on @var{port}."
  33875. msgstr ""
  33876. #. type: table
  33877. #: guix-git/doc/guix.texi:22564
  33878. 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."
  33879. msgstr ""
  33880. #. type: item
  33881. #: guix-git/doc/guix.texi:22565
  33882. #, no-wrap
  33883. msgid "@code{bitlbee} (default: @code{bitlbee})"
  33884. msgstr ""
  33885. #. type: table
  33886. #: guix-git/doc/guix.texi:22567
  33887. msgid "The BitlBee package to use."
  33888. msgstr ""
  33889. #. type: item
  33890. #: guix-git/doc/guix.texi:22568
  33891. #, no-wrap
  33892. msgid "@code{plugins} (default: @code{'()})"
  33893. msgstr ""
  33894. #. type: table
  33895. #: guix-git/doc/guix.texi:22570
  33896. msgid "List of plugin packages to use---e.g., @code{bitlbee-discord}."
  33897. msgstr ""
  33898. #. type: table
  33899. #: guix-git/doc/guix.texi:22573
  33900. msgid "Configuration snippet added as-is to the BitlBee configuration file."
  33901. msgstr ""
  33902. #. type: subsubheading
  33903. #: guix-git/doc/guix.texi:22576
  33904. #, no-wrap
  33905. msgid "Quassel Service"
  33906. msgstr ""
  33907. #. type: Plain text
  33908. #: guix-git/doc/guix.texi:22582
  33909. 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."
  33910. msgstr ""
  33911. #. type: defvr
  33912. #: guix-git/doc/guix.texi:22583
  33913. #, no-wrap
  33914. msgid "{Scheme Variable} quassel-service-type"
  33915. msgstr ""
  33916. #. type: defvr
  33917. #: guix-git/doc/guix.texi:22587
  33918. 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)."
  33919. msgstr ""
  33920. #. type: deftp
  33921. #: guix-git/doc/guix.texi:22589
  33922. #, no-wrap
  33923. msgid "{Data Type} quassel-configuration"
  33924. msgstr ""
  33925. #. type: deftp
  33926. #: guix-git/doc/guix.texi:22591
  33927. msgid "This is the configuration for Quassel, with the following fields:"
  33928. msgstr ""
  33929. #. type: item
  33930. #: guix-git/doc/guix.texi:22593
  33931. #, no-wrap
  33932. msgid "@code{quassel} (default: @code{quassel})"
  33933. msgstr ""
  33934. #. type: table
  33935. #: guix-git/doc/guix.texi:22595
  33936. msgid "The Quassel package to use."
  33937. msgstr ""
  33938. #. type: item
  33939. #: guix-git/doc/guix.texi:22596
  33940. #, no-wrap
  33941. msgid "@code{interface} (default: @code{\"::,0.0.0.0\"})"
  33942. msgstr ""
  33943. #. type: item
  33944. #: guix-git/doc/guix.texi:22597
  33945. #, no-wrap
  33946. msgid "@code{port} (default: @code{4242})"
  33947. msgstr ""
  33948. #. type: table
  33949. #: guix-git/doc/guix.texi:22601
  33950. msgid "Listen on the network interface(s) corresponding to the IPv4 or IPv6 interfaces specified in the comma delimited @var{interface}, on @var{port}."
  33951. msgstr ""
  33952. #. type: item
  33953. #: guix-git/doc/guix.texi:22602
  33954. #, no-wrap
  33955. msgid "@code{loglevel} (default: @code{\"Info\"})"
  33956. msgstr ""
  33957. #. type: table
  33958. #: guix-git/doc/guix.texi:22605
  33959. msgid "The level of logging desired. Accepted values are Debug, Info, Warning and Error."
  33960. msgstr ""
  33961. #. type: cindex
  33962. #: guix-git/doc/guix.texi:22611
  33963. #, fuzzy, no-wrap
  33964. #| msgid "Telephony services."
  33965. msgid "telephony, services"
  33966. msgstr "Serviços de telefonia."
  33967. #. type: Plain text
  33968. #: guix-git/doc/guix.texi:22615
  33969. msgid "The @code{(gnu services telephony)} module contains Guix service definitions for telephony services. Currently it provides the following services:"
  33970. msgstr ""
  33971. #. type: subsubheading
  33972. #: guix-git/doc/guix.texi:22616
  33973. #, no-wrap
  33974. msgid "Jami"
  33975. msgstr ""
  33976. #. type: cindex
  33977. #: guix-git/doc/guix.texi:22618
  33978. #, fuzzy, no-wrap
  33979. #| msgid "Mail Services"
  33980. msgid "jami, service"
  33981. msgstr "Serviços de correio"
  33982. #. type: Plain text
  33983. #: guix-git/doc/guix.texi:22624
  33984. 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:"
  33985. msgstr ""
  33986. #. type: lisp
  33987. #: guix-git/doc/guix.texi:22633
  33988. #, no-wrap
  33989. msgid ""
  33990. "(service jami-service-type\n"
  33991. " (jami-configuration\n"
  33992. " (accounts\n"
  33993. " (list (jami-account\n"
  33994. " (archive \"/etc/jami/unencrypted-account-1.gz\"))\n"
  33995. " (jami-account\n"
  33996. " (archive \"/etc/jami/unencrypted-account-2.gz\"))))))\n"
  33997. msgstr ""
  33998. #. type: Plain text
  33999. #: guix-git/doc/guix.texi:22638
  34000. 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."
  34001. msgstr ""
  34002. #. type: Plain text
  34003. #: guix-git/doc/guix.texi:22643
  34004. msgid "Jami accounts and their corresponding backup archives can be generated using either the @code{jami-qt} 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}."
  34005. msgstr ""
  34006. #. type: Plain text
  34007. #: guix-git/doc/guix.texi:22646
  34008. msgid "The next example shows how to declare that only some contacts should be allowed to communicate with a given account:"
  34009. msgstr ""
  34010. #. type: lisp
  34011. #: guix-git/doc/guix.texi:22658
  34012. #, no-wrap
  34013. msgid ""
  34014. "(service jami-service-type\n"
  34015. " (jami-configuration\n"
  34016. " (accounts\n"
  34017. " (list (jami-account\n"
  34018. " (archive \"/etc/jami/unencrypted-account-1.gz\")\n"
  34019. " (peer-discovery? #t)\n"
  34020. " (rendezvous-point? #t)\n"
  34021. " (allowed-contacts\n"
  34022. " '(\"1dbcb0f5f37324228235564b79f2b9737e9a008f\"\n"
  34023. " \"2dbcb0f5f37324228235564b79f2b9737e9a008f\")))))))\n"
  34024. msgstr ""
  34025. #. type: Plain text
  34026. #: guix-git/doc/guix.texi:22664
  34027. 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."
  34028. msgstr ""
  34029. #. type: Plain text
  34030. #: guix-git/doc/guix.texi:22667
  34031. msgid "To put the system administrator in full control of the conferences hosted on their system, the Jami service supports the following actions:"
  34032. msgstr ""
  34033. #. type: example
  34034. #: guix-git/doc/guix.texi:22679
  34035. #, no-wrap
  34036. msgid ""
  34037. "# herd doc jami list-actions\n"
  34038. "(list-accounts\n"
  34039. " list-account-details\n"
  34040. " list-banned-contacts\n"
  34041. " list-contacts\n"
  34042. " list-moderators\n"
  34043. " add-moderator\n"
  34044. " ban-contact\n"
  34045. " enable-account\n"
  34046. " disable-account)\n"
  34047. msgstr ""
  34048. #. type: Plain text
  34049. #: guix-git/doc/guix.texi:22686
  34050. 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."
  34051. msgstr ""
  34052. #. type: Plain text
  34053. #: guix-git/doc/guix.texi:22692
  34054. 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:"
  34055. msgstr ""
  34056. #. type: example
  34057. #: guix-git/doc/guix.texi:22696
  34058. #, no-wrap
  34059. msgid ""
  34060. "# herd add-moderator jami 1dbcb0f5f37324228235564b79f2b9737e9a008f \\\n"
  34061. " f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  34062. "\n"
  34063. msgstr ""
  34064. #. type: example
  34065. #: guix-git/doc/guix.texi:22700
  34066. #, no-wrap
  34067. msgid ""
  34068. "# herd list-moderators jami\n"
  34069. "Moderators for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  34070. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  34071. "\n"
  34072. msgstr ""
  34073. #. type: Plain text
  34074. #: guix-git/doc/guix.texi:22705
  34075. msgid "In the case of @code{ban-contact}, the second username argument is optional; when omitted, the account is banned from all Jami accounts:"
  34076. msgstr ""
  34077. #. type: example
  34078. #: guix-git/doc/guix.texi:22708
  34079. #, no-wrap
  34080. msgid ""
  34081. "# herd ban-contact jami 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  34082. "\n"
  34083. msgstr ""
  34084. #. type: example
  34085. #: guix-git/doc/guix.texi:22712
  34086. #, no-wrap
  34087. msgid ""
  34088. "# herd list-banned-contacts jami\n"
  34089. "Banned contacts for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  34090. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  34091. "\n"
  34092. msgstr ""
  34093. #. type: Plain text
  34094. #: guix-git/doc/guix.texi:22716
  34095. msgid "Banned contacts are also stripped from their moderation privileges."
  34096. msgstr ""
  34097. #. type: Plain text
  34098. #: guix-git/doc/guix.texi:22721
  34099. 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:"
  34100. msgstr ""
  34101. #. type: example
  34102. #: guix-git/doc/guix.texi:22724
  34103. #, no-wrap
  34104. msgid ""
  34105. "# herd disable-account jami f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  34106. "\n"
  34107. msgstr ""
  34108. #. type: example
  34109. #: guix-git/doc/guix.texi:22728
  34110. #, no-wrap
  34111. msgid ""
  34112. "# herd list-accounts jami\n"
  34113. "The following Jami accounts are available:\n"
  34114. " - f3345f2775ddfe07a4b0d95daea111d15fbc1199 (dummy) [disabled]\n"
  34115. "\n"
  34116. msgstr ""
  34117. #. type: Plain text
  34118. #: guix-git/doc/guix.texi:22739
  34119. 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:"
  34120. msgstr ""
  34121. #. type: example
  34122. #: guix-git/doc/guix.texi:22744
  34123. #, no-wrap
  34124. msgid ""
  34125. "# herd list-account-details jami | \\\n"
  34126. " recsel -p Account.username -e 'Account.rendezVous ~ \"true\"'\n"
  34127. "Account_username: f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  34128. msgstr ""
  34129. #. type: Plain text
  34130. #: guix-git/doc/guix.texi:22747
  34131. msgid "The remaining actions should be self-explanatory."
  34132. msgstr ""
  34133. #. type: Plain text
  34134. #: guix-git/doc/guix.texi:22749
  34135. msgid "The complete set of available configuration options is detailed below."
  34136. msgstr ""
  34137. #. type: deftp
  34138. #: guix-git/doc/guix.texi:22753
  34139. #, fuzzy, no-wrap
  34140. msgid "{Data Type} jami-configuration"
  34141. msgstr "build-machine {Data Type}"
  34142. #. type: deftp
  34143. #: guix-git/doc/guix.texi:22755
  34144. msgid "Available @code{jami-configuration} fields are:"
  34145. msgstr ""
  34146. #. type: item
  34147. #: guix-git/doc/guix.texi:22757
  34148. #, fuzzy, no-wrap
  34149. msgid "@code{jamid} (default: @code{libring}) (type: package)"
  34150. msgstr "@code{tmpdir} (default: @code{#f})"
  34151. #. type: table
  34152. #: guix-git/doc/guix.texi:22759
  34153. #, fuzzy
  34154. msgid "The Jami daemon package to use."
  34155. msgstr "O pacote GPM a ser usado."
  34156. #. type: item
  34157. #: guix-git/doc/guix.texi:22760
  34158. #, fuzzy, no-wrap
  34159. #| msgid "@code{dbus?} (default: @code{#t})"
  34160. msgid "@code{dbus} (default: @code{dbus}) (type: package)"
  34161. msgstr "@code{dbus?} (padrão: @code{#t})"
  34162. #. type: table
  34163. #: guix-git/doc/guix.texi:22762
  34164. msgid "The D-Bus package to use to start the required D-Bus session."
  34165. msgstr ""
  34166. #. type: item
  34167. #: guix-git/doc/guix.texi:22763
  34168. #, fuzzy, no-wrap
  34169. #| msgid "@code{users} (default: @code{#f})"
  34170. msgid "@code{nss-certs} (default: @code{nss-certs}) (type: package)"
  34171. msgstr "@code{users} (default: @code{#f})"
  34172. #. type: table
  34173. #: guix-git/doc/guix.texi:22765
  34174. msgid "The nss-certs package to use to provide TLS certificates."
  34175. msgstr ""
  34176. #. type: item
  34177. #: guix-git/doc/guix.texi:22766
  34178. #, fuzzy, no-wrap
  34179. #| msgid "@code{wait?} (default: @code{#t})"
  34180. msgid "@code{enable-logging?} (default: @code{#t}) (type: boolean)"
  34181. msgstr "@code{wait?} (padrão: @code{#t})"
  34182. #. type: table
  34183. #: guix-git/doc/guix.texi:22768
  34184. msgid "Whether to enable logging to syslog."
  34185. msgstr ""
  34186. #. type: item
  34187. #: guix-git/doc/guix.texi:22769
  34188. #, fuzzy, no-wrap
  34189. #| msgid "@code{debug?} (default: @code{#f})"
  34190. msgid "@code{debug?} (default: @code{#f}) (type: boolean)"
  34191. msgstr "@code{debug?} (default: @code{#f})"
  34192. #. type: table
  34193. #: guix-git/doc/guix.texi:22771
  34194. msgid "Whether to enable debug level messages."
  34195. msgstr ""
  34196. #. type: item
  34197. #: guix-git/doc/guix.texi:22772
  34198. #, fuzzy, no-wrap
  34199. #| msgid "@code{users} (default: @code{#f})"
  34200. msgid "@code{auto-answer?} (default: @code{#f}) (type: boolean)"
  34201. msgstr "@code{users} (default: @code{#f})"
  34202. #. type: table
  34203. #: guix-git/doc/guix.texi:22774
  34204. msgid "Whether to force automatic answer to incoming calls."
  34205. msgstr ""
  34206. #. type: item
  34207. #: guix-git/doc/guix.texi:22775
  34208. #, no-wrap
  34209. msgid "@code{accounts} (default: @code{disabled}) (type: maybe-jami-account-list)"
  34210. msgstr ""
  34211. #. type: table
  34212. #: guix-git/doc/guix.texi:22780
  34213. 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."
  34214. msgstr ""
  34215. #. type: deftp
  34216. #: guix-git/doc/guix.texi:22786
  34217. #, fuzzy, no-wrap
  34218. msgid "{Data Type} jami-account"
  34219. msgstr "build-machine {Data Type}"
  34220. #. type: deftp
  34221. #: guix-git/doc/guix.texi:22788
  34222. msgid "Available @code{jami-account} fields are:"
  34223. msgstr ""
  34224. #. type: item
  34225. #: guix-git/doc/guix.texi:22790
  34226. #, no-wrap
  34227. msgid "@code{archive} (type: string-or-computed-file)"
  34228. msgstr ""
  34229. #. type: table
  34230. #: guix-git/doc/guix.texi:22796
  34231. 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."
  34232. msgstr ""
  34233. #. type: item
  34234. #: guix-git/doc/guix.texi:22797
  34235. #, no-wrap
  34236. msgid "@code{allowed-contacts} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  34237. msgstr ""
  34238. #. type: table
  34239. #: guix-git/doc/guix.texi:22804
  34240. 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."
  34241. msgstr ""
  34242. #. type: item
  34243. #: guix-git/doc/guix.texi:22805
  34244. #, no-wrap
  34245. msgid "@code{moderators} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  34246. msgstr ""
  34247. #. type: table
  34248. #: guix-git/doc/guix.texi:22811
  34249. 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."
  34250. msgstr ""
  34251. #. type: item
  34252. #: guix-git/doc/guix.texi:22812
  34253. #, fuzzy, no-wrap
  34254. #| msgid "@code{no-hints?} (default: @code{#f})"
  34255. msgid "@code{rendezvous-point?} (default: @code{disabled}) (type: maybe-boolean)"
  34256. msgstr "@code{no-hints?} (padrão: @code{#f})"
  34257. #. type: table
  34258. #: guix-git/doc/guix.texi:22816
  34259. 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."
  34260. msgstr ""
  34261. #. type: item
  34262. #: guix-git/doc/guix.texi:22817
  34263. #, fuzzy, no-wrap
  34264. msgid "@code{peer-discovery?} (default: @code{disabled}) (type: maybe-boolean)"
  34265. msgstr "@code{chdir} (default: @code{#f})"
  34266. #. type: table
  34267. #: guix-git/doc/guix.texi:22823
  34268. 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."
  34269. msgstr ""
  34270. #. type: item
  34271. #: guix-git/doc/guix.texi:22824
  34272. #, fuzzy, no-wrap
  34273. msgid "@code{bootstrap-hostnames} (default: @code{disabled}) (type: maybe-string-list)"
  34274. msgstr "@code{options} (default: @code{#f})"
  34275. #. type: table
  34276. #: guix-git/doc/guix.texi:22828
  34277. 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."
  34278. msgstr ""
  34279. #. type: item
  34280. #: guix-git/doc/guix.texi:22829
  34281. #, fuzzy, no-wrap
  34282. msgid "@code{name-server-uri} (default: @code{disabled}) (type: maybe-string)"
  34283. msgstr "@code{remote?} (padrão: @code{#f})"
  34284. #. type: table
  34285. #: guix-git/doc/guix.texi:22832
  34286. msgid "The URI of the name server to use, that can be used to retrieve the account fingerprint for a registered username."
  34287. msgstr ""
  34288. #. type: cindex
  34289. #: guix-git/doc/guix.texi:22837 guix-git/doc/guix.texi:22839
  34290. #, no-wrap
  34291. msgid "Murmur (VoIP server)"
  34292. msgstr ""
  34293. #. type: cindex
  34294. #: guix-git/doc/guix.texi:22840
  34295. #, no-wrap
  34296. msgid "VoIP server"
  34297. msgstr ""
  34298. #. type: Plain text
  34299. #: guix-git/doc/guix.texi:22844
  34300. 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."
  34301. msgstr ""
  34302. #. type: deftp
  34303. #: guix-git/doc/guix.texi:22845
  34304. #, no-wrap
  34305. msgid "{Data Type} murmur-configuration"
  34306. msgstr ""
  34307. #. type: deftp
  34308. #: guix-git/doc/guix.texi:22848
  34309. msgid "The service type for the Murmur server. An example configuration can look like this:"
  34310. msgstr ""
  34311. #. type: lisp
  34312. #: guix-git/doc/guix.texi:22857
  34313. #, no-wrap
  34314. msgid ""
  34315. "(service murmur-service-type\n"
  34316. " (murmur-configuration\n"
  34317. " (welcome-text\n"
  34318. " \"Welcome to this Mumble server running on Guix!\")\n"
  34319. " (cert-required? #t) ;disallow text password logins\n"
  34320. " (ssl-cert \"/etc/letsencrypt/live/mumble.example.com/fullchain.pem\")\n"
  34321. " (ssl-key \"/etc/letsencrypt/live/mumble.example.com/privkey.pem\")))\n"
  34322. msgstr ""
  34323. #. type: deftp
  34324. #: guix-git/doc/guix.texi:22861
  34325. msgid "After reconfiguring your system, you can manually set the murmur @code{SuperUser} password with the command that is printed during the activation phase."
  34326. msgstr ""
  34327. #. type: deftp
  34328. #: guix-git/doc/guix.texi:22870
  34329. 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."
  34330. msgstr ""
  34331. #. type: deftp
  34332. #: guix-git/doc/guix.texi:22872
  34333. msgid "Available @code{murmur-configuration} fields are:"
  34334. msgstr ""
  34335. #. type: item
  34336. #: guix-git/doc/guix.texi:22874
  34337. #, no-wrap
  34338. msgid "@code{package} (default: @code{mumble})"
  34339. msgstr ""
  34340. #. type: table
  34341. #: guix-git/doc/guix.texi:22876
  34342. msgid "Package that contains @code{bin/murmurd}."
  34343. msgstr ""
  34344. #. type: item
  34345. #: guix-git/doc/guix.texi:22877
  34346. #, no-wrap
  34347. msgid "@code{user} (default: @code{\"murmur\"})"
  34348. msgstr ""
  34349. #. type: table
  34350. #: guix-git/doc/guix.texi:22879
  34351. msgid "User who will run the Murmur server."
  34352. msgstr ""
  34353. #. type: item
  34354. #: guix-git/doc/guix.texi:22880
  34355. #, no-wrap
  34356. msgid "@code{group} (default: @code{\"murmur\"})"
  34357. msgstr ""
  34358. #. type: table
  34359. #: guix-git/doc/guix.texi:22882
  34360. msgid "Group of the user who will run the murmur server."
  34361. msgstr ""
  34362. #. type: item
  34363. #: guix-git/doc/guix.texi:22883
  34364. #, no-wrap
  34365. msgid "@code{port} (default: @code{64738})"
  34366. msgstr "@code{porta} (default: @code{64738})"
  34367. #. type: table
  34368. #: guix-git/doc/guix.texi:22885
  34369. msgid "Port on which the server will listen."
  34370. msgstr ""
  34371. #. type: item
  34372. #: guix-git/doc/guix.texi:22886
  34373. #, no-wrap
  34374. msgid "@code{welcome-text} (default: @code{\"\"})"
  34375. msgstr ""
  34376. #. type: table
  34377. #: guix-git/doc/guix.texi:22888
  34378. msgid "Welcome text sent to clients when they connect."
  34379. msgstr ""
  34380. #. type: item
  34381. #: guix-git/doc/guix.texi:22889
  34382. #, no-wrap
  34383. msgid "@code{server-password} (default: @code{\"\"})"
  34384. msgstr ""
  34385. #. type: table
  34386. #: guix-git/doc/guix.texi:22891
  34387. msgid "Password the clients have to enter in order to connect."
  34388. msgstr ""
  34389. #. type: item
  34390. #: guix-git/doc/guix.texi:22892
  34391. #, no-wrap
  34392. msgid "@code{max-users} (default: @code{100})"
  34393. msgstr ""
  34394. #. type: table
  34395. #: guix-git/doc/guix.texi:22894
  34396. msgid "Maximum of users that can be connected to the server at once."
  34397. msgstr ""
  34398. #. type: item
  34399. #: guix-git/doc/guix.texi:22895
  34400. #, no-wrap
  34401. msgid "@code{max-user-bandwidth} (default: @code{#f})"
  34402. msgstr ""
  34403. #. type: table
  34404. #: guix-git/doc/guix.texi:22897
  34405. msgid "Maximum voice traffic a user can send per second."
  34406. msgstr ""
  34407. #. type: item
  34408. #: guix-git/doc/guix.texi:22898
  34409. #, no-wrap
  34410. msgid "@code{database-file} (default: @code{\"/var/lib/murmur/db.sqlite\"})"
  34411. msgstr ""
  34412. #. type: table
  34413. #: guix-git/doc/guix.texi:22901
  34414. msgid "File name of the sqlite database. The service's user will become the owner of the directory."
  34415. msgstr ""
  34416. #. type: item
  34417. #: guix-git/doc/guix.texi:22902
  34418. #, no-wrap
  34419. msgid "@code{log-file} (default: @code{\"/var/log/murmur/murmur.log\"})"
  34420. msgstr ""
  34421. #. type: table
  34422. #: guix-git/doc/guix.texi:22905
  34423. msgid "File name of the log file. The service's user will become the owner of the directory."
  34424. msgstr ""
  34425. #. type: item
  34426. #: guix-git/doc/guix.texi:22906
  34427. #, no-wrap
  34428. msgid "@code{autoban-attempts} (default: @code{10})"
  34429. msgstr ""
  34430. #. type: table
  34431. #: guix-git/doc/guix.texi:22909
  34432. msgid "Maximum number of logins a user can make in @code{autoban-timeframe} without getting auto banned for @code{autoban-time}."
  34433. msgstr ""
  34434. #. type: item
  34435. #: guix-git/doc/guix.texi:22910
  34436. #, no-wrap
  34437. msgid "@code{autoban-timeframe} (default: @code{120})"
  34438. msgstr ""
  34439. #. type: table
  34440. #: guix-git/doc/guix.texi:22912
  34441. msgid "Timeframe for autoban in seconds."
  34442. msgstr ""
  34443. #. type: item
  34444. #: guix-git/doc/guix.texi:22913
  34445. #, no-wrap
  34446. msgid "@code{autoban-time} (default: @code{300})"
  34447. msgstr ""
  34448. #. type: table
  34449. #: guix-git/doc/guix.texi:22916
  34450. msgid "Amount of time in seconds for which a client gets banned when violating the autoban limits."
  34451. msgstr ""
  34452. #. type: item
  34453. #: guix-git/doc/guix.texi:22917
  34454. #, no-wrap
  34455. msgid "@code{opus-threshold} (default: @code{100})"
  34456. msgstr ""
  34457. #. type: table
  34458. #: guix-git/doc/guix.texi:22920
  34459. msgid "Percentage of clients that need to support opus before switching over to opus audio codec."
  34460. msgstr ""
  34461. #. type: item
  34462. #: guix-git/doc/guix.texi:22921
  34463. #, no-wrap
  34464. msgid "@code{channel-nesting-limit} (default: @code{10})"
  34465. msgstr ""
  34466. #. type: table
  34467. #: guix-git/doc/guix.texi:22923
  34468. msgid "How deep channels can be nested at maximum."
  34469. msgstr ""
  34470. #. type: item
  34471. #: guix-git/doc/guix.texi:22924
  34472. #, no-wrap
  34473. msgid "@code{channelname-regex} (default: @code{#f})"
  34474. msgstr ""
  34475. #. type: table
  34476. #: guix-git/doc/guix.texi:22926
  34477. msgid "A string in form of a Qt regular expression that channel names must conform to."
  34478. msgstr ""
  34479. #. type: item
  34480. #: guix-git/doc/guix.texi:22927
  34481. #, no-wrap
  34482. msgid "@code{username-regex} (default: @code{#f})"
  34483. msgstr ""
  34484. #. type: table
  34485. #: guix-git/doc/guix.texi:22929
  34486. msgid "A string in form of a Qt regular expression that user names must conform to."
  34487. msgstr ""
  34488. #. type: item
  34489. #: guix-git/doc/guix.texi:22930
  34490. #, no-wrap
  34491. msgid "@code{text-message-length} (default: @code{5000})"
  34492. msgstr ""
  34493. #. type: table
  34494. #: guix-git/doc/guix.texi:22932
  34495. msgid "Maximum size in bytes that a user can send in one text chat message."
  34496. msgstr ""
  34497. #. type: item
  34498. #: guix-git/doc/guix.texi:22933
  34499. #, no-wrap
  34500. msgid "@code{image-message-length} (default: @code{(* 128 1024)})"
  34501. msgstr ""
  34502. #. type: table
  34503. #: guix-git/doc/guix.texi:22935
  34504. msgid "Maximum size in bytes that a user can send in one image message."
  34505. msgstr ""
  34506. #. type: item
  34507. #: guix-git/doc/guix.texi:22936
  34508. #, no-wrap
  34509. msgid "@code{cert-required?} (default: @code{#f})"
  34510. msgstr ""
  34511. #. type: table
  34512. #: guix-git/doc/guix.texi:22939
  34513. 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."
  34514. msgstr ""
  34515. #. type: item
  34516. #: guix-git/doc/guix.texi:22940
  34517. #, no-wrap
  34518. msgid "@code{remember-channel?} (default: @code{#f})"
  34519. msgstr "@code{remember-channel?} (padrão: @code{#f})"
  34520. #. type: table
  34521. #: guix-git/doc/guix.texi:22943
  34522. msgid "Should murmur remember the last channel each user was in when they disconnected and put them into the remembered channel when they rejoin."
  34523. msgstr ""
  34524. #. type: item
  34525. #: guix-git/doc/guix.texi:22944
  34526. #, no-wrap
  34527. msgid "@code{allow-html?} (default: @code{#f})"
  34528. msgstr ""
  34529. #. type: table
  34530. #: guix-git/doc/guix.texi:22946
  34531. msgid "Should html be allowed in text messages, user comments, and channel descriptions."
  34532. msgstr ""
  34533. #. type: item
  34534. #: guix-git/doc/guix.texi:22947
  34535. #, no-wrap
  34536. msgid "@code{allow-ping?} (default: @code{#f})"
  34537. msgstr ""
  34538. #. type: table
  34539. #: guix-git/doc/guix.texi:22951
  34540. 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."
  34541. msgstr ""
  34542. #. type: table
  34543. #: guix-git/doc/guix.texi:22953
  34544. msgid "Disabling this setting will prevent public listing of the server."
  34545. msgstr ""
  34546. #. type: item
  34547. #: guix-git/doc/guix.texi:22954
  34548. #, no-wrap
  34549. msgid "@code{bonjour?} (default: @code{#f})"
  34550. msgstr "@code{bonjour?} (padrão: @code{#f})"
  34551. #. type: table
  34552. #: guix-git/doc/guix.texi:22956
  34553. msgid "Should the server advertise itself in the local network through the bonjour protocol."
  34554. msgstr ""
  34555. #. type: item
  34556. #: guix-git/doc/guix.texi:22957
  34557. #, no-wrap
  34558. msgid "@code{send-version?} (default: @code{#f})"
  34559. msgstr ""
  34560. #. type: table
  34561. #: guix-git/doc/guix.texi:22959
  34562. msgid "Should the murmur server version be exposed in ping requests."
  34563. msgstr ""
  34564. #. type: item
  34565. #: guix-git/doc/guix.texi:22960
  34566. #, no-wrap
  34567. msgid "@code{log-days} (default: @code{31})"
  34568. msgstr ""
  34569. #. type: table
  34570. #: guix-git/doc/guix.texi:22964
  34571. 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."
  34572. msgstr ""
  34573. #. type: item
  34574. #: guix-git/doc/guix.texi:22965
  34575. #, no-wrap
  34576. msgid "@code{obfuscate-ips?} (default: @code{#t})"
  34577. msgstr ""
  34578. #. type: table
  34579. #: guix-git/doc/guix.texi:22967
  34580. msgid "Should logged ips be obfuscated to protect the privacy of users."
  34581. msgstr ""
  34582. #. type: item
  34583. #: guix-git/doc/guix.texi:22968
  34584. #, no-wrap
  34585. msgid "@code{ssl-cert} (default: @code{#f})"
  34586. msgstr ""
  34587. #. type: table
  34588. #: guix-git/doc/guix.texi:22970
  34589. msgid "File name of the SSL/TLS certificate used for encrypted connections."
  34590. msgstr ""
  34591. #. type: lisp
  34592. #: guix-git/doc/guix.texi:22973
  34593. #, no-wrap
  34594. msgid "(ssl-cert \"/etc/letsencrypt/live/example.com/fullchain.pem\")\n"
  34595. msgstr ""
  34596. #. type: item
  34597. #: guix-git/doc/guix.texi:22974
  34598. #, no-wrap
  34599. msgid "@code{ssl-key} (default: @code{#f})"
  34600. msgstr ""
  34601. #. type: table
  34602. #: guix-git/doc/guix.texi:22976
  34603. msgid "Filepath to the ssl private key used for encrypted connections."
  34604. msgstr ""
  34605. #. type: lisp
  34606. #: guix-git/doc/guix.texi:22978
  34607. #, no-wrap
  34608. msgid "(ssl-key \"/etc/letsencrypt/live/example.com/privkey.pem\")\n"
  34609. msgstr ""
  34610. #. type: item
  34611. #: guix-git/doc/guix.texi:22980
  34612. #, no-wrap
  34613. msgid "@code{ssl-dh-params} (default: @code{#f})"
  34614. msgstr ""
  34615. #. type: table
  34616. #: guix-git/doc/guix.texi:22985
  34617. 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."
  34618. msgstr ""
  34619. #. type: item
  34620. #: guix-git/doc/guix.texi:22986
  34621. #, no-wrap
  34622. msgid "@code{ssl-ciphers} (default: @code{#f})"
  34623. msgstr ""
  34624. #. type: table
  34625. #: guix-git/doc/guix.texi:22989
  34626. msgid "The @code{ssl-ciphers} option chooses the cipher suites to make available for use in SSL/TLS."
  34627. msgstr ""
  34628. #. type: table
  34629. #: guix-git/doc/guix.texi:22993
  34630. msgid "This option is specified using @uref{https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT, OpenSSL cipher list notation}."
  34631. msgstr ""
  34632. #. type: table
  34633. #: guix-git/doc/guix.texi:22998
  34634. 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."
  34635. msgstr ""
  34636. #. type: table
  34637. #: guix-git/doc/guix.texi:23002
  34638. 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."
  34639. msgstr ""
  34640. #. type: item
  34641. #: guix-git/doc/guix.texi:23003
  34642. #, no-wrap
  34643. msgid "@code{public-registration} (default: @code{#f})"
  34644. msgstr ""
  34645. #. type: table
  34646. #: guix-git/doc/guix.texi:23005
  34647. msgid "Must be a @code{<murmur-public-registration-configuration>} record or @code{#f}."
  34648. msgstr ""
  34649. #. type: table
  34650. #: guix-git/doc/guix.texi:23010
  34651. 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}."
  34652. msgstr ""
  34653. #. type: table
  34654. #: guix-git/doc/guix.texi:23012
  34655. msgid "It might take a few hours until it shows up in the public list."
  34656. msgstr ""
  34657. #. type: item
  34658. #: guix-git/doc/guix.texi:23013 guix-git/doc/guix.texi:25249
  34659. #, no-wrap
  34660. msgid "@code{file} (default: @code{#f})"
  34661. msgstr "@code{file} (default: @code{#f})"
  34662. #. type: table
  34663. #: guix-git/doc/guix.texi:23015
  34664. msgid "Optional alternative override for this configuration."
  34665. msgstr ""
  34666. #. type: deftp
  34667. #: guix-git/doc/guix.texi:23018
  34668. #, no-wrap
  34669. msgid "{Data Type} murmur-public-registration-configuration"
  34670. msgstr ""
  34671. #. type: deftp
  34672. #: guix-git/doc/guix.texi:23020
  34673. msgid "Configuration for public registration of a murmur service."
  34674. msgstr ""
  34675. #. type: table
  34676. #: guix-git/doc/guix.texi:23024
  34677. msgid "This is a display name for your server. Not to be confused with the hostname."
  34678. msgstr ""
  34679. #. type: itemx
  34680. #: guix-git/doc/guix.texi:23025 guix-git/doc/guix.texi:31777
  34681. #: guix-git/doc/guix.texi:32925
  34682. #, no-wrap
  34683. msgid "password"
  34684. msgstr "senha"
  34685. #. type: table
  34686. #: guix-git/doc/guix.texi:23028
  34687. msgid "A password to identify your registration. Subsequent updates will need the same password. Don't lose your password."
  34688. msgstr ""
  34689. #. type: table
  34690. #: guix-git/doc/guix.texi:23032
  34691. msgid "This should be a @code{http://} or @code{https://} link to your web site."
  34692. msgstr ""
  34693. #. type: item
  34694. #: guix-git/doc/guix.texi:23033 guix-git/doc/guix.texi:26128
  34695. #, no-wrap
  34696. msgid "@code{hostname} (default: @code{#f})"
  34697. msgstr "@code{hostname} (default: @code{#f})"
  34698. #. type: table
  34699. #: guix-git/doc/guix.texi:23036
  34700. 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."
  34701. msgstr ""
  34702. #. type: Plain text
  34703. #: guix-git/doc/guix.texi:23046
  34704. msgid "The @code{(gnu services file-sharing)} module provides services that assist with transferring files over peer-to-peer file-sharing networks."
  34705. msgstr ""
  34706. #. type: subsubheading
  34707. #: guix-git/doc/guix.texi:23047
  34708. #, no-wrap
  34709. msgid "Transmission Daemon Service"
  34710. msgstr ""
  34711. #. type: Plain text
  34712. #: guix-git/doc/guix.texi:23055
  34713. 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."
  34714. msgstr ""
  34715. #. type: deffn
  34716. #: guix-git/doc/guix.texi:23056
  34717. #, no-wrap
  34718. msgid "{Scheme Variable} transmission-daemon-service-type"
  34719. msgstr ""
  34720. #. type: deffn
  34721. #: guix-git/doc/guix.texi:23060
  34722. msgid "The service type for the Transmission Daemon BitTorrent client. Its value must be a @code{transmission-daemon-configuration} object as in this example:"
  34723. msgstr ""
  34724. #. type: lisp
  34725. #: guix-git/doc/guix.texi:23071
  34726. #, no-wrap
  34727. msgid ""
  34728. "(service transmission-daemon-service-type\n"
  34729. " (transmission-daemon-configuration\n"
  34730. " ;; Restrict access to the RPC (\"control\") interface\n"
  34731. " (rpc-authentication-required? #t)\n"
  34732. " (rpc-username \"transmission\")\n"
  34733. " (rpc-password\n"
  34734. " (transmission-password-hash\n"
  34735. " \"transmission\" ; desired password\n"
  34736. " \"uKd1uMs9\")) ; arbitrary salt value\n"
  34737. "\n"
  34738. msgstr ""
  34739. #. type: lisp
  34740. #: guix-git/doc/guix.texi:23076
  34741. #, no-wrap
  34742. msgid ""
  34743. " ;; Accept requests from this and other hosts on the\n"
  34744. " ;; local network\n"
  34745. " (rpc-whitelist-enabled? #t)\n"
  34746. " (rpc-whitelist '(\"::1\" \"127.0.0.1\" \"192.168.0.*\"))\n"
  34747. "\n"
  34748. msgstr ""
  34749. #. type: lisp
  34750. #: guix-git/doc/guix.texi:23080
  34751. #, no-wrap
  34752. msgid ""
  34753. " ;; Limit bandwidth use during work hours\n"
  34754. " (alt-speed-down (* 1024 2)) ; 2 MB/s\n"
  34755. " (alt-speed-up 512) ; 512 kB/s\n"
  34756. "\n"
  34757. msgstr ""
  34758. #. type: lisp
  34759. #: guix-git/doc/guix.texi:23087
  34760. #, no-wrap
  34761. msgid ""
  34762. " (alt-speed-time-enabled? #t)\n"
  34763. " (alt-speed-time-day 'weekdays)\n"
  34764. " (alt-speed-time-begin\n"
  34765. " (+ (* 60 8) 30)) ; 8:30 am\n"
  34766. " (alt-speed-time-end\n"
  34767. " (+ (* 60 (+ 12 5)) 30)))) ; 5:30 pm\n"
  34768. msgstr ""
  34769. #. type: Plain text
  34770. #: guix-git/doc/guix.texi:23100
  34771. 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."
  34772. msgstr ""
  34773. #. type: Plain text
  34774. #: guix-git/doc/guix.texi:23108
  34775. 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."
  34776. msgstr ""
  34777. #. type: deffn
  34778. #: guix-git/doc/guix.texi:23109
  34779. #, no-wrap
  34780. msgid "{Scheme Procedure} transmission-password-hash @var{password} @var{salt}"
  34781. msgstr ""
  34782. #. type: deffn
  34783. #: guix-git/doc/guix.texi:23113
  34784. 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."
  34785. msgstr ""
  34786. #. type: deffn
  34787. #: guix-git/doc/guix.texi:23117
  34788. 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."
  34789. msgstr ""
  34790. #. type: deffn
  34791. #: guix-git/doc/guix.texi:23119
  34792. #, no-wrap
  34793. msgid "{Scheme Procedure} transmission-random-salt"
  34794. msgstr ""
  34795. #. type: deffn
  34796. #: guix-git/doc/guix.texi:23123
  34797. 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."
  34798. msgstr ""
  34799. #. type: Plain text
  34800. #: guix-git/doc/guix.texi:23129
  34801. 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:"
  34802. msgstr ""
  34803. #. type: example
  34804. #: guix-git/doc/guix.texi:23135
  34805. #, no-wrap
  34806. msgid ""
  34807. "$ guix repl\n"
  34808. "scheme@@(guix-user)> ,use (gnu services file-sharing)\n"
  34809. "scheme@@(guix-user)> (transmission-random-salt)\n"
  34810. "$1 = \"uKd1uMs9\"\n"
  34811. msgstr ""
  34812. #. type: Plain text
  34813. #: guix-git/doc/guix.texi:23138
  34814. msgid "Alternatively, a complete password hash can generated in a single step:"
  34815. msgstr ""
  34816. #. type: example
  34817. #: guix-git/doc/guix.texi:23143
  34818. #, no-wrap
  34819. msgid ""
  34820. "scheme@@(guix-user)> (transmission-password-hash \"transmission\"\n"
  34821. "(transmission-random-salt))\n"
  34822. "$2 = \"@{c8bbc6d1740cd8dc819a6e25563b67812c1c19c9VtFPfdsX\"\n"
  34823. msgstr ""
  34824. #. type: Plain text
  34825. #: guix-git/doc/guix.texi:23148
  34826. 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."
  34827. msgstr ""
  34828. #. type: Plain text
  34829. #: guix-git/doc/guix.texi:23157
  34830. 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."
  34831. msgstr ""
  34832. #. type: Plain text
  34833. #: guix-git/doc/guix.texi:23164
  34834. 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.)"
  34835. msgstr ""
  34836. #. type: Plain text
  34837. #: guix-git/doc/guix.texi:23169
  34838. 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:"
  34839. msgstr ""
  34840. #. type: example
  34841. #: guix-git/doc/guix.texi:23172
  34842. #, no-wrap
  34843. msgid "# herd reload transmission-daemon\n"
  34844. msgstr ""
  34845. #. type: Plain text
  34846. #: guix-git/doc/guix.texi:23176
  34847. msgid "The full set of available configuration settings is defined by the @code{transmission-daemon-configuration} data type."
  34848. msgstr ""
  34849. #. type: deftp
  34850. #: guix-git/doc/guix.texi:23177
  34851. #, no-wrap
  34852. msgid "{Data Type} transmission-daemon-configuration"
  34853. msgstr ""
  34854. #. type: deftp
  34855. #: guix-git/doc/guix.texi:23181
  34856. 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."
  34857. msgstr ""
  34858. #. type: Plain text
  34859. #: guix-git/doc/guix.texi:23195
  34860. msgid "Available @code{transmission-daemon-configuration} fields are:"
  34861. msgstr ""
  34862. #. type: deftypevr
  34863. #: guix-git/doc/guix.texi:23196
  34864. #, no-wrap
  34865. msgid "{@code{transmission-daemon-configuration} parameter} package transmission"
  34866. msgstr ""
  34867. #. type: deftypevr
  34868. #: guix-git/doc/guix.texi:23198
  34869. msgid "The Transmission package to use."
  34870. msgstr ""
  34871. #. type: deftypevr
  34872. #: guix-git/doc/guix.texi:23201
  34873. #, no-wrap
  34874. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer stop-wait-period"
  34875. msgstr ""
  34876. #. type: deftypevr
  34877. #: guix-git/doc/guix.texi:23207
  34878. 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."
  34879. msgstr ""
  34880. #. type: deftypevr
  34881. #: guix-git/doc/guix.texi:23209 guix-git/doc/guix.texi:23581
  34882. #: guix-git/doc/guix.texi:30881 guix-git/doc/guix.texi:31116
  34883. #: guix-git/doc/guix.texi:31124 guix-git/doc/guix.texi:31132
  34884. msgid "Defaults to @samp{10}."
  34885. msgstr ""
  34886. #. type: deftypevr
  34887. #: guix-git/doc/guix.texi:23212
  34888. #, no-wrap
  34889. msgid "{@code{transmission-daemon-configuration} parameter} string download-dir"
  34890. msgstr ""
  34891. #. type: deftypevr
  34892. #: guix-git/doc/guix.texi:23214
  34893. msgid "The directory to which torrent files are downloaded."
  34894. msgstr ""
  34895. #. type: deftypevr
  34896. #: guix-git/doc/guix.texi:23216
  34897. msgid "Defaults to @samp{\"/var/lib/transmission-daemon/downloads\"}."
  34898. msgstr ""
  34899. #. type: deftypevr
  34900. #: guix-git/doc/guix.texi:23219
  34901. #, no-wrap
  34902. msgid "{@code{transmission-daemon-configuration} parameter} boolean incomplete-dir-enabled?"
  34903. msgstr ""
  34904. #. type: deftypevr
  34905. #: guix-git/doc/guix.texi:23224
  34906. 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}."
  34907. msgstr ""
  34908. #. type: deftypevr
  34909. #: guix-git/doc/guix.texi:23229
  34910. #, no-wrap
  34911. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string incomplete-dir"
  34912. msgstr ""
  34913. #. type: deftypevr
  34914. #: guix-git/doc/guix.texi:23232
  34915. msgid "The directory in which files from incompletely downloaded torrents will be held when @code{incomplete-dir-enabled?} is @code{#t}."
  34916. msgstr ""
  34917. #. type: deftypevr
  34918. #: guix-git/doc/guix.texi:23237
  34919. #, no-wrap
  34920. msgid "{@code{transmission-daemon-configuration} parameter} umask umask"
  34921. msgstr ""
  34922. #. type: deftypevr
  34923. #: guix-git/doc/guix.texi:23240
  34924. msgid "The file mode creation mask used for downloaded files. (See the @command{umask} man page for more information.)"
  34925. msgstr ""
  34926. #. type: deftypevr
  34927. #: guix-git/doc/guix.texi:23242
  34928. msgid "Defaults to @samp{18}."
  34929. msgstr ""
  34930. #. type: deftypevr
  34931. #: guix-git/doc/guix.texi:23245
  34932. #, no-wrap
  34933. msgid "{@code{transmission-daemon-configuration} parameter} boolean rename-partial-files?"
  34934. msgstr ""
  34935. #. type: deftypevr
  34936. #: guix-git/doc/guix.texi:23248
  34937. msgid "When @code{#t}, ``.part'' is appended to the name of partially downloaded files."
  34938. msgstr ""
  34939. #. type: deftypevr
  34940. #: guix-git/doc/guix.texi:23253
  34941. #, no-wrap
  34942. msgid "{@code{transmission-daemon-configuration} parameter} preallocation-mode preallocation"
  34943. msgstr ""
  34944. #. type: deftypevr
  34945. #: guix-git/doc/guix.texi:23258
  34946. 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."
  34947. msgstr ""
  34948. #. type: deftypevr
  34949. #: guix-git/doc/guix.texi:23260
  34950. msgid "Defaults to @samp{fast}."
  34951. msgstr ""
  34952. #. type: deftypevr
  34953. #: guix-git/doc/guix.texi:23263
  34954. #, no-wrap
  34955. msgid "{@code{transmission-daemon-configuration} parameter} boolean watch-dir-enabled?"
  34956. msgstr ""
  34957. #. type: deftypevr
  34958. #: guix-git/doc/guix.texi:23268
  34959. 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})."
  34960. msgstr ""
  34961. #. type: deftypevr
  34962. #: guix-git/doc/guix.texi:23273
  34963. #, no-wrap
  34964. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string watch-dir"
  34965. msgstr ""
  34966. #. type: deftypevr
  34967. #: guix-git/doc/guix.texi:23276
  34968. msgid "The directory to be watched for @file{.torrent} files indicating new torrents to be added, when @code{watch-dir-enabled} is @code{#t}."
  34969. msgstr ""
  34970. #. type: deftypevr
  34971. #: guix-git/doc/guix.texi:23281
  34972. #, no-wrap
  34973. msgid "{@code{transmission-daemon-configuration} parameter} boolean trash-original-torrent-files?"
  34974. msgstr ""
  34975. #. type: deftypevr
  34976. #: guix-git/doc/guix.texi:23285
  34977. 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?})."
  34978. msgstr ""
  34979. #. type: deftypevr
  34980. #: guix-git/doc/guix.texi:23290
  34981. #, no-wrap
  34982. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-down-enabled?"
  34983. msgstr ""
  34984. #. type: deftypevr
  34985. #: guix-git/doc/guix.texi:23293
  34986. msgid "When @code{#t}, the daemon's download speed will be limited to the rate specified by @code{speed-limit-down}."
  34987. msgstr ""
  34988. #. type: deftypevr
  34989. #: guix-git/doc/guix.texi:23298
  34990. #, no-wrap
  34991. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-down"
  34992. msgstr ""
  34993. #. type: deftypevr
  34994. #: guix-git/doc/guix.texi:23300
  34995. msgid "The default global-maximum download speed, in kilobytes per second."
  34996. msgstr ""
  34997. #. type: deftypevr
  34998. #: guix-git/doc/guix.texi:23305
  34999. #, no-wrap
  35000. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-up-enabled?"
  35001. msgstr ""
  35002. #. type: deftypevr
  35003. #: guix-git/doc/guix.texi:23308
  35004. msgid "When @code{#t}, the daemon's upload speed will be limited to the rate specified by @code{speed-limit-up}."
  35005. msgstr ""
  35006. #. type: deftypevr
  35007. #: guix-git/doc/guix.texi:23313
  35008. #, no-wrap
  35009. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-up"
  35010. msgstr ""
  35011. #. type: deftypevr
  35012. #: guix-git/doc/guix.texi:23315
  35013. msgid "The default global-maximum upload speed, in kilobytes per second."
  35014. msgstr ""
  35015. #. type: deftypevr
  35016. #: guix-git/doc/guix.texi:23320
  35017. #, no-wrap
  35018. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-enabled?"
  35019. msgstr ""
  35020. #. type: deftypevr
  35021. #: guix-git/doc/guix.texi:23326
  35022. 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?}."
  35023. msgstr ""
  35024. #. type: deftypevr
  35025. #: guix-git/doc/guix.texi:23331
  35026. #, no-wrap
  35027. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-down"
  35028. msgstr ""
  35029. #. type: deftypevr
  35030. #: guix-git/doc/guix.texi:23333
  35031. msgid "The alternate global-maximum download speed, in kilobytes per second."
  35032. msgstr ""
  35033. #. type: deftypevr
  35034. #: guix-git/doc/guix.texi:23335 guix-git/doc/guix.texi:23342
  35035. #: guix-git/doc/guix.texi:23514 guix-git/doc/guix.texi:30888
  35036. #: guix-git/doc/guix.texi:30903
  35037. msgid "Defaults to @samp{50}."
  35038. msgstr ""
  35039. #. type: deftypevr
  35040. #: guix-git/doc/guix.texi:23338
  35041. #, no-wrap
  35042. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-up"
  35043. msgstr ""
  35044. #. type: deftypevr
  35045. #: guix-git/doc/guix.texi:23340
  35046. msgid "The alternate global-maximum upload speed, in kilobytes per second."
  35047. msgstr ""
  35048. #. type: deftypevr
  35049. #: guix-git/doc/guix.texi:23345
  35050. #, no-wrap
  35051. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-time-enabled?"
  35052. msgstr ""
  35053. #. type: deftypevr
  35054. #: guix-git/doc/guix.texi:23350
  35055. 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}."
  35056. msgstr ""
  35057. #. type: deftypevr
  35058. #: guix-git/doc/guix.texi:23355
  35059. #, no-wrap
  35060. msgid "{@code{transmission-daemon-configuration} parameter} day-list alt-speed-time-day"
  35061. msgstr ""
  35062. #. type: deftypevr
  35063. #: guix-git/doc/guix.texi:23360
  35064. 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}."
  35065. msgstr ""
  35066. #. type: deftypevr
  35067. #: guix-git/doc/guix.texi:23362
  35068. msgid "Defaults to @samp{all}."
  35069. msgstr ""
  35070. #. type: deftypevr
  35071. #: guix-git/doc/guix.texi:23365
  35072. #, no-wrap
  35073. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-begin"
  35074. msgstr ""
  35075. #. type: deftypevr
  35076. #: guix-git/doc/guix.texi:23368
  35077. msgid "The time of day at which to enable the alternate speed limits, expressed as a number of minutes since midnight."
  35078. msgstr ""
  35079. #. type: deftypevr
  35080. #: guix-git/doc/guix.texi:23370
  35081. msgid "Defaults to @samp{540}."
  35082. msgstr ""
  35083. #. type: deftypevr
  35084. #: guix-git/doc/guix.texi:23373
  35085. #, no-wrap
  35086. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-end"
  35087. msgstr ""
  35088. #. type: deftypevr
  35089. #: guix-git/doc/guix.texi:23376
  35090. msgid "The time of day at which to disable the alternate speed limits, expressed as a number of minutes since midnight."
  35091. msgstr ""
  35092. #. type: deftypevr
  35093. #: guix-git/doc/guix.texi:23378
  35094. msgid "Defaults to @samp{1020}."
  35095. msgstr ""
  35096. #. type: deftypevr
  35097. #: guix-git/doc/guix.texi:23381
  35098. #, no-wrap
  35099. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv4"
  35100. msgstr ""
  35101. #. type: deftypevr
  35102. #: guix-git/doc/guix.texi:23384
  35103. msgid "The IP address at which to listen for peer connections, or ``0.0.0.0'' to listen at all available IP addresses."
  35104. msgstr ""
  35105. #. type: deftypevr
  35106. #: guix-git/doc/guix.texi:23386 guix-git/doc/guix.texi:23689
  35107. #: guix-git/doc/guix.texi:28802
  35108. msgid "Defaults to @samp{\"0.0.0.0\"}."
  35109. msgstr ""
  35110. #. type: deftypevr
  35111. #: guix-git/doc/guix.texi:23389
  35112. #, no-wrap
  35113. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv6"
  35114. msgstr ""
  35115. #. type: deftypevr
  35116. #: guix-git/doc/guix.texi:23392
  35117. msgid "The IPv6 address at which to listen for peer connections, or ``::'' to listen at all available IPv6 addresses."
  35118. msgstr ""
  35119. #. type: deftypevr
  35120. #: guix-git/doc/guix.texi:23394
  35121. msgid "Defaults to @samp{\"::\"}."
  35122. msgstr ""
  35123. #. type: deftypevr
  35124. #: guix-git/doc/guix.texi:23397
  35125. #, no-wrap
  35126. msgid "{@code{transmission-daemon-configuration} parameter} boolean peer-port-random-on-start?"
  35127. msgstr ""
  35128. #. type: deftypevr
  35129. #: guix-git/doc/guix.texi:23403
  35130. 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}."
  35131. msgstr ""
  35132. #. type: deftypevr
  35133. #: guix-git/doc/guix.texi:23408
  35134. #, no-wrap
  35135. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-low"
  35136. msgstr ""
  35137. #. type: deftypevr
  35138. #: guix-git/doc/guix.texi:23411
  35139. msgid "The lowest selectable port number when @code{peer-port-random-on-start?} is @code{#t}."
  35140. msgstr ""
  35141. #. type: deftypevr
  35142. #: guix-git/doc/guix.texi:23413
  35143. msgid "Defaults to @samp{49152}."
  35144. msgstr ""
  35145. #. type: deftypevr
  35146. #: guix-git/doc/guix.texi:23416
  35147. #, no-wrap
  35148. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-high"
  35149. msgstr ""
  35150. #. type: deftypevr
  35151. #: guix-git/doc/guix.texi:23419
  35152. msgid "The highest selectable port number when @code{peer-port-random-on-start} is @code{#t}."
  35153. msgstr ""
  35154. #. type: deftypevr
  35155. #: guix-git/doc/guix.texi:23421
  35156. msgid "Defaults to @samp{65535}."
  35157. msgstr ""
  35158. #. type: deftypevr
  35159. #: guix-git/doc/guix.texi:23424
  35160. #, no-wrap
  35161. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port"
  35162. msgstr ""
  35163. #. type: deftypevr
  35164. #: guix-git/doc/guix.texi:23427
  35165. msgid "The port on which to listen for peer connections when @code{peer-port-random-on-start?} is @code{#f}."
  35166. msgstr ""
  35167. #. type: deftypevr
  35168. #: guix-git/doc/guix.texi:23429
  35169. msgid "Defaults to @samp{51413}."
  35170. msgstr ""
  35171. #. type: deftypevr
  35172. #: guix-git/doc/guix.texi:23432
  35173. #, no-wrap
  35174. msgid "{@code{transmission-daemon-configuration} parameter} boolean port-forwarding-enabled?"
  35175. msgstr ""
  35176. #. type: deftypevr
  35177. #: guix-git/doc/guix.texi:23436
  35178. msgid "If @code{#t}, the daemon will attempt to configure port-forwarding on an upstream gateway automatically using @acronym{UPnP} and @acronym{NAT-PMP}."
  35179. msgstr ""
  35180. #. type: deftypevr
  35181. #: guix-git/doc/guix.texi:23441
  35182. #, no-wrap
  35183. msgid "{@code{transmission-daemon-configuration} parameter} encryption-mode encryption"
  35184. msgstr ""
  35185. #. type: deftypevr
  35186. #: guix-git/doc/guix.texi:23446
  35187. msgid "The encryption preference for peer connections, one of @code{prefer-unencrypted-connections}, @code{prefer-encrypted-connections} or @code{require-encrypted-connections}."
  35188. msgstr ""
  35189. #. type: deftypevr
  35190. #: guix-git/doc/guix.texi:23448
  35191. msgid "Defaults to @samp{prefer-encrypted-connections}."
  35192. msgstr ""
  35193. #. type: deftypevr
  35194. #: guix-git/doc/guix.texi:23451
  35195. #, no-wrap
  35196. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string peer-congestion-algorithm"
  35197. msgstr ""
  35198. #. type: deftypevr
  35199. #: guix-git/doc/guix.texi:23456
  35200. 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)."
  35201. msgstr ""
  35202. #. type: deftypevr
  35203. #: guix-git/doc/guix.texi:23465
  35204. 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."
  35205. msgstr ""
  35206. #. type: deftypevr
  35207. #: guix-git/doc/guix.texi:23473
  35208. 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:"
  35209. msgstr ""
  35210. #. type: lisp
  35211. #: guix-git/doc/guix.texi:23480
  35212. #, no-wrap
  35213. msgid ""
  35214. "(service sysctl-service-type\n"
  35215. " (sysctl-configuration\n"
  35216. " (settings\n"
  35217. " (\"net.ipv4.tcp_allowed_congestion_control\" .\n"
  35218. " \"reno cubic lp\"))))\n"
  35219. msgstr ""
  35220. #. type: deftypevr
  35221. #: guix-git/doc/guix.texi:23483
  35222. msgid "The Transmission Daemon configuration can then be updated with"
  35223. msgstr ""
  35224. #. type: lisp
  35225. #: guix-git/doc/guix.texi:23486
  35226. #, no-wrap
  35227. msgid "(peer-congestion-algorithm \"lp\")\n"
  35228. msgstr ""
  35229. #. type: deftypevr
  35230. #: guix-git/doc/guix.texi:23489
  35231. msgid "and the system reconfigured to have the changes take effect."
  35232. msgstr ""
  35233. #. type: deftypevr
  35234. #: guix-git/doc/guix.texi:23494
  35235. #, no-wrap
  35236. msgid "{@code{transmission-daemon-configuration} parameter} tcp-type-of-service peer-socket-tos"
  35237. msgstr ""
  35238. #. type: deftypevr
  35239. #: guix-git/doc/guix.texi:23498
  35240. 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}."
  35241. msgstr ""
  35242. #. type: deftypevr
  35243. #: guix-git/doc/guix.texi:23500
  35244. msgid "Defaults to @samp{default}."
  35245. msgstr ""
  35246. #. type: deftypevr
  35247. #: guix-git/doc/guix.texi:23503
  35248. #, no-wrap
  35249. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-global"
  35250. msgstr ""
  35251. #. type: deftypevr
  35252. #: guix-git/doc/guix.texi:23505
  35253. msgid "The global limit on the number of connected peers."
  35254. msgstr ""
  35255. #. type: deftypevr
  35256. #: guix-git/doc/guix.texi:23507
  35257. msgid "Defaults to @samp{200}."
  35258. msgstr ""
  35259. #. type: deftypevr
  35260. #: guix-git/doc/guix.texi:23510
  35261. #, no-wrap
  35262. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-per-torrent"
  35263. msgstr ""
  35264. #. type: deftypevr
  35265. #: guix-git/doc/guix.texi:23512
  35266. msgid "The per-torrent limit on the number of connected peers."
  35267. msgstr ""
  35268. #. type: deftypevr
  35269. #: guix-git/doc/guix.texi:23517
  35270. #, no-wrap
  35271. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer upload-slots-per-torrent"
  35272. msgstr ""
  35273. #. type: deftypevr
  35274. #: guix-git/doc/guix.texi:23520
  35275. msgid "The maximum number of peers to which the daemon will upload data simultaneously for each torrent."
  35276. msgstr ""
  35277. #. type: deftypevr
  35278. #: guix-git/doc/guix.texi:23522
  35279. msgid "Defaults to @samp{14}."
  35280. msgstr ""
  35281. #. type: deftypevr
  35282. #: guix-git/doc/guix.texi:23525
  35283. #, no-wrap
  35284. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-id-ttl-hours"
  35285. msgstr ""
  35286. #. type: deftypevr
  35287. #: guix-git/doc/guix.texi:23528
  35288. msgid "The maximum lifespan, in hours, of the peer ID associated with each public torrent before it is regenerated."
  35289. msgstr ""
  35290. #. type: deftypevr
  35291. #: guix-git/doc/guix.texi:23530
  35292. msgid "Defaults to @samp{6}."
  35293. msgstr ""
  35294. #. type: deftypevr
  35295. #: guix-git/doc/guix.texi:23533
  35296. #, no-wrap
  35297. msgid "{@code{transmission-daemon-configuration} parameter} boolean blocklist-enabled?"
  35298. msgstr ""
  35299. #. type: deftypevr
  35300. #: guix-git/doc/guix.texi:23536
  35301. msgid "When @code{#t}, the daemon will ignore peers mentioned in the blocklist it has most recently downloaded from @code{blocklist-url}."
  35302. msgstr ""
  35303. #. type: deftypevr
  35304. #: guix-git/doc/guix.texi:23541
  35305. #, no-wrap
  35306. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string blocklist-url"
  35307. msgstr ""
  35308. #. type: deftypevr
  35309. #: guix-git/doc/guix.texi:23545
  35310. 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}."
  35311. msgstr ""
  35312. #. type: deftypevr
  35313. #: guix-git/doc/guix.texi:23550
  35314. #, no-wrap
  35315. msgid "{@code{transmission-daemon-configuration} parameter} boolean download-queue-enabled?"
  35316. msgstr ""
  35317. #. type: deftypevr
  35318. #: guix-git/doc/guix.texi:23553
  35319. msgid "If @code{#t}, the daemon will be limited to downloading at most @code{download-queue-size} non-stalled torrents simultaneously."
  35320. msgstr ""
  35321. #. type: deftypevr
  35322. #: guix-git/doc/guix.texi:23558
  35323. #, no-wrap
  35324. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer download-queue-size"
  35325. msgstr ""
  35326. #. type: deftypevr
  35327. #: guix-git/doc/guix.texi:23562
  35328. 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}."
  35329. msgstr ""
  35330. #. type: deftypevr
  35331. #: guix-git/doc/guix.texi:23567
  35332. #, no-wrap
  35333. msgid "{@code{transmission-daemon-configuration} parameter} boolean seed-queue-enabled?"
  35334. msgstr ""
  35335. #. type: deftypevr
  35336. #: guix-git/doc/guix.texi:23570
  35337. msgid "If @code{#t}, the daemon will be limited to seeding at most @code{seed-queue-size} non-stalled torrents simultaneously."
  35338. msgstr ""
  35339. #. type: deftypevr
  35340. #: guix-git/doc/guix.texi:23575
  35341. #, no-wrap
  35342. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer seed-queue-size"
  35343. msgstr ""
  35344. #. type: deftypevr
  35345. #: guix-git/doc/guix.texi:23579
  35346. 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}."
  35347. msgstr ""
  35348. #. type: deftypevr
  35349. #: guix-git/doc/guix.texi:23584
  35350. #, no-wrap
  35351. msgid "{@code{transmission-daemon-configuration} parameter} boolean queue-stalled-enabled?"
  35352. msgstr ""
  35353. #. type: deftypevr
  35354. #: guix-git/doc/guix.texi:23589
  35355. 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."
  35356. msgstr ""
  35357. #. type: deftypevr
  35358. #: guix-git/doc/guix.texi:23594
  35359. #, no-wrap
  35360. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer queue-stalled-minutes"
  35361. msgstr ""
  35362. #. type: deftypevr
  35363. #: guix-git/doc/guix.texi:23598
  35364. 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}."
  35365. msgstr ""
  35366. #. type: deftypevr
  35367. #: guix-git/doc/guix.texi:23603
  35368. #, no-wrap
  35369. msgid "{@code{transmission-daemon-configuration} parameter} boolean ratio-limit-enabled?"
  35370. msgstr ""
  35371. #. type: deftypevr
  35372. #: guix-git/doc/guix.texi:23606
  35373. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it reaches the ratio specified by @code{ratio-limit}."
  35374. msgstr ""
  35375. #. type: deftypevr
  35376. #: guix-git/doc/guix.texi:23611
  35377. #, no-wrap
  35378. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-rational ratio-limit"
  35379. msgstr ""
  35380. #. type: deftypevr
  35381. #: guix-git/doc/guix.texi:23614
  35382. msgid "The ratio at which a torrent being seeded will be paused, when @code{ratio-limit-enabled?} is @code{#t}."
  35383. msgstr ""
  35384. #. type: deftypevr
  35385. #: guix-git/doc/guix.texi:23616
  35386. msgid "Defaults to @samp{2.0}."
  35387. msgstr ""
  35388. #. type: deftypevr
  35389. #: guix-git/doc/guix.texi:23619
  35390. #, no-wrap
  35391. msgid "{@code{transmission-daemon-configuration} parameter} boolean idle-seeding-limit-enabled?"
  35392. msgstr ""
  35393. #. type: deftypevr
  35394. #: guix-git/doc/guix.texi:23622
  35395. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it has been idle for @code{idle-seeding-limit} minutes."
  35396. msgstr ""
  35397. #. type: deftypevr
  35398. #: guix-git/doc/guix.texi:23627
  35399. #, no-wrap
  35400. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer idle-seeding-limit"
  35401. msgstr ""
  35402. #. type: deftypevr
  35403. #: guix-git/doc/guix.texi:23631
  35404. 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}."
  35405. msgstr ""
  35406. #. type: deftypevr
  35407. #: guix-git/doc/guix.texi:23636
  35408. #, no-wrap
  35409. msgid "{@code{transmission-daemon-configuration} parameter} boolean dht-enabled?"
  35410. msgstr ""
  35411. #. type: deftypevr
  35412. #: guix-git/doc/guix.texi:23640
  35413. msgid "Enable @uref{http://bittorrent.org/beps/bep_0005.html,the distributed hash table (@acronym{DHT}) protocol}, which supports the use of trackerless torrents."
  35414. msgstr ""
  35415. #. type: deftypevr
  35416. #: guix-git/doc/guix.texi:23645
  35417. #, no-wrap
  35418. msgid "{@code{transmission-daemon-configuration} parameter} boolean lpd-enabled?"
  35419. msgstr ""
  35420. #. type: deftypevr
  35421. #: guix-git/doc/guix.texi:23650
  35422. 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."
  35423. msgstr ""
  35424. #. type: deftypevr
  35425. #: guix-git/doc/guix.texi:23655
  35426. #, no-wrap
  35427. msgid "{@code{transmission-daemon-configuration} parameter} boolean pex-enabled?"
  35428. msgstr ""
  35429. #. type: deftypevr
  35430. #: guix-git/doc/guix.texi:23659
  35431. 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."
  35432. msgstr ""
  35433. #. type: deftypevr
  35434. #: guix-git/doc/guix.texi:23664
  35435. #, no-wrap
  35436. msgid "{@code{transmission-daemon-configuration} parameter} boolean utp-enabled?"
  35437. msgstr ""
  35438. #. type: deftypevr
  35439. #: guix-git/doc/guix.texi:23669
  35440. 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."
  35441. msgstr ""
  35442. #. type: deftypevr
  35443. #: guix-git/doc/guix.texi:23674
  35444. #, no-wrap
  35445. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-enabled?"
  35446. msgstr ""
  35447. #. type: deftypevr
  35448. #: guix-git/doc/guix.texi:23679
  35449. 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."
  35450. msgstr ""
  35451. #. type: deftypevr
  35452. #: guix-git/doc/guix.texi:23684
  35453. #, no-wrap
  35454. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-bind-address"
  35455. msgstr ""
  35456. #. type: deftypevr
  35457. #: guix-git/doc/guix.texi:23687
  35458. msgid "The IP address at which to listen for @acronym{RPC} connections, or ``0.0.0.0'' to listen at all available IP addresses."
  35459. msgstr ""
  35460. #. type: deftypevr
  35461. #: guix-git/doc/guix.texi:23692
  35462. #, no-wrap
  35463. msgid "{@code{transmission-daemon-configuration} parameter} port-number rpc-port"
  35464. msgstr ""
  35465. #. type: deftypevr
  35466. #: guix-git/doc/guix.texi:23694
  35467. msgid "The port on which to listen for @acronym{RPC} connections."
  35468. msgstr ""
  35469. #. type: deftypevr
  35470. #: guix-git/doc/guix.texi:23696
  35471. msgid "Defaults to @samp{9091}."
  35472. msgstr ""
  35473. #. type: deftypevr
  35474. #: guix-git/doc/guix.texi:23699
  35475. #, no-wrap
  35476. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-url"
  35477. msgstr ""
  35478. #. type: deftypevr
  35479. #: guix-git/doc/guix.texi:23701
  35480. msgid "The path prefix to use in the @acronym{RPC}-endpoint @acronym{URL}."
  35481. msgstr ""
  35482. #. type: deftypevr
  35483. #: guix-git/doc/guix.texi:23703
  35484. msgid "Defaults to @samp{\"/transmission/\"}."
  35485. msgstr ""
  35486. #. type: deftypevr
  35487. #: guix-git/doc/guix.texi:23706
  35488. #, no-wrap
  35489. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-authentication-required?"
  35490. msgstr ""
  35491. #. type: deftypevr
  35492. #: guix-git/doc/guix.texi:23711
  35493. 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?}."
  35494. msgstr ""
  35495. #. type: deftypevr
  35496. #: guix-git/doc/guix.texi:23716
  35497. #, no-wrap
  35498. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string rpc-username"
  35499. msgstr ""
  35500. #. type: deftypevr
  35501. #: guix-git/doc/guix.texi:23719
  35502. msgid "The username required by clients to access the @acronym{RPC} interface when @code{rpc-authentication-required?} is @code{#t}."
  35503. msgstr ""
  35504. #. type: deftypevr
  35505. #: guix-git/doc/guix.texi:23724
  35506. #, no-wrap
  35507. msgid "{@code{transmission-daemon-configuration} parameter} maybe-transmission-password-hash rpc-password"
  35508. msgstr ""
  35509. #. type: deftypevr
  35510. #: guix-git/doc/guix.texi:23730
  35511. 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."
  35512. msgstr ""
  35513. #. type: deftypevr
  35514. #: guix-git/doc/guix.texi:23735
  35515. #, no-wrap
  35516. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-whitelist-enabled?"
  35517. msgstr ""
  35518. #. type: deftypevr
  35519. #: guix-git/doc/guix.texi:23738
  35520. msgid "When @code{#t}, @acronym{RPC} requests will be accepted only when they originate from an address specified in @code{rpc-whitelist}."
  35521. msgstr ""
  35522. #. type: deftypevr
  35523. #: guix-git/doc/guix.texi:23743
  35524. #, no-wrap
  35525. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-whitelist"
  35526. msgstr ""
  35527. #. type: deftypevr
  35528. #: guix-git/doc/guix.texi:23747
  35529. 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{*}."
  35530. msgstr ""
  35531. #. type: deftypevr
  35532. #: guix-git/doc/guix.texi:23749
  35533. msgid "Defaults to @samp{(\"127.0.0.1\" \"::1\")}."
  35534. msgstr ""
  35535. #. type: deftypevr
  35536. #: guix-git/doc/guix.texi:23752
  35537. #, no-wrap
  35538. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-host-whitelist-enabled?"
  35539. msgstr ""
  35540. #. type: deftypevr
  35541. #: guix-git/doc/guix.texi:23757
  35542. 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."
  35543. msgstr ""
  35544. #. type: deftypevr
  35545. #: guix-git/doc/guix.texi:23760
  35546. msgid "Note also this functionality is disabled when @code{rpc-authentication-required?} is @code{#t}."
  35547. msgstr ""
  35548. #. type: deftypevr
  35549. #: guix-git/doc/guix.texi:23765
  35550. #, no-wrap
  35551. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-host-whitelist"
  35552. msgstr ""
  35553. #. type: deftypevr
  35554. #: guix-git/doc/guix.texi:23768
  35555. msgid "The list of host names recognized by the @acronym{RPC} server when @code{rpc-host-whitelist-enabled?} is @code{#t}."
  35556. msgstr ""
  35557. #. type: deftypevr
  35558. #: guix-git/doc/guix.texi:23773
  35559. #, no-wrap
  35560. msgid "{@code{transmission-daemon-configuration} parameter} message-level message-level"
  35561. msgstr ""
  35562. #. type: deftypevr
  35563. #: guix-git/doc/guix.texi:23777
  35564. 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}."
  35565. msgstr ""
  35566. #. type: deftypevr
  35567. #: guix-git/doc/guix.texi:23782
  35568. #, no-wrap
  35569. msgid "{@code{transmission-daemon-configuration} parameter} boolean start-added-torrents?"
  35570. msgstr ""
  35571. #. type: deftypevr
  35572. #: guix-git/doc/guix.texi:23785
  35573. msgid "When @code{#t}, torrents are started as soon as they are added; otherwise, they are added in ``paused'' state."
  35574. msgstr ""
  35575. #. type: deftypevr
  35576. #: guix-git/doc/guix.texi:23790
  35577. #, no-wrap
  35578. msgid "{@code{transmission-daemon-configuration} parameter} boolean script-torrent-done-enabled?"
  35579. msgstr ""
  35580. #. type: deftypevr
  35581. #: guix-git/doc/guix.texi:23794
  35582. msgid "When @code{#t}, the script specified by @code{script-torrent-done-filename} will be invoked each time a torrent completes."
  35583. msgstr ""
  35584. #. type: deftypevr
  35585. #: guix-git/doc/guix.texi:23799
  35586. #, no-wrap
  35587. msgid "{@code{transmission-daemon-configuration} parameter} maybe-file-object script-torrent-done-filename"
  35588. msgstr ""
  35589. #. type: deftypevr
  35590. #: guix-git/doc/guix.texi:23803
  35591. 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}."
  35592. msgstr ""
  35593. #. type: deftypevr
  35594. #: guix-git/doc/guix.texi:23808
  35595. #, no-wrap
  35596. msgid "{@code{transmission-daemon-configuration} parameter} boolean scrape-paused-torrents-enabled?"
  35597. msgstr ""
  35598. #. type: deftypevr
  35599. #: guix-git/doc/guix.texi:23811
  35600. msgid "When @code{#t}, the daemon will scrape trackers for a torrent even when the torrent is paused."
  35601. msgstr ""
  35602. #. type: deftypevr
  35603. #: guix-git/doc/guix.texi:23816
  35604. #, no-wrap
  35605. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer cache-size-mb"
  35606. msgstr ""
  35607. #. type: deftypevr
  35608. #: guix-git/doc/guix.texi:23820
  35609. 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."
  35610. msgstr ""
  35611. #. type: deftypevr
  35612. #: guix-git/doc/guix.texi:23822
  35613. msgid "Defaults to @samp{4}."
  35614. msgstr ""
  35615. #. type: deftypevr
  35616. #: guix-git/doc/guix.texi:23825
  35617. #, no-wrap
  35618. msgid "{@code{transmission-daemon-configuration} parameter} boolean prefetch-enabled?"
  35619. msgstr ""
  35620. #. type: deftypevr
  35621. #: guix-git/doc/guix.texi:23829
  35622. 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."
  35623. msgstr ""
  35624. #. type: subsubheading
  35625. #: guix-git/doc/guix.texi:23842
  35626. #, no-wrap
  35627. msgid "Tailon Service"
  35628. msgstr ""
  35629. #. type: Plain text
  35630. #: guix-git/doc/guix.texi:23846
  35631. msgid "@uref{https://tailon.readthedocs.io/, Tailon} is a web application for viewing and searching log files."
  35632. msgstr ""
  35633. #. type: Plain text
  35634. #: guix-git/doc/guix.texi:23849
  35635. msgid "The following example will configure the service with default values. By default, Tailon can be accessed on port 8080 (@code{http://localhost:8080})."
  35636. msgstr ""
  35637. #. type: lisp
  35638. #: guix-git/doc/guix.texi:23852
  35639. #, no-wrap
  35640. msgid "(service tailon-service-type)\n"
  35641. msgstr ""
  35642. #. type: Plain text
  35643. #: guix-git/doc/guix.texi:23856
  35644. msgid "The following example customises more of the Tailon configuration, adding @command{sed} to the list of allowed commands."
  35645. msgstr ""
  35646. #. type: lisp
  35647. #: guix-git/doc/guix.texi:23863
  35648. #, no-wrap
  35649. msgid ""
  35650. "(service tailon-service-type\n"
  35651. " (tailon-configuration\n"
  35652. " (config-file\n"
  35653. " (tailon-configuration-file\n"
  35654. " (allowed-commands '(\"tail\" \"grep\" \"awk\" \"sed\"))))))\n"
  35655. msgstr ""
  35656. #. type: deftp
  35657. #: guix-git/doc/guix.texi:23866
  35658. #, no-wrap
  35659. msgid "{Data Type} tailon-configuration"
  35660. msgstr ""
  35661. #. type: deftp
  35662. #: guix-git/doc/guix.texi:23869
  35663. msgid "Data type representing the configuration of Tailon. This type has the following parameters:"
  35664. msgstr ""
  35665. #. type: item
  35666. #: guix-git/doc/guix.texi:23871
  35667. #, no-wrap
  35668. msgid "@code{config-file} (default: @code{(tailon-configuration-file)})"
  35669. msgstr ""
  35670. #. type: table
  35671. #: guix-git/doc/guix.texi:23875
  35672. 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})."
  35673. msgstr ""
  35674. #. type: table
  35675. #: guix-git/doc/guix.texi:23878
  35676. msgid "For example, to instead use a local file, the @code{local-file} function can be used:"
  35677. msgstr ""
  35678. #. type: lisp
  35679. #: guix-git/doc/guix.texi:23883
  35680. #, no-wrap
  35681. msgid ""
  35682. "(service tailon-service-type\n"
  35683. " (tailon-configuration\n"
  35684. " (config-file (local-file \"./my-tailon.conf\"))))\n"
  35685. msgstr ""
  35686. #. type: item
  35687. #: guix-git/doc/guix.texi:23885
  35688. #, no-wrap
  35689. msgid "@code{package} (default: @code{tailon})"
  35690. msgstr ""
  35691. #. type: table
  35692. #: guix-git/doc/guix.texi:23887
  35693. msgid "The tailon package to use."
  35694. msgstr ""
  35695. #. type: deftp
  35696. #: guix-git/doc/guix.texi:23891
  35697. #, no-wrap
  35698. msgid "{Data Type} tailon-configuration-file"
  35699. msgstr ""
  35700. #. type: deftp
  35701. #: guix-git/doc/guix.texi:23894
  35702. msgid "Data type representing the configuration options for Tailon. This type has the following parameters:"
  35703. msgstr ""
  35704. #. type: item
  35705. #: guix-git/doc/guix.texi:23896
  35706. #, no-wrap
  35707. msgid "@code{files} (default: @code{(list \"/var/log\")})"
  35708. msgstr ""
  35709. #. type: table
  35710. #: guix-git/doc/guix.texi:23901
  35711. 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."
  35712. msgstr ""
  35713. #. type: item
  35714. #: guix-git/doc/guix.texi:23902
  35715. #, no-wrap
  35716. msgid "@code{bind} (default: @code{\"localhost:8080\"})"
  35717. msgstr ""
  35718. #. type: table
  35719. #: guix-git/doc/guix.texi:23904
  35720. msgid "Address and port to which Tailon should bind on."
  35721. msgstr ""
  35722. #. type: item
  35723. #: guix-git/doc/guix.texi:23905
  35724. #, no-wrap
  35725. msgid "@code{relative-root} (default: @code{#f})"
  35726. msgstr ""
  35727. #. type: table
  35728. #: guix-git/doc/guix.texi:23907
  35729. msgid "URL path to use for Tailon, set to @code{#f} to not use a path."
  35730. msgstr ""
  35731. #. type: item
  35732. #: guix-git/doc/guix.texi:23908
  35733. #, no-wrap
  35734. msgid "@code{allow-transfers?} (default: @code{#t})"
  35735. msgstr ""
  35736. #. type: table
  35737. #: guix-git/doc/guix.texi:23910
  35738. msgid "Allow downloading the log files in the web interface."
  35739. msgstr ""
  35740. #. type: item
  35741. #: guix-git/doc/guix.texi:23911
  35742. #, no-wrap
  35743. msgid "@code{follow-names?} (default: @code{#t})"
  35744. msgstr ""
  35745. #. type: table
  35746. #: guix-git/doc/guix.texi:23913
  35747. msgid "Allow tailing of not-yet existent files."
  35748. msgstr ""
  35749. #. type: item
  35750. #: guix-git/doc/guix.texi:23914
  35751. #, no-wrap
  35752. msgid "@code{tail-lines} (default: @code{200})"
  35753. msgstr ""
  35754. #. type: table
  35755. #: guix-git/doc/guix.texi:23916
  35756. msgid "Number of lines to read initially from each file."
  35757. msgstr ""
  35758. #. type: item
  35759. #: guix-git/doc/guix.texi:23917
  35760. #, no-wrap
  35761. msgid "@code{allowed-commands} (default: @code{(list \"tail\" \"grep\" \"awk\")})"
  35762. msgstr ""
  35763. #. type: table
  35764. #: guix-git/doc/guix.texi:23919
  35765. msgid "Commands to allow running. By default, @code{sed} is disabled."
  35766. msgstr ""
  35767. #. type: table
  35768. #: guix-git/doc/guix.texi:23922
  35769. msgid "Set @code{debug?} to @code{#t} to show debug messages."
  35770. msgstr ""
  35771. #. type: item
  35772. #: guix-git/doc/guix.texi:23923
  35773. #, no-wrap
  35774. msgid "@code{wrap-lines} (default: @code{#t})"
  35775. msgstr ""
  35776. #. type: table
  35777. #: guix-git/doc/guix.texi:23927
  35778. 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."
  35779. msgstr ""
  35780. #. type: item
  35781. #: guix-git/doc/guix.texi:23928
  35782. #, no-wrap
  35783. msgid "@code{http-auth} (default: @code{#f})"
  35784. msgstr ""
  35785. #. type: table
  35786. #: guix-git/doc/guix.texi:23932
  35787. msgid "HTTP authentication type to use. Set to @code{#f} to disable authentication (the default). Supported values are @code{\"digest\"} or @code{\"basic\"}."
  35788. msgstr ""
  35789. #. type: item
  35790. #: guix-git/doc/guix.texi:23933
  35791. #, no-wrap
  35792. msgid "@code{users} (default: @code{#f})"
  35793. msgstr "@code{users} (default: @code{#f})"
  35794. #. type: table
  35795. #: guix-git/doc/guix.texi:23938
  35796. 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."
  35797. msgstr ""
  35798. #. type: lisp
  35799. #: guix-git/doc/guix.texi:23944
  35800. #, no-wrap
  35801. msgid ""
  35802. "(tailon-configuration-file\n"
  35803. " (http-auth \"basic\")\n"
  35804. " (users '((\"user1\" . \"password1\")\n"
  35805. " (\"user2\" . \"password2\"))))\n"
  35806. msgstr ""
  35807. #. type: subsubheading
  35808. #: guix-git/doc/guix.texi:23950
  35809. #, no-wrap
  35810. msgid "Darkstat Service"
  35811. msgstr ""
  35812. #. type: cindex
  35813. #: guix-git/doc/guix.texi:23951
  35814. #, no-wrap
  35815. msgid "darkstat"
  35816. msgstr ""
  35817. #. type: Plain text
  35818. #: guix-git/doc/guix.texi:23954
  35819. msgid "Darkstat is a packet sniffer that captures network traffic, calculates statistics about usage, and serves reports over HTTP."
  35820. msgstr ""
  35821. #. type: defvar
  35822. #: guix-git/doc/guix.texi:23955
  35823. #, no-wrap
  35824. msgid "{Scheme Variable} darkstat-service-type"
  35825. msgstr ""
  35826. #. type: defvar
  35827. #: guix-git/doc/guix.texi:23960
  35828. 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:"
  35829. msgstr ""
  35830. #. type: lisp
  35831. #: guix-git/doc/guix.texi:23965
  35832. #, no-wrap
  35833. msgid ""
  35834. "(service darkstat-service-type\n"
  35835. " (darkstat-configuration\n"
  35836. " (interface \"eno1\")))\n"
  35837. msgstr ""
  35838. #. type: deftp
  35839. #: guix-git/doc/guix.texi:23968
  35840. #, no-wrap
  35841. msgid "{Data Type} darkstat-configuration"
  35842. msgstr ""
  35843. #. type: deftp
  35844. #: guix-git/doc/guix.texi:23970
  35845. msgid "Data type representing the configuration of @command{darkstat}."
  35846. msgstr ""
  35847. #. type: item
  35848. #: guix-git/doc/guix.texi:23972
  35849. #, no-wrap
  35850. msgid "@code{package} (default: @code{darkstat})"
  35851. msgstr ""
  35852. #. type: table
  35853. #: guix-git/doc/guix.texi:23974
  35854. msgid "The darkstat package to use."
  35855. msgstr ""
  35856. #. type: code{#1}
  35857. #: guix-git/doc/guix.texi:23975
  35858. #, no-wrap
  35859. msgid "interface"
  35860. msgstr ""
  35861. #. type: table
  35862. #: guix-git/doc/guix.texi:23977
  35863. msgid "Capture traffic on the specified network interface."
  35864. msgstr ""
  35865. #. type: item
  35866. #: guix-git/doc/guix.texi:23978
  35867. #, no-wrap
  35868. msgid "@code{port} (default: @code{\"667\"})"
  35869. msgstr "@code{porta} (default: @code{\"667\"})"
  35870. #. type: table
  35871. #: guix-git/doc/guix.texi:23980
  35872. msgid "Bind the web interface to the specified port."
  35873. msgstr ""
  35874. #. type: table
  35875. #: guix-git/doc/guix.texi:23983 guix-git/doc/guix.texi:24018
  35876. msgid "Bind the web interface to the specified address."
  35877. msgstr ""
  35878. #. type: item
  35879. #: guix-git/doc/guix.texi:23984
  35880. #, no-wrap
  35881. msgid "@code{base} (default: @code{\"/\"})"
  35882. msgstr ""
  35883. #. type: table
  35884. #: guix-git/doc/guix.texi:23987
  35885. msgid "Specify the path of the base URL@. This can be useful if @command{darkstat} is accessed via a reverse proxy."
  35886. msgstr ""
  35887. #. type: subsubheading
  35888. #: guix-git/doc/guix.texi:23991
  35889. #, no-wrap
  35890. msgid "Prometheus Node Exporter Service"
  35891. msgstr ""
  35892. #. type: cindex
  35893. #: guix-git/doc/guix.texi:23993
  35894. #, no-wrap
  35895. msgid "prometheus-node-exporter"
  35896. msgstr ""
  35897. #. type: Plain text
  35898. #: guix-git/doc/guix.texi:23998
  35899. 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."
  35900. msgstr ""
  35901. #. type: defvar
  35902. #: guix-git/doc/guix.texi:23999
  35903. #, no-wrap
  35904. msgid "{Scheme variable} prometheus-node-exporter-service-type"
  35905. msgstr ""
  35906. #. type: defvar
  35907. #: guix-git/doc/guix.texi:24003
  35908. 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}."
  35909. msgstr ""
  35910. #. type: lisp
  35911. #: guix-git/doc/guix.texi:24006
  35912. #, no-wrap
  35913. msgid "(service prometheus-node-exporter-service-type)\n"
  35914. msgstr ""
  35915. #. type: deftp
  35916. #: guix-git/doc/guix.texi:24009
  35917. #, no-wrap
  35918. msgid "{Data Type} prometheus-node-exporter-configuration"
  35919. msgstr ""
  35920. #. type: deftp
  35921. #: guix-git/doc/guix.texi:24011
  35922. msgid "Data type representing the configuration of @command{node_exporter}."
  35923. msgstr ""
  35924. #. type: item
  35925. #: guix-git/doc/guix.texi:24013
  35926. #, no-wrap
  35927. msgid "@code{package} (default: @code{go-github-com-prometheus-node-exporter})"
  35928. msgstr ""
  35929. #. type: table
  35930. #: guix-git/doc/guix.texi:24015
  35931. msgid "The prometheus-node-exporter package to use."
  35932. msgstr ""
  35933. #. type: item
  35934. #: guix-git/doc/guix.texi:24016
  35935. #, no-wrap
  35936. msgid "@code{web-listen-address} (default: @code{\":9100\"})"
  35937. msgstr ""
  35938. #. type: item
  35939. #: guix-git/doc/guix.texi:24019
  35940. #, no-wrap
  35941. msgid "@code{textfile-directory} (default: @code{\"/var/lib/prometheus/node-exporter\"})"
  35942. msgstr ""
  35943. #. type: table
  35944. #: guix-git/doc/guix.texi:24023
  35945. 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."
  35946. msgstr ""
  35947. #. type: table
  35948. #: guix-git/doc/guix.texi:24026
  35949. msgid "Extra options to pass to the Prometheus node exporter."
  35950. msgstr ""
  35951. #. type: subsubheading
  35952. #: guix-git/doc/guix.texi:24030
  35953. #, no-wrap
  35954. msgid "Zabbix server"
  35955. msgstr ""
  35956. #. type: cindex
  35957. #: guix-git/doc/guix.texi:24031
  35958. #, no-wrap
  35959. msgid "zabbix zabbix-server"
  35960. msgstr ""
  35961. #. type: Plain text
  35962. #: guix-git/doc/guix.texi:24034
  35963. msgid "Zabbix provides monitoring metrics, among others network utilization, CPU load and disk space consumption:"
  35964. msgstr ""
  35965. #. type: item
  35966. #: guix-git/doc/guix.texi:24036
  35967. #, no-wrap
  35968. msgid "High performance, high capacity (able to monitor hundreds of thousands of devices)."
  35969. msgstr ""
  35970. #. type: item
  35971. #: guix-git/doc/guix.texi:24037
  35972. #, no-wrap
  35973. msgid "Auto-discovery of servers and network devices and interfaces."
  35974. msgstr ""
  35975. #. type: item
  35976. #: guix-git/doc/guix.texi:24038
  35977. #, no-wrap
  35978. msgid "Low-level discovery, allows to automatically start monitoring new items, file systems or network interfaces among others."
  35979. msgstr ""
  35980. #. type: item
  35981. #: guix-git/doc/guix.texi:24039
  35982. #, no-wrap
  35983. msgid "Distributed monitoring with centralized web administration."
  35984. msgstr ""
  35985. #. type: item
  35986. #: guix-git/doc/guix.texi:24040
  35987. #, no-wrap
  35988. msgid "Native high performance agents."
  35989. msgstr ""
  35990. #. type: item
  35991. #: guix-git/doc/guix.texi:24041
  35992. #, no-wrap
  35993. msgid "SLA, and ITIL KPI metrics on reporting."
  35994. msgstr ""
  35995. #. type: item
  35996. #: guix-git/doc/guix.texi:24042
  35997. #, no-wrap
  35998. msgid "High-level (business) view of monitored resources through user-defined visual console screens and dashboards."
  35999. msgstr ""
  36000. #. type: item
  36001. #: guix-git/doc/guix.texi:24043
  36002. #, no-wrap
  36003. msgid "Remote command execution through Zabbix proxies."
  36004. msgstr ""
  36005. #. type: Plain text
  36006. #: guix-git/doc/guix.texi:24049
  36007. msgid "Available @code{zabbix-server-configuration} fields are:"
  36008. msgstr ""
  36009. #. type: deftypevr
  36010. #: guix-git/doc/guix.texi:24050
  36011. #, no-wrap
  36012. msgid "{@code{zabbix-server-configuration} parameter} package zabbix-server"
  36013. msgstr ""
  36014. #. type: deftypevr
  36015. #: guix-git/doc/guix.texi:24052
  36016. msgid "The zabbix-server package."
  36017. msgstr ""
  36018. #. type: deftypevr
  36019. #: guix-git/doc/guix.texi:24055
  36020. #, no-wrap
  36021. msgid "{@code{zabbix-server-configuration} parameter} string user"
  36022. msgstr ""
  36023. #. type: deftypevr
  36024. #: guix-git/doc/guix.texi:24057
  36025. msgid "User who will run the Zabbix server."
  36026. msgstr ""
  36027. #. type: deftypevr
  36028. #: guix-git/doc/guix.texi:24059 guix-git/doc/guix.texi:24066
  36029. #: guix-git/doc/guix.texi:24080 guix-git/doc/guix.texi:24087
  36030. #: guix-git/doc/guix.texi:24188 guix-git/doc/guix.texi:24195
  36031. #: guix-git/doc/guix.texi:24306 guix-git/doc/guix.texi:24313
  36032. msgid "Defaults to @samp{\"zabbix\"}."
  36033. msgstr ""
  36034. #. type: deftypevr
  36035. #: guix-git/doc/guix.texi:24062
  36036. #, no-wrap
  36037. msgid "{@code{zabbix-server-configuration} parameter} group group"
  36038. msgstr ""
  36039. #. type: deftypevr
  36040. #: guix-git/doc/guix.texi:24064
  36041. msgid "Group who will run the Zabbix server."
  36042. msgstr ""
  36043. #. type: deftypevr
  36044. #: guix-git/doc/guix.texi:24069
  36045. #, no-wrap
  36046. msgid "{@code{zabbix-server-configuration} parameter} string db-host"
  36047. msgstr ""
  36048. #. type: deftypevr
  36049. #: guix-git/doc/guix.texi:24071 guix-git/doc/guix.texi:24290
  36050. msgid "Database host name."
  36051. msgstr ""
  36052. #. type: deftypevr
  36053. #: guix-git/doc/guix.texi:24073
  36054. msgid "Defaults to @samp{\"127.0.0.1\"}."
  36055. msgstr ""
  36056. #. type: deftypevr
  36057. #: guix-git/doc/guix.texi:24076
  36058. #, no-wrap
  36059. msgid "{@code{zabbix-server-configuration} parameter} string db-name"
  36060. msgstr ""
  36061. #. type: deftypevr
  36062. #: guix-git/doc/guix.texi:24078 guix-git/doc/guix.texi:24304
  36063. msgid "Database name."
  36064. msgstr ""
  36065. #. type: deftypevr
  36066. #: guix-git/doc/guix.texi:24083
  36067. #, no-wrap
  36068. msgid "{@code{zabbix-server-configuration} parameter} string db-user"
  36069. msgstr ""
  36070. #. type: deftypevr
  36071. #: guix-git/doc/guix.texi:24085 guix-git/doc/guix.texi:24311
  36072. msgid "Database user."
  36073. msgstr ""
  36074. #. type: deftypevr
  36075. #: guix-git/doc/guix.texi:24090
  36076. #, no-wrap
  36077. msgid "{@code{zabbix-server-configuration} parameter} string db-password"
  36078. msgstr ""
  36079. #. type: deftypevr
  36080. #: guix-git/doc/guix.texi:24093
  36081. msgid "Database password. Please, use @code{include-files} with @code{DBPassword=SECRET} inside a specified file instead."
  36082. msgstr ""
  36083. #. type: deftypevr
  36084. #: guix-git/doc/guix.texi:24098
  36085. #, no-wrap
  36086. msgid "{@code{zabbix-server-configuration} parameter} number db-port"
  36087. msgstr ""
  36088. #. type: deftypevr
  36089. #: guix-git/doc/guix.texi:24100 guix-git/doc/guix.texi:24297
  36090. msgid "Database port."
  36091. msgstr ""
  36092. #. type: deftypevr
  36093. #: guix-git/doc/guix.texi:24102 guix-git/doc/guix.texi:24299
  36094. msgid "Defaults to @samp{5432}."
  36095. msgstr ""
  36096. #. type: deftypevr
  36097. #: guix-git/doc/guix.texi:24105
  36098. #, no-wrap
  36099. msgid "{@code{zabbix-server-configuration} parameter} string log-type"
  36100. msgstr ""
  36101. #. type: deftypevr
  36102. #: guix-git/doc/guix.texi:24107 guix-git/doc/guix.texi:24208
  36103. msgid "Specifies where log messages are written to:"
  36104. msgstr ""
  36105. #. type: itemize
  36106. #: guix-git/doc/guix.texi:24111 guix-git/doc/guix.texi:24212
  36107. msgid "@code{system} - syslog."
  36108. msgstr ""
  36109. #. type: itemize
  36110. #: guix-git/doc/guix.texi:24114 guix-git/doc/guix.texi:24215
  36111. msgid "@code{file} - file specified with @code{log-file} parameter."
  36112. msgstr ""
  36113. #. type: itemize
  36114. #: guix-git/doc/guix.texi:24117 guix-git/doc/guix.texi:24218
  36115. msgid "@code{console} - standard output."
  36116. msgstr ""
  36117. #. type: deftypevr
  36118. #: guix-git/doc/guix.texi:24124
  36119. #, no-wrap
  36120. msgid "{@code{zabbix-server-configuration} parameter} string log-file"
  36121. msgstr ""
  36122. #. type: deftypevr
  36123. #: guix-git/doc/guix.texi:24126 guix-git/doc/guix.texi:24227
  36124. msgid "Log file name for @code{log-type} @code{file} parameter."
  36125. msgstr ""
  36126. #. type: deftypevr
  36127. #: guix-git/doc/guix.texi:24128
  36128. msgid "Defaults to @samp{\"/var/log/zabbix/server.log\"}."
  36129. msgstr ""
  36130. #. type: deftypevr
  36131. #: guix-git/doc/guix.texi:24131
  36132. #, no-wrap
  36133. msgid "{@code{zabbix-server-configuration} parameter} string pid-file"
  36134. msgstr ""
  36135. #. type: deftypevr
  36136. #: guix-git/doc/guix.texi:24133 guix-git/doc/guix.texi:24234
  36137. msgid "Name of PID file."
  36138. msgstr ""
  36139. #. type: deftypevr
  36140. #: guix-git/doc/guix.texi:24135
  36141. msgid "Defaults to @samp{\"/var/run/zabbix/zabbix_server.pid\"}."
  36142. msgstr ""
  36143. #. type: deftypevr
  36144. #: guix-git/doc/guix.texi:24138
  36145. #, no-wrap
  36146. msgid "{@code{zabbix-server-configuration} parameter} string ssl-ca-location"
  36147. msgstr ""
  36148. #. type: deftypevr
  36149. #: guix-git/doc/guix.texi:24141
  36150. msgid "The location of certificate authority (CA) files for SSL server certificate verification."
  36151. msgstr ""
  36152. #. type: deftypevr
  36153. #: guix-git/doc/guix.texi:24143
  36154. msgid "Defaults to @samp{\"/etc/ssl/certs/ca-certificates.crt\"}."
  36155. msgstr ""
  36156. #. type: deftypevr
  36157. #: guix-git/doc/guix.texi:24146
  36158. #, no-wrap
  36159. msgid "{@code{zabbix-server-configuration} parameter} string ssl-cert-location"
  36160. msgstr ""
  36161. #. type: deftypevr
  36162. #: guix-git/doc/guix.texi:24148
  36163. msgid "Location of SSL client certificates."
  36164. msgstr ""
  36165. #. type: deftypevr
  36166. #: guix-git/doc/guix.texi:24150
  36167. msgid "Defaults to @samp{\"/etc/ssl/certs\"}."
  36168. msgstr ""
  36169. #. type: deftypevr
  36170. #: guix-git/doc/guix.texi:24153
  36171. #, no-wrap
  36172. msgid "{@code{zabbix-server-configuration} parameter} string extra-options"
  36173. msgstr ""
  36174. #. type: deftypevr
  36175. #: guix-git/doc/guix.texi:24155 guix-git/doc/guix.texi:24259
  36176. msgid "Extra options will be appended to Zabbix server configuration file."
  36177. msgstr ""
  36178. #. type: deftypevr
  36179. #: guix-git/doc/guix.texi:24160
  36180. #, no-wrap
  36181. msgid "{@code{zabbix-server-configuration} parameter} include-files include-files"
  36182. msgstr ""
  36183. #. type: deftypevr
  36184. #: guix-git/doc/guix.texi:24163 guix-git/doc/guix.texi:24267
  36185. msgid "You may include individual files or all files in a directory in the configuration file."
  36186. msgstr ""
  36187. #. type: subsubheading
  36188. #: guix-git/doc/guix.texi:24170
  36189. #, no-wrap
  36190. msgid "Zabbix agent"
  36191. msgstr ""
  36192. #. type: cindex
  36193. #: guix-git/doc/guix.texi:24171
  36194. #, no-wrap
  36195. msgid "zabbix zabbix-agent"
  36196. msgstr ""
  36197. #. type: Plain text
  36198. #: guix-git/doc/guix.texi:24174
  36199. msgid "Zabbix agent gathers information for Zabbix server."
  36200. msgstr ""
  36201. #. type: Plain text
  36202. #: guix-git/doc/guix.texi:24178
  36203. msgid "Available @code{zabbix-agent-configuration} fields are:"
  36204. msgstr ""
  36205. #. type: deftypevr
  36206. #: guix-git/doc/guix.texi:24179
  36207. #, no-wrap
  36208. msgid "{@code{zabbix-agent-configuration} parameter} package zabbix-agent"
  36209. msgstr ""
  36210. #. type: deftypevr
  36211. #: guix-git/doc/guix.texi:24181
  36212. msgid "The zabbix-agent package."
  36213. msgstr ""
  36214. #. type: deftypevr
  36215. #: guix-git/doc/guix.texi:24184
  36216. #, no-wrap
  36217. msgid "{@code{zabbix-agent-configuration} parameter} string user"
  36218. msgstr ""
  36219. #. type: deftypevr
  36220. #: guix-git/doc/guix.texi:24186
  36221. msgid "User who will run the Zabbix agent."
  36222. msgstr ""
  36223. #. type: deftypevr
  36224. #: guix-git/doc/guix.texi:24191
  36225. #, no-wrap
  36226. msgid "{@code{zabbix-agent-configuration} parameter} group group"
  36227. msgstr ""
  36228. #. type: deftypevr
  36229. #: guix-git/doc/guix.texi:24193
  36230. msgid "Group who will run the Zabbix agent."
  36231. msgstr ""
  36232. #. type: deftypevr
  36233. #: guix-git/doc/guix.texi:24198
  36234. #, no-wrap
  36235. msgid "{@code{zabbix-agent-configuration} parameter} string hostname"
  36236. msgstr ""
  36237. #. type: deftypevr
  36238. #: guix-git/doc/guix.texi:24201
  36239. msgid "Unique, case sensitive hostname which is required for active checks and must match hostname as configured on the server."
  36240. msgstr ""
  36241. #. type: deftypevr
  36242. #: guix-git/doc/guix.texi:24206
  36243. #, no-wrap
  36244. msgid "{@code{zabbix-agent-configuration} parameter} string log-type"
  36245. msgstr ""
  36246. #. type: deftypevr
  36247. #: guix-git/doc/guix.texi:24225
  36248. #, no-wrap
  36249. msgid "{@code{zabbix-agent-configuration} parameter} string log-file"
  36250. msgstr ""
  36251. #. type: deftypevr
  36252. #: guix-git/doc/guix.texi:24229
  36253. msgid "Defaults to @samp{\"/var/log/zabbix/agent.log\"}."
  36254. msgstr ""
  36255. #. type: deftypevr
  36256. #: guix-git/doc/guix.texi:24232
  36257. #, no-wrap
  36258. msgid "{@code{zabbix-agent-configuration} parameter} string pid-file"
  36259. msgstr ""
  36260. #. type: deftypevr
  36261. #: guix-git/doc/guix.texi:24236
  36262. msgid "Defaults to @samp{\"/var/run/zabbix/zabbix_agent.pid\"}."
  36263. msgstr ""
  36264. #. type: deftypevr
  36265. #: guix-git/doc/guix.texi:24239
  36266. #, no-wrap
  36267. msgid "{@code{zabbix-agent-configuration} parameter} list server"
  36268. msgstr ""
  36269. #. type: deftypevr
  36270. #: guix-git/doc/guix.texi:24243
  36271. 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."
  36272. msgstr ""
  36273. #. type: deftypevr
  36274. #: guix-git/doc/guix.texi:24245 guix-git/doc/guix.texi:24254
  36275. msgid "Defaults to @samp{(\"127.0.0.1\")}."
  36276. msgstr ""
  36277. #. type: deftypevr
  36278. #: guix-git/doc/guix.texi:24248
  36279. #, no-wrap
  36280. msgid "{@code{zabbix-agent-configuration} parameter} list server-active"
  36281. msgstr ""
  36282. #. type: deftypevr
  36283. #: guix-git/doc/guix.texi:24252
  36284. 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."
  36285. msgstr ""
  36286. #. type: deftypevr
  36287. #: guix-git/doc/guix.texi:24257
  36288. #, no-wrap
  36289. msgid "{@code{zabbix-agent-configuration} parameter} string extra-options"
  36290. msgstr ""
  36291. #. type: deftypevr
  36292. #: guix-git/doc/guix.texi:24264
  36293. #, no-wrap
  36294. msgid "{@code{zabbix-agent-configuration} parameter} include-files include-files"
  36295. msgstr ""
  36296. #. type: subsubheading
  36297. #: guix-git/doc/guix.texi:24274
  36298. #, no-wrap
  36299. msgid "Zabbix front-end"
  36300. msgstr ""
  36301. #. type: cindex
  36302. #: guix-git/doc/guix.texi:24275
  36303. #, no-wrap
  36304. msgid "zabbix zabbix-front-end"
  36305. msgstr ""
  36306. #. type: Plain text
  36307. #: guix-git/doc/guix.texi:24278
  36308. msgid "This service provides a WEB interface to Zabbix server."
  36309. msgstr ""
  36310. #. type: Plain text
  36311. #: guix-git/doc/guix.texi:24282
  36312. msgid "Available @code{zabbix-front-end-configuration} fields are:"
  36313. msgstr ""
  36314. #. type: deftypevr
  36315. #: guix-git/doc/guix.texi:24283
  36316. #, no-wrap
  36317. msgid "{@code{zabbix-front-end-configuration} parameter} nginx-server-configuration-list nginx"
  36318. msgstr ""
  36319. #. type: deftypevr
  36320. #: guix-git/doc/guix.texi:24285 guix-git/doc/guix.texi:30515
  36321. msgid "NGINX configuration."
  36322. msgstr ""
  36323. #. type: deftypevr
  36324. #: guix-git/doc/guix.texi:24288
  36325. #, no-wrap
  36326. msgid "{@code{zabbix-front-end-configuration} parameter} string db-host"
  36327. msgstr ""
  36328. #. type: deftypevr
  36329. #: guix-git/doc/guix.texi:24295
  36330. #, no-wrap
  36331. msgid "{@code{zabbix-front-end-configuration} parameter} number db-port"
  36332. msgstr ""
  36333. #. type: deftypevr
  36334. #: guix-git/doc/guix.texi:24302
  36335. #, no-wrap
  36336. msgid "{@code{zabbix-front-end-configuration} parameter} string db-name"
  36337. msgstr ""
  36338. #. type: deftypevr
  36339. #: guix-git/doc/guix.texi:24309
  36340. #, no-wrap
  36341. msgid "{@code{zabbix-front-end-configuration} parameter} string db-user"
  36342. msgstr ""
  36343. #. type: deftypevr
  36344. #: guix-git/doc/guix.texi:24316
  36345. #, no-wrap
  36346. msgid "{@code{zabbix-front-end-configuration} parameter} string db-password"
  36347. msgstr ""
  36348. #. type: deftypevr
  36349. #: guix-git/doc/guix.texi:24318
  36350. msgid "Database password. Please, use @code{db-secret-file} instead."
  36351. msgstr ""
  36352. #. type: deftypevr
  36353. #: guix-git/doc/guix.texi:24323
  36354. #, no-wrap
  36355. msgid "{@code{zabbix-front-end-configuration} parameter} string db-secret-file"
  36356. msgstr ""
  36357. #. type: deftypevr
  36358. #: guix-git/doc/guix.texi:24328
  36359. msgid "Secret file containing the credentials for the Zabbix front-end. The value must be a local file name, not a G-expression. You are expected to create this file manually. Its contents will be copied into @file{zabbix.conf.php} as the value of @code{$DB['PASSWORD']}."
  36360. msgstr ""
  36361. #. type: deftypevr
  36362. #: guix-git/doc/guix.texi:24333
  36363. #, no-wrap
  36364. msgid "{@code{zabbix-front-end-configuration} parameter} string zabbix-host"
  36365. msgstr ""
  36366. #. type: deftypevr
  36367. #: guix-git/doc/guix.texi:24335
  36368. msgid "Zabbix server hostname."
  36369. msgstr ""
  36370. #. type: deftypevr
  36371. #: guix-git/doc/guix.texi:24340
  36372. #, no-wrap
  36373. msgid "{@code{zabbix-front-end-configuration} parameter} number zabbix-port"
  36374. msgstr ""
  36375. #. type: deftypevr
  36376. #: guix-git/doc/guix.texi:24342
  36377. msgid "Zabbix server port."
  36378. msgstr ""
  36379. #. type: deftypevr
  36380. #: guix-git/doc/guix.texi:24344
  36381. msgid "Defaults to @samp{10051}."
  36382. msgstr ""
  36383. #. type: cindex
  36384. #: guix-git/doc/guix.texi:24352
  36385. #, no-wrap
  36386. msgid "Kerberos"
  36387. msgstr ""
  36388. #. type: Plain text
  36389. #: guix-git/doc/guix.texi:24356
  36390. msgid "The @code{(gnu services kerberos)} module provides services relating to the authentication protocol @dfn{Kerberos}."
  36391. msgstr ""
  36392. #. type: subsubheading
  36393. #: guix-git/doc/guix.texi:24357
  36394. #, no-wrap
  36395. msgid "Krb5 Service"
  36396. msgstr ""
  36397. #. type: Plain text
  36398. #: guix-git/doc/guix.texi:24364
  36399. 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."
  36400. msgstr ""
  36401. #. type: Plain text
  36402. #: guix-git/doc/guix.texi:24368
  36403. 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."
  36404. msgstr ""
  36405. #. type: defvr
  36406. #: guix-git/doc/guix.texi:24369
  36407. #, no-wrap
  36408. msgid "{Scheme Variable} krb5-service-type"
  36409. msgstr ""
  36410. #. type: defvr
  36411. #: guix-git/doc/guix.texi:24371
  36412. msgid "A service type for Kerberos 5 clients."
  36413. msgstr ""
  36414. #. type: Plain text
  36415. #: guix-git/doc/guix.texi:24375
  36416. msgid "Here is an example of its use:"
  36417. msgstr ""
  36418. #. type: lisp
  36419. #: guix-git/doc/guix.texi:24389
  36420. #, no-wrap
  36421. msgid ""
  36422. "(service krb5-service-type\n"
  36423. " (krb5-configuration\n"
  36424. " (default-realm \"EXAMPLE.COM\")\n"
  36425. " (allow-weak-crypto? #t)\n"
  36426. " (realms (list\n"
  36427. " (krb5-realm\n"
  36428. " (name \"EXAMPLE.COM\")\n"
  36429. " (admin-server \"groucho.example.com\")\n"
  36430. " (kdc \"karl.example.com\"))\n"
  36431. " (krb5-realm\n"
  36432. " (name \"ARGRX.EDU\")\n"
  36433. " (admin-server \"kerb-admin.argrx.edu\")\n"
  36434. " (kdc \"keys.argrx.edu\"))))))\n"
  36435. msgstr ""
  36436. #. type: Plain text
  36437. #: guix-git/doc/guix.texi:24393
  36438. msgid "This example provides a Kerberos@tie{}5 client configuration which:"
  36439. msgstr ""
  36440. #. type: item
  36441. #: guix-git/doc/guix.texi:24394
  36442. #, no-wrap
  36443. msgid "Recognizes two realms, @i{viz:} ``EXAMPLE.COM'' and ``ARGRX.EDU'', both"
  36444. msgstr ""
  36445. #. type: itemize
  36446. #: guix-git/doc/guix.texi:24396
  36447. msgid "of which have distinct administration servers and key distribution centers;"
  36448. msgstr ""
  36449. #. type: item
  36450. #: guix-git/doc/guix.texi:24396
  36451. #, no-wrap
  36452. msgid "Will default to the realm ``EXAMPLE.COM'' if the realm is not explicitly"
  36453. msgstr ""
  36454. #. type: itemize
  36455. #: guix-git/doc/guix.texi:24398
  36456. msgid "specified by clients;"
  36457. msgstr ""
  36458. #. type: item
  36459. #: guix-git/doc/guix.texi:24398
  36460. #, no-wrap
  36461. msgid "Accepts services which only support encryption types known to be weak."
  36462. msgstr ""
  36463. #. type: Plain text
  36464. #: guix-git/doc/guix.texi:24406
  36465. 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."
  36466. msgstr ""
  36467. #. type: deftp
  36468. #: guix-git/doc/guix.texi:24408
  36469. #, no-wrap
  36470. msgid "{Data Type} krb5-realm"
  36471. msgstr ""
  36472. #. type: cindex
  36473. #: guix-git/doc/guix.texi:24409
  36474. #, no-wrap
  36475. msgid "realm, kerberos"
  36476. msgstr ""
  36477. #. type: table
  36478. #: guix-git/doc/guix.texi:24415
  36479. 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."
  36480. msgstr ""
  36481. #. type: code{#1}
  36482. #: guix-git/doc/guix.texi:24416
  36483. #, no-wrap
  36484. msgid "admin-server"
  36485. msgstr ""
  36486. #. type: table
  36487. #: guix-git/doc/guix.texi:24419
  36488. msgid "This field is a string identifying the host where the administration server is running."
  36489. msgstr ""
  36490. #. type: code{#1}
  36491. #: guix-git/doc/guix.texi:24420
  36492. #, no-wrap
  36493. msgid "kdc"
  36494. msgstr ""
  36495. #. type: table
  36496. #: guix-git/doc/guix.texi:24423
  36497. msgid "This field is a string identifying the key distribution center for the realm."
  36498. msgstr ""
  36499. #. type: deftp
  36500. #: guix-git/doc/guix.texi:24426
  36501. #, no-wrap
  36502. msgid "{Data Type} krb5-configuration"
  36503. msgstr ""
  36504. #. type: item
  36505. #: guix-git/doc/guix.texi:24429
  36506. #, no-wrap
  36507. msgid "@code{allow-weak-crypto?} (default: @code{#f})"
  36508. msgstr ""
  36509. #. type: table
  36510. #: guix-git/doc/guix.texi:24432
  36511. msgid "If this flag is @code{#t} then services which only offer encryption algorithms known to be weak will be accepted."
  36512. msgstr ""
  36513. #. type: item
  36514. #: guix-git/doc/guix.texi:24433
  36515. #, no-wrap
  36516. msgid "@code{default-realm} (default: @code{#f})"
  36517. msgstr ""
  36518. #. type: table
  36519. #: guix-git/doc/guix.texi:24440
  36520. 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}."
  36521. msgstr ""
  36522. #. type: code{#1}
  36523. #: guix-git/doc/guix.texi:24441
  36524. #, no-wrap
  36525. msgid "realms"
  36526. msgstr ""
  36527. #. type: table
  36528. #: guix-git/doc/guix.texi:24446
  36529. 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."
  36530. msgstr ""
  36531. #. type: subsubheading
  36532. #: guix-git/doc/guix.texi:24450
  36533. #, no-wrap
  36534. msgid "PAM krb5 Service"
  36535. msgstr ""
  36536. #. type: cindex
  36537. #: guix-git/doc/guix.texi:24451
  36538. #, no-wrap
  36539. msgid "pam-krb5"
  36540. msgstr ""
  36541. #. type: Plain text
  36542. #: guix-git/doc/guix.texi:24457
  36543. 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."
  36544. msgstr ""
  36545. #. type: defvr
  36546. #: guix-git/doc/guix.texi:24458
  36547. #, no-wrap
  36548. msgid "{Scheme Variable} pam-krb5-service-type"
  36549. msgstr ""
  36550. #. type: defvr
  36551. #: guix-git/doc/guix.texi:24460
  36552. msgid "A service type for the Kerberos 5 PAM module."
  36553. msgstr ""
  36554. #. type: deftp
  36555. #: guix-git/doc/guix.texi:24462
  36556. #, no-wrap
  36557. msgid "{Data Type} pam-krb5-configuration"
  36558. msgstr ""
  36559. #. type: deftp
  36560. #: guix-git/doc/guix.texi:24465
  36561. msgid "Data type representing the configuration of the Kerberos 5 PAM module. This type has the following parameters:"
  36562. msgstr ""
  36563. #. type: item
  36564. #: guix-git/doc/guix.texi:24466
  36565. #, no-wrap
  36566. msgid "@code{pam-krb5} (default: @code{pam-krb5})"
  36567. msgstr ""
  36568. #. type: table
  36569. #: guix-git/doc/guix.texi:24468
  36570. msgid "The pam-krb5 package to use."
  36571. msgstr ""
  36572. #. type: item
  36573. #: guix-git/doc/guix.texi:24469
  36574. #, no-wrap
  36575. msgid "@code{minimum-uid} (default: @code{1000})"
  36576. msgstr ""
  36577. #. type: table
  36578. #: guix-git/doc/guix.texi:24472
  36579. msgid "The smallest user ID for which Kerberos authentications should be attempted. Local accounts with lower values will silently fail to authenticate."
  36580. msgstr ""
  36581. #. type: cindex
  36582. #: guix-git/doc/guix.texi:24478
  36583. #, no-wrap
  36584. msgid "LDAP"
  36585. msgstr ""
  36586. #. type: cindex
  36587. #: guix-git/doc/guix.texi:24479
  36588. #, no-wrap
  36589. msgid "nslcd, LDAP service"
  36590. msgstr ""
  36591. #. type: Plain text
  36592. #: guix-git/doc/guix.texi:24486
  36593. 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."
  36594. msgstr ""
  36595. #. type: Plain text
  36596. #: guix-git/doc/guix.texi:24490
  36597. 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:"
  36598. msgstr ""
  36599. #. type: lisp
  36600. #: guix-git/doc/guix.texi:24513
  36601. #, no-wrap
  36602. msgid ""
  36603. "(use-service-modules authentication)\n"
  36604. "(use-modules (gnu system nss))\n"
  36605. "...\n"
  36606. "(operating-system\n"
  36607. " ...\n"
  36608. " (services\n"
  36609. " (cons*\n"
  36610. " (service nslcd-service-type)\n"
  36611. " (service dhcp-client-service-type)\n"
  36612. " %base-services))\n"
  36613. " (name-service-switch\n"
  36614. " (let ((services (list (name-service (name \"db\"))\n"
  36615. " (name-service (name \"files\"))\n"
  36616. " (name-service (name \"ldap\")))))\n"
  36617. " (name-service-switch\n"
  36618. " (inherit %mdns-host-lookup-nss)\n"
  36619. " (password services)\n"
  36620. " (shadow services)\n"
  36621. " (group services)\n"
  36622. " (netgroup services)\n"
  36623. " (gshadow services)))))\n"
  36624. msgstr ""
  36625. #. type: Plain text
  36626. #: guix-git/doc/guix.texi:24518
  36627. msgid "Available @code{nslcd-configuration} fields are:"
  36628. msgstr ""
  36629. #. type: deftypevr
  36630. #: guix-git/doc/guix.texi:24519
  36631. #, no-wrap
  36632. msgid "{@code{nslcd-configuration} parameter} package nss-pam-ldapd"
  36633. msgstr ""
  36634. #. type: deftypevr
  36635. #: guix-git/doc/guix.texi:24521
  36636. msgid "The @code{nss-pam-ldapd} package to use."
  36637. msgstr ""
  36638. #. type: deftypevr
  36639. #: guix-git/doc/guix.texi:24524
  36640. #, no-wrap
  36641. msgid "{@code{nslcd-configuration} parameter} maybe-number threads"
  36642. msgstr ""
  36643. #. type: deftypevr
  36644. #: guix-git/doc/guix.texi:24528
  36645. 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."
  36646. msgstr ""
  36647. #. type: deftypevr
  36648. #: guix-git/doc/guix.texi:24533
  36649. #, no-wrap
  36650. msgid "{@code{nslcd-configuration} parameter} string uid"
  36651. msgstr ""
  36652. #. type: deftypevr
  36653. #: guix-git/doc/guix.texi:24535
  36654. msgid "This specifies the user id with which the daemon should be run."
  36655. msgstr ""
  36656. #. type: deftypevr
  36657. #: guix-git/doc/guix.texi:24537 guix-git/doc/guix.texi:24544
  36658. msgid "Defaults to @samp{\"nslcd\"}."
  36659. msgstr ""
  36660. #. type: deftypevr
  36661. #: guix-git/doc/guix.texi:24540
  36662. #, no-wrap
  36663. msgid "{@code{nslcd-configuration} parameter} string gid"
  36664. msgstr ""
  36665. #. type: deftypevr
  36666. #: guix-git/doc/guix.texi:24542
  36667. msgid "This specifies the group id with which the daemon should be run."
  36668. msgstr ""
  36669. #. type: deftypevr
  36670. #: guix-git/doc/guix.texi:24547
  36671. #, no-wrap
  36672. msgid "{@code{nslcd-configuration} parameter} log-option log"
  36673. msgstr ""
  36674. #. type: deftypevr
  36675. #: guix-git/doc/guix.texi:24555
  36676. 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."
  36677. msgstr ""
  36678. #. type: deftypevr
  36679. #: guix-git/doc/guix.texi:24557
  36680. msgid "Defaults to @samp{(\"/var/log/nslcd\" info)}."
  36681. msgstr ""
  36682. #. type: deftypevr
  36683. #: guix-git/doc/guix.texi:24560
  36684. #, no-wrap
  36685. msgid "{@code{nslcd-configuration} parameter} list uri"
  36686. msgstr ""
  36687. #. type: deftypevr
  36688. #: guix-git/doc/guix.texi:24563
  36689. msgid "The list of LDAP server URIs. Normally, only the first server will be used with the following servers as fall-back."
  36690. msgstr ""
  36691. #. type: deftypevr
  36692. #: guix-git/doc/guix.texi:24565
  36693. msgid "Defaults to @samp{(\"ldap://localhost:389/\")}."
  36694. msgstr ""
  36695. #. type: deftypevr
  36696. #: guix-git/doc/guix.texi:24568
  36697. #, no-wrap
  36698. msgid "{@code{nslcd-configuration} parameter} maybe-string ldap-version"
  36699. msgstr ""
  36700. #. type: deftypevr
  36701. #: guix-git/doc/guix.texi:24571
  36702. msgid "The version of the LDAP protocol to use. The default is to use the maximum version supported by the LDAP library."
  36703. msgstr ""
  36704. #. type: deftypevr
  36705. #: guix-git/doc/guix.texi:24576
  36706. #, no-wrap
  36707. msgid "{@code{nslcd-configuration} parameter} maybe-string binddn"
  36708. msgstr ""
  36709. #. type: deftypevr
  36710. #: guix-git/doc/guix.texi:24579
  36711. msgid "Specifies the distinguished name with which to bind to the directory server for lookups. The default is to bind anonymously."
  36712. msgstr ""
  36713. #. type: deftypevr
  36714. #: guix-git/doc/guix.texi:24584
  36715. #, no-wrap
  36716. msgid "{@code{nslcd-configuration} parameter} maybe-string bindpw"
  36717. msgstr ""
  36718. #. type: deftypevr
  36719. #: guix-git/doc/guix.texi:24587
  36720. msgid "Specifies the credentials with which to bind. This option is only applicable when used with binddn."
  36721. msgstr ""
  36722. #. type: deftypevr
  36723. #: guix-git/doc/guix.texi:24592
  36724. #, no-wrap
  36725. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmoddn"
  36726. msgstr ""
  36727. #. type: deftypevr
  36728. #: guix-git/doc/guix.texi:24595
  36729. msgid "Specifies the distinguished name to use when the root user tries to modify a user's password using the PAM module."
  36730. msgstr ""
  36731. #. type: deftypevr
  36732. #: guix-git/doc/guix.texi:24600
  36733. #, no-wrap
  36734. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmodpw"
  36735. msgstr ""
  36736. #. type: deftypevr
  36737. #: guix-git/doc/guix.texi:24604
  36738. 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"
  36739. msgstr ""
  36740. #. type: deftypevr
  36741. #: guix-git/doc/guix.texi:24609
  36742. #, no-wrap
  36743. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-mech"
  36744. msgstr ""
  36745. #. type: deftypevr
  36746. #: guix-git/doc/guix.texi:24612
  36747. msgid "Specifies the SASL mechanism to be used when performing SASL authentication."
  36748. msgstr ""
  36749. #. type: deftypevr
  36750. #: guix-git/doc/guix.texi:24617
  36751. #, no-wrap
  36752. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-realm"
  36753. msgstr ""
  36754. #. type: deftypevr
  36755. #: guix-git/doc/guix.texi:24619
  36756. msgid "Specifies the SASL realm to be used when performing SASL authentication."
  36757. msgstr ""
  36758. #. type: deftypevr
  36759. #: guix-git/doc/guix.texi:24624
  36760. #, no-wrap
  36761. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authcid"
  36762. msgstr ""
  36763. #. type: deftypevr
  36764. #: guix-git/doc/guix.texi:24627
  36765. msgid "Specifies the authentication identity to be used when performing SASL authentication."
  36766. msgstr ""
  36767. #. type: deftypevr
  36768. #: guix-git/doc/guix.texi:24632
  36769. #, no-wrap
  36770. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authzid"
  36771. msgstr ""
  36772. #. type: deftypevr
  36773. #: guix-git/doc/guix.texi:24635
  36774. msgid "Specifies the authorization identity to be used when performing SASL authentication."
  36775. msgstr ""
  36776. #. type: deftypevr
  36777. #: guix-git/doc/guix.texi:24640
  36778. #, no-wrap
  36779. msgid "{@code{nslcd-configuration} parameter} maybe-boolean sasl-canonicalize?"
  36780. msgstr ""
  36781. #. type: deftypevr
  36782. #: guix-git/doc/guix.texi:24645
  36783. 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."
  36784. msgstr ""
  36785. #. type: deftypevr
  36786. #: guix-git/doc/guix.texi:24650
  36787. #, no-wrap
  36788. msgid "{@code{nslcd-configuration} parameter} maybe-string krb5-ccname"
  36789. msgstr ""
  36790. #. type: deftypevr
  36791. #: guix-git/doc/guix.texi:24652
  36792. msgid "Set the name for the GSS-API Kerberos credentials cache."
  36793. msgstr ""
  36794. #. type: deftypevr
  36795. #: guix-git/doc/guix.texi:24657
  36796. #, no-wrap
  36797. msgid "{@code{nslcd-configuration} parameter} string base"
  36798. msgstr ""
  36799. #. type: deftypevr
  36800. #: guix-git/doc/guix.texi:24659
  36801. msgid "The directory search base."
  36802. msgstr ""
  36803. #. type: deftypevr
  36804. #: guix-git/doc/guix.texi:24661
  36805. msgid "Defaults to @samp{\"dc=example,dc=com\"}."
  36806. msgstr ""
  36807. #. type: deftypevr
  36808. #: guix-git/doc/guix.texi:24664
  36809. #, no-wrap
  36810. msgid "{@code{nslcd-configuration} parameter} scope-option scope"
  36811. msgstr ""
  36812. #. type: deftypevr
  36813. #: guix-git/doc/guix.texi:24668
  36814. 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."
  36815. msgstr ""
  36816. #. type: deftypevr
  36817. #: guix-git/doc/guix.texi:24670
  36818. msgid "Defaults to @samp{(subtree)}."
  36819. msgstr ""
  36820. #. type: deftypevr
  36821. #: guix-git/doc/guix.texi:24673
  36822. #, no-wrap
  36823. msgid "{@code{nslcd-configuration} parameter} maybe-deref-option deref"
  36824. msgstr ""
  36825. #. type: deftypevr
  36826. #: guix-git/doc/guix.texi:24676
  36827. msgid "Specifies the policy for dereferencing aliases. The default policy is to never dereference aliases."
  36828. msgstr ""
  36829. #. type: deftypevr
  36830. #: guix-git/doc/guix.texi:24681
  36831. #, no-wrap
  36832. msgid "{@code{nslcd-configuration} parameter} maybe-boolean referrals"
  36833. msgstr ""
  36834. #. type: deftypevr
  36835. #: guix-git/doc/guix.texi:24684
  36836. msgid "Specifies whether automatic referral chasing should be enabled. The default behaviour is to chase referrals."
  36837. msgstr ""
  36838. #. type: deftypevr
  36839. #: guix-git/doc/guix.texi:24689
  36840. #, no-wrap
  36841. msgid "{@code{nslcd-configuration} parameter} list-of-map-entries maps"
  36842. msgstr ""
  36843. #. type: deftypevr
  36844. #: guix-git/doc/guix.texi:24694
  36845. 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."
  36846. msgstr ""
  36847. #. type: deftypevr
  36848. #: guix-git/doc/guix.texi:24699
  36849. #, no-wrap
  36850. msgid "{@code{nslcd-configuration} parameter} list-of-filter-entries filters"
  36851. msgstr ""
  36852. #. type: deftypevr
  36853. #: guix-git/doc/guix.texi:24702
  36854. msgid "A list of filters consisting of the name of a map to which the filter applies and an LDAP search filter expression."
  36855. msgstr ""
  36856. #. type: deftypevr
  36857. #: guix-git/doc/guix.texi:24707
  36858. #, no-wrap
  36859. msgid "{@code{nslcd-configuration} parameter} maybe-number bind-timelimit"
  36860. msgstr ""
  36861. #. type: deftypevr
  36862. #: guix-git/doc/guix.texi:24710
  36863. msgid "Specifies the time limit in seconds to use when connecting to the directory server. The default value is 10 seconds."
  36864. msgstr ""
  36865. #. type: deftypevr
  36866. #: guix-git/doc/guix.texi:24715
  36867. #, no-wrap
  36868. msgid "{@code{nslcd-configuration} parameter} maybe-number timelimit"
  36869. msgstr ""
  36870. #. type: deftypevr
  36871. #: guix-git/doc/guix.texi:24719
  36872. 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."
  36873. msgstr ""
  36874. #. type: deftypevr
  36875. #: guix-git/doc/guix.texi:24724
  36876. #, no-wrap
  36877. msgid "{@code{nslcd-configuration} parameter} maybe-number idle-timelimit"
  36878. msgstr ""
  36879. #. type: deftypevr
  36880. #: guix-git/doc/guix.texi:24728
  36881. 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."
  36882. msgstr ""
  36883. #. type: deftypevr
  36884. #: guix-git/doc/guix.texi:24733
  36885. #, no-wrap
  36886. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-sleeptime"
  36887. msgstr ""
  36888. #. type: deftypevr
  36889. #: guix-git/doc/guix.texi:24737
  36890. 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."
  36891. msgstr ""
  36892. #. type: deftypevr
  36893. #: guix-git/doc/guix.texi:24742
  36894. #, no-wrap
  36895. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-retrytime"
  36896. msgstr ""
  36897. #. type: deftypevr
  36898. #: guix-git/doc/guix.texi:24746
  36899. 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."
  36900. msgstr ""
  36901. #. type: deftypevr
  36902. #: guix-git/doc/guix.texi:24751
  36903. #, no-wrap
  36904. msgid "{@code{nslcd-configuration} parameter} maybe-ssl-option ssl"
  36905. msgstr ""
  36906. #. type: deftypevr
  36907. #: guix-git/doc/guix.texi:24755
  36908. 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."
  36909. msgstr ""
  36910. #. type: deftypevr
  36911. #: guix-git/doc/guix.texi:24760
  36912. #, no-wrap
  36913. msgid "{@code{nslcd-configuration} parameter} maybe-tls-reqcert-option tls-reqcert"
  36914. msgstr ""
  36915. #. type: deftypevr
  36916. #: guix-git/doc/guix.texi:24763
  36917. 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."
  36918. msgstr ""
  36919. #. type: deftypevr
  36920. #: guix-git/doc/guix.texi:24768
  36921. #, no-wrap
  36922. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertdir"
  36923. msgstr ""
  36924. #. type: deftypevr
  36925. #: guix-git/doc/guix.texi:24771
  36926. msgid "Specifies the directory containing X.509 certificates for peer authen‐ tication. This parameter is ignored when using GnuTLS."
  36927. msgstr ""
  36928. #. type: deftypevr
  36929. #: guix-git/doc/guix.texi:24776
  36930. #, no-wrap
  36931. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertfile"
  36932. msgstr ""
  36933. #. type: deftypevr
  36934. #: guix-git/doc/guix.texi:24778
  36935. msgid "Specifies the path to the X.509 certificate for peer authentication."
  36936. msgstr ""
  36937. #. type: deftypevr
  36938. #: guix-git/doc/guix.texi:24783
  36939. #, no-wrap
  36940. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-randfile"
  36941. msgstr ""
  36942. #. type: deftypevr
  36943. #: guix-git/doc/guix.texi:24786
  36944. msgid "Specifies the path to an entropy source. This parameter is ignored when using GnuTLS."
  36945. msgstr ""
  36946. #. type: deftypevr
  36947. #: guix-git/doc/guix.texi:24791
  36948. #, no-wrap
  36949. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-ciphers"
  36950. msgstr ""
  36951. #. type: deftypevr
  36952. #: guix-git/doc/guix.texi:24793
  36953. msgid "Specifies the ciphers to use for TLS as a string."
  36954. msgstr ""
  36955. #. type: deftypevr
  36956. #: guix-git/doc/guix.texi:24798
  36957. #, no-wrap
  36958. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cert"
  36959. msgstr ""
  36960. #. type: deftypevr
  36961. #: guix-git/doc/guix.texi:24801
  36962. msgid "Specifies the path to the file containing the local certificate for client TLS authentication."
  36963. msgstr ""
  36964. #. type: deftypevr
  36965. #: guix-git/doc/guix.texi:24806
  36966. #, no-wrap
  36967. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-key"
  36968. msgstr ""
  36969. #. type: deftypevr
  36970. #: guix-git/doc/guix.texi:24809
  36971. msgid "Specifies the path to the file containing the private key for client TLS authentication."
  36972. msgstr ""
  36973. #. type: deftypevr
  36974. #: guix-git/doc/guix.texi:24814
  36975. #, no-wrap
  36976. msgid "{@code{nslcd-configuration} parameter} maybe-number pagesize"
  36977. msgstr ""
  36978. #. type: deftypevr
  36979. #: guix-git/doc/guix.texi:24818
  36980. 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."
  36981. msgstr ""
  36982. #. type: deftypevr
  36983. #: guix-git/doc/guix.texi:24823
  36984. #, no-wrap
  36985. msgid "{@code{nslcd-configuration} parameter} maybe-ignore-users-option nss-initgroups-ignoreusers"
  36986. msgstr ""
  36987. #. type: deftypevr
  36988. #: guix-git/doc/guix.texi:24827
  36989. 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."
  36990. msgstr ""
  36991. #. type: deftypevr
  36992. #: guix-git/doc/guix.texi:24832
  36993. #, no-wrap
  36994. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-min-uid"
  36995. msgstr ""
  36996. #. type: deftypevr
  36997. #: guix-git/doc/guix.texi:24835
  36998. msgid "This option ensures that LDAP users with a numeric user id lower than the specified value are ignored."
  36999. msgstr ""
  37000. #. type: deftypevr
  37001. #: guix-git/doc/guix.texi:24840
  37002. #, no-wrap
  37003. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-uid-offset"
  37004. msgstr ""
  37005. #. type: deftypevr
  37006. #: guix-git/doc/guix.texi:24843
  37007. 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."
  37008. msgstr ""
  37009. #. type: deftypevr
  37010. #: guix-git/doc/guix.texi:24848
  37011. #, no-wrap
  37012. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-gid-offset"
  37013. msgstr ""
  37014. #. type: deftypevr
  37015. #: guix-git/doc/guix.texi:24851
  37016. 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."
  37017. msgstr ""
  37018. #. type: deftypevr
  37019. #: guix-git/doc/guix.texi:24856
  37020. #, no-wrap
  37021. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-nested-groups"
  37022. msgstr ""
  37023. #. type: deftypevr
  37024. #: guix-git/doc/guix.texi:24862
  37025. 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."
  37026. msgstr ""
  37027. #. type: deftypevr
  37028. #: guix-git/doc/guix.texi:24867
  37029. #, no-wrap
  37030. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-getgrent-skipmembers"
  37031. msgstr ""
  37032. #. type: deftypevr
  37033. #: guix-git/doc/guix.texi:24872
  37034. 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."
  37035. msgstr ""
  37036. #. type: deftypevr
  37037. #: guix-git/doc/guix.texi:24877
  37038. #, no-wrap
  37039. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-disable-enumeration"
  37040. msgstr ""
  37041. #. type: deftypevr
  37042. #: guix-git/doc/guix.texi:24883
  37043. 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."
  37044. msgstr ""
  37045. #. type: deftypevr
  37046. #: guix-git/doc/guix.texi:24888
  37047. #, no-wrap
  37048. msgid "{@code{nslcd-configuration} parameter} maybe-string validnames"
  37049. msgstr ""
  37050. #. type: deftypevr
  37051. #: guix-git/doc/guix.texi:24892
  37052. 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."
  37053. msgstr ""
  37054. #. type: deftypevr
  37055. #: guix-git/doc/guix.texi:24897
  37056. #, no-wrap
  37057. msgid "{@code{nslcd-configuration} parameter} maybe-boolean ignorecase"
  37058. msgstr ""
  37059. #. type: deftypevr
  37060. #: guix-git/doc/guix.texi:24902
  37061. 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."
  37062. msgstr ""
  37063. #. type: deftypevr
  37064. #: guix-git/doc/guix.texi:24907
  37065. #, no-wrap
  37066. msgid "{@code{nslcd-configuration} parameter} maybe-boolean pam-authc-ppolicy"
  37067. msgstr ""
  37068. #. type: deftypevr
  37069. #: guix-git/doc/guix.texi:24910
  37070. msgid "This option specifies whether password policy controls are requested and handled from the LDAP server when performing user authentication."
  37071. msgstr ""
  37072. #. type: deftypevr
  37073. #: guix-git/doc/guix.texi:24915
  37074. #, no-wrap
  37075. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authc-search"
  37076. msgstr ""
  37077. #. type: deftypevr
  37078. #: guix-git/doc/guix.texi:24921
  37079. 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."
  37080. msgstr ""
  37081. #. type: deftypevr
  37082. #: guix-git/doc/guix.texi:24926
  37083. #, no-wrap
  37084. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authz-search"
  37085. msgstr ""
  37086. #. type: deftypevr
  37087. #: guix-git/doc/guix.texi:24930
  37088. 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."
  37089. msgstr ""
  37090. #. type: deftypevr
  37091. #: guix-git/doc/guix.texi:24935
  37092. #, no-wrap
  37093. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-password-prohibit-message"
  37094. msgstr ""
  37095. #. type: deftypevr
  37096. #: guix-git/doc/guix.texi:24940
  37097. 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."
  37098. msgstr ""
  37099. #. type: deftypevr
  37100. #: guix-git/doc/guix.texi:24945
  37101. #, no-wrap
  37102. msgid "{@code{nslcd-configuration} parameter} list pam-services"
  37103. msgstr ""
  37104. #. type: deftypevr
  37105. #: guix-git/doc/guix.texi:24947
  37106. msgid "List of pam service names for which LDAP authentication should suffice."
  37107. msgstr ""
  37108. #. type: cindex
  37109. #: guix-git/doc/guix.texi:24958
  37110. #, no-wrap
  37111. msgid "web"
  37112. msgstr "web"
  37113. #. type: cindex
  37114. #: guix-git/doc/guix.texi:24959
  37115. #, no-wrap
  37116. msgid "www"
  37117. msgstr ""
  37118. #. type: cindex
  37119. #: guix-git/doc/guix.texi:24960
  37120. #, no-wrap
  37121. msgid "HTTP"
  37122. msgstr "HTTP"
  37123. #. type: Plain text
  37124. #: guix-git/doc/guix.texi:24963
  37125. msgid "The @code{(gnu services web)} module provides the Apache HTTP Server, the nginx web server, and also a fastcgi wrapper daemon."
  37126. msgstr ""
  37127. #. type: subsubheading
  37128. #: guix-git/doc/guix.texi:24964
  37129. #, no-wrap
  37130. msgid "Apache HTTP Server"
  37131. msgstr ""
  37132. #. type: deffn
  37133. #: guix-git/doc/guix.texi:24966
  37134. #, no-wrap
  37135. msgid "{Scheme Variable} httpd-service-type"
  37136. msgstr ""
  37137. #. type: deffn
  37138. #: guix-git/doc/guix.texi:24970
  37139. 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."
  37140. msgstr ""
  37141. #. type: deffn
  37142. #: guix-git/doc/guix.texi:24972 guix-git/doc/guix.texi:25153
  37143. msgid "A simple example configuration is given below."
  37144. msgstr ""
  37145. #. type: lisp
  37146. #: guix-git/doc/guix.texi:24980
  37147. #, no-wrap
  37148. msgid ""
  37149. "(service httpd-service-type\n"
  37150. " (httpd-configuration\n"
  37151. " (config\n"
  37152. " (httpd-config-file\n"
  37153. " (server-name \"www.example.com\")\n"
  37154. " (document-root \"/srv/http/www.example.com\")))))\n"
  37155. msgstr ""
  37156. #. type: deffn
  37157. #: guix-git/doc/guix.texi:24984
  37158. msgid "Other services can also extend the @code{httpd-service-type} to add to the configuration."
  37159. msgstr ""
  37160. #. type: lisp
  37161. #: guix-git/doc/guix.texi:24993 guix-git/doc/guix.texi:25133
  37162. #, no-wrap
  37163. msgid ""
  37164. "(simple-service 'www.example.com-server httpd-service-type\n"
  37165. " (list\n"
  37166. " (httpd-virtualhost\n"
  37167. " \"*:80\"\n"
  37168. " (list (string-join '(\"ServerName www.example.com\"\n"
  37169. " \"DocumentRoot /srv/http/www.example.com\")\n"
  37170. " \"\\n\")))))\n"
  37171. msgstr ""
  37172. #. type: Plain text
  37173. #: guix-git/doc/guix.texi:24999
  37174. msgid "The details for the @code{httpd-configuration}, @code{httpd-module}, @code{httpd-config-file} and @code{httpd-virtualhost} record types are given below."
  37175. msgstr ""
  37176. #. type: deffn
  37177. #: guix-git/doc/guix.texi:25000
  37178. #, no-wrap
  37179. msgid "{Data Type} httpd-configuration"
  37180. msgstr ""
  37181. #. type: deffn
  37182. #: guix-git/doc/guix.texi:25002
  37183. msgid "This data type represents the configuration for the httpd service."
  37184. msgstr ""
  37185. #. type: item
  37186. #: guix-git/doc/guix.texi:25004
  37187. #, no-wrap
  37188. msgid "@code{package} (default: @code{httpd})"
  37189. msgstr ""
  37190. #. type: table
  37191. #: guix-git/doc/guix.texi:25006
  37192. msgid "The httpd package to use."
  37193. msgstr ""
  37194. #. type: item
  37195. #: guix-git/doc/guix.texi:25007 guix-git/doc/guix.texi:25096
  37196. #, no-wrap
  37197. msgid "@code{pid-file} (default: @code{\"/var/run/httpd\"})"
  37198. msgstr ""
  37199. #. type: table
  37200. #: guix-git/doc/guix.texi:25009
  37201. msgid "The pid file used by the shepherd-service."
  37202. msgstr ""
  37203. #. type: item
  37204. #: guix-git/doc/guix.texi:25010
  37205. #, no-wrap
  37206. msgid "@code{config} (default: @code{(httpd-config-file)})"
  37207. msgstr ""
  37208. #. type: table
  37209. #: guix-git/doc/guix.texi:25015
  37210. 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."
  37211. msgstr ""
  37212. #. type: deffn
  37213. #: guix-git/doc/guix.texi:25019
  37214. #, no-wrap
  37215. msgid "{Data Type} httpd-module"
  37216. msgstr ""
  37217. #. type: deffn
  37218. #: guix-git/doc/guix.texi:25021
  37219. msgid "This data type represents a module for the httpd service."
  37220. msgstr ""
  37221. #. type: table
  37222. #: guix-git/doc/guix.texi:25025
  37223. msgid "The name of the module."
  37224. msgstr ""
  37225. #. type: table
  37226. #: guix-git/doc/guix.texi:25031
  37227. 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\")}."
  37228. msgstr ""
  37229. #. type: defvr
  37230. #: guix-git/doc/guix.texi:25035
  37231. #, no-wrap
  37232. msgid "{Scheme Variable} %default-httpd-modules"
  37233. msgstr ""
  37234. #. type: defvr
  37235. #: guix-git/doc/guix.texi:25037
  37236. msgid "A default list of @code{httpd-module} objects."
  37237. msgstr ""
  37238. #. type: deffn
  37239. #: guix-git/doc/guix.texi:25039
  37240. #, no-wrap
  37241. msgid "{Data Type} httpd-config-file"
  37242. msgstr ""
  37243. #. type: deffn
  37244. #: guix-git/doc/guix.texi:25041
  37245. msgid "This data type represents a configuration file for the httpd service."
  37246. msgstr ""
  37247. #. type: item
  37248. #: guix-git/doc/guix.texi:25043
  37249. #, no-wrap
  37250. msgid "@code{modules} (default: @code{%default-httpd-modules})"
  37251. msgstr ""
  37252. #. type: table
  37253. #: guix-git/doc/guix.texi:25046
  37254. msgid "The modules to load. Additional modules can be added here, or loaded by additional configuration."
  37255. msgstr ""
  37256. #. type: table
  37257. #: guix-git/doc/guix.texi:25049
  37258. 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}:"
  37259. msgstr ""
  37260. #. type: lisp
  37261. #: guix-git/doc/guix.texi:25071
  37262. #, no-wrap
  37263. msgid ""
  37264. "(service httpd-service-type\n"
  37265. " (httpd-configuration\n"
  37266. " (config\n"
  37267. " (httpd-config-file\n"
  37268. " (modules (cons*\n"
  37269. " (httpd-module\n"
  37270. " (name \"proxy_module\")\n"
  37271. " (file \"modules/mod_proxy.so\"))\n"
  37272. " (httpd-module\n"
  37273. " (name \"proxy_fcgi_module\")\n"
  37274. " (file \"modules/mod_proxy_fcgi.so\"))\n"
  37275. " %default-httpd-modules))\n"
  37276. " (extra-config (list \"\\\n"
  37277. "<FilesMatch \\\\.php$>\n"
  37278. " SetHandler \\\"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\\\"\n"
  37279. "</FilesMatch>\"))))))\n"
  37280. "(service php-fpm-service-type\n"
  37281. " (php-fpm-configuration\n"
  37282. " (socket \"/var/run/php-fpm.sock\")\n"
  37283. " (socket-group \"httpd\")))\n"
  37284. msgstr ""
  37285. #. type: item
  37286. #: guix-git/doc/guix.texi:25073
  37287. #, no-wrap
  37288. msgid "@code{server-root} (default: @code{httpd})"
  37289. msgstr ""
  37290. #. type: table
  37291. #: guix-git/doc/guix.texi:25077
  37292. 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."
  37293. msgstr ""
  37294. #. type: item
  37295. #: guix-git/doc/guix.texi:25078
  37296. #, no-wrap
  37297. msgid "@code{server-name} (default: @code{#f})"
  37298. msgstr ""
  37299. #. type: table
  37300. #: guix-git/doc/guix.texi:25082
  37301. msgid "The @code{ServerName} in the configuration file, used to specify the request scheme, hostname and port that the server uses to identify itself."
  37302. msgstr ""
  37303. #. type: table
  37304. #: guix-git/doc/guix.texi:25086
  37305. 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}."
  37306. msgstr ""
  37307. #. type: item
  37308. #: guix-git/doc/guix.texi:25087
  37309. #, no-wrap
  37310. msgid "@code{document-root} (default: @code{\"/srv/http\"})"
  37311. msgstr ""
  37312. #. type: table
  37313. #: guix-git/doc/guix.texi:25089
  37314. msgid "The @code{DocumentRoot} from which files will be served."
  37315. msgstr ""
  37316. #. type: item
  37317. #: guix-git/doc/guix.texi:25090
  37318. #, no-wrap
  37319. msgid "@code{listen} (default: @code{'(\"80\")})"
  37320. msgstr ""
  37321. #. type: table
  37322. #: guix-git/doc/guix.texi:25095
  37323. 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."
  37324. msgstr ""
  37325. #. type: table
  37326. #: guix-git/doc/guix.texi:25100
  37327. 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."
  37328. msgstr ""
  37329. #. type: item
  37330. #: guix-git/doc/guix.texi:25101
  37331. #, no-wrap
  37332. msgid "@code{error-log} (default: @code{\"/var/log/httpd/error_log\"})"
  37333. msgstr ""
  37334. #. type: table
  37335. #: guix-git/doc/guix.texi:25103
  37336. msgid "The @code{ErrorLog} to which the server will log errors."
  37337. msgstr ""
  37338. #. type: item
  37339. #: guix-git/doc/guix.texi:25104 guix-git/doc/guix.texi:25665
  37340. #, no-wrap
  37341. msgid "@code{user} (default: @code{\"httpd\"})"
  37342. msgstr ""
  37343. #. type: table
  37344. #: guix-git/doc/guix.texi:25106
  37345. msgid "The @code{User} which the server will answer requests as."
  37346. msgstr ""
  37347. #. type: item
  37348. #: guix-git/doc/guix.texi:25107
  37349. #, no-wrap
  37350. msgid "@code{group} (default: @code{\"httpd\"})"
  37351. msgstr ""
  37352. #. type: table
  37353. #: guix-git/doc/guix.texi:25109
  37354. msgid "The @code{Group} which the server will answer requests as."
  37355. msgstr ""
  37356. #. type: item
  37357. #: guix-git/doc/guix.texi:25110
  37358. #, no-wrap
  37359. msgid "@code{extra-config} (default: @code{(list \"TypesConfig etc/httpd/mime.types\")})"
  37360. msgstr ""
  37361. #. type: table
  37362. #: guix-git/doc/guix.texi:25113
  37363. msgid "A flat list of strings and G-expressions which will be added to the end of the configuration file."
  37364. msgstr ""
  37365. #. type: table
  37366. #: guix-git/doc/guix.texi:25116
  37367. msgid "Any values which the service is extended with will be appended to this list."
  37368. msgstr ""
  37369. #. type: deffn
  37370. #: guix-git/doc/guix.texi:25120
  37371. #, no-wrap
  37372. msgid "{Data Type} httpd-virtualhost"
  37373. msgstr ""
  37374. #. type: deffn
  37375. #: guix-git/doc/guix.texi:25122
  37376. msgid "This data type represents a virtualhost configuration block for the httpd service."
  37377. msgstr ""
  37378. #. type: deffn
  37379. #: guix-git/doc/guix.texi:25124
  37380. msgid "These should be added to the extra-config for the httpd-service."
  37381. msgstr ""
  37382. #. type: code{#1}
  37383. #: guix-git/doc/guix.texi:25136
  37384. #, no-wrap
  37385. msgid "addresses-and-ports"
  37386. msgstr ""
  37387. #. type: table
  37388. #: guix-git/doc/guix.texi:25138
  37389. msgid "The addresses and ports for the @code{VirtualHost} directive."
  37390. msgstr ""
  37391. #. type: code{#1}
  37392. #: guix-git/doc/guix.texi:25139
  37393. #, no-wrap
  37394. msgid "contents"
  37395. msgstr "conteúdo"
  37396. #. type: table
  37397. #: guix-git/doc/guix.texi:25142
  37398. msgid "The contents of the @code{VirtualHost} directive, this should be a list of strings and G-expressions."
  37399. msgstr ""
  37400. #. type: subsubheading
  37401. #: guix-git/doc/guix.texi:25146
  37402. #, no-wrap
  37403. msgid "NGINX"
  37404. msgstr ""
  37405. #. type: deffn
  37406. #: guix-git/doc/guix.texi:25148
  37407. #, no-wrap
  37408. msgid "{Scheme Variable} nginx-service-type"
  37409. msgstr ""
  37410. #. type: deffn
  37411. #: guix-git/doc/guix.texi:25151
  37412. msgid "Service type for the @uref{https://nginx.org/,NGinx} web server. The value for this service type is a @code{<nginx-configuration>} record."
  37413. msgstr ""
  37414. #. type: lisp
  37415. #: guix-git/doc/guix.texi:25161 guix-git/doc/guix.texi:25215
  37416. #, no-wrap
  37417. msgid ""
  37418. "(service nginx-service-type\n"
  37419. " (nginx-configuration\n"
  37420. " (server-blocks\n"
  37421. " (list (nginx-server-configuration\n"
  37422. " (server-name '(\"www.example.com\"))\n"
  37423. " (root \"/srv/http/www.example.com\"))))))\n"
  37424. msgstr ""
  37425. #. type: deffn
  37426. #: guix-git/doc/guix.texi:25166
  37427. 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:"
  37428. msgstr ""
  37429. #. type: lisp
  37430. #: guix-git/doc/guix.texi:25172
  37431. #, no-wrap
  37432. msgid ""
  37433. "(simple-service 'my-extra-server nginx-service-type\n"
  37434. " (list (nginx-server-configuration\n"
  37435. " (root \"/srv/http/extra-website\")\n"
  37436. " (try-files (list \"$uri\" \"$uri/index.html\")))))\n"
  37437. msgstr ""
  37438. #. type: Plain text
  37439. #: guix-git/doc/guix.texi:25183
  37440. 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."
  37441. msgstr ""
  37442. #. type: deffn
  37443. #: guix-git/doc/guix.texi:25184
  37444. #, no-wrap
  37445. msgid "{Data Type} nginx-configuration"
  37446. msgstr ""
  37447. #. type: deffn
  37448. #: guix-git/doc/guix.texi:25188
  37449. 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."
  37450. msgstr ""
  37451. #. type: item
  37452. #: guix-git/doc/guix.texi:25190
  37453. #, no-wrap
  37454. msgid "@code{nginx} (default: @code{nginx})"
  37455. msgstr ""
  37456. #. type: table
  37457. #: guix-git/doc/guix.texi:25192
  37458. msgid "The nginx package to use."
  37459. msgstr ""
  37460. #. type: item
  37461. #: guix-git/doc/guix.texi:25193
  37462. #, no-wrap
  37463. msgid "@code{log-directory} (default: @code{\"/var/log/nginx\"})"
  37464. msgstr ""
  37465. #. type: table
  37466. #: guix-git/doc/guix.texi:25195
  37467. msgid "The directory to which NGinx will write log files."
  37468. msgstr ""
  37469. #. type: item
  37470. #: guix-git/doc/guix.texi:25196
  37471. #, no-wrap
  37472. msgid "@code{run-directory} (default: @code{\"/var/run/nginx\"})"
  37473. msgstr ""
  37474. #. type: table
  37475. #: guix-git/doc/guix.texi:25199
  37476. msgid "The directory in which NGinx will create a pid file, and write temporary files."
  37477. msgstr ""
  37478. #. type: item
  37479. #: guix-git/doc/guix.texi:25200
  37480. #, no-wrap
  37481. msgid "@code{server-blocks} (default: @code{'()})"
  37482. msgstr ""
  37483. #. type: table
  37484. #: guix-git/doc/guix.texi:25204
  37485. msgid "A list of @dfn{server blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-server-configuration>}."
  37486. msgstr ""
  37487. #. type: table
  37488. #: guix-git/doc/guix.texi:25208
  37489. 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."
  37490. msgstr ""
  37491. #. type: item
  37492. #: guix-git/doc/guix.texi:25217
  37493. #, no-wrap
  37494. msgid "@code{upstream-blocks} (default: @code{'()})"
  37495. msgstr ""
  37496. #. type: table
  37497. #: guix-git/doc/guix.texi:25221
  37498. msgid "A list of @dfn{upstream blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-upstream-configuration>}."
  37499. msgstr ""
  37500. #. type: table
  37501. #: guix-git/doc/guix.texi:25228
  37502. 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."
  37503. msgstr ""
  37504. #. type: lisp
  37505. #: guix-git/doc/guix.texi:25247
  37506. #, no-wrap
  37507. msgid ""
  37508. "(service\n"
  37509. " nginx-service-type\n"
  37510. " (nginx-configuration\n"
  37511. " (server-blocks\n"
  37512. " (list (nginx-server-configuration\n"
  37513. " (server-name '(\"www.example.com\"))\n"
  37514. " (root \"/srv/http/www.example.com\")\n"
  37515. " (locations\n"
  37516. " (list\n"
  37517. " (nginx-location-configuration\n"
  37518. " (uri \"/path1\")\n"
  37519. " (body '(\"proxy_pass http://server-proxy;\"))))))))\n"
  37520. " (upstream-blocks\n"
  37521. " (list (nginx-upstream-configuration\n"
  37522. " (name \"server-proxy\")\n"
  37523. " (servers (list \"server1.example.com\"\n"
  37524. " \"server2.example.com\")))))))\n"
  37525. msgstr ""
  37526. #. type: table
  37527. #: guix-git/doc/guix.texi:25255
  37528. 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."
  37529. msgstr ""
  37530. #. type: table
  37531. #: guix-git/doc/guix.texi:25259
  37532. 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."
  37533. msgstr ""
  37534. #. type: item
  37535. #: guix-git/doc/guix.texi:25260
  37536. #, no-wrap
  37537. msgid "@code{server-names-hash-bucket-size} (default: @code{#f})"
  37538. msgstr ""
  37539. #. type: table
  37540. #: guix-git/doc/guix.texi:25263
  37541. msgid "Bucket size for the server names hash tables, defaults to @code{#f} to use the size of the processors cache line."
  37542. msgstr ""
  37543. #. type: item
  37544. #: guix-git/doc/guix.texi:25264
  37545. #, no-wrap
  37546. msgid "@code{server-names-hash-bucket-max-size} (default: @code{#f})"
  37547. msgstr ""
  37548. #. type: table
  37549. #: guix-git/doc/guix.texi:25266
  37550. msgid "Maximum bucket size for the server names hash tables."
  37551. msgstr ""
  37552. #. type: table
  37553. #: guix-git/doc/guix.texi:25270
  37554. msgid "List of nginx dynamic modules to load. This should be a list of file names of loadable modules, as in this example:"
  37555. msgstr ""
  37556. #. type: lisp
  37557. #: guix-git/doc/guix.texi:25278
  37558. #, no-wrap
  37559. msgid ""
  37560. "(modules\n"
  37561. " (list\n"
  37562. " (file-append nginx-accept-language-module \"\\\n"
  37563. "/etc/nginx/modules/ngx_http_accept_language_module.so\")\n"
  37564. " (file-append nginx-lua-module \"\\\n"
  37565. "/etc/nginx/modules/ngx_http_lua_module.so\")))\n"
  37566. msgstr ""
  37567. #. type: item
  37568. #: guix-git/doc/guix.texi:25280
  37569. #, no-wrap
  37570. msgid "@code{lua-package-path} (default: @code{'()})"
  37571. msgstr ""
  37572. #. type: table
  37573. #: guix-git/doc/guix.texi:25283
  37574. msgid "List of nginx lua packages to load. This should be a list of package names of loadable lua modules, as in this example:"
  37575. msgstr ""
  37576. #. type: lisp
  37577. #: guix-git/doc/guix.texi:25290
  37578. #, no-wrap
  37579. msgid ""
  37580. "(lua-package-path (list lua-resty-core\n"
  37581. " lua-resty-lrucache\n"
  37582. " lua-resty-signal\n"
  37583. " lua-tablepool\n"
  37584. " lua-resty-shell))\n"
  37585. msgstr ""
  37586. #. type: item
  37587. #: guix-git/doc/guix.texi:25292
  37588. #, no-wrap
  37589. msgid "@code{lua-package-cpath} (default: @code{'()})"
  37590. msgstr ""
  37591. #. type: table
  37592. #: guix-git/doc/guix.texi:25295
  37593. 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:"
  37594. msgstr ""
  37595. #. type: lisp
  37596. #: guix-git/doc/guix.texi:25298
  37597. #, no-wrap
  37598. msgid "(lua-package-cpath (list lua-resty-signal))\n"
  37599. msgstr ""
  37600. #. type: item
  37601. #: guix-git/doc/guix.texi:25300
  37602. #, no-wrap
  37603. msgid "@code{global-directives} (default: @code{'((events . ()))})"
  37604. msgstr ""
  37605. #. type: table
  37606. #: guix-git/doc/guix.texi:25303
  37607. msgid "Association list of global directives for the top level of the nginx configuration. Values may themselves be association lists."
  37608. msgstr ""
  37609. #. type: lisp
  37610. #: guix-git/doc/guix.texi:25309
  37611. #, no-wrap
  37612. msgid ""
  37613. "(global-directives\n"
  37614. " `((worker_processes . 16)\n"
  37615. " (pcre_jit . on)\n"
  37616. " (events . ((worker_connections . 1024)))))\n"
  37617. msgstr ""
  37618. #. type: table
  37619. #: guix-git/doc/guix.texi:25314
  37620. msgid "Extra content for the @code{http} block. Should be string or a string valued G-expression."
  37621. msgstr ""
  37622. #. type: deftp
  37623. #: guix-git/doc/guix.texi:25318
  37624. #, no-wrap
  37625. msgid "{Data Type} nginx-server-configuration"
  37626. msgstr ""
  37627. #. type: deftp
  37628. #: guix-git/doc/guix.texi:25321
  37629. msgid "Data type representing the configuration of an nginx server block. This type has the following parameters:"
  37630. msgstr ""
  37631. #. type: item
  37632. #: guix-git/doc/guix.texi:25323
  37633. #, no-wrap
  37634. msgid "@code{listen} (default: @code{'(\"80\" \"443 ssl\")})"
  37635. msgstr ""
  37636. #. type: table
  37637. #: guix-git/doc/guix.texi:25328
  37638. 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:"
  37639. msgstr ""
  37640. #. type: lisp
  37641. #: guix-git/doc/guix.texi:25331
  37642. #, no-wrap
  37643. msgid "'(\"127.0.0.1:8000\" \"127.0.0.1\" \"8000\" \"*:8000\" \"localhost:8000\")\n"
  37644. msgstr ""
  37645. #. type: item
  37646. #: guix-git/doc/guix.texi:25333
  37647. #, no-wrap
  37648. msgid "@code{server-name} (default: @code{(list 'default)})"
  37649. msgstr ""
  37650. #. type: table
  37651. #: guix-git/doc/guix.texi:25336
  37652. msgid "A list of server names this server represents. @code{'default} represents the default server for connections matching no other server."
  37653. msgstr ""
  37654. #. type: item
  37655. #: guix-git/doc/guix.texi:25337
  37656. #, no-wrap
  37657. msgid "@code{root} (default: @code{\"/srv/http\"})"
  37658. msgstr ""
  37659. #. type: table
  37660. #: guix-git/doc/guix.texi:25339
  37661. msgid "Root of the website nginx will serve."
  37662. msgstr ""
  37663. #. type: item
  37664. #: guix-git/doc/guix.texi:25340
  37665. #, no-wrap
  37666. msgid "@code{locations} (default: @code{'()})"
  37667. msgstr ""
  37668. #. type: table
  37669. #: guix-git/doc/guix.texi:25344
  37670. msgid "A list of @dfn{nginx-location-configuration} or @dfn{nginx-named-location-configuration} records to use within this server block."
  37671. msgstr ""
  37672. #. type: item
  37673. #: guix-git/doc/guix.texi:25345
  37674. #, no-wrap
  37675. msgid "@code{index} (default: @code{(list \"index.html\")})"
  37676. msgstr ""
  37677. #. type: table
  37678. #: guix-git/doc/guix.texi:25348
  37679. 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."
  37680. msgstr ""
  37681. #. type: item
  37682. #: guix-git/doc/guix.texi:25349
  37683. #, no-wrap
  37684. msgid "@code{try-files} (default: @code{'()})"
  37685. msgstr ""
  37686. #. type: table
  37687. #: guix-git/doc/guix.texi:25352
  37688. 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."
  37689. msgstr ""
  37690. #. type: item
  37691. #: guix-git/doc/guix.texi:25353
  37692. #, no-wrap
  37693. msgid "@code{ssl-certificate} (default: @code{#f})"
  37694. msgstr ""
  37695. #. type: table
  37696. #: guix-git/doc/guix.texi:25356
  37697. 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."
  37698. msgstr ""
  37699. #. type: item
  37700. #: guix-git/doc/guix.texi:25357
  37701. #, no-wrap
  37702. msgid "@code{ssl-certificate-key} (default: @code{#f})"
  37703. msgstr ""
  37704. #. type: table
  37705. #: guix-git/doc/guix.texi:25360
  37706. 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."
  37707. msgstr ""
  37708. #. type: item
  37709. #: guix-git/doc/guix.texi:25361
  37710. #, no-wrap
  37711. msgid "@code{server-tokens?} (default: @code{#f})"
  37712. msgstr ""
  37713. #. type: table
  37714. #: guix-git/doc/guix.texi:25363
  37715. msgid "Whether the server should add its configuration to response."
  37716. msgstr ""
  37717. #. type: item
  37718. #: guix-git/doc/guix.texi:25364
  37719. #, no-wrap
  37720. msgid "@code{raw-content} (default: @code{'()})"
  37721. msgstr ""
  37722. #. type: table
  37723. #: guix-git/doc/guix.texi:25366
  37724. msgid "A list of raw lines added to the server block."
  37725. msgstr ""
  37726. #. type: deftp
  37727. #: guix-git/doc/guix.texi:25370
  37728. #, no-wrap
  37729. msgid "{Data Type} nginx-upstream-configuration"
  37730. msgstr ""
  37731. #. type: deftp
  37732. #: guix-git/doc/guix.texi:25373
  37733. msgid "Data type representing the configuration of an nginx @code{upstream} block. This type has the following parameters:"
  37734. msgstr ""
  37735. #. type: table
  37736. #: guix-git/doc/guix.texi:25377
  37737. msgid "Name for this group of servers."
  37738. msgstr ""
  37739. #. type: code{#1}
  37740. #: guix-git/doc/guix.texi:25378
  37741. #, no-wrap
  37742. msgid "servers"
  37743. msgstr ""
  37744. #. type: table
  37745. #: guix-git/doc/guix.texi:25385
  37746. 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."
  37747. msgstr ""
  37748. #. type: deftp
  37749. #: guix-git/doc/guix.texi:25389
  37750. #, no-wrap
  37751. msgid "{Data Type} nginx-location-configuration"
  37752. msgstr ""
  37753. #. type: deftp
  37754. #: guix-git/doc/guix.texi:25392
  37755. msgid "Data type representing the configuration of an nginx @code{location} block. This type has the following parameters:"
  37756. msgstr ""
  37757. #. type: table
  37758. #: guix-git/doc/guix.texi:25396
  37759. msgid "URI which this location block matches."
  37760. msgstr ""
  37761. #. type: anchor{#1}
  37762. #: guix-git/doc/guix.texi:25398
  37763. msgid "nginx-location-configuration body"
  37764. msgstr "nginx-location-configuration body"
  37765. #. type: code{#1}
  37766. #: guix-git/doc/guix.texi:25398 guix-git/doc/guix.texi:25419
  37767. #, no-wrap
  37768. msgid "body"
  37769. msgstr "corpo"
  37770. #. type: table
  37771. #: guix-git/doc/guix.texi:25405
  37772. 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;\")}."
  37773. msgstr ""
  37774. #. type: deftp
  37775. #: guix-git/doc/guix.texi:25409
  37776. #, no-wrap
  37777. msgid "{Data Type} nginx-named-location-configuration"
  37778. msgstr ""
  37779. #. type: deftp
  37780. #: guix-git/doc/guix.texi:25414
  37781. 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:"
  37782. msgstr ""
  37783. #. type: table
  37784. #: guix-git/doc/guix.texi:25418
  37785. msgid "Name to identify this location block."
  37786. msgstr ""
  37787. #. type: table
  37788. #: guix-git/doc/guix.texi:25424
  37789. 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."
  37790. msgstr ""
  37791. #. type: subsubheading
  37792. #: guix-git/doc/guix.texi:25428
  37793. #, no-wrap
  37794. msgid "Varnish Cache"
  37795. msgstr ""
  37796. #. type: cindex
  37797. #: guix-git/doc/guix.texi:25429
  37798. #, no-wrap
  37799. msgid "Varnish"
  37800. msgstr ""
  37801. #. type: Plain text
  37802. #: guix-git/doc/guix.texi:25434
  37803. 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."
  37804. msgstr ""
  37805. #. type: defvr
  37806. #: guix-git/doc/guix.texi:25435
  37807. #, no-wrap
  37808. msgid "{Scheme Variable} varnish-service-type"
  37809. msgstr ""
  37810. #. type: defvr
  37811. #: guix-git/doc/guix.texi:25437
  37812. msgid "Service type for the Varnish daemon."
  37813. msgstr ""
  37814. #. type: deftp
  37815. #: guix-git/doc/guix.texi:25439
  37816. #, no-wrap
  37817. msgid "{Data Type} varnish-configuration"
  37818. msgstr ""
  37819. #. type: deftp
  37820. #: guix-git/doc/guix.texi:25442
  37821. msgid "Data type representing the @code{varnish} service configuration. This type has the following parameters:"
  37822. msgstr ""
  37823. #. type: item
  37824. #: guix-git/doc/guix.texi:25444
  37825. #, no-wrap
  37826. msgid "@code{package} (default: @code{varnish})"
  37827. msgstr ""
  37828. #. type: table
  37829. #: guix-git/doc/guix.texi:25446
  37830. msgid "The Varnish package to use."
  37831. msgstr ""
  37832. #. type: item
  37833. #: guix-git/doc/guix.texi:25447
  37834. #, no-wrap
  37835. msgid "@code{name} (default: @code{\"default\"})"
  37836. msgstr ""
  37837. #. type: table
  37838. #: guix-git/doc/guix.texi:25452
  37839. 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."
  37840. msgstr ""
  37841. #. type: table
  37842. #: guix-git/doc/guix.texi:25455
  37843. msgid "Pass the @code{-n} argument to other Varnish programs to connect to the named instance, e.g.@: @command{varnishncsa -n default}."
  37844. msgstr ""
  37845. #. type: item
  37846. #: guix-git/doc/guix.texi:25456
  37847. #, no-wrap
  37848. msgid "@code{backend} (default: @code{\"localhost:8080\"})"
  37849. msgstr ""
  37850. #. type: table
  37851. #: guix-git/doc/guix.texi:25458
  37852. msgid "The backend to use. This option has no effect if @code{vcl} is set."
  37853. msgstr ""
  37854. #. type: item
  37855. #: guix-git/doc/guix.texi:25459
  37856. #, no-wrap
  37857. msgid "@code{vcl} (default: #f)"
  37858. msgstr ""
  37859. #. type: table
  37860. #: guix-git/doc/guix.texi:25464
  37861. 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."
  37862. msgstr ""
  37863. #. type: table
  37864. #: guix-git/doc/guix.texi:25468
  37865. msgid "For example, to mirror @url{https://www.gnu.org,www.gnu.org} with VCL you can do something along these lines:"
  37866. msgstr ""
  37867. #. type: lisp
  37868. #: guix-git/doc/guix.texi:25474
  37869. #, no-wrap
  37870. msgid ""
  37871. "(define %gnu-mirror\n"
  37872. " (plain-file \"gnu.vcl\"\n"
  37873. " \"vcl 4.1;\n"
  37874. "backend gnu @{ .host = \\\"www.gnu.org\\\"; @}\"))\n"
  37875. "\n"
  37876. msgstr ""
  37877. #. type: lisp
  37878. #: guix-git/doc/guix.texi:25482
  37879. #, no-wrap
  37880. msgid ""
  37881. "(operating-system\n"
  37882. " ;; @dots{}\n"
  37883. " (services (cons (service varnish-service-type\n"
  37884. " (varnish-configuration\n"
  37885. " (listen '(\":80\"))\n"
  37886. " (vcl %gnu-mirror)))\n"
  37887. " %base-services)))\n"
  37888. msgstr ""
  37889. #. type: table
  37890. #: guix-git/doc/guix.texi:25486
  37891. msgid "The configuration of an already running Varnish instance can be inspected and changed using the @command{varnishadm} program."
  37892. msgstr ""
  37893. #. type: table
  37894. #: guix-git/doc/guix.texi:25490
  37895. 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."
  37896. msgstr ""
  37897. #. type: item
  37898. #: guix-git/doc/guix.texi:25491
  37899. #, no-wrap
  37900. msgid "@code{listen} (default: @code{'(\"localhost:80\")})"
  37901. msgstr ""
  37902. #. type: table
  37903. #: guix-git/doc/guix.texi:25493
  37904. msgid "List of addresses Varnish will listen on."
  37905. msgstr ""
  37906. #. type: item
  37907. #: guix-git/doc/guix.texi:25494
  37908. #, no-wrap
  37909. msgid "@code{storage} (default: @code{'(\"malloc,128m\")})"
  37910. msgstr ""
  37911. #. type: table
  37912. #: guix-git/doc/guix.texi:25496
  37913. msgid "List of storage backends that will be available in VCL."
  37914. msgstr ""
  37915. #. type: item
  37916. #: guix-git/doc/guix.texi:25497
  37917. #, no-wrap
  37918. msgid "@code{parameters} (default: @code{'()})"
  37919. msgstr ""
  37920. #. type: table
  37921. #: guix-git/doc/guix.texi:25499
  37922. msgid "List of run-time parameters in the form @code{'((\"parameter\" . \"value\"))}."
  37923. msgstr ""
  37924. #. type: table
  37925. #: guix-git/doc/guix.texi:25502
  37926. msgid "Additional arguments to pass to the @command{varnishd} process."
  37927. msgstr ""
  37928. #. type: cindex
  37929. #: guix-git/doc/guix.texi:25506 guix-git/doc/guix.texi:25507
  37930. #, no-wrap
  37931. msgid "Patchwork"
  37932. msgstr ""
  37933. #. type: Plain text
  37934. #: guix-git/doc/guix.texi:25510
  37935. msgid "Patchwork is a patch tracking system. It can collect patches sent to a mailing list, and display them in a web interface."
  37936. msgstr ""
  37937. #. type: defvr
  37938. #: guix-git/doc/guix.texi:25511
  37939. #, no-wrap
  37940. msgid "{Scheme Variable} patchwork-service-type"
  37941. msgstr ""
  37942. #. type: defvr
  37943. #: guix-git/doc/guix.texi:25513
  37944. msgid "Service type for Patchwork."
  37945. msgstr ""
  37946. #. type: Plain text
  37947. #: guix-git/doc/guix.texi:25517
  37948. msgid "The following example is an example of a minimal service for Patchwork, for the @code{patchwork.example.com} domain."
  37949. msgstr ""
  37950. #. type: lisp
  37951. #: guix-git/doc/guix.texi:25537
  37952. #, no-wrap
  37953. msgid ""
  37954. "(service patchwork-service-type\n"
  37955. " (patchwork-configuration\n"
  37956. " (domain \"patchwork.example.com\")\n"
  37957. " (settings-module\n"
  37958. " (patchwork-settings-module\n"
  37959. " (allowed-hosts (list domain))\n"
  37960. " (default-from-email \"patchwork@@patchwork.example.com\")))\n"
  37961. " (getmail-retriever-config\n"
  37962. " (getmail-retriever-configuration\n"
  37963. " (type \"SimpleIMAPSSLRetriever\")\n"
  37964. " (server \"imap.example.com\")\n"
  37965. " (port 993)\n"
  37966. " (username \"patchwork\")\n"
  37967. " (password-command\n"
  37968. " (list (file-append coreutils \"/bin/cat\")\n"
  37969. " \"/etc/getmail-patchwork-imap-password\"))\n"
  37970. " (extra-parameters\n"
  37971. " '((mailboxes . (\"Patches\"))))))))\n"
  37972. "\n"
  37973. msgstr ""
  37974. #. type: Plain text
  37975. #: guix-git/doc/guix.texi:25543
  37976. msgid "There are three records for configuring the Patchwork service. The @code{<patchwork-configuration>} relates to the configuration for Patchwork within the HTTPD service."
  37977. msgstr ""
  37978. #. type: Plain text
  37979. #: guix-git/doc/guix.texi:25547
  37980. 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."
  37981. msgstr ""
  37982. #. type: Plain text
  37983. #: guix-git/doc/guix.texi:25551
  37984. msgid "For the @code{database-configuration} field within the @code{<patchwork-settings-module>}, the @code{<patchwork-database-configuration>} must be used."
  37985. msgstr ""
  37986. #. type: deftp
  37987. #: guix-git/doc/guix.texi:25552
  37988. #, no-wrap
  37989. msgid "{Data Type} patchwork-configuration"
  37990. msgstr ""
  37991. #. type: deftp
  37992. #: guix-git/doc/guix.texi:25555
  37993. msgid "Data type representing the Patchwork service configuration. This type has the following parameters:"
  37994. msgstr ""
  37995. #. type: item
  37996. #: guix-git/doc/guix.texi:25557
  37997. #, no-wrap
  37998. msgid "@code{patchwork} (default: @code{patchwork})"
  37999. msgstr ""
  38000. #. type: table
  38001. #: guix-git/doc/guix.texi:25559
  38002. msgid "The Patchwork package to use."
  38003. msgstr ""
  38004. #. type: code{#1}
  38005. #: guix-git/doc/guix.texi:25560
  38006. #, no-wrap
  38007. msgid "domain"
  38008. msgstr ""
  38009. #. type: table
  38010. #: guix-git/doc/guix.texi:25563
  38011. msgid "The domain to use for Patchwork, this is used in the HTTPD service virtual host."
  38012. msgstr ""
  38013. #. type: code{#1}
  38014. #: guix-git/doc/guix.texi:25564
  38015. #, no-wrap
  38016. msgid "settings-module"
  38017. msgstr ""
  38018. #. type: table
  38019. #: guix-git/doc/guix.texi:25570
  38020. 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."
  38021. msgstr ""
  38022. #. type: item
  38023. #: guix-git/doc/guix.texi:25571
  38024. #, no-wrap
  38025. msgid "@code{static-path} (default: @code{\"/static/\"})"
  38026. msgstr ""
  38027. #. type: table
  38028. #: guix-git/doc/guix.texi:25573
  38029. msgid "The path under which the HTTPD service should serve the static files."
  38030. msgstr ""
  38031. #. type: code{#1}
  38032. #: guix-git/doc/guix.texi:25574
  38033. #, no-wrap
  38034. msgid "getmail-retriever-config"
  38035. msgstr ""
  38036. #. type: table
  38037. #: guix-git/doc/guix.texi:25578
  38038. 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."
  38039. msgstr ""
  38040. #. type: deftp
  38041. #: guix-git/doc/guix.texi:25582
  38042. #, no-wrap
  38043. msgid "{Data Type} patchwork-settings-module"
  38044. msgstr ""
  38045. #. type: deftp
  38046. #: guix-git/doc/guix.texi:25587
  38047. 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:"
  38048. msgstr ""
  38049. #. type: item
  38050. #: guix-git/doc/guix.texi:25589
  38051. #, no-wrap
  38052. msgid "@code{database-configuration} (default: @code{(patchwork-database-configuration)})"
  38053. msgstr ""
  38054. #. type: table
  38055. #: guix-git/doc/guix.texi:25592
  38056. msgid "The database connection settings used for Patchwork. See the @code{<patchwork-database-configuration>} record type for more information."
  38057. msgstr ""
  38058. #. type: item
  38059. #: guix-git/doc/guix.texi:25593
  38060. #, no-wrap
  38061. msgid "@code{secret-key-file} (default: @code{\"/etc/patchwork/django-secret-key\"})"
  38062. msgstr ""
  38063. #. type: table
  38064. #: guix-git/doc/guix.texi:25596
  38065. msgid "Patchwork, as a Django web application uses a secret key for cryptographically signing values. This file should contain a unique unpredictable value."
  38066. msgstr ""
  38067. #. type: table
  38068. #: guix-git/doc/guix.texi:25599
  38069. msgid "If this file does not exist, it will be created and populated with a random value by the patchwork-setup shepherd service."
  38070. msgstr ""
  38071. #. type: table
  38072. #: guix-git/doc/guix.texi:25601
  38073. msgid "This setting relates to Django."
  38074. msgstr ""
  38075. #. type: code{#1}
  38076. #: guix-git/doc/guix.texi:25602
  38077. #, no-wrap
  38078. msgid "allowed-hosts"
  38079. msgstr ""
  38080. #. type: table
  38081. #: guix-git/doc/guix.texi:25605
  38082. msgid "A list of valid hosts for this Patchwork service. This should at least include the domain specified in the @code{<patchwork-configuration>} record."
  38083. msgstr ""
  38084. #. type: table
  38085. #: guix-git/doc/guix.texi:25607 guix-git/doc/guix.texi:25621
  38086. #: guix-git/doc/guix.texi:25627 guix-git/doc/guix.texi:25633
  38087. msgid "This is a Django setting."
  38088. msgstr ""
  38089. #. type: code{#1}
  38090. #: guix-git/doc/guix.texi:25608
  38091. #, no-wrap
  38092. msgid "default-from-email"
  38093. msgstr ""
  38094. #. type: table
  38095. #: guix-git/doc/guix.texi:25610
  38096. msgid "The email address from which Patchwork should send email by default."
  38097. msgstr ""
  38098. #. type: table
  38099. #: guix-git/doc/guix.texi:25612 guix-git/doc/guix.texi:25638
  38100. #: guix-git/doc/guix.texi:25643 guix-git/doc/guix.texi:25648
  38101. msgid "This is a Patchwork setting."
  38102. msgstr ""
  38103. #. type: item
  38104. #: guix-git/doc/guix.texi:25613
  38105. #, no-wrap
  38106. msgid "@code{static-url} (default: @code{#f})"
  38107. msgstr ""
  38108. #. type: table
  38109. #: guix-git/doc/guix.texi:25616
  38110. 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{/}."
  38111. msgstr ""
  38112. #. type: table
  38113. #: guix-git/doc/guix.texi:25619
  38114. msgid "If the default value is used, the @code{static-path} value from the @code{<patchwork-configuration>} record will be used."
  38115. msgstr ""
  38116. #. type: item
  38117. #: guix-git/doc/guix.texi:25622
  38118. #, no-wrap
  38119. msgid "@code{admins} (default: @code{'()})"
  38120. msgstr ""
  38121. #. type: table
  38122. #: guix-git/doc/guix.texi:25625
  38123. 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."
  38124. msgstr ""
  38125. #. type: table
  38126. #: guix-git/doc/guix.texi:25631
  38127. msgid "Whether to run Patchwork in debug mode. If set to @code{#t}, detailed error messages will be shown."
  38128. msgstr ""
  38129. #. type: item
  38130. #: guix-git/doc/guix.texi:25634
  38131. #, no-wrap
  38132. msgid "@code{enable-rest-api?} (default: @code{#t})"
  38133. msgstr ""
  38134. #. type: table
  38135. #: guix-git/doc/guix.texi:25636
  38136. msgid "Whether to enable the Patchwork REST API."
  38137. msgstr ""
  38138. #. type: item
  38139. #: guix-git/doc/guix.texi:25639
  38140. #, no-wrap
  38141. msgid "@code{enable-xmlrpc?} (default: @code{#t})"
  38142. msgstr ""
  38143. #. type: table
  38144. #: guix-git/doc/guix.texi:25641
  38145. msgid "Whether to enable the XML RPC API."
  38146. msgstr ""
  38147. #. type: item
  38148. #: guix-git/doc/guix.texi:25644
  38149. #, no-wrap
  38150. msgid "@code{force-https-links?} (default: @code{#t})"
  38151. msgstr ""
  38152. #. type: table
  38153. #: guix-git/doc/guix.texi:25646
  38154. msgid "Whether to use HTTPS links on Patchwork pages."
  38155. msgstr ""
  38156. #. type: table
  38157. #: guix-git/doc/guix.texi:25651
  38158. msgid "Extra code to place at the end of the Patchwork settings module."
  38159. msgstr ""
  38160. #. type: deftp
  38161. #: guix-git/doc/guix.texi:25655
  38162. #, no-wrap
  38163. msgid "{Data Type} patchwork-database-configuration"
  38164. msgstr ""
  38165. #. type: deftp
  38166. #: guix-git/doc/guix.texi:25657
  38167. msgid "Data type representing the database configuration for Patchwork."
  38168. msgstr ""
  38169. #. type: item
  38170. #: guix-git/doc/guix.texi:25659
  38171. #, no-wrap
  38172. msgid "@code{engine} (default: @code{\"django.db.backends.postgresql_psycopg2\"})"
  38173. msgstr ""
  38174. #. type: table
  38175. #: guix-git/doc/guix.texi:25661
  38176. msgid "The database engine to use."
  38177. msgstr ""
  38178. #. type: item
  38179. #: guix-git/doc/guix.texi:25662
  38180. #, no-wrap
  38181. msgid "@code{name} (default: @code{\"patchwork\"})"
  38182. msgstr ""
  38183. #. type: table
  38184. #: guix-git/doc/guix.texi:25664
  38185. msgid "The name of the database to use."
  38186. msgstr ""
  38187. #. type: table
  38188. #: guix-git/doc/guix.texi:25667
  38189. msgid "The user to connect to the database as."
  38190. msgstr ""
  38191. #. type: item
  38192. #: guix-git/doc/guix.texi:25668
  38193. #, no-wrap
  38194. msgid "@code{password} (default: @code{\"\"})"
  38195. msgstr ""
  38196. #. type: table
  38197. #: guix-git/doc/guix.texi:25670
  38198. msgid "The password to use when connecting to the database."
  38199. msgstr ""
  38200. #. type: item
  38201. #: guix-git/doc/guix.texi:25671
  38202. #, no-wrap
  38203. msgid "@code{host} (default: @code{\"\"})"
  38204. msgstr ""
  38205. #. type: table
  38206. #: guix-git/doc/guix.texi:25673
  38207. msgid "The host to make the database connection to."
  38208. msgstr ""
  38209. #. type: item
  38210. #: guix-git/doc/guix.texi:25674
  38211. #, no-wrap
  38212. msgid "@code{port} (default: @code{\"\"})"
  38213. msgstr ""
  38214. #. type: table
  38215. #: guix-git/doc/guix.texi:25676
  38216. msgid "The port on which to connect to the database."
  38217. msgstr ""
  38218. #. type: subsubheading
  38219. #: guix-git/doc/guix.texi:25680
  38220. #, no-wrap
  38221. msgid "Mumi"
  38222. msgstr ""
  38223. #. type: cindex
  38224. #: guix-git/doc/guix.texi:25682
  38225. #, no-wrap
  38226. msgid "Mumi, Debbugs Web interface"
  38227. msgstr ""
  38228. #. type: cindex
  38229. #: guix-git/doc/guix.texi:25683
  38230. #, no-wrap
  38231. msgid "Debbugs, Mumi Web interface"
  38232. msgstr ""
  38233. #. type: Plain text
  38234. #: guix-git/doc/guix.texi:25688
  38235. 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."
  38236. msgstr ""
  38237. #. type: defvr
  38238. #: guix-git/doc/guix.texi:25689
  38239. #, no-wrap
  38240. msgid "{Scheme Variable} mumi-service-type"
  38241. msgstr ""
  38242. #. type: defvr
  38243. #: guix-git/doc/guix.texi:25691
  38244. msgid "This is the service type for Mumi."
  38245. msgstr ""
  38246. #. type: deftp
  38247. #: guix-git/doc/guix.texi:25693
  38248. #, no-wrap
  38249. msgid "{Data Type} mumi-configuration"
  38250. msgstr ""
  38251. #. type: deftp
  38252. #: guix-git/doc/guix.texi:25696
  38253. msgid "Data type representing the Mumi service configuration. This type has the following fields:"
  38254. msgstr ""
  38255. #. type: item
  38256. #: guix-git/doc/guix.texi:25698
  38257. #, no-wrap
  38258. msgid "@code{mumi} (default: @code{mumi})"
  38259. msgstr ""
  38260. #. type: table
  38261. #: guix-git/doc/guix.texi:25700
  38262. msgid "The Mumi package to use."
  38263. msgstr ""
  38264. #. type: item
  38265. #: guix-git/doc/guix.texi:25701
  38266. #, no-wrap
  38267. msgid "@code{mailer?} (default: @code{#true})"
  38268. msgstr ""
  38269. #. type: table
  38270. #: guix-git/doc/guix.texi:25703
  38271. msgid "Whether to enable or disable the mailer component."
  38272. msgstr ""
  38273. #. type: code{#1}
  38274. #: guix-git/doc/guix.texi:25704
  38275. #, no-wrap
  38276. msgid "mumi-configuration-sender"
  38277. msgstr ""
  38278. #. type: table
  38279. #: guix-git/doc/guix.texi:25706
  38280. msgid "The email address used as the sender for comments."
  38281. msgstr ""
  38282. #. type: code{#1}
  38283. #: guix-git/doc/guix.texi:25707
  38284. #, no-wrap
  38285. msgid "mumi-configuration-smtp"
  38286. msgstr ""
  38287. #. type: table
  38288. #: guix-git/doc/guix.texi:25712
  38289. 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}."
  38290. msgstr ""
  38291. #. type: subsubheading
  38292. #: guix-git/doc/guix.texi:25717
  38293. #, no-wrap
  38294. msgid "FastCGI"
  38295. msgstr ""
  38296. #. type: cindex
  38297. #: guix-git/doc/guix.texi:25718
  38298. #, no-wrap
  38299. msgid "fastcgi"
  38300. msgstr ""
  38301. #. type: cindex
  38302. #: guix-git/doc/guix.texi:25719
  38303. #, no-wrap
  38304. msgid "fcgiwrap"
  38305. msgstr ""
  38306. #. type: Plain text
  38307. #: guix-git/doc/guix.texi:25726
  38308. 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."
  38309. msgstr ""
  38310. #. type: Plain text
  38311. #: guix-git/doc/guix.texi:25733
  38312. 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."
  38313. msgstr ""
  38314. #. type: defvr
  38315. #: guix-git/doc/guix.texi:25734
  38316. #, no-wrap
  38317. msgid "{Scheme Variable} fcgiwrap-service-type"
  38318. msgstr ""
  38319. #. type: defvr
  38320. #: guix-git/doc/guix.texi:25736
  38321. msgid "A service type for the @code{fcgiwrap} FastCGI proxy."
  38322. msgstr ""
  38323. #. type: deftp
  38324. #: guix-git/doc/guix.texi:25738
  38325. #, no-wrap
  38326. msgid "{Data Type} fcgiwrap-configuration"
  38327. msgstr ""
  38328. #. type: deftp
  38329. #: guix-git/doc/guix.texi:25741
  38330. msgid "Data type representing the configuration of the @code{fcgiwrap} service. This type has the following parameters:"
  38331. msgstr ""
  38332. #. type: item
  38333. #: guix-git/doc/guix.texi:25742
  38334. #, no-wrap
  38335. msgid "@code{package} (default: @code{fcgiwrap})"
  38336. msgstr ""
  38337. #. type: table
  38338. #: guix-git/doc/guix.texi:25744
  38339. msgid "The fcgiwrap package to use."
  38340. msgstr ""
  38341. #. type: item
  38342. #: guix-git/doc/guix.texi:25745
  38343. #, no-wrap
  38344. msgid "@code{socket} (default: @code{tcp:127.0.0.1:9000})"
  38345. msgstr ""
  38346. #. type: table
  38347. #: guix-git/doc/guix.texi:25751
  38348. 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}."
  38349. msgstr ""
  38350. #. type: item
  38351. #: guix-git/doc/guix.texi:25752
  38352. #, no-wrap
  38353. msgid "@code{user} (default: @code{fcgiwrap})"
  38354. msgstr ""
  38355. #. type: itemx
  38356. #: guix-git/doc/guix.texi:25753
  38357. #, no-wrap
  38358. msgid "@code{group} (default: @code{fcgiwrap})"
  38359. msgstr ""
  38360. #. type: table
  38361. #: guix-git/doc/guix.texi:25758
  38362. 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."
  38363. msgstr ""
  38364. #. type: table
  38365. #: guix-git/doc/guix.texi:25765
  38366. 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."
  38367. msgstr ""
  38368. #. type: cindex
  38369. #: guix-git/doc/guix.texi:25768
  38370. #, no-wrap
  38371. msgid "php-fpm"
  38372. msgstr ""
  38373. #. type: Plain text
  38374. #: guix-git/doc/guix.texi:25771
  38375. msgid "PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size."
  38376. msgstr ""
  38377. #. type: Plain text
  38378. #: guix-git/doc/guix.texi:25773
  38379. msgid "These features include:"
  38380. msgstr ""
  38381. #. type: item
  38382. #: guix-git/doc/guix.texi:25774
  38383. #, no-wrap
  38384. msgid "Adaptive process spawning"
  38385. msgstr ""
  38386. #. type: item
  38387. #: guix-git/doc/guix.texi:25775
  38388. #, no-wrap
  38389. msgid "Basic statistics (similar to Apache's mod_status)"
  38390. msgstr ""
  38391. #. type: item
  38392. #: guix-git/doc/guix.texi:25776
  38393. #, no-wrap
  38394. msgid "Advanced process management with graceful stop/start"
  38395. msgstr ""
  38396. #. type: item
  38397. #: guix-git/doc/guix.texi:25777
  38398. #, no-wrap
  38399. msgid "Ability to start workers with different uid/gid/chroot/environment"
  38400. msgstr ""
  38401. #. type: itemize
  38402. #: guix-git/doc/guix.texi:25779
  38403. msgid "and different php.ini (replaces safe_mode)"
  38404. msgstr ""
  38405. #. type: item
  38406. #: guix-git/doc/guix.texi:25779
  38407. #, no-wrap
  38408. msgid "Stdout & stderr logging"
  38409. msgstr ""
  38410. #. type: item
  38411. #: guix-git/doc/guix.texi:25780
  38412. #, no-wrap
  38413. msgid "Emergency restart in case of accidental opcode cache destruction"
  38414. msgstr ""
  38415. #. type: item
  38416. #: guix-git/doc/guix.texi:25781
  38417. #, no-wrap
  38418. msgid "Accelerated upload support"
  38419. msgstr ""
  38420. #. type: item
  38421. #: guix-git/doc/guix.texi:25782
  38422. #, no-wrap
  38423. msgid "Support for a \"slowlog\""
  38424. msgstr ""
  38425. #. type: item
  38426. #: guix-git/doc/guix.texi:25783
  38427. #, no-wrap
  38428. msgid "Enhancements to FastCGI, such as fastcgi_finish_request() -"
  38429. msgstr ""
  38430. #. type: itemize
  38431. #: guix-git/doc/guix.texi:25786
  38432. msgid "a special function to finish request & flush all data while continuing to do something time-consuming (video converting, stats processing, etc.)"
  38433. msgstr ""
  38434. #. type: Plain text
  38435. #: guix-git/doc/guix.texi:25788
  38436. msgid "...@: and much more."
  38437. msgstr "...@: e muito mais."
  38438. #. type: defvr
  38439. #: guix-git/doc/guix.texi:25789
  38440. #, no-wrap
  38441. msgid "{Scheme Variable} php-fpm-service-type"
  38442. msgstr ""
  38443. #. type: defvr
  38444. #: guix-git/doc/guix.texi:25791
  38445. msgid "A Service type for @code{php-fpm}."
  38446. msgstr ""
  38447. #. type: deftp
  38448. #: guix-git/doc/guix.texi:25793
  38449. #, no-wrap
  38450. msgid "{Data Type} php-fpm-configuration"
  38451. msgstr ""
  38452. #. type: deftp
  38453. #: guix-git/doc/guix.texi:25795
  38454. msgid "Data Type for php-fpm service configuration."
  38455. msgstr ""
  38456. #. type: item
  38457. #: guix-git/doc/guix.texi:25796
  38458. #, no-wrap
  38459. msgid "@code{php} (default: @code{php})"
  38460. msgstr ""
  38461. #. type: table
  38462. #: guix-git/doc/guix.texi:25798
  38463. msgid "The php package to use."
  38464. msgstr ""
  38465. #. type: item
  38466. #: guix-git/doc/guix.texi:25798
  38467. #, no-wrap
  38468. msgid "@code{socket} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.sock\")})"
  38469. msgstr ""
  38470. #. type: table
  38471. #: guix-git/doc/guix.texi:25800
  38472. msgid "The address on which to accept FastCGI requests. Valid syntaxes are:"
  38473. msgstr ""
  38474. #. type: code{#1}
  38475. #: guix-git/doc/guix.texi:25801
  38476. #, no-wrap
  38477. msgid "\"ip.add.re.ss:port\""
  38478. msgstr ""
  38479. #. type: table
  38480. #: guix-git/doc/guix.texi:25803
  38481. msgid "Listen on a TCP socket to a specific address on a specific port."
  38482. msgstr ""
  38483. #. type: code{#1}
  38484. #: guix-git/doc/guix.texi:25803
  38485. #, no-wrap
  38486. msgid "\"port\""
  38487. msgstr ""
  38488. #. type: table
  38489. #: guix-git/doc/guix.texi:25805
  38490. msgid "Listen on a TCP socket to all addresses on a specific port."
  38491. msgstr ""
  38492. #. type: code{#1}
  38493. #: guix-git/doc/guix.texi:25805
  38494. #, no-wrap
  38495. msgid "\"/path/to/unix/socket\""
  38496. msgstr ""
  38497. #. type: table
  38498. #: guix-git/doc/guix.texi:25807
  38499. msgid "Listen on a unix socket."
  38500. msgstr ""
  38501. #. type: item
  38502. #: guix-git/doc/guix.texi:25809
  38503. #, no-wrap
  38504. msgid "@code{user} (default: @code{php-fpm})"
  38505. msgstr ""
  38506. #. type: table
  38507. #: guix-git/doc/guix.texi:25811
  38508. msgid "User who will own the php worker processes."
  38509. msgstr ""
  38510. #. type: item
  38511. #: guix-git/doc/guix.texi:25811
  38512. #, no-wrap
  38513. msgid "@code{group} (default: @code{php-fpm})"
  38514. msgstr ""
  38515. #. type: table
  38516. #: guix-git/doc/guix.texi:25813
  38517. msgid "Group of the worker processes."
  38518. msgstr ""
  38519. #. type: item
  38520. #: guix-git/doc/guix.texi:25813
  38521. #, no-wrap
  38522. msgid "@code{socket-user} (default: @code{php-fpm})"
  38523. msgstr ""
  38524. #. type: table
  38525. #: guix-git/doc/guix.texi:25815
  38526. msgid "User who can speak to the php-fpm socket."
  38527. msgstr ""
  38528. #. type: item
  38529. #: guix-git/doc/guix.texi:25815
  38530. #, no-wrap
  38531. msgid "@code{socket-group} (default: @code{nginx})"
  38532. msgstr ""
  38533. #. type: table
  38534. #: guix-git/doc/guix.texi:25817
  38535. msgid "Group that can speak to the php-fpm socket."
  38536. msgstr ""
  38537. #. type: item
  38538. #: guix-git/doc/guix.texi:25817
  38539. #, no-wrap
  38540. msgid "@code{pid-file} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.pid\")})"
  38541. msgstr ""
  38542. #. type: table
  38543. #: guix-git/doc/guix.texi:25820
  38544. msgid "The process id of the php-fpm process is written to this file once the service has started."
  38545. msgstr ""
  38546. #. type: item
  38547. #: guix-git/doc/guix.texi:25820
  38548. #, no-wrap
  38549. msgid "@code{log-file} (default: @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.log\")})"
  38550. msgstr ""
  38551. #. type: table
  38552. #: guix-git/doc/guix.texi:25822
  38553. msgid "Log for the php-fpm master process."
  38554. msgstr ""
  38555. #. type: item
  38556. #: guix-git/doc/guix.texi:25822
  38557. #, no-wrap
  38558. msgid "@code{process-manager} (default: @code{(php-fpm-dynamic-process-manager-configuration)})"
  38559. msgstr ""
  38560. #. type: table
  38561. #: guix-git/doc/guix.texi:25825
  38562. msgid "Detailed settings for the php-fpm process manager. Must be one of:"
  38563. msgstr ""
  38564. #. type: code{#1}
  38565. #: guix-git/doc/guix.texi:25826
  38566. #, no-wrap
  38567. msgid "<php-fpm-dynamic-process-manager-configuration>"
  38568. msgstr ""
  38569. #. type: code{#1}
  38570. #: guix-git/doc/guix.texi:25827
  38571. #, no-wrap
  38572. msgid "<php-fpm-static-process-manager-configuration>"
  38573. msgstr ""
  38574. #. type: code{#1}
  38575. #: guix-git/doc/guix.texi:25828
  38576. #, no-wrap
  38577. msgid "<php-fpm-on-demand-process-manager-configuration>"
  38578. msgstr ""
  38579. #. type: item
  38580. #: guix-git/doc/guix.texi:25830
  38581. #, no-wrap
  38582. msgid "@code{display-errors} (default @code{#f})"
  38583. msgstr ""
  38584. #. type: table
  38585. #: guix-git/doc/guix.texi:25835
  38586. 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."
  38587. msgstr ""
  38588. #. type: item
  38589. #: guix-git/doc/guix.texi:25835
  38590. #, no-wrap
  38591. msgid "@code{timezone} (default @code{#f})"
  38592. msgstr ""
  38593. #. type: table
  38594. #: guix-git/doc/guix.texi:25837
  38595. msgid "Specifies @code{php_admin_value[date.timezone]} parameter."
  38596. msgstr ""
  38597. #. type: item
  38598. #: guix-git/doc/guix.texi:25837
  38599. #, no-wrap
  38600. msgid "@code{workers-logfile} (default @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.www.log\")})"
  38601. msgstr ""
  38602. #. type: table
  38603. #: guix-git/doc/guix.texi:25840
  38604. msgid "This file will log the @code{stderr} outputs of php worker processes. Can be set to @code{#f} to disable logging."
  38605. msgstr ""
  38606. #. type: item
  38607. #: guix-git/doc/guix.texi:25840
  38608. #, no-wrap
  38609. msgid "@code{file} (default @code{#f})"
  38610. msgstr "@code{file} (default @code{#f})"
  38611. #. type: table
  38612. #: guix-git/doc/guix.texi:25843
  38613. msgid "An optional override of the whole configuration. You can use the @code{mixed-text-file} function or an absolute filepath for it."
  38614. msgstr ""
  38615. #. type: item
  38616. #: guix-git/doc/guix.texi:25843
  38617. #, no-wrap
  38618. msgid "@code{php-ini-file} (default @code{#f})"
  38619. msgstr ""
  38620. #. type: table
  38621. #: guix-git/doc/guix.texi:25847
  38622. 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."
  38623. msgstr ""
  38624. #. type: table
  38625. #: guix-git/doc/guix.texi:25851
  38626. 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:"
  38627. msgstr ""
  38628. #. type: lisp
  38629. #: guix-git/doc/guix.texi:25856
  38630. #, no-wrap
  38631. msgid ""
  38632. "(define %local-php-ini\n"
  38633. " (plain-file \"php.ini\"\n"
  38634. " \"memory_limit = 2G\n"
  38635. "max_execution_time = 1800\"))\n"
  38636. "\n"
  38637. msgstr ""
  38638. #. type: lisp
  38639. #: guix-git/doc/guix.texi:25863
  38640. #, no-wrap
  38641. msgid ""
  38642. "(operating-system\n"
  38643. " ;; @dots{}\n"
  38644. " (services (cons (service php-fpm-service-type\n"
  38645. " (php-fpm-configuration\n"
  38646. " (php-ini-file %local-php-ini)))\n"
  38647. " %base-services)))\n"
  38648. msgstr ""
  38649. #. type: table
  38650. #: guix-git/doc/guix.texi:25868
  38651. 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."
  38652. msgstr ""
  38653. #. type: deftp
  38654. #: guix-git/doc/guix.texi:25871
  38655. #, no-wrap
  38656. msgid "{Data type} php-fpm-dynamic-process-manager-configuration"
  38657. msgstr ""
  38658. #. type: deftp
  38659. #: guix-git/doc/guix.texi:25875
  38660. 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."
  38661. msgstr ""
  38662. #. type: item
  38663. #: guix-git/doc/guix.texi:25876 guix-git/doc/guix.texi:25892
  38664. #: guix-git/doc/guix.texi:25902
  38665. #, no-wrap
  38666. msgid "@code{max-children} (default: @code{5})"
  38667. msgstr ""
  38668. #. type: table
  38669. #: guix-git/doc/guix.texi:25878 guix-git/doc/guix.texi:25894
  38670. #: guix-git/doc/guix.texi:25904
  38671. msgid "Maximum of worker processes."
  38672. msgstr ""
  38673. #. type: item
  38674. #: guix-git/doc/guix.texi:25878
  38675. #, no-wrap
  38676. msgid "@code{start-servers} (default: @code{2})"
  38677. msgstr ""
  38678. #. type: table
  38679. #: guix-git/doc/guix.texi:25880
  38680. msgid "How many worker processes should be started on start-up."
  38681. msgstr ""
  38682. #. type: item
  38683. #: guix-git/doc/guix.texi:25880
  38684. #, no-wrap
  38685. msgid "@code{min-spare-servers} (default: @code{1})"
  38686. msgstr ""
  38687. #. type: table
  38688. #: guix-git/doc/guix.texi:25882
  38689. msgid "How many spare worker processes should be kept around at minimum."
  38690. msgstr ""
  38691. #. type: item
  38692. #: guix-git/doc/guix.texi:25882
  38693. #, no-wrap
  38694. msgid "@code{max-spare-servers} (default: @code{3})"
  38695. msgstr ""
  38696. #. type: table
  38697. #: guix-git/doc/guix.texi:25884
  38698. msgid "How many spare worker processes should be kept around at maximum."
  38699. msgstr ""
  38700. #. type: deftp
  38701. #: guix-git/doc/guix.texi:25887
  38702. #, no-wrap
  38703. msgid "{Data type} php-fpm-static-process-manager-configuration"
  38704. msgstr ""
  38705. #. type: deftp
  38706. #: guix-git/doc/guix.texi:25891
  38707. 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."
  38708. msgstr ""
  38709. #. type: deftp
  38710. #: guix-git/doc/guix.texi:25897
  38711. #, no-wrap
  38712. msgid "{Data type} php-fpm-on-demand-process-manager-configuration"
  38713. msgstr ""
  38714. #. type: deftp
  38715. #: guix-git/doc/guix.texi:25901
  38716. 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."
  38717. msgstr ""
  38718. #. type: item
  38719. #: guix-git/doc/guix.texi:25904
  38720. #, no-wrap
  38721. msgid "@code{process-idle-timeout} (default: @code{10})"
  38722. msgstr ""
  38723. #. type: table
  38724. #: guix-git/doc/guix.texi:25906
  38725. msgid "The time in seconds after which a process with no requests is killed."
  38726. msgstr ""
  38727. #. type: deffn
  38728. #: guix-git/doc/guix.texi:25910
  38729. #, no-wrap
  38730. msgid "{Scheme Procedure} nginx-php-location @"
  38731. msgstr ""
  38732. #. type: deffn
  38733. #: guix-git/doc/guix.texi:25916
  38734. 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}."
  38735. msgstr ""
  38736. #. type: Plain text
  38737. #: guix-git/doc/guix.texi:25919
  38738. msgid "A simple services setup for nginx with php can look like this:"
  38739. msgstr ""
  38740. #. type: lisp
  38741. #: guix-git/doc/guix.texi:25932
  38742. #, no-wrap
  38743. msgid ""
  38744. "(services (cons* (service dhcp-client-service-type)\n"
  38745. " (service php-fpm-service-type)\n"
  38746. " (service nginx-service-type\n"
  38747. " (nginx-server-configuration\n"
  38748. " (server-name '(\"example.com\"))\n"
  38749. " (root \"/srv/http/\")\n"
  38750. " (locations\n"
  38751. " (list (nginx-php-location)))\n"
  38752. " (listen '(\"80\"))\n"
  38753. " (ssl-certificate #f)\n"
  38754. " (ssl-certificate-key #f)))\n"
  38755. " %base-services))\n"
  38756. msgstr ""
  38757. #. type: cindex
  38758. #: guix-git/doc/guix.texi:25934
  38759. #, no-wrap
  38760. msgid "cat-avatar-generator"
  38761. msgstr ""
  38762. #. type: Plain text
  38763. #: guix-git/doc/guix.texi:25938
  38764. 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."
  38765. msgstr ""
  38766. #. type: deffn
  38767. #: guix-git/doc/guix.texi:25939
  38768. #, no-wrap
  38769. msgid "{Scheme Procedure} cat-avatar-generator-service @"
  38770. msgstr ""
  38771. #. type: deffn
  38772. #: guix-git/doc/guix.texi:25947
  38773. 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."
  38774. msgstr ""
  38775. #. type: Plain text
  38776. #: guix-git/doc/guix.texi:25950
  38777. msgid "A simple setup for cat-avatar-generator can look like this:"
  38778. msgstr ""
  38779. #. type: lisp
  38780. #: guix-git/doc/guix.texi:25957
  38781. #, no-wrap
  38782. msgid ""
  38783. "(services (cons* (cat-avatar-generator-service\n"
  38784. " #:configuration\n"
  38785. " (nginx-server-configuration\n"
  38786. " (server-name '(\"example.com\"))))\n"
  38787. " ...\n"
  38788. " %base-services))\n"
  38789. msgstr ""
  38790. #. type: subsubheading
  38791. #: guix-git/doc/guix.texi:25959
  38792. #, no-wrap
  38793. msgid "Hpcguix-web"
  38794. msgstr ""
  38795. #. type: cindex
  38796. #: guix-git/doc/guix.texi:25961
  38797. #, no-wrap
  38798. msgid "hpcguix-web"
  38799. msgstr ""
  38800. #. type: Plain text
  38801. #: guix-git/doc/guix.texi:25966
  38802. 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."
  38803. msgstr ""
  38804. #. type: defvr
  38805. #: guix-git/doc/guix.texi:25967
  38806. #, no-wrap
  38807. msgid "{Scheme Variable} hpcguix-web-service-type"
  38808. msgstr ""
  38809. #. type: defvr
  38810. #: guix-git/doc/guix.texi:25969
  38811. msgid "The service type for @code{hpcguix-web}."
  38812. msgstr ""
  38813. #. type: deftp
  38814. #: guix-git/doc/guix.texi:25971
  38815. #, no-wrap
  38816. msgid "{Data Type} hpcguix-web-configuration"
  38817. msgstr ""
  38818. #. type: deftp
  38819. #: guix-git/doc/guix.texi:25973
  38820. msgid "Data type for the hpcguix-web service configuration."
  38821. msgstr ""
  38822. #. type: code{#1}
  38823. #: guix-git/doc/guix.texi:25975
  38824. #, no-wrap
  38825. msgid "specs"
  38826. msgstr ""
  38827. #. type: table
  38828. #: guix-git/doc/guix.texi:25978
  38829. msgid "A gexp (@pxref{G-Expressions}) specifying the hpcguix-web service configuration. The main items available in this spec are:"
  38830. msgstr ""
  38831. #. type: item
  38832. #: guix-git/doc/guix.texi:25980
  38833. #, no-wrap
  38834. msgid "@code{title-prefix} (default: @code{\"hpcguix | \"})"
  38835. msgstr ""
  38836. #. type: table
  38837. #: guix-git/doc/guix.texi:25982
  38838. msgid "The page title prefix."
  38839. msgstr ""
  38840. #. type: item
  38841. #: guix-git/doc/guix.texi:25983
  38842. #, no-wrap
  38843. msgid "@code{guix-command} (default: @code{\"guix\"})"
  38844. msgstr ""
  38845. #. type: table
  38846. #: guix-git/doc/guix.texi:25985
  38847. msgid "The @command{guix} command."
  38848. msgstr ""
  38849. #. type: item
  38850. #: guix-git/doc/guix.texi:25986
  38851. #, no-wrap
  38852. msgid "@code{package-filter-proc} (default: @code{(const #t)})"
  38853. msgstr ""
  38854. #. type: table
  38855. #: guix-git/doc/guix.texi:25988
  38856. msgid "A procedure specifying how to filter packages that are displayed."
  38857. msgstr ""
  38858. #. type: item
  38859. #: guix-git/doc/guix.texi:25989
  38860. #, no-wrap
  38861. msgid "@code{package-page-extension-proc} (default: @code{(const '())})"
  38862. msgstr ""
  38863. #. type: table
  38864. #: guix-git/doc/guix.texi:25991
  38865. msgid "Extension package for @code{hpcguix-web}."
  38866. msgstr ""
  38867. #. type: item
  38868. #: guix-git/doc/guix.texi:25992
  38869. #, no-wrap
  38870. msgid "@code{menu} (default: @code{'()})"
  38871. msgstr ""
  38872. #. type: table
  38873. #: guix-git/doc/guix.texi:25994
  38874. msgid "Additional entry in page @code{menu}."
  38875. msgstr ""
  38876. #. type: item
  38877. #: guix-git/doc/guix.texi:25995
  38878. #, no-wrap
  38879. msgid "@code{channels} (default: @code{%default-channels})"
  38880. msgstr ""
  38881. #. type: table
  38882. #: guix-git/doc/guix.texi:25997
  38883. msgid "List of channels from which the package list is built (@pxref{Channels})."
  38884. msgstr ""
  38885. #. type: item
  38886. #: guix-git/doc/guix.texi:25998
  38887. #, no-wrap
  38888. msgid "@code{package-list-expiration} (default: @code{(* 12 3600)})"
  38889. msgstr ""
  38890. #. type: table
  38891. #: guix-git/doc/guix.texi:26001
  38892. msgid "The expiration time, in seconds, after which the package list is rebuilt from the latest instances of the given channels."
  38893. msgstr ""
  38894. #. type: table
  38895. #: guix-git/doc/guix.texi:26006
  38896. msgid "See the hpcguix-web repository for a @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, complete example}."
  38897. msgstr ""
  38898. #. type: item
  38899. #: guix-git/doc/guix.texi:26007
  38900. #, no-wrap
  38901. msgid "@code{package} (default: @code{hpcguix-web})"
  38902. msgstr ""
  38903. #. type: table
  38904. #: guix-git/doc/guix.texi:26009
  38905. msgid "The hpcguix-web package to use."
  38906. msgstr ""
  38907. #. type: Plain text
  38908. #: guix-git/doc/guix.texi:26013
  38909. msgid "A typical hpcguix-web service declaration looks like this:"
  38910. msgstr ""
  38911. #. type: lisp
  38912. #: guix-git/doc/guix.texi:26022
  38913. #, no-wrap
  38914. msgid ""
  38915. "(service hpcguix-web-service-type\n"
  38916. " (hpcguix-web-configuration\n"
  38917. " (specs\n"
  38918. " #~(define site-config\n"
  38919. " (hpcweb-configuration\n"
  38920. " (title-prefix \"Guix-HPC - \")\n"
  38921. " (menu '((\"/about\" \"ABOUT\"))))))))\n"
  38922. msgstr ""
  38923. #. type: quotation
  38924. #: guix-git/doc/guix.texi:26029
  38925. 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."
  38926. msgstr ""
  38927. #. type: quotation
  38928. #: guix-git/doc/guix.texi:26033
  38929. 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."
  38930. msgstr ""
  38931. #. type: cindex
  38932. #: guix-git/doc/guix.texi:26035 guix-git/doc/guix.texi:26037
  38933. #, no-wrap
  38934. msgid "gmnisrv"
  38935. msgstr ""
  38936. #. type: Plain text
  38937. #: guix-git/doc/guix.texi:26040
  38938. msgid "The @uref{https://git.sr.ht/~sircmpwn/gmnisrv, gmnisrv} program is a simple @uref{https://gemini.circumlunar.space/, Gemini} protocol server."
  38939. msgstr ""
  38940. #. type: deffn
  38941. #: guix-git/doc/guix.texi:26041
  38942. #, no-wrap
  38943. msgid "{Scheme Variable} gmnisrv-service-type"
  38944. msgstr ""
  38945. #. type: deffn
  38946. #: guix-git/doc/guix.texi:26044
  38947. msgid "This is the type of the gmnisrv service, whose value should be a @code{gmnisrv-configuration} object, as in this example:"
  38948. msgstr ""
  38949. #. type: lisp
  38950. #: guix-git/doc/guix.texi:26049
  38951. #, no-wrap
  38952. msgid ""
  38953. "(service gmnisrv-service-type\n"
  38954. " (gmnisrv-configuration\n"
  38955. " (config-file (local-file \"./my-gmnisrv.ini\"))))\n"
  38956. msgstr ""
  38957. #. type: deftp
  38958. #: guix-git/doc/guix.texi:26052
  38959. #, no-wrap
  38960. msgid "{Data Type} gmnisrv-configuration"
  38961. msgstr ""
  38962. #. type: deftp
  38963. #: guix-git/doc/guix.texi:26054
  38964. msgid "Data type representing the configuration of gmnisrv."
  38965. msgstr ""
  38966. #. type: item
  38967. #: guix-git/doc/guix.texi:26056
  38968. #, no-wrap
  38969. msgid "@code{package} (default: @var{gmnisrv})"
  38970. msgstr ""
  38971. #. type: table
  38972. #: guix-git/doc/guix.texi:26058
  38973. msgid "Package object of the gmnisrv server."
  38974. msgstr ""
  38975. #. type: item
  38976. #: guix-git/doc/guix.texi:26059
  38977. #, no-wrap
  38978. msgid "@code{config-file} (default: @code{%default-gmnisrv-config-file})"
  38979. msgstr ""
  38980. #. type: table
  38981. #: guix-git/doc/guix.texi:26065
  38982. 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}."
  38983. msgstr ""
  38984. #. type: subsubheading
  38985. #: guix-git/doc/guix.texi:26069
  38986. #, no-wrap
  38987. msgid "Agate"
  38988. msgstr ""
  38989. #. type: cindex
  38990. #: guix-git/doc/guix.texi:26071
  38991. #, no-wrap
  38992. msgid "agate"
  38993. msgstr ""
  38994. #. type: Plain text
  38995. #: guix-git/doc/guix.texi:26076
  38996. 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."
  38997. msgstr ""
  38998. #. type: deffn
  38999. #: guix-git/doc/guix.texi:26077
  39000. #, no-wrap
  39001. msgid "{Scheme Variable} agate-service-type"
  39002. msgstr ""
  39003. #. type: deffn
  39004. #: guix-git/doc/guix.texi:26080
  39005. msgid "This is the type of the agate service, whose value should be an @code{agate-service-type} object, as in this example:"
  39006. msgstr ""
  39007. #. type: lisp
  39008. #: guix-git/doc/guix.texi:26087
  39009. #, no-wrap
  39010. msgid ""
  39011. "(service agate-service-type\n"
  39012. "\t (agate-configuration\n"
  39013. "\t (content \"/srv/gemini\")\n"
  39014. "\t (cert \"/srv/cert.pem\")\n"
  39015. "\t (key \"/srv/key.rsa\")))\n"
  39016. msgstr ""
  39017. #. type: deffn
  39018. #: guix-git/doc/guix.texi:26092
  39019. 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."
  39020. msgstr ""
  39021. #. type: deffn
  39022. #: guix-git/doc/guix.texi:26095
  39023. msgid "To obtain a certificate and a key, you could, for example, use OpenSSL, running a command similar to the following example:"
  39024. msgstr ""
  39025. #. type: example
  39026. #: guix-git/doc/guix.texi:26099
  39027. #, no-wrap
  39028. msgid ""
  39029. "openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem \\\n"
  39030. " -days 3650 -nodes -subj \"/CN=example.com\"\n"
  39031. msgstr ""
  39032. #. type: deffn
  39033. #: guix-git/doc/guix.texi:26104
  39034. 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."
  39035. msgstr ""
  39036. #. type: deftp
  39037. #: guix-git/doc/guix.texi:26107
  39038. #, no-wrap
  39039. msgid "{Data Type} agate-configuration"
  39040. msgstr ""
  39041. #. type: deftp
  39042. #: guix-git/doc/guix.texi:26109
  39043. msgid "Data type representing the configuration of Agate."
  39044. msgstr ""
  39045. #. type: item
  39046. #: guix-git/doc/guix.texi:26111
  39047. #, no-wrap
  39048. msgid "@code{package} (default: @code{agate})"
  39049. msgstr ""
  39050. #. type: table
  39051. #: guix-git/doc/guix.texi:26113
  39052. msgid "The package object of the Agate server."
  39053. msgstr ""
  39054. #. type: item
  39055. #: guix-git/doc/guix.texi:26114
  39056. #, no-wrap
  39057. msgid "@code{content} (default: @file{\"/srv/gemini\"})"
  39058. msgstr ""
  39059. #. type: table
  39060. #: guix-git/doc/guix.texi:26116
  39061. msgid "The directory from which Agate will serve files."
  39062. msgstr ""
  39063. #. type: item
  39064. #: guix-git/doc/guix.texi:26117
  39065. #, no-wrap
  39066. msgid "@code{cert} (default: @code{#f})"
  39067. msgstr ""
  39068. #. type: table
  39069. #: guix-git/doc/guix.texi:26120
  39070. 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."
  39071. msgstr ""
  39072. #. type: item
  39073. #: guix-git/doc/guix.texi:26121 guix-git/doc/guix.texi:26557
  39074. #, no-wrap
  39075. msgid "@code{key} (default: @code{#f})"
  39076. msgstr "@code{key} (default: @code{#f})"
  39077. #. type: table
  39078. #: guix-git/doc/guix.texi:26124
  39079. 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."
  39080. msgstr ""
  39081. #. type: item
  39082. #: guix-git/doc/guix.texi:26125
  39083. #, no-wrap
  39084. msgid "@code{addr} (default: @code{'(\"0.0.0.0:1965\" \"[::]:1965\")})"
  39085. msgstr ""
  39086. #. type: table
  39087. #: guix-git/doc/guix.texi:26127
  39088. msgid "A list of the addresses to listen on."
  39089. msgstr ""
  39090. #. type: table
  39091. #: guix-git/doc/guix.texi:26130
  39092. msgid "The domain name of this Gemini server. Optional."
  39093. msgstr ""
  39094. #. type: item
  39095. #: guix-git/doc/guix.texi:26131
  39096. #, no-wrap
  39097. msgid "@code{lang} (default: @code{#f})"
  39098. msgstr ""
  39099. #. type: table
  39100. #: guix-git/doc/guix.texi:26133
  39101. msgid "RFC 4646 language code(s) for text/gemini documents. Optional."
  39102. msgstr ""
  39103. #. type: item
  39104. #: guix-git/doc/guix.texi:26134
  39105. #, no-wrap
  39106. msgid "@code{silent?} (default: @code{#f})"
  39107. msgstr ""
  39108. #. type: table
  39109. #: guix-git/doc/guix.texi:26136
  39110. msgid "Set to @code{#t} to disable logging output."
  39111. msgstr ""
  39112. #. type: item
  39113. #: guix-git/doc/guix.texi:26137
  39114. #, no-wrap
  39115. msgid "@code{serve-secret?} (default: @code{#f})"
  39116. msgstr ""
  39117. #. type: table
  39118. #: guix-git/doc/guix.texi:26140
  39119. msgid "Set to @code{#t} to serve secret files (files/directories starting with a dot)."
  39120. msgstr ""
  39121. #. type: item
  39122. #: guix-git/doc/guix.texi:26141
  39123. #, no-wrap
  39124. msgid "@code{log-ip?} (default: @code{#t})"
  39125. msgstr ""
  39126. #. type: table
  39127. #: guix-git/doc/guix.texi:26143
  39128. msgid "Whether or not to output IP addresses when logging."
  39129. msgstr ""
  39130. #. type: item
  39131. #: guix-git/doc/guix.texi:26144
  39132. #, no-wrap
  39133. msgid "@code{user} (default: @code{\"agate\"})"
  39134. msgstr ""
  39135. #. type: table
  39136. #: guix-git/doc/guix.texi:26146
  39137. msgid "Owner of the @code{agate} process."
  39138. msgstr ""
  39139. #. type: item
  39140. #: guix-git/doc/guix.texi:26147
  39141. #, no-wrap
  39142. msgid "@code{group} (default: @code{\"agate\"})"
  39143. msgstr ""
  39144. #. type: table
  39145. #: guix-git/doc/guix.texi:26149
  39146. msgid "Owner's group of the @code{agate} process."
  39147. msgstr ""
  39148. #. type: item
  39149. #: guix-git/doc/guix.texi:26150
  39150. #, no-wrap
  39151. msgid "@code{log-file} (default: @file{\"/var/log/agate.log\"})"
  39152. msgstr ""
  39153. #. type: table
  39154. #: guix-git/doc/guix.texi:26152
  39155. msgid "The file which should store the logging output of Agate."
  39156. msgstr ""
  39157. #. type: cindex
  39158. #: guix-git/doc/guix.texi:26159
  39159. #, no-wrap
  39160. msgid "Web"
  39161. msgstr ""
  39162. #. type: cindex
  39163. #: guix-git/doc/guix.texi:26160
  39164. #, no-wrap
  39165. msgid "HTTP, HTTPS"
  39166. msgstr ""
  39167. #. type: cindex
  39168. #: guix-git/doc/guix.texi:26161
  39169. #, no-wrap
  39170. msgid "Let's Encrypt"
  39171. msgstr ""
  39172. #. type: cindex
  39173. #: guix-git/doc/guix.texi:26162
  39174. #, no-wrap
  39175. msgid "TLS certificates"
  39176. msgstr ""
  39177. #. type: Plain text
  39178. #: guix-git/doc/guix.texi:26169
  39179. 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."
  39180. msgstr ""
  39181. #. type: Plain text
  39182. #: guix-git/doc/guix.texi:26181
  39183. 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."
  39184. msgstr ""
  39185. #. type: Plain text
  39186. #: guix-git/doc/guix.texi:26188
  39187. 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)."
  39188. msgstr ""
  39189. #. type: Plain text
  39190. #: guix-git/doc/guix.texi:26194
  39191. 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."
  39192. msgstr ""
  39193. #. type: Plain text
  39194. #: guix-git/doc/guix.texi:26198
  39195. 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}."
  39196. msgstr ""
  39197. #. type: defvr
  39198. #: guix-git/doc/guix.texi:26199
  39199. #, no-wrap
  39200. msgid "{Scheme Variable} certbot-service-type"
  39201. msgstr ""
  39202. #. type: defvr
  39203. #: guix-git/doc/guix.texi:26202
  39204. 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:"
  39205. msgstr ""
  39206. #. type: lisp
  39207. #: guix-git/doc/guix.texi:26209
  39208. #, no-wrap
  39209. msgid ""
  39210. "(define %nginx-deploy-hook\n"
  39211. " (program-file\n"
  39212. " \"nginx-deploy-hook\"\n"
  39213. " #~(let ((pid (call-with-input-file \"/var/run/nginx/pid\" read)))\n"
  39214. " (kill pid SIGHUP))))\n"
  39215. "\n"
  39216. msgstr ""
  39217. #. type: lisp
  39218. #: guix-git/doc/guix.texi:26220
  39219. #, no-wrap
  39220. msgid ""
  39221. "(service certbot-service-type\n"
  39222. " (certbot-configuration\n"
  39223. " (email \"foo@@example.net\")\n"
  39224. " (certificates\n"
  39225. " (list\n"
  39226. " (certificate-configuration\n"
  39227. " (domains '(\"example.net\" \"www.example.net\"))\n"
  39228. " (deploy-hook %nginx-deploy-hook))\n"
  39229. " (certificate-configuration\n"
  39230. " (domains '(\"bar.example.net\")))))))\n"
  39231. msgstr ""
  39232. #. type: defvr
  39233. #: guix-git/doc/guix.texi:26223
  39234. msgid "See below for details about @code{certbot-configuration}."
  39235. msgstr ""
  39236. #. type: deftp
  39237. #: guix-git/doc/guix.texi:26225
  39238. #, no-wrap
  39239. msgid "{Data Type} certbot-configuration"
  39240. msgstr ""
  39241. #. type: deftp
  39242. #: guix-git/doc/guix.texi:26228
  39243. msgid "Data type representing the configuration of the @code{certbot} service. This type has the following parameters:"
  39244. msgstr ""
  39245. #. type: item
  39246. #: guix-git/doc/guix.texi:26230
  39247. #, no-wrap
  39248. msgid "@code{package} (default: @code{certbot})"
  39249. msgstr ""
  39250. #. type: table
  39251. #: guix-git/doc/guix.texi:26232
  39252. msgid "The certbot package to use."
  39253. msgstr ""
  39254. #. type: item
  39255. #: guix-git/doc/guix.texi:26233
  39256. #, no-wrap
  39257. msgid "@code{webroot} (default: @code{/var/www})"
  39258. msgstr ""
  39259. #. type: table
  39260. #: guix-git/doc/guix.texi:26236
  39261. msgid "The directory from which to serve the Let's Encrypt challenge/response files."
  39262. msgstr ""
  39263. #. type: item
  39264. #: guix-git/doc/guix.texi:26237
  39265. #, no-wrap
  39266. msgid "@code{certificates} (default: @code{()})"
  39267. msgstr ""
  39268. #. type: table
  39269. #: guix-git/doc/guix.texi:26241
  39270. 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}."
  39271. msgstr ""
  39272. #. type: item
  39273. #: guix-git/doc/guix.texi:26242
  39274. #, no-wrap
  39275. msgid "@code{email} (default: @code{#f})"
  39276. msgstr ""
  39277. #. type: table
  39278. #: guix-git/doc/guix.texi:26246
  39279. 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."
  39280. msgstr ""
  39281. #. type: item
  39282. #: guix-git/doc/guix.texi:26247 guix-git/doc/guix.texi:27991
  39283. #, no-wrap
  39284. msgid "@code{server} (default: @code{#f})"
  39285. msgstr ""
  39286. #. type: table
  39287. #: guix-git/doc/guix.texi:26250
  39288. msgid "Optional URL of ACME server. Setting this overrides certbot's default, which is the Let's Encrypt server."
  39289. msgstr ""
  39290. #. type: item
  39291. #: guix-git/doc/guix.texi:26251
  39292. #, no-wrap
  39293. msgid "@code{rsa-key-size} (default: @code{2048})"
  39294. msgstr ""
  39295. #. type: table
  39296. #: guix-git/doc/guix.texi:26253
  39297. msgid "Size of the RSA key."
  39298. msgstr ""
  39299. #. type: item
  39300. #: guix-git/doc/guix.texi:26254
  39301. #, no-wrap
  39302. msgid "@code{default-location} (default: @i{see below})"
  39303. msgstr ""
  39304. #. type: table
  39305. #: guix-git/doc/guix.texi:26263
  39306. 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."
  39307. msgstr ""
  39308. #. type: table
  39309. #: guix-git/doc/guix.texi:26267
  39310. 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."
  39311. msgstr ""
  39312. #. type: table
  39313. #: guix-git/doc/guix.texi:26271
  39314. 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}."
  39315. msgstr ""
  39316. #. type: table
  39317. #: guix-git/doc/guix.texi:26273
  39318. msgid "Pass @code{#f} to not issue a default location."
  39319. msgstr ""
  39320. #. type: deftp
  39321. #: guix-git/doc/guix.texi:26276
  39322. #, no-wrap
  39323. msgid "{Data Type} certificate-configuration"
  39324. msgstr ""
  39325. #. type: deftp
  39326. #: guix-git/doc/guix.texi:26279
  39327. msgid "Data type representing the configuration of a certificate. This type has the following parameters:"
  39328. msgstr ""
  39329. #. type: item
  39330. #: guix-git/doc/guix.texi:26281
  39331. #, no-wrap
  39332. msgid "@code{name} (default: @i{see below})"
  39333. msgstr ""
  39334. #. type: table
  39335. #: guix-git/doc/guix.texi:26285
  39336. 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}."
  39337. msgstr ""
  39338. #. type: table
  39339. #: guix-git/doc/guix.texi:26287
  39340. msgid "Its default is the first provided domain."
  39341. msgstr ""
  39342. #. type: item
  39343. #: guix-git/doc/guix.texi:26288
  39344. #, no-wrap
  39345. msgid "@code{domains} (default: @code{()})"
  39346. msgstr ""
  39347. #. type: table
  39348. #: guix-git/doc/guix.texi:26291
  39349. msgid "The first domain provided will be the subject CN of the certificate, and all domains will be Subject Alternative Names on the certificate."
  39350. msgstr ""
  39351. #. type: item
  39352. #: guix-git/doc/guix.texi:26292
  39353. #, no-wrap
  39354. msgid "@code{challenge} (default: @code{#f})"
  39355. msgstr "@code{challenge} (default: @code{#f})"
  39356. #. type: table
  39357. #: guix-git/doc/guix.texi:26299
  39358. 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."
  39359. msgstr ""
  39360. #. type: item
  39361. #: guix-git/doc/guix.texi:26300
  39362. #, fuzzy, no-wrap
  39363. #| msgid "@code{chdir} (default: @code{#f})"
  39364. msgid "@code{csr} (default: @code{#f})"
  39365. msgstr "@code{chdir} (default: @code{#f})"
  39366. #. type: table
  39367. #: guix-git/doc/guix.texi:26307
  39368. 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."
  39369. msgstr ""
  39370. #. type: item
  39371. #: guix-git/doc/guix.texi:26308
  39372. #, no-wrap
  39373. msgid "@code{authentication-hook} (default: @code{#f})"
  39374. msgstr "@code{authentication-hook} (default: @code{#f})"
  39375. #. type: table
  39376. #: guix-git/doc/guix.texi:26314
  39377. 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."
  39378. msgstr ""
  39379. #. type: item
  39380. #: guix-git/doc/guix.texi:26315
  39381. #, no-wrap
  39382. msgid "@code{cleanup-hook} (default: @code{#f})"
  39383. msgstr "@code{cleanup-hook} (default: @code{#f})"
  39384. #. type: table
  39385. #: guix-git/doc/guix.texi:26321
  39386. 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."
  39387. msgstr ""
  39388. #. type: item
  39389. #: guix-git/doc/guix.texi:26322
  39390. #, no-wrap
  39391. msgid "@code{deploy-hook} (default: @code{#f})"
  39392. msgstr ""
  39393. #. type: table
  39394. #: guix-git/doc/guix.texi:26330
  39395. 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\"}."
  39396. msgstr ""
  39397. #. type: Plain text
  39398. #: guix-git/doc/guix.texi:26337
  39399. 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}."
  39400. msgstr ""
  39401. #. type: cindex
  39402. #: guix-git/doc/guix.texi:26339
  39403. #, no-wrap
  39404. msgid "DNS (domain name system)"
  39405. msgstr ""
  39406. #. type: cindex
  39407. #: guix-git/doc/guix.texi:26340
  39408. #, no-wrap
  39409. msgid "domain name system (DNS)"
  39410. msgstr ""
  39411. #. type: Plain text
  39412. #: guix-git/doc/guix.texi:26348
  39413. 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}."
  39414. msgstr ""
  39415. #. type: subsubheading
  39416. #: guix-git/doc/guix.texi:26349
  39417. #, no-wrap
  39418. msgid "Knot Service"
  39419. msgstr ""
  39420. #. type: Plain text
  39421. #: guix-git/doc/guix.texi:26353
  39422. msgid "An example configuration of an authoritative server for two zones, one master and one slave, is:"
  39423. msgstr ""
  39424. #. type: lisp
  39425. #: guix-git/doc/guix.texi:26360
  39426. #, no-wrap
  39427. msgid ""
  39428. "(define-zone-entries example.org.zone\n"
  39429. ";; Name TTL Class Type Data\n"
  39430. " (\"@@\" \"\" \"IN\" \"A\" \"127.0.0.1\")\n"
  39431. " (\"@@\" \"\" \"IN\" \"NS\" \"ns\")\n"
  39432. " (\"ns\" \"\" \"IN\" \"A\" \"127.0.0.1\"))\n"
  39433. "\n"
  39434. msgstr ""
  39435. #. type: lisp
  39436. #: guix-git/doc/guix.texi:26367
  39437. #, no-wrap
  39438. msgid ""
  39439. "(define master-zone\n"
  39440. " (knot-zone-configuration\n"
  39441. " (domain \"example.org\")\n"
  39442. " (zone (zone-file\n"
  39443. " (origin \"example.org\")\n"
  39444. " (entries example.org.zone)))))\n"
  39445. "\n"
  39446. msgstr ""
  39447. #. type: lisp
  39448. #: guix-git/doc/guix.texi:26373
  39449. #, no-wrap
  39450. msgid ""
  39451. "(define slave-zone\n"
  39452. " (knot-zone-configuration\n"
  39453. " (domain \"plop.org\")\n"
  39454. " (dnssec-policy \"default\")\n"
  39455. " (master (list \"plop-master\"))))\n"
  39456. "\n"
  39457. msgstr ""
  39458. #. type: lisp
  39459. #: guix-git/doc/guix.texi:26378
  39460. #, no-wrap
  39461. msgid ""
  39462. "(define plop-master\n"
  39463. " (knot-remote-configuration\n"
  39464. " (id \"plop-master\")\n"
  39465. " (address (list \"208.76.58.171\"))))\n"
  39466. "\n"
  39467. msgstr ""
  39468. #. type: lisp
  39469. #: guix-git/doc/guix.texi:26387
  39470. #, no-wrap
  39471. msgid ""
  39472. "(operating-system\n"
  39473. " ;; ...\n"
  39474. " (services (cons* (service knot-service-type\n"
  39475. " (knot-configuration\n"
  39476. " (remotes (list plop-master))\n"
  39477. " (zones (list master-zone slave-zone))))\n"
  39478. " ;; ...\n"
  39479. " %base-services)))\n"
  39480. msgstr ""
  39481. #. type: deffn
  39482. #: guix-git/doc/guix.texi:26389
  39483. #, no-wrap
  39484. msgid "{Scheme Variable} knot-service-type"
  39485. msgstr ""
  39486. #. type: deffn
  39487. #: guix-git/doc/guix.texi:26391
  39488. msgid "This is the type for the Knot DNS server."
  39489. msgstr ""
  39490. #. type: deffn
  39491. #: guix-git/doc/guix.texi:26399
  39492. 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."
  39493. msgstr ""
  39494. #. type: deffn
  39495. #: guix-git/doc/guix.texi:26401
  39496. msgid "The following data types are used to configure the Knot DNS server:"
  39497. msgstr ""
  39498. #. type: deftp
  39499. #: guix-git/doc/guix.texi:26403
  39500. #, no-wrap
  39501. msgid "{Data Type} knot-key-configuration"
  39502. msgstr ""
  39503. #. type: deftp
  39504. #: guix-git/doc/guix.texi:26406
  39505. msgid "Data type representing a key. This type has the following parameters:"
  39506. msgstr ""
  39507. #. type: item
  39508. #: guix-git/doc/guix.texi:26408 guix-git/doc/guix.texi:26428
  39509. #: guix-git/doc/guix.texi:26543 guix-git/doc/guix.texi:26569
  39510. #: guix-git/doc/guix.texi:26604
  39511. #, no-wrap
  39512. msgid "@code{id} (default: @code{\"\"})"
  39513. msgstr ""
  39514. #. type: table
  39515. #: guix-git/doc/guix.texi:26411 guix-git/doc/guix.texi:26431
  39516. msgid "An identifier for other configuration fields to refer to this key. IDs must be unique and must not be empty."
  39517. msgstr ""
  39518. #. type: item
  39519. #: guix-git/doc/guix.texi:26412
  39520. #, no-wrap
  39521. msgid "@code{algorithm} (default: @code{#f})"
  39522. msgstr "@code{algorithm} (default: @code{#f})"
  39523. #. type: table
  39524. #: guix-git/doc/guix.texi:26416
  39525. 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}."
  39526. msgstr ""
  39527. #. type: item
  39528. #: guix-git/doc/guix.texi:26417
  39529. #, no-wrap
  39530. msgid "@code{secret} (default: @code{\"\"})"
  39531. msgstr ""
  39532. #. type: table
  39533. #: guix-git/doc/guix.texi:26419
  39534. msgid "The secret key itself."
  39535. msgstr ""
  39536. #. type: deftp
  39537. #: guix-git/doc/guix.texi:26423
  39538. #, no-wrap
  39539. msgid "{Data Type} knot-acl-configuration"
  39540. msgstr ""
  39541. #. type: deftp
  39542. #: guix-git/doc/guix.texi:26426
  39543. msgid "Data type representing an Access Control List (ACL) configuration. This type has the following parameters:"
  39544. msgstr ""
  39545. #. type: item
  39546. #: guix-git/doc/guix.texi:26432 guix-git/doc/guix.texi:26547
  39547. #, no-wrap
  39548. msgid "@code{address} (default: @code{'()})"
  39549. msgstr ""
  39550. #. type: table
  39551. #: guix-git/doc/guix.texi:26436
  39552. 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."
  39553. msgstr ""
  39554. #. type: item
  39555. #: guix-git/doc/guix.texi:26437
  39556. #, no-wrap
  39557. msgid "@code{key} (default: @code{'()})"
  39558. msgstr ""
  39559. #. type: table
  39560. #: guix-git/doc/guix.texi:26441
  39561. 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."
  39562. msgstr ""
  39563. #. type: item
  39564. #: guix-git/doc/guix.texi:26442
  39565. #, no-wrap
  39566. msgid "@code{action} (default: @code{'()})"
  39567. msgstr ""
  39568. #. type: table
  39569. #: guix-git/doc/guix.texi:26446
  39570. 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}."
  39571. msgstr ""
  39572. #. type: item
  39573. #: guix-git/doc/guix.texi:26447
  39574. #, no-wrap
  39575. msgid "@code{deny?} (default: @code{#f})"
  39576. msgstr "@code{deny?} (padrão: @code{#f})"
  39577. #. type: table
  39578. #: guix-git/doc/guix.texi:26450
  39579. msgid "When true, the ACL defines restrictions. Listed actions are forbidden. When false, listed actions are allowed."
  39580. msgstr ""
  39581. #. type: deftp
  39582. #: guix-git/doc/guix.texi:26454
  39583. #, no-wrap
  39584. msgid "{Data Type} zone-entry"
  39585. msgstr ""
  39586. #. type: deftp
  39587. #: guix-git/doc/guix.texi:26457
  39588. msgid "Data type representing a record entry in a zone file. This type has the following parameters:"
  39589. msgstr ""
  39590. #. type: item
  39591. #: guix-git/doc/guix.texi:26459
  39592. #, no-wrap
  39593. msgid "@code{name} (default: @code{\"@@\"})"
  39594. msgstr ""
  39595. #. type: table
  39596. #: guix-git/doc/guix.texi:26465
  39597. 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}."
  39598. msgstr ""
  39599. #. type: item
  39600. #: guix-git/doc/guix.texi:26466
  39601. #, no-wrap
  39602. msgid "@code{ttl} (default: @code{\"\"})"
  39603. msgstr ""
  39604. #. type: table
  39605. #: guix-git/doc/guix.texi:26468
  39606. msgid "The Time-To-Live (TTL) of this record. If not set, the default TTL is used."
  39607. msgstr ""
  39608. #. type: item
  39609. #: guix-git/doc/guix.texi:26469
  39610. #, no-wrap
  39611. msgid "@code{class} (default: @code{\"IN\"})"
  39612. msgstr ""
  39613. #. type: table
  39614. #: guix-git/doc/guix.texi:26472
  39615. msgid "The class of the record. Knot currently supports only @code{\"IN\"} and partially @code{\"CH\"}."
  39616. msgstr ""
  39617. #. type: item
  39618. #: guix-git/doc/guix.texi:26473
  39619. #, no-wrap
  39620. msgid "@code{type} (default: @code{\"A\"})"
  39621. msgstr ""
  39622. #. type: table
  39623. #: guix-git/doc/guix.texi:26477
  39624. 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."
  39625. msgstr ""
  39626. #. type: item
  39627. #: guix-git/doc/guix.texi:26478
  39628. #, no-wrap
  39629. msgid "@code{data} (default: @code{\"\"})"
  39630. msgstr ""
  39631. #. type: table
  39632. #: guix-git/doc/guix.texi:26482
  39633. 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."
  39634. msgstr ""
  39635. #. type: deftp
  39636. #: guix-git/doc/guix.texi:26486
  39637. #, no-wrap
  39638. msgid "{Data Type} zone-file"
  39639. msgstr ""
  39640. #. type: deftp
  39641. #: guix-git/doc/guix.texi:26489
  39642. msgid "Data type representing the content of a zone file. This type has the following parameters:"
  39643. msgstr ""
  39644. #. type: table
  39645. #: guix-git/doc/guix.texi:26498
  39646. 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}."
  39647. msgstr ""
  39648. #. type: item
  39649. #: guix-git/doc/guix.texi:26499
  39650. #, no-wrap
  39651. msgid "@code{origin} (default: @code{\"\"})"
  39652. msgstr ""
  39653. #. type: table
  39654. #: guix-git/doc/guix.texi:26501
  39655. msgid "The name of your zone. This parameter cannot be empty."
  39656. msgstr ""
  39657. #. type: item
  39658. #: guix-git/doc/guix.texi:26502
  39659. #, no-wrap
  39660. msgid "@code{ns} (default: @code{\"ns\"})"
  39661. msgstr ""
  39662. #. type: table
  39663. #: guix-git/doc/guix.texi:26507
  39664. 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."
  39665. msgstr ""
  39666. #. type: item
  39667. #: guix-git/doc/guix.texi:26508
  39668. #, no-wrap
  39669. msgid "@code{mail} (default: @code{\"hostmaster\"})"
  39670. msgstr ""
  39671. #. type: table
  39672. #: guix-git/doc/guix.texi:26511
  39673. msgid "An email address people can contact you at, as the owner of the zone. This is translated as @code{<mail>@@<origin>}."
  39674. msgstr ""
  39675. #. type: item
  39676. #: guix-git/doc/guix.texi:26512
  39677. #, no-wrap
  39678. msgid "@code{serial} (default: @code{1})"
  39679. msgstr ""
  39680. #. type: table
  39681. #: guix-git/doc/guix.texi:26516
  39682. 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."
  39683. msgstr ""
  39684. #. type: item
  39685. #: guix-git/doc/guix.texi:26517
  39686. #, no-wrap
  39687. msgid "@code{refresh} (default: @code{(* 2 24 3600)})"
  39688. msgstr ""
  39689. #. type: table
  39690. #: guix-git/doc/guix.texi:26521
  39691. 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)}."
  39692. msgstr ""
  39693. #. type: item
  39694. #: guix-git/doc/guix.texi:26522
  39695. #, no-wrap
  39696. msgid "@code{retry} (default: @code{(* 15 60)})"
  39697. msgstr ""
  39698. #. type: table
  39699. #: guix-git/doc/guix.texi:26525
  39700. msgid "The period after which a slave will retry to contact its master when it fails to do so a first time."
  39701. msgstr ""
  39702. #. type: item
  39703. #: guix-git/doc/guix.texi:26526
  39704. #, no-wrap
  39705. msgid "@code{expiry} (default: @code{(* 14 24 3600)})"
  39706. msgstr ""
  39707. #. type: table
  39708. #: guix-git/doc/guix.texi:26530
  39709. 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."
  39710. msgstr ""
  39711. #. type: item
  39712. #: guix-git/doc/guix.texi:26531
  39713. #, no-wrap
  39714. msgid "@code{nx} (default: @code{3600})"
  39715. msgstr ""
  39716. #. type: table
  39717. #: guix-git/doc/guix.texi:26534
  39718. msgid "Default TTL of inexistent records. This delay is usually short because you want your new domains to reach everyone quickly."
  39719. msgstr ""
  39720. #. type: deftp
  39721. #: guix-git/doc/guix.texi:26538
  39722. #, no-wrap
  39723. msgid "{Data Type} knot-remote-configuration"
  39724. msgstr ""
  39725. #. type: deftp
  39726. #: guix-git/doc/guix.texi:26541
  39727. msgid "Data type representing a remote configuration. This type has the following parameters:"
  39728. msgstr ""
  39729. #. type: table
  39730. #: guix-git/doc/guix.texi:26546
  39731. msgid "An identifier for other configuration fields to refer to this remote. IDs must be unique and must not be empty."
  39732. msgstr ""
  39733. #. type: table
  39734. #: guix-git/doc/guix.texi:26551
  39735. 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."
  39736. msgstr ""
  39737. #. type: item
  39738. #: guix-git/doc/guix.texi:26552
  39739. #, no-wrap
  39740. msgid "@code{via} (default: @code{'()})"
  39741. msgstr ""
  39742. #. type: table
  39743. #: guix-git/doc/guix.texi:26556
  39744. 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."
  39745. msgstr ""
  39746. #. type: table
  39747. #: guix-git/doc/guix.texi:26560
  39748. msgid "A reference to a key, that is a string containing the identifier of a key defined in a @code{knot-key-configuration} field."
  39749. msgstr ""
  39750. #. type: deftp
  39751. #: guix-git/doc/guix.texi:26564
  39752. #, no-wrap
  39753. msgid "{Data Type} knot-keystore-configuration"
  39754. msgstr ""
  39755. #. type: deftp
  39756. #: guix-git/doc/guix.texi:26567
  39757. msgid "Data type representing a keystore to hold dnssec keys. This type has the following parameters:"
  39758. msgstr ""
  39759. #. type: table
  39760. #: guix-git/doc/guix.texi:26571
  39761. msgid "The id of the keystore. It must not be empty."
  39762. msgstr ""
  39763. #. type: item
  39764. #: guix-git/doc/guix.texi:26572
  39765. #, no-wrap
  39766. msgid "@code{backend} (default: @code{'pem})"
  39767. msgstr ""
  39768. #. type: table
  39769. #: guix-git/doc/guix.texi:26574
  39770. msgid "The backend to store the keys in. Can be @code{'pem} or @code{'pkcs11}."
  39771. msgstr ""
  39772. #. type: item
  39773. #: guix-git/doc/guix.texi:26575
  39774. #, no-wrap
  39775. msgid "@code{config} (default: @code{\"/var/lib/knot/keys/keys\"})"
  39776. msgstr ""
  39777. #. type: table
  39778. #: guix-git/doc/guix.texi:26579
  39779. 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."
  39780. msgstr ""
  39781. #. type: deftp
  39782. #: guix-git/doc/guix.texi:26583
  39783. #, no-wrap
  39784. msgid "{Data Type} knot-policy-configuration"
  39785. msgstr ""
  39786. #. type: deftp
  39787. #: guix-git/doc/guix.texi:26587
  39788. 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."
  39789. msgstr ""
  39790. #. type: deftp
  39791. #: guix-git/doc/guix.texi:26594
  39792. 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."
  39793. msgstr ""
  39794. #. type: deftp
  39795. #: guix-git/doc/guix.texi:26600
  39796. 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."
  39797. msgstr ""
  39798. #. type: deftp
  39799. #: guix-git/doc/guix.texi:26602
  39800. msgid "This type has the following parameters:"
  39801. msgstr ""
  39802. #. type: table
  39803. #: guix-git/doc/guix.texi:26606
  39804. msgid "The id of the policy. It must not be empty."
  39805. msgstr ""
  39806. #. type: item
  39807. #: guix-git/doc/guix.texi:26607
  39808. #, no-wrap
  39809. msgid "@code{keystore} (default: @code{\"default\"})"
  39810. msgstr ""
  39811. #. type: table
  39812. #: guix-git/doc/guix.texi:26612
  39813. 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)."
  39814. msgstr ""
  39815. #. type: item
  39816. #: guix-git/doc/guix.texi:26613
  39817. #, no-wrap
  39818. msgid "@code{manual?} (default: @code{#f})"
  39819. msgstr "@code{manual?} (default: @code{#f})"
  39820. #. type: table
  39821. #: guix-git/doc/guix.texi:26615
  39822. msgid "Whether the key management is manual or automatic."
  39823. msgstr ""
  39824. #. type: item
  39825. #: guix-git/doc/guix.texi:26616
  39826. #, no-wrap
  39827. msgid "@code{single-type-signing?} (default: @code{#f})"
  39828. msgstr ""
  39829. #. type: table
  39830. #: guix-git/doc/guix.texi:26618
  39831. msgid "When @code{#t}, use the Single-Type Signing Scheme."
  39832. msgstr ""
  39833. #. type: item
  39834. #: guix-git/doc/guix.texi:26619
  39835. #, no-wrap
  39836. msgid "@code{algorithm} (default: @code{\"ecdsap256sha256\"})"
  39837. msgstr ""
  39838. #. type: table
  39839. #: guix-git/doc/guix.texi:26621
  39840. msgid "An algorithm of signing keys and issued signatures."
  39841. msgstr ""
  39842. #. type: item
  39843. #: guix-git/doc/guix.texi:26622
  39844. #, no-wrap
  39845. msgid "@code{ksk-size} (default: @code{256})"
  39846. msgstr ""
  39847. #. type: table
  39848. #: guix-git/doc/guix.texi:26625
  39849. msgid "The length of the KSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  39850. msgstr ""
  39851. #. type: item
  39852. #: guix-git/doc/guix.texi:26626
  39853. #, no-wrap
  39854. msgid "@code{zsk-size} (default: @code{256})"
  39855. msgstr ""
  39856. #. type: table
  39857. #: guix-git/doc/guix.texi:26629
  39858. msgid "The length of the ZSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  39859. msgstr ""
  39860. #. type: item
  39861. #: guix-git/doc/guix.texi:26630
  39862. #, no-wrap
  39863. msgid "@code{dnskey-ttl} (default: @code{'default})"
  39864. msgstr ""
  39865. #. type: table
  39866. #: guix-git/doc/guix.texi:26633
  39867. msgid "The TTL value for DNSKEY records added into zone apex. The special @code{'default} value means same as the zone SOA TTL."
  39868. msgstr ""
  39869. #. type: item
  39870. #: guix-git/doc/guix.texi:26634
  39871. #, no-wrap
  39872. msgid "@code{zsk-lifetime} (default: @code{(* 30 24 3600)})"
  39873. msgstr ""
  39874. #. type: table
  39875. #: guix-git/doc/guix.texi:26636
  39876. msgid "The period between ZSK publication and the next rollover initiation."
  39877. msgstr ""
  39878. #. type: item
  39879. #: guix-git/doc/guix.texi:26637
  39880. #, no-wrap
  39881. msgid "@code{propagation-delay} (default: @code{(* 24 3600)})"
  39882. msgstr ""
  39883. #. type: table
  39884. #: guix-git/doc/guix.texi:26640
  39885. 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."
  39886. msgstr ""
  39887. #. type: item
  39888. #: guix-git/doc/guix.texi:26641
  39889. #, no-wrap
  39890. msgid "@code{rrsig-lifetime} (default: @code{(* 14 24 3600)})"
  39891. msgstr ""
  39892. #. type: table
  39893. #: guix-git/doc/guix.texi:26643
  39894. msgid "A validity period of newly issued signatures."
  39895. msgstr ""
  39896. #. type: item
  39897. #: guix-git/doc/guix.texi:26644
  39898. #, no-wrap
  39899. msgid "@code{rrsig-refresh} (default: @code{(* 7 24 3600)})"
  39900. msgstr ""
  39901. #. type: table
  39902. #: guix-git/doc/guix.texi:26646
  39903. msgid "A period how long before a signature expiration the signature will be refreshed."
  39904. msgstr ""
  39905. #. type: item
  39906. #: guix-git/doc/guix.texi:26647
  39907. #, no-wrap
  39908. msgid "@code{nsec3?} (default: @code{#f})"
  39909. msgstr "@code{nsec3?} (padrão: @code{#f})"
  39910. #. type: table
  39911. #: guix-git/doc/guix.texi:26649
  39912. msgid "When @code{#t}, NSEC3 will be used instead of NSEC."
  39913. msgstr ""
  39914. #. type: item
  39915. #: guix-git/doc/guix.texi:26650
  39916. #, no-wrap
  39917. msgid "@code{nsec3-iterations} (default: @code{5})"
  39918. msgstr ""
  39919. #. type: table
  39920. #: guix-git/doc/guix.texi:26652
  39921. msgid "The number of additional times the hashing is performed."
  39922. msgstr ""
  39923. #. type: item
  39924. #: guix-git/doc/guix.texi:26653
  39925. #, no-wrap
  39926. msgid "@code{nsec3-salt-length} (default: @code{8})"
  39927. msgstr ""
  39928. #. type: table
  39929. #: guix-git/doc/guix.texi:26656
  39930. msgid "The length of a salt field in octets, which is appended to the original owner name before hashing."
  39931. msgstr ""
  39932. #. type: item
  39933. #: guix-git/doc/guix.texi:26657
  39934. #, no-wrap
  39935. msgid "@code{nsec3-salt-lifetime} (default: @code{(* 30 24 3600)})"
  39936. msgstr ""
  39937. #. type: table
  39938. #: guix-git/doc/guix.texi:26659
  39939. msgid "The validity period of newly issued salt field."
  39940. msgstr ""
  39941. #. type: deftp
  39942. #: guix-git/doc/guix.texi:26663
  39943. #, no-wrap
  39944. msgid "{Data Type} knot-zone-configuration"
  39945. msgstr ""
  39946. #. type: deftp
  39947. #: guix-git/doc/guix.texi:26666
  39948. msgid "Data type representing a zone served by Knot. This type has the following parameters:"
  39949. msgstr ""
  39950. #. type: item
  39951. #: guix-git/doc/guix.texi:26668
  39952. #, no-wrap
  39953. msgid "@code{domain} (default: @code{\"\"})"
  39954. msgstr ""
  39955. #. type: table
  39956. #: guix-git/doc/guix.texi:26670
  39957. msgid "The domain served by this configuration. It must not be empty."
  39958. msgstr ""
  39959. #. type: item
  39960. #: guix-git/doc/guix.texi:26671
  39961. #, no-wrap
  39962. msgid "@code{file} (default: @code{\"\"})"
  39963. msgstr ""
  39964. #. type: table
  39965. #: guix-git/doc/guix.texi:26674
  39966. 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."
  39967. msgstr ""
  39968. #. type: item
  39969. #: guix-git/doc/guix.texi:26675
  39970. #, no-wrap
  39971. msgid "@code{zone} (default: @code{(zone-file)})"
  39972. msgstr ""
  39973. #. type: table
  39974. #: guix-git/doc/guix.texi:26678
  39975. msgid "The content of the zone file. This parameter is ignored by slave zones. It must contain a zone-file record."
  39976. msgstr ""
  39977. #. type: item
  39978. #: guix-git/doc/guix.texi:26679
  39979. #, no-wrap
  39980. msgid "@code{master} (default: @code{'()})"
  39981. msgstr ""
  39982. #. type: table
  39983. #: guix-git/doc/guix.texi:26682
  39984. 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."
  39985. msgstr ""
  39986. #. type: item
  39987. #: guix-git/doc/guix.texi:26683
  39988. #, no-wrap
  39989. msgid "@code{ddns-master} (default: @code{#f})"
  39990. msgstr ""
  39991. #. type: table
  39992. #: guix-git/doc/guix.texi:26686
  39993. msgid "The main master. When empty, it defaults to the first master in the list of masters."
  39994. msgstr ""
  39995. #. type: item
  39996. #: guix-git/doc/guix.texi:26687
  39997. #, no-wrap
  39998. msgid "@code{notify} (default: @code{'()})"
  39999. msgstr ""
  40000. #. type: table
  40001. #: guix-git/doc/guix.texi:26689
  40002. msgid "A list of slave remote identifiers."
  40003. msgstr ""
  40004. #. type: item
  40005. #: guix-git/doc/guix.texi:26690
  40006. #, no-wrap
  40007. msgid "@code{acl} (default: @code{'()})"
  40008. msgstr ""
  40009. #. type: table
  40010. #: guix-git/doc/guix.texi:26692
  40011. msgid "A list of acl identifiers."
  40012. msgstr ""
  40013. #. type: item
  40014. #: guix-git/doc/guix.texi:26693
  40015. #, no-wrap
  40016. msgid "@code{semantic-checks?} (default: @code{#f})"
  40017. msgstr ""
  40018. #. type: table
  40019. #: guix-git/doc/guix.texi:26695
  40020. msgid "When set, this adds more semantic checks to the zone."
  40021. msgstr ""
  40022. #. type: item
  40023. #: guix-git/doc/guix.texi:26696
  40024. #, no-wrap
  40025. msgid "@code{disable-any?} (default: @code{#f})"
  40026. msgstr ""
  40027. #. type: table
  40028. #: guix-git/doc/guix.texi:26698
  40029. msgid "When set, this forbids queries of the ANY type."
  40030. msgstr ""
  40031. #. type: item
  40032. #: guix-git/doc/guix.texi:26699
  40033. #, no-wrap
  40034. msgid "@code{zonefile-sync} (default: @code{0})"
  40035. msgstr ""
  40036. #. type: table
  40037. #: guix-git/doc/guix.texi:26702
  40038. msgid "The delay between a modification in memory and on disk. 0 means immediate synchronization."
  40039. msgstr ""
  40040. #. type: item
  40041. #: guix-git/doc/guix.texi:26703
  40042. #, no-wrap
  40043. msgid "@code{zonefile-load} (default: @code{#f})"
  40044. msgstr "@code{zonefile-load} (default: @code{#f})"
  40045. #. type: table
  40046. #: guix-git/doc/guix.texi:26706
  40047. msgid "The way the zone file contents are applied during zone load. Possible values are:"
  40048. msgstr ""
  40049. #. type: item
  40050. #: guix-git/doc/guix.texi:26708
  40051. #, no-wrap
  40052. msgid "@code{#f} for using the default value from Knot,"
  40053. msgstr ""
  40054. #. type: item
  40055. #: guix-git/doc/guix.texi:26709
  40056. #, no-wrap
  40057. msgid "@code{'none} for not using the zone file at all,"
  40058. msgstr ""
  40059. #. type: item
  40060. #: guix-git/doc/guix.texi:26710
  40061. #, no-wrap
  40062. msgid "@code{'difference} for computing the difference between already available"
  40063. msgstr ""
  40064. #. type: itemize
  40065. #: guix-git/doc/guix.texi:26712
  40066. msgid "contents and zone contents and applying it to the current zone contents,"
  40067. msgstr ""
  40068. #. type: item
  40069. #: guix-git/doc/guix.texi:26712
  40070. #, no-wrap
  40071. msgid "@code{'difference-no-serial} for the same as @code{'difference}, but"
  40072. msgstr ""
  40073. #. type: itemize
  40074. #: guix-git/doc/guix.texi:26715
  40075. msgid "ignoring the SOA serial in the zone file, while the server takes care of it automatically."
  40076. msgstr ""
  40077. #. type: item
  40078. #: guix-git/doc/guix.texi:26715
  40079. #, no-wrap
  40080. msgid "@code{'whole} for loading zone contents from the zone file."
  40081. msgstr ""
  40082. #. type: item
  40083. #: guix-git/doc/guix.texi:26718
  40084. #, no-wrap
  40085. msgid "@code{journal-content} (default: @code{#f})"
  40086. msgstr ""
  40087. #. type: table
  40088. #: guix-git/doc/guix.texi:26723
  40089. 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."
  40090. msgstr ""
  40091. #. type: item
  40092. #: guix-git/doc/guix.texi:26724
  40093. #, no-wrap
  40094. msgid "@code{max-journal-usage} (default: @code{#f})"
  40095. msgstr "@code{max-journal-usage} (default: @code{#f})"
  40096. #. type: table
  40097. #: guix-git/doc/guix.texi:26727
  40098. msgid "The maximum size for the journal on disk. @code{#f} does not set this option, so the default value from Knot is used."
  40099. msgstr ""
  40100. #. type: item
  40101. #: guix-git/doc/guix.texi:26728
  40102. #, no-wrap
  40103. msgid "@code{max-journal-depth} (default: @code{#f})"
  40104. msgstr "@code{max-journal-depth} (default: @code{#f})"
  40105. #. type: table
  40106. #: guix-git/doc/guix.texi:26731
  40107. msgid "The maximum size of the history. @code{#f} does not set this option, so the default value from Knot is used."
  40108. msgstr ""
  40109. #. type: item
  40110. #: guix-git/doc/guix.texi:26732
  40111. #, no-wrap
  40112. msgid "@code{max-zone-size} (default: @code{#f})"
  40113. msgstr "@code{max-zone-size} (default: @code{#f})"
  40114. #. type: table
  40115. #: guix-git/doc/guix.texi:26736
  40116. 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."
  40117. msgstr ""
  40118. #. type: item
  40119. #: guix-git/doc/guix.texi:26737
  40120. #, no-wrap
  40121. msgid "@code{dnssec-policy} (default: @code{#f})"
  40122. msgstr "@code{dnssec-policy} (default: @code{#f})"
  40123. #. type: table
  40124. #: guix-git/doc/guix.texi:26741
  40125. 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."
  40126. msgstr ""
  40127. #. type: item
  40128. #: guix-git/doc/guix.texi:26742
  40129. #, no-wrap
  40130. msgid "@code{serial-policy} (default: @code{'increment})"
  40131. msgstr ""
  40132. #. type: table
  40133. #: guix-git/doc/guix.texi:26744
  40134. msgid "A policy between @code{'increment} and @code{'unixtime}."
  40135. msgstr ""
  40136. #. type: deftp
  40137. #: guix-git/doc/guix.texi:26748
  40138. #, no-wrap
  40139. msgid "{Data Type} knot-configuration"
  40140. msgstr ""
  40141. #. type: deftp
  40142. #: guix-git/doc/guix.texi:26751
  40143. msgid "Data type representing the Knot configuration. This type has the following parameters:"
  40144. msgstr ""
  40145. #. type: item
  40146. #: guix-git/doc/guix.texi:26753
  40147. #, no-wrap
  40148. msgid "@code{knot} (default: @code{knot})"
  40149. msgstr ""
  40150. #. type: table
  40151. #: guix-git/doc/guix.texi:26755
  40152. msgid "The Knot package."
  40153. msgstr ""
  40154. #. type: item
  40155. #: guix-git/doc/guix.texi:26756
  40156. #, no-wrap
  40157. msgid "@code{run-directory} (default: @code{\"/var/run/knot\"})"
  40158. msgstr ""
  40159. #. type: table
  40160. #: guix-git/doc/guix.texi:26758
  40161. msgid "The run directory. This directory will be used for pid file and sockets."
  40162. msgstr ""
  40163. #. type: item
  40164. #: guix-git/doc/guix.texi:26759
  40165. #, no-wrap
  40166. msgid "@code{includes} (default: @code{'()})"
  40167. msgstr ""
  40168. #. type: table
  40169. #: guix-git/doc/guix.texi:26762
  40170. msgid "A list of strings or file-like objects denoting other files that must be included at the top of the configuration file."
  40171. msgstr ""
  40172. #. type: cindex
  40173. #: guix-git/doc/guix.texi:26763
  40174. #, no-wrap
  40175. msgid "secrets, Knot service"
  40176. msgstr ""
  40177. #. type: table
  40178. #: guix-git/doc/guix.texi:26769
  40179. 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."
  40180. msgstr ""
  40181. #. type: table
  40182. #: guix-git/doc/guix.texi:26774
  40183. 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:"
  40184. msgstr ""
  40185. #. type: example
  40186. #: guix-git/doc/guix.texi:26778
  40187. #, no-wrap
  40188. msgid ""
  40189. "keymgr -t mysecret > /etc/knot/secrets.conf\n"
  40190. "chmod 600 /etc/knot/secrets.conf\n"
  40191. msgstr ""
  40192. #. type: table
  40193. #: guix-git/doc/guix.texi:26784
  40194. 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."
  40195. msgstr ""
  40196. #. type: table
  40197. #: guix-git/doc/guix.texi:26786
  40198. msgid "It can also be used to add configuration not supported by this interface."
  40199. msgstr ""
  40200. #. type: item
  40201. #: guix-git/doc/guix.texi:26787
  40202. #, no-wrap
  40203. msgid "@code{listen-v4} (default: @code{\"0.0.0.0\"})"
  40204. msgstr ""
  40205. #. type: table
  40206. #: guix-git/doc/guix.texi:26789 guix-git/doc/guix.texi:26792
  40207. msgid "An ip address on which to listen."
  40208. msgstr ""
  40209. #. type: item
  40210. #: guix-git/doc/guix.texi:26790
  40211. #, no-wrap
  40212. msgid "@code{listen-v6} (default: @code{\"::\"})"
  40213. msgstr ""
  40214. #. type: item
  40215. #: guix-git/doc/guix.texi:26793
  40216. #, no-wrap
  40217. msgid "@code{listen-port} (default: @code{53})"
  40218. msgstr ""
  40219. #. type: table
  40220. #: guix-git/doc/guix.texi:26795
  40221. msgid "A port on which to listen."
  40222. msgstr ""
  40223. #. type: item
  40224. #: guix-git/doc/guix.texi:26796
  40225. #, no-wrap
  40226. msgid "@code{keys} (default: @code{'()})"
  40227. msgstr ""
  40228. #. type: table
  40229. #: guix-git/doc/guix.texi:26798
  40230. msgid "The list of knot-key-configuration used by this configuration."
  40231. msgstr ""
  40232. #. type: item
  40233. #: guix-git/doc/guix.texi:26799
  40234. #, no-wrap
  40235. msgid "@code{acls} (default: @code{'()})"
  40236. msgstr ""
  40237. #. type: table
  40238. #: guix-git/doc/guix.texi:26801
  40239. msgid "The list of knot-acl-configuration used by this configuration."
  40240. msgstr ""
  40241. #. type: item
  40242. #: guix-git/doc/guix.texi:26802
  40243. #, no-wrap
  40244. msgid "@code{remotes} (default: @code{'()})"
  40245. msgstr ""
  40246. #. type: table
  40247. #: guix-git/doc/guix.texi:26804
  40248. msgid "The list of knot-remote-configuration used by this configuration."
  40249. msgstr ""
  40250. #. type: item
  40251. #: guix-git/doc/guix.texi:26805
  40252. #, no-wrap
  40253. msgid "@code{zones} (default: @code{'()})"
  40254. msgstr ""
  40255. #. type: table
  40256. #: guix-git/doc/guix.texi:26807
  40257. msgid "The list of knot-zone-configuration used by this configuration."
  40258. msgstr ""
  40259. #. type: subsubheading
  40260. #: guix-git/doc/guix.texi:26811
  40261. #, no-wrap
  40262. msgid "Knot Resolver Service"
  40263. msgstr ""
  40264. #. type: deffn
  40265. #: guix-git/doc/guix.texi:26813
  40266. #, no-wrap
  40267. msgid "{Scheme Variable} knot-resolver-service-type"
  40268. msgstr ""
  40269. #. type: deffn
  40270. #: guix-git/doc/guix.texi:26816
  40271. msgid "This is the type of the knot resolver service, whose value should be an @code{knot-resolver-configuration} object as in this example:"
  40272. msgstr ""
  40273. #. type: lisp
  40274. #: guix-git/doc/guix.texi:26826
  40275. #, no-wrap
  40276. msgid ""
  40277. "(service knot-resolver-service-type\n"
  40278. " (knot-resolver-configuration\n"
  40279. " (kresd-config-file (plain-file \"kresd.conf\" \"\n"
  40280. "net.listen('192.168.0.1', 5353)\n"
  40281. "user('knot-resolver', 'knot-resolver')\n"
  40282. "modules = @{ 'hints > iterate', 'stats', 'predict' @}\n"
  40283. "cache.size = 100 * MB\n"
  40284. "\"))))\n"
  40285. msgstr ""
  40286. #. type: deffn
  40287. #: guix-git/doc/guix.texi:26829
  40288. msgid "For more information, refer its @url{https://knot-resolver.readthedocs.org/en/stable/daemon.html#configuration, manual}."
  40289. msgstr ""
  40290. #. type: deftp
  40291. #: guix-git/doc/guix.texi:26831
  40292. #, no-wrap
  40293. msgid "{Data Type} knot-resolver-configuration"
  40294. msgstr ""
  40295. #. type: deftp
  40296. #: guix-git/doc/guix.texi:26833
  40297. msgid "Data type representing the configuration of knot-resolver."
  40298. msgstr ""
  40299. #. type: item
  40300. #: guix-git/doc/guix.texi:26835
  40301. #, no-wrap
  40302. msgid "@code{package} (default: @var{knot-resolver})"
  40303. msgstr ""
  40304. #. type: table
  40305. #: guix-git/doc/guix.texi:26837
  40306. msgid "Package object of the knot DNS resolver."
  40307. msgstr ""
  40308. #. type: item
  40309. #: guix-git/doc/guix.texi:26838
  40310. #, no-wrap
  40311. msgid "@code{kresd-config-file} (default: %kresd.conf)"
  40312. msgstr ""
  40313. #. type: table
  40314. #: guix-git/doc/guix.texi:26841
  40315. 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}."
  40316. msgstr ""
  40317. #. type: item
  40318. #: guix-git/doc/guix.texi:26842
  40319. #, no-wrap
  40320. msgid "@code{garbage-collection-interval} (default: 1000)"
  40321. msgstr ""
  40322. #. type: table
  40323. #: guix-git/doc/guix.texi:26844
  40324. msgid "Number of milliseconds for @code{kres-cache-gc} to periodically trim the cache."
  40325. msgstr ""
  40326. #. type: subsubheading
  40327. #: guix-git/doc/guix.texi:26849
  40328. #, no-wrap
  40329. msgid "Dnsmasq Service"
  40330. msgstr ""
  40331. #. type: deffn
  40332. #: guix-git/doc/guix.texi:26851
  40333. #, no-wrap
  40334. msgid "{Scheme Variable} dnsmasq-service-type"
  40335. msgstr ""
  40336. #. type: deffn
  40337. #: guix-git/doc/guix.texi:26854
  40338. msgid "This is the type of the dnsmasq service, whose value should be an @code{dnsmasq-configuration} object as in this example:"
  40339. msgstr ""
  40340. #. type: lisp
  40341. #: guix-git/doc/guix.texi:26860
  40342. #, no-wrap
  40343. msgid ""
  40344. "(service dnsmasq-service-type\n"
  40345. " (dnsmasq-configuration\n"
  40346. " (no-resolv? #t)\n"
  40347. " (servers '(\"192.168.1.1\"))))\n"
  40348. msgstr ""
  40349. #. type: deftp
  40350. #: guix-git/doc/guix.texi:26863
  40351. #, no-wrap
  40352. msgid "{Data Type} dnsmasq-configuration"
  40353. msgstr ""
  40354. #. type: deftp
  40355. #: guix-git/doc/guix.texi:26865
  40356. msgid "Data type representing the configuration of dnsmasq."
  40357. msgstr ""
  40358. #. type: item
  40359. #: guix-git/doc/guix.texi:26867
  40360. #, no-wrap
  40361. msgid "@code{package} (default: @var{dnsmasq})"
  40362. msgstr ""
  40363. #. type: table
  40364. #: guix-git/doc/guix.texi:26869
  40365. msgid "Package object of the dnsmasq server."
  40366. msgstr ""
  40367. #. type: item
  40368. #: guix-git/doc/guix.texi:26870
  40369. #, no-wrap
  40370. msgid "@code{no-hosts?} (default: @code{#f})"
  40371. msgstr "@code{no-hosts?} (padrão: @code{#f})"
  40372. #. type: table
  40373. #: guix-git/doc/guix.texi:26872
  40374. msgid "When true, don't read the hostnames in /etc/hosts."
  40375. msgstr ""
  40376. #. type: item
  40377. #: guix-git/doc/guix.texi:26873
  40378. #, no-wrap
  40379. msgid "@code{port} (default: @code{53})"
  40380. msgstr "@code{porta} (default: @code{53})"
  40381. #. type: table
  40382. #: guix-git/doc/guix.texi:26876
  40383. msgid "The port to listen on. Setting this to zero completely disables DNS responses, leaving only DHCP and/or TFTP functions."
  40384. msgstr ""
  40385. #. type: item
  40386. #: guix-git/doc/guix.texi:26877
  40387. #, no-wrap
  40388. msgid "@code{local-service?} (default: @code{#t})"
  40389. msgstr "@code{local-service?} (default: @code{#t})"
  40390. #. type: table
  40391. #: guix-git/doc/guix.texi:26880
  40392. 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."
  40393. msgstr ""
  40394. #. type: item
  40395. #: guix-git/doc/guix.texi:26881
  40396. #, no-wrap
  40397. msgid "@code{listen-addresses} (default: @code{'()})"
  40398. msgstr ""
  40399. #. type: table
  40400. #: guix-git/doc/guix.texi:26883
  40401. msgid "Listen on the given IP addresses."
  40402. msgstr ""
  40403. #. type: item
  40404. #: guix-git/doc/guix.texi:26884
  40405. #, no-wrap
  40406. msgid "@code{resolv-file} (default: @code{\"/etc/resolv.conf\"})"
  40407. msgstr ""
  40408. #. type: table
  40409. #: guix-git/doc/guix.texi:26886
  40410. msgid "The file to read the IP address of the upstream nameservers from."
  40411. msgstr ""
  40412. #. type: item
  40413. #: guix-git/doc/guix.texi:26887
  40414. #, no-wrap
  40415. msgid "@code{no-resolv?} (default: @code{#f})"
  40416. msgstr "@code{no-resolv?} (padrão: @code{#f})"
  40417. #. type: table
  40418. #: guix-git/doc/guix.texi:26889
  40419. msgid "When true, don't read @var{resolv-file}."
  40420. msgstr ""
  40421. #. type: item
  40422. #: guix-git/doc/guix.texi:26890
  40423. #, no-wrap
  40424. msgid "@code{servers} (default: @code{'()})"
  40425. msgstr ""
  40426. #. type: table
  40427. #: guix-git/doc/guix.texi:26892
  40428. msgid "Specify IP address of upstream servers directly."
  40429. msgstr ""
  40430. #. type: item
  40431. #: guix-git/doc/guix.texi:26893
  40432. #, no-wrap
  40433. msgid "@code{addresses} (default: @code{'()})"
  40434. msgstr ""
  40435. #. type: table
  40436. #: guix-git/doc/guix.texi:26897
  40437. 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."
  40438. msgstr ""
  40439. #. type: table
  40440. #: guix-git/doc/guix.texi:26899
  40441. msgid "This is useful for redirecting hosts locally, for example:"
  40442. msgstr ""
  40443. #. type: lisp
  40444. #: guix-git/doc/guix.texi:26908
  40445. #, no-wrap
  40446. msgid ""
  40447. "(service dnsmasq-service-type\n"
  40448. " (dnsmasq-configuration\n"
  40449. " (addresses\n"
  40450. " '(; Redirect to a local web-server.\n"
  40451. " \"/example.org/127.0.0.1\"\n"
  40452. " ; Redirect subdomain to a specific IP.\n"
  40453. " \"/subdomain.example.org/192.168.1.42\"))))\n"
  40454. msgstr ""
  40455. #. type: table
  40456. #: guix-git/doc/guix.texi:26911
  40457. msgid "Note that rules in @file{/etc/hosts} take precedence over this."
  40458. msgstr ""
  40459. #. type: item
  40460. #: guix-git/doc/guix.texi:26912
  40461. #, no-wrap
  40462. msgid "@code{cache-size} (default: @code{150})"
  40463. msgstr "@code{cache-size} (default: @code{150})"
  40464. #. type: table
  40465. #: guix-git/doc/guix.texi:26915
  40466. msgid "Set the size of dnsmasq's cache. Setting the cache size to zero disables caching."
  40467. msgstr ""
  40468. #. type: item
  40469. #: guix-git/doc/guix.texi:26916
  40470. #, no-wrap
  40471. msgid "@code{negative-cache?} (default: @code{#t})"
  40472. msgstr "@code{negative-cache?} (padrão: @code{#t})"
  40473. #. type: table
  40474. #: guix-git/doc/guix.texi:26918
  40475. msgid "When false, disable negative caching."
  40476. msgstr ""
  40477. #. type: item
  40478. #: guix-git/doc/guix.texi:26919
  40479. #, no-wrap
  40480. msgid "@code{tftp-enable?} (default: @code{#f})"
  40481. msgstr ""
  40482. #. type: table
  40483. #: guix-git/doc/guix.texi:26921
  40484. msgid "Whether to enable the built-in TFTP server."
  40485. msgstr ""
  40486. #. type: item
  40487. #: guix-git/doc/guix.texi:26922
  40488. #, no-wrap
  40489. msgid "@code{tftp-no-fail?} (default: @code{#f})"
  40490. msgstr ""
  40491. #. type: table
  40492. #: guix-git/doc/guix.texi:26924
  40493. msgid "If true, does not fail dnsmasq if the TFTP server could not start up."
  40494. msgstr ""
  40495. #. type: item
  40496. #: guix-git/doc/guix.texi:26925
  40497. #, no-wrap
  40498. msgid "@code{tftp-single-port?} (default: @code{#f})"
  40499. msgstr ""
  40500. #. type: table
  40501. #: guix-git/doc/guix.texi:26927
  40502. msgid "Whether to use only one single port for TFTP."
  40503. msgstr ""
  40504. #. type: item
  40505. #: guix-git/doc/guix.texi:26928
  40506. #, no-wrap
  40507. msgid "@code{tftp-secure?} (default: @code{#f})"
  40508. msgstr ""
  40509. #. type: table
  40510. #: guix-git/doc/guix.texi:26930
  40511. msgid "If true, only files owned by the user running the dnsmasq process are accessible."
  40512. msgstr ""
  40513. #. type: table
  40514. #: guix-git/doc/guix.texi:26934
  40515. 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."
  40516. msgstr ""
  40517. #. type: item
  40518. #: guix-git/doc/guix.texi:26935
  40519. #, no-wrap
  40520. msgid "@code{tftp-max} (default: @code{#f})"
  40521. msgstr ""
  40522. #. type: table
  40523. #: guix-git/doc/guix.texi:26937
  40524. msgid "If set, sets the maximal number of concurrent connections allowed."
  40525. msgstr ""
  40526. #. type: item
  40527. #: guix-git/doc/guix.texi:26938
  40528. #, no-wrap
  40529. msgid "@code{tftp-mtu} (default: @code{#f})"
  40530. msgstr ""
  40531. #. type: table
  40532. #: guix-git/doc/guix.texi:26940
  40533. msgid "If set, sets the MTU for TFTP packets to that value."
  40534. msgstr ""
  40535. #. type: item
  40536. #: guix-git/doc/guix.texi:26941
  40537. #, no-wrap
  40538. msgid "@code{tftp-no-blocksize?} (default: @code{#f})"
  40539. msgstr ""
  40540. #. type: table
  40541. #: guix-git/doc/guix.texi:26943
  40542. msgid "If true, stops the TFTP server from negotiating the blocksize with a client."
  40543. msgstr ""
  40544. #. type: item
  40545. #: guix-git/doc/guix.texi:26944
  40546. #, no-wrap
  40547. msgid "@code{tftp-lowercase?} (default: @code{#f})"
  40548. msgstr ""
  40549. #. type: table
  40550. #: guix-git/doc/guix.texi:26946
  40551. msgid "Whether to convert all filenames in TFTP requests to lowercase."
  40552. msgstr ""
  40553. #. type: item
  40554. #: guix-git/doc/guix.texi:26947
  40555. #, no-wrap
  40556. msgid "@code{tftp-port-range} (default: @code{#f})"
  40557. msgstr ""
  40558. #. type: table
  40559. #: guix-git/doc/guix.texi:26950
  40560. msgid "If set, fixes the dynamical ports (one per client) to the given range (@code{\"<start>,<end>\"})."
  40561. msgstr ""
  40562. #. type: item
  40563. #: guix-git/doc/guix.texi:26951
  40564. #, no-wrap
  40565. msgid "@code{tftp-root} (default: @code{/var/empty,lo})"
  40566. msgstr ""
  40567. #. type: table
  40568. #: guix-git/doc/guix.texi:26958
  40569. 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."
  40570. msgstr ""
  40571. #. type: item
  40572. #: guix-git/doc/guix.texi:26959
  40573. #, no-wrap
  40574. msgid "@code{tftp-unique-root} (default: @code{#f})"
  40575. msgstr ""
  40576. #. type: table
  40577. #: guix-git/doc/guix.texi:26964
  40578. 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)."
  40579. msgstr ""
  40580. #. type: table
  40581. #: guix-git/doc/guix.texi:26973
  40582. 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."
  40583. msgstr ""
  40584. #. type: subsubheading
  40585. #: guix-git/doc/guix.texi:26977
  40586. #, no-wrap
  40587. msgid "ddclient Service"
  40588. msgstr ""
  40589. #. type: cindex
  40590. #: guix-git/doc/guix.texi:26979
  40591. #, no-wrap
  40592. msgid "ddclient"
  40593. msgstr ""
  40594. #. type: Plain text
  40595. #: guix-git/doc/guix.texi:26983
  40596. 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}."
  40597. msgstr ""
  40598. #. type: Plain text
  40599. #: guix-git/doc/guix.texi:26986
  40600. msgid "The following example show instantiates the service with its default configuration:"
  40601. msgstr ""
  40602. #. type: lisp
  40603. #: guix-git/doc/guix.texi:26989
  40604. #, no-wrap
  40605. msgid "(service ddclient-service-type)\n"
  40606. msgstr ""
  40607. #. type: Plain text
  40608. #: guix-git/doc/guix.texi:26998
  40609. 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."
  40610. msgstr ""
  40611. #. type: Plain text
  40612. #: guix-git/doc/guix.texi:27002
  40613. msgid "Available @code{ddclient-configuration} fields are:"
  40614. msgstr ""
  40615. #. type: deftypevr
  40616. #: guix-git/doc/guix.texi:27003
  40617. #, no-wrap
  40618. msgid "{@code{ddclient-configuration} parameter} package ddclient"
  40619. msgstr ""
  40620. #. type: deftypevr
  40621. #: guix-git/doc/guix.texi:27005
  40622. msgid "The ddclient package."
  40623. msgstr ""
  40624. #. type: deftypevr
  40625. #: guix-git/doc/guix.texi:27008
  40626. #, no-wrap
  40627. msgid "{@code{ddclient-configuration} parameter} integer daemon"
  40628. msgstr ""
  40629. #. type: deftypevr
  40630. #: guix-git/doc/guix.texi:27010
  40631. msgid "The period after which ddclient will retry to check IP and domain name."
  40632. msgstr ""
  40633. #. type: deftypevr
  40634. #: guix-git/doc/guix.texi:27015
  40635. #, no-wrap
  40636. msgid "{@code{ddclient-configuration} parameter} boolean syslog"
  40637. msgstr ""
  40638. #. type: deftypevr
  40639. #: guix-git/doc/guix.texi:27017
  40640. msgid "Use syslog for the output."
  40641. msgstr ""
  40642. #. type: deftypevr
  40643. #: guix-git/doc/guix.texi:27022
  40644. #, no-wrap
  40645. msgid "{@code{ddclient-configuration} parameter} string mail"
  40646. msgstr ""
  40647. #. type: deftypevr
  40648. #: guix-git/doc/guix.texi:27024
  40649. msgid "Mail to user."
  40650. msgstr ""
  40651. #. type: deftypevr
  40652. #: guix-git/doc/guix.texi:27026 guix-git/doc/guix.texi:27033
  40653. #: guix-git/doc/guix.texi:28829
  40654. msgid "Defaults to @samp{\"root\"}."
  40655. msgstr ""
  40656. #. type: deftypevr
  40657. #: guix-git/doc/guix.texi:27029
  40658. #, no-wrap
  40659. msgid "{@code{ddclient-configuration} parameter} string mail-failure"
  40660. msgstr ""
  40661. #. type: deftypevr
  40662. #: guix-git/doc/guix.texi:27031
  40663. msgid "Mail failed update to user."
  40664. msgstr ""
  40665. #. type: deftypevr
  40666. #: guix-git/doc/guix.texi:27036
  40667. #, no-wrap
  40668. msgid "{@code{ddclient-configuration} parameter} string pid"
  40669. msgstr ""
  40670. #. type: deftypevr
  40671. #: guix-git/doc/guix.texi:27038
  40672. msgid "The ddclient PID file."
  40673. msgstr ""
  40674. #. type: deftypevr
  40675. #: guix-git/doc/guix.texi:27040
  40676. msgid "Defaults to @samp{\"/var/run/ddclient/ddclient.pid\"}."
  40677. msgstr ""
  40678. #. type: deftypevr
  40679. #: guix-git/doc/guix.texi:27043
  40680. #, no-wrap
  40681. msgid "{@code{ddclient-configuration} parameter} boolean ssl"
  40682. msgstr ""
  40683. #. type: deftypevr
  40684. #: guix-git/doc/guix.texi:27045
  40685. msgid "Enable SSL support."
  40686. msgstr ""
  40687. #. type: deftypevr
  40688. #: guix-git/doc/guix.texi:27050
  40689. #, no-wrap
  40690. msgid "{@code{ddclient-configuration} parameter} string user"
  40691. msgstr ""
  40692. #. type: deftypevr
  40693. #: guix-git/doc/guix.texi:27053
  40694. msgid "Specifies the user name or ID that is used when running ddclient program."
  40695. msgstr ""
  40696. #. type: deftypevr
  40697. #: guix-git/doc/guix.texi:27055 guix-git/doc/guix.texi:27062
  40698. msgid "Defaults to @samp{\"ddclient\"}."
  40699. msgstr ""
  40700. #. type: deftypevr
  40701. #: guix-git/doc/guix.texi:27058
  40702. #, no-wrap
  40703. msgid "{@code{ddclient-configuration} parameter} string group"
  40704. msgstr ""
  40705. #. type: deftypevr
  40706. #: guix-git/doc/guix.texi:27060
  40707. msgid "Group of the user who will run the ddclient program."
  40708. msgstr ""
  40709. #. type: deftypevr
  40710. #: guix-git/doc/guix.texi:27065
  40711. #, no-wrap
  40712. msgid "{@code{ddclient-configuration} parameter} string secret-file"
  40713. msgstr ""
  40714. #. type: deftypevr
  40715. #: guix-git/doc/guix.texi:27069
  40716. 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."
  40717. msgstr ""
  40718. #. type: deftypevr
  40719. #: guix-git/doc/guix.texi:27071
  40720. msgid "Defaults to @samp{\"/etc/ddclient/secrets.conf\"}."
  40721. msgstr ""
  40722. #. type: deftypevr
  40723. #: guix-git/doc/guix.texi:27074
  40724. #, no-wrap
  40725. msgid "{@code{ddclient-configuration} parameter} list extra-options"
  40726. msgstr ""
  40727. #. type: deftypevr
  40728. #: guix-git/doc/guix.texi:27076
  40729. msgid "Extra options will be appended to @file{ddclient.conf} file."
  40730. msgstr ""
  40731. #. type: cindex
  40732. #: guix-git/doc/guix.texi:27087
  40733. #, no-wrap
  40734. msgid "VPN (virtual private network)"
  40735. msgstr ""
  40736. #. type: cindex
  40737. #: guix-git/doc/guix.texi:27088
  40738. #, no-wrap
  40739. msgid "virtual private network (VPN)"
  40740. msgstr ""
  40741. #. type: Plain text
  40742. #: guix-git/doc/guix.texi:27092
  40743. msgid "The @code{(gnu services vpn)} module provides services related to @dfn{virtual private networks} (VPNs)."
  40744. msgstr ""
  40745. #. type: subsubheading
  40746. #: guix-git/doc/guix.texi:27093
  40747. #, no-wrap
  40748. msgid "Bitmask"
  40749. msgstr ""
  40750. #. type: defvr
  40751. #: guix-git/doc/guix.texi:27095
  40752. #, fuzzy, no-wrap
  40753. msgid "{Scheme Variable} bitmask-service-type"
  40754. msgstr "guix-publish-service-type"
  40755. #. type: defvr
  40756. #: guix-git/doc/guix.texi:27100
  40757. 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."
  40758. msgstr ""
  40759. #. type: subsubheading
  40760. #: guix-git/doc/guix.texi:27102
  40761. #, no-wrap
  40762. msgid "OpenVPN"
  40763. msgstr ""
  40764. #. type: Plain text
  40765. #: guix-git/doc/guix.texi:27106
  40766. 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@."
  40767. msgstr ""
  40768. #. type: deffn
  40769. #: guix-git/doc/guix.texi:27107
  40770. #, no-wrap
  40771. msgid "{Scheme Procedure} openvpn-client-service @"
  40772. msgstr ""
  40773. #. type: deffn
  40774. #: guix-git/doc/guix.texi:27109
  40775. msgid "[#:config (openvpn-client-configuration)]"
  40776. msgstr ""
  40777. #. type: deffn
  40778. #: guix-git/doc/guix.texi:27111
  40779. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a client."
  40780. msgstr ""
  40781. #. type: deffn
  40782. #: guix-git/doc/guix.texi:27113
  40783. #, no-wrap
  40784. msgid "{Scheme Procedure} openvpn-server-service @"
  40785. msgstr ""
  40786. #. type: deffn
  40787. #: guix-git/doc/guix.texi:27115
  40788. msgid "[#:config (openvpn-server-configuration)]"
  40789. msgstr ""
  40790. #. type: deffn
  40791. #: guix-git/doc/guix.texi:27117
  40792. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a server."
  40793. msgstr ""
  40794. #. type: deffn
  40795. #: guix-git/doc/guix.texi:27119
  40796. msgid "Both can be run simultaneously."
  40797. msgstr ""
  40798. #. type: Plain text
  40799. #: guix-git/doc/guix.texi:27124
  40800. msgid "Available @code{openvpn-client-configuration} fields are:"
  40801. msgstr ""
  40802. #. type: deftypevr
  40803. #: guix-git/doc/guix.texi:27125
  40804. #, no-wrap
  40805. msgid "{@code{openvpn-client-configuration} parameter} package openvpn"
  40806. msgstr ""
  40807. #. type: deftypevr
  40808. #: guix-git/doc/guix.texi:27127 guix-git/doc/guix.texi:27282
  40809. msgid "The OpenVPN package."
  40810. msgstr ""
  40811. #. type: deftypevr
  40812. #: guix-git/doc/guix.texi:27130
  40813. #, no-wrap
  40814. msgid "{@code{openvpn-client-configuration} parameter} string pid-file"
  40815. msgstr ""
  40816. #. type: deftypevr
  40817. #: guix-git/doc/guix.texi:27132 guix-git/doc/guix.texi:27287
  40818. msgid "The OpenVPN pid file."
  40819. msgstr ""
  40820. #. type: deftypevr
  40821. #: guix-git/doc/guix.texi:27134 guix-git/doc/guix.texi:27289
  40822. msgid "Defaults to @samp{\"/var/run/openvpn/openvpn.pid\"}."
  40823. msgstr ""
  40824. #. type: deftypevr
  40825. #: guix-git/doc/guix.texi:27137
  40826. #, no-wrap
  40827. msgid "{@code{openvpn-client-configuration} parameter} proto proto"
  40828. msgstr ""
  40829. #. type: deftypevr
  40830. #: guix-git/doc/guix.texi:27140 guix-git/doc/guix.texi:27295
  40831. msgid "The protocol (UDP or TCP) used to open a channel between clients and servers."
  40832. msgstr ""
  40833. #. type: deftypevr
  40834. #: guix-git/doc/guix.texi:27142 guix-git/doc/guix.texi:27297
  40835. msgid "Defaults to @samp{udp}."
  40836. msgstr ""
  40837. #. type: deftypevr
  40838. #: guix-git/doc/guix.texi:27145
  40839. #, no-wrap
  40840. msgid "{@code{openvpn-client-configuration} parameter} dev dev"
  40841. msgstr ""
  40842. #. type: deftypevr
  40843. #: guix-git/doc/guix.texi:27147 guix-git/doc/guix.texi:27302
  40844. msgid "The device type used to represent the VPN connection."
  40845. msgstr ""
  40846. #. type: deftypevr
  40847. #: guix-git/doc/guix.texi:27149 guix-git/doc/guix.texi:27304
  40848. msgid "Defaults to @samp{tun}."
  40849. msgstr ""
  40850. #. type: Plain text
  40851. #: guix-git/doc/guix.texi:27155 guix-git/doc/guix.texi:27310
  40852. 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}."
  40853. msgstr ""
  40854. #. type: deftypevr
  40855. #: guix-git/doc/guix.texi:27156
  40856. #, no-wrap
  40857. msgid "{@code{openvpn-client-configuration} parameter} maybe-string ca"
  40858. msgstr ""
  40859. #. type: deftypevr
  40860. #: guix-git/doc/guix.texi:27158 guix-git/doc/guix.texi:27313
  40861. msgid "The certificate authority to check connections against."
  40862. msgstr ""
  40863. #. type: deftypevr
  40864. #: guix-git/doc/guix.texi:27160 guix-git/doc/guix.texi:27315
  40865. msgid "Defaults to @samp{\"/etc/openvpn/ca.crt\"}."
  40866. msgstr ""
  40867. #. type: deftypevr
  40868. #: guix-git/doc/guix.texi:27163
  40869. #, no-wrap
  40870. msgid "{@code{openvpn-client-configuration} parameter} maybe-string cert"
  40871. msgstr ""
  40872. #. type: deftypevr
  40873. #: guix-git/doc/guix.texi:27166 guix-git/doc/guix.texi:27321
  40874. msgid "The certificate of the machine the daemon is running on. It should be signed by the authority given in @code{ca}."
  40875. msgstr ""
  40876. #. type: deftypevr
  40877. #: guix-git/doc/guix.texi:27168 guix-git/doc/guix.texi:27323
  40878. msgid "Defaults to @samp{\"/etc/openvpn/client.crt\"}."
  40879. msgstr ""
  40880. #. type: deftypevr
  40881. #: guix-git/doc/guix.texi:27171
  40882. #, no-wrap
  40883. msgid "{@code{openvpn-client-configuration} parameter} maybe-string key"
  40884. msgstr ""
  40885. #. type: deftypevr
  40886. #: guix-git/doc/guix.texi:27174 guix-git/doc/guix.texi:27329
  40887. msgid "The key of the machine the daemon is running on. It must be the key whose certificate is @code{cert}."
  40888. msgstr ""
  40889. #. type: deftypevr
  40890. #: guix-git/doc/guix.texi:27176 guix-git/doc/guix.texi:27331
  40891. msgid "Defaults to @samp{\"/etc/openvpn/client.key\"}."
  40892. msgstr ""
  40893. #. type: deftypevr
  40894. #: guix-git/doc/guix.texi:27179
  40895. #, no-wrap
  40896. msgid "{@code{openvpn-client-configuration} parameter} boolean comp-lzo?"
  40897. msgstr ""
  40898. #. type: deftypevr
  40899. #: guix-git/doc/guix.texi:27181 guix-git/doc/guix.texi:27336
  40900. msgid "Whether to use the lzo compression algorithm."
  40901. msgstr ""
  40902. #. type: deftypevr
  40903. #: guix-git/doc/guix.texi:27186
  40904. #, no-wrap
  40905. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-key?"
  40906. msgstr ""
  40907. #. type: deftypevr
  40908. #: guix-git/doc/guix.texi:27188 guix-git/doc/guix.texi:27343
  40909. msgid "Don't re-read key files across SIGUSR1 or --ping-restart."
  40910. msgstr ""
  40911. #. type: deftypevr
  40912. #: guix-git/doc/guix.texi:27193
  40913. #, no-wrap
  40914. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-tun?"
  40915. msgstr ""
  40916. #. type: deftypevr
  40917. #: guix-git/doc/guix.texi:27196 guix-git/doc/guix.texi:27351
  40918. msgid "Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 or --ping-restart restarts."
  40919. msgstr ""
  40920. #. type: deftypevr
  40921. #: guix-git/doc/guix.texi:27201
  40922. #, no-wrap
  40923. msgid "{@code{openvpn-client-configuration} parameter} boolean fast-io?"
  40924. msgstr ""
  40925. #. type: deftypevr
  40926. #: guix-git/doc/guix.texi:27204 guix-git/doc/guix.texi:27359
  40927. msgid "(Experimental) Optimize TUN/TAP/UDP I/O writes by avoiding a call to poll/epoll/select prior to the write operation."
  40928. msgstr ""
  40929. #. type: deftypevr
  40930. #: guix-git/doc/guix.texi:27208
  40931. #, no-wrap
  40932. msgid "{@code{openvpn-client-configuration} parameter} number verbosity"
  40933. msgstr ""
  40934. #. type: deftypevr
  40935. #: guix-git/doc/guix.texi:27210 guix-git/doc/guix.texi:27365
  40936. msgid "Verbosity level."
  40937. msgstr ""
  40938. #. type: deftypevr
  40939. #: guix-git/doc/guix.texi:27212 guix-git/doc/guix.texi:27367
  40940. #: guix-git/doc/guix.texi:29097 guix-git/doc/guix.texi:29321
  40941. msgid "Defaults to @samp{3}."
  40942. msgstr ""
  40943. #. type: deftypevr
  40944. #: guix-git/doc/guix.texi:27215
  40945. #, no-wrap
  40946. msgid "{@code{openvpn-client-configuration} parameter} tls-auth-client tls-auth"
  40947. msgstr ""
  40948. #. type: deftypevr
  40949. #: guix-git/doc/guix.texi:27218 guix-git/doc/guix.texi:27373
  40950. msgid "Add an additional layer of HMAC authentication on top of the TLS control channel to protect against DoS attacks."
  40951. msgstr ""
  40952. #. type: deftypevr
  40953. #: guix-git/doc/guix.texi:27223
  40954. #, no-wrap
  40955. msgid "{@code{openvpn-client-configuration} parameter} maybe-string auth-user-pass"
  40956. msgstr ""
  40957. #. type: deftypevr
  40958. #: guix-git/doc/guix.texi:27227
  40959. 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."
  40960. msgstr ""
  40961. #. type: deftypevr
  40962. #: guix-git/doc/guix.texi:27229
  40963. msgid "Defaults to @samp{'disabled}."
  40964. msgstr ""
  40965. #. type: deftypevr
  40966. #: guix-git/doc/guix.texi:27231
  40967. #, no-wrap
  40968. msgid "{@code{openvpn-client-configuration} parameter} key-usage verify-key-usage?"
  40969. msgstr ""
  40970. #. type: deftypevr
  40971. #: guix-git/doc/guix.texi:27233
  40972. msgid "Whether to check the server certificate has server usage extension."
  40973. msgstr ""
  40974. #. type: deftypevr
  40975. #: guix-git/doc/guix.texi:27238
  40976. #, no-wrap
  40977. msgid "{@code{openvpn-client-configuration} parameter} bind bind?"
  40978. msgstr ""
  40979. #. type: deftypevr
  40980. #: guix-git/doc/guix.texi:27240
  40981. msgid "Bind to a specific local port number."
  40982. msgstr ""
  40983. #. type: deftypevr
  40984. #: guix-git/doc/guix.texi:27245
  40985. #, no-wrap
  40986. msgid "{@code{openvpn-client-configuration} parameter} resolv-retry resolv-retry?"
  40987. msgstr ""
  40988. #. type: deftypevr
  40989. #: guix-git/doc/guix.texi:27247
  40990. msgid "Retry resolving server address."
  40991. msgstr ""
  40992. #. type: deftypevr
  40993. #: guix-git/doc/guix.texi:27252
  40994. #, no-wrap
  40995. msgid "{@code{openvpn-client-configuration} parameter} openvpn-remote-list remote"
  40996. msgstr ""
  40997. #. type: deftypevr
  40998. #: guix-git/doc/guix.texi:27254
  40999. msgid "A list of remote servers to connect to."
  41000. msgstr ""
  41001. #. type: deftypevr
  41002. #: guix-git/doc/guix.texi:27258
  41003. msgid "Available @code{openvpn-remote-configuration} fields are:"
  41004. msgstr ""
  41005. #. type: deftypevr
  41006. #: guix-git/doc/guix.texi:27259
  41007. #, no-wrap
  41008. msgid "{@code{openvpn-remote-configuration} parameter} string name"
  41009. msgstr ""
  41010. #. type: deftypevr
  41011. #: guix-git/doc/guix.texi:27261
  41012. msgid "Server name."
  41013. msgstr ""
  41014. #. type: deftypevr
  41015. #: guix-git/doc/guix.texi:27263
  41016. msgid "Defaults to @samp{\"my-server\"}."
  41017. msgstr ""
  41018. #. type: deftypevr
  41019. #: guix-git/doc/guix.texi:27266
  41020. #, no-wrap
  41021. msgid "{@code{openvpn-remote-configuration} parameter} number port"
  41022. msgstr ""
  41023. #. type: deftypevr
  41024. #: guix-git/doc/guix.texi:27268
  41025. msgid "Port number the server listens to."
  41026. msgstr ""
  41027. #. type: deftypevr
  41028. #: guix-git/doc/guix.texi:27270 guix-git/doc/guix.texi:27382
  41029. msgid "Defaults to @samp{1194}."
  41030. msgstr ""
  41031. #. type: Plain text
  41032. #: guix-git/doc/guix.texi:27279
  41033. msgid "Available @code{openvpn-server-configuration} fields are:"
  41034. msgstr ""
  41035. #. type: deftypevr
  41036. #: guix-git/doc/guix.texi:27280
  41037. #, no-wrap
  41038. msgid "{@code{openvpn-server-configuration} parameter} package openvpn"
  41039. msgstr ""
  41040. #. type: deftypevr
  41041. #: guix-git/doc/guix.texi:27285
  41042. #, no-wrap
  41043. msgid "{@code{openvpn-server-configuration} parameter} string pid-file"
  41044. msgstr ""
  41045. #. type: deftypevr
  41046. #: guix-git/doc/guix.texi:27292
  41047. #, no-wrap
  41048. msgid "{@code{openvpn-server-configuration} parameter} proto proto"
  41049. msgstr ""
  41050. #. type: deftypevr
  41051. #: guix-git/doc/guix.texi:27300
  41052. #, no-wrap
  41053. msgid "{@code{openvpn-server-configuration} parameter} dev dev"
  41054. msgstr ""
  41055. #. type: deftypevr
  41056. #: guix-git/doc/guix.texi:27311
  41057. #, no-wrap
  41058. msgid "{@code{openvpn-server-configuration} parameter} maybe-string ca"
  41059. msgstr ""
  41060. #. type: deftypevr
  41061. #: guix-git/doc/guix.texi:27318
  41062. #, no-wrap
  41063. msgid "{@code{openvpn-server-configuration} parameter} maybe-string cert"
  41064. msgstr ""
  41065. #. type: deftypevr
  41066. #: guix-git/doc/guix.texi:27326
  41067. #, no-wrap
  41068. msgid "{@code{openvpn-server-configuration} parameter} maybe-string key"
  41069. msgstr ""
  41070. #. type: deftypevr
  41071. #: guix-git/doc/guix.texi:27334
  41072. #, no-wrap
  41073. msgid "{@code{openvpn-server-configuration} parameter} boolean comp-lzo?"
  41074. msgstr ""
  41075. #. type: deftypevr
  41076. #: guix-git/doc/guix.texi:27341
  41077. #, no-wrap
  41078. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-key?"
  41079. msgstr ""
  41080. #. type: deftypevr
  41081. #: guix-git/doc/guix.texi:27348
  41082. #, no-wrap
  41083. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-tun?"
  41084. msgstr ""
  41085. #. type: deftypevr
  41086. #: guix-git/doc/guix.texi:27356
  41087. #, no-wrap
  41088. msgid "{@code{openvpn-server-configuration} parameter} boolean fast-io?"
  41089. msgstr ""
  41090. #. type: deftypevr
  41091. #: guix-git/doc/guix.texi:27363
  41092. #, no-wrap
  41093. msgid "{@code{openvpn-server-configuration} parameter} number verbosity"
  41094. msgstr ""
  41095. #. type: deftypevr
  41096. #: guix-git/doc/guix.texi:27370
  41097. #, no-wrap
  41098. msgid "{@code{openvpn-server-configuration} parameter} tls-auth-server tls-auth"
  41099. msgstr ""
  41100. #. type: deftypevr
  41101. #: guix-git/doc/guix.texi:27378
  41102. #, no-wrap
  41103. msgid "{@code{openvpn-server-configuration} parameter} number port"
  41104. msgstr ""
  41105. #. type: deftypevr
  41106. #: guix-git/doc/guix.texi:27380
  41107. msgid "Specifies the port number on which the server listens."
  41108. msgstr ""
  41109. #. type: deftypevr
  41110. #: guix-git/doc/guix.texi:27385
  41111. #, no-wrap
  41112. msgid "{@code{openvpn-server-configuration} parameter} ip-mask server"
  41113. msgstr ""
  41114. #. type: deftypevr
  41115. #: guix-git/doc/guix.texi:27387
  41116. msgid "An ip and mask specifying the subnet inside the virtual network."
  41117. msgstr ""
  41118. #. type: deftypevr
  41119. #: guix-git/doc/guix.texi:27389
  41120. msgid "Defaults to @samp{\"10.8.0.0 255.255.255.0\"}."
  41121. msgstr ""
  41122. #. type: deftypevr
  41123. #: guix-git/doc/guix.texi:27392
  41124. #, no-wrap
  41125. msgid "{@code{openvpn-server-configuration} parameter} cidr6 server-ipv6"
  41126. msgstr ""
  41127. #. type: deftypevr
  41128. #: guix-git/doc/guix.texi:27394
  41129. msgid "A CIDR notation specifying the IPv6 subnet inside the virtual network."
  41130. msgstr ""
  41131. #. type: deftypevr
  41132. #: guix-git/doc/guix.texi:27399
  41133. #, no-wrap
  41134. msgid "{@code{openvpn-server-configuration} parameter} string dh"
  41135. msgstr ""
  41136. #. type: deftypevr
  41137. #: guix-git/doc/guix.texi:27401
  41138. msgid "The Diffie-Hellman parameters file."
  41139. msgstr ""
  41140. #. type: deftypevr
  41141. #: guix-git/doc/guix.texi:27403
  41142. msgid "Defaults to @samp{\"/etc/openvpn/dh2048.pem\"}."
  41143. msgstr ""
  41144. #. type: deftypevr
  41145. #: guix-git/doc/guix.texi:27406
  41146. #, no-wrap
  41147. msgid "{@code{openvpn-server-configuration} parameter} string ifconfig-pool-persist"
  41148. msgstr ""
  41149. #. type: deftypevr
  41150. #: guix-git/doc/guix.texi:27408
  41151. msgid "The file that records client IPs."
  41152. msgstr ""
  41153. #. type: deftypevr
  41154. #: guix-git/doc/guix.texi:27410
  41155. msgid "Defaults to @samp{\"/etc/openvpn/ipp.txt\"}."
  41156. msgstr ""
  41157. #. type: deftypevr
  41158. #: guix-git/doc/guix.texi:27413
  41159. #, no-wrap
  41160. msgid "{@code{openvpn-server-configuration} parameter} gateway redirect-gateway?"
  41161. msgstr ""
  41162. #. type: deftypevr
  41163. #: guix-git/doc/guix.texi:27415
  41164. msgid "When true, the server will act as a gateway for its clients."
  41165. msgstr ""
  41166. #. type: deftypevr
  41167. #: guix-git/doc/guix.texi:27420
  41168. #, no-wrap
  41169. msgid "{@code{openvpn-server-configuration} parameter} boolean client-to-client?"
  41170. msgstr ""
  41171. #. type: deftypevr
  41172. #: guix-git/doc/guix.texi:27422
  41173. msgid "When true, clients are allowed to talk to each other inside the VPN."
  41174. msgstr ""
  41175. #. type: deftypevr
  41176. #: guix-git/doc/guix.texi:27427
  41177. #, no-wrap
  41178. msgid "{@code{openvpn-server-configuration} parameter} keepalive keepalive"
  41179. msgstr ""
  41180. #. type: deftypevr
  41181. #: guix-git/doc/guix.texi:27433
  41182. 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."
  41183. msgstr ""
  41184. #. type: deftypevr
  41185. #: guix-git/doc/guix.texi:27436
  41186. #, no-wrap
  41187. msgid "{@code{openvpn-server-configuration} parameter} number max-clients"
  41188. msgstr ""
  41189. #. type: deftypevr
  41190. #: guix-git/doc/guix.texi:27438
  41191. msgid "The maximum number of clients."
  41192. msgstr ""
  41193. #. type: deftypevr
  41194. #: guix-git/doc/guix.texi:27443
  41195. #, no-wrap
  41196. msgid "{@code{openvpn-server-configuration} parameter} string status"
  41197. msgstr ""
  41198. #. type: deftypevr
  41199. #: guix-git/doc/guix.texi:27446
  41200. msgid "The status file. This file shows a small report on current connection. It is truncated and rewritten every minute."
  41201. msgstr ""
  41202. #. type: deftypevr
  41203. #: guix-git/doc/guix.texi:27448
  41204. msgid "Defaults to @samp{\"/var/run/openvpn/status\"}."
  41205. msgstr ""
  41206. #. type: deftypevr
  41207. #: guix-git/doc/guix.texi:27451
  41208. #, no-wrap
  41209. msgid "{@code{openvpn-server-configuration} parameter} openvpn-ccd-list client-config-dir"
  41210. msgstr ""
  41211. #. type: deftypevr
  41212. #: guix-git/doc/guix.texi:27453
  41213. msgid "The list of configuration for some clients."
  41214. msgstr ""
  41215. #. type: deftypevr
  41216. #: guix-git/doc/guix.texi:27457
  41217. msgid "Available @code{openvpn-ccd-configuration} fields are:"
  41218. msgstr ""
  41219. #. type: deftypevr
  41220. #: guix-git/doc/guix.texi:27458
  41221. #, no-wrap
  41222. msgid "{@code{openvpn-ccd-configuration} parameter} string name"
  41223. msgstr ""
  41224. #. type: deftypevr
  41225. #: guix-git/doc/guix.texi:27460
  41226. msgid "Client name."
  41227. msgstr ""
  41228. #. type: deftypevr
  41229. #: guix-git/doc/guix.texi:27462
  41230. msgid "Defaults to @samp{\"client\"}."
  41231. msgstr ""
  41232. #. type: deftypevr
  41233. #: guix-git/doc/guix.texi:27465
  41234. #, no-wrap
  41235. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask iroute"
  41236. msgstr ""
  41237. #. type: deftypevr
  41238. #: guix-git/doc/guix.texi:27467
  41239. msgid "Client own network"
  41240. msgstr ""
  41241. #. type: deftypevr
  41242. #: guix-git/doc/guix.texi:27472
  41243. #, no-wrap
  41244. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask ifconfig-push"
  41245. msgstr ""
  41246. #. type: deftypevr
  41247. #: guix-git/doc/guix.texi:27474
  41248. msgid "Client VPN IP."
  41249. msgstr ""
  41250. #. type: subheading
  41251. #: guix-git/doc/guix.texi:27483
  41252. #, no-wrap
  41253. msgid "strongSwan"
  41254. msgstr ""
  41255. #. type: Plain text
  41256. #: guix-git/doc/guix.texi:27487
  41257. msgid "Currently, the strongSwan service only provides legacy-style configuration with @file{ipsec.conf} and @file{ipsec.secrets} files."
  41258. msgstr ""
  41259. #. type: defvr
  41260. #: guix-git/doc/guix.texi:27488
  41261. #, fuzzy, no-wrap
  41262. msgid "{Scheme Variable} strongswan-service-type"
  41263. msgstr "guix-publish-service-type"
  41264. #. type: defvr
  41265. #: guix-git/doc/guix.texi:27492
  41266. 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:"
  41267. msgstr ""
  41268. #. type: lisp
  41269. #: guix-git/doc/guix.texi:27498
  41270. #, no-wrap
  41271. msgid ""
  41272. "(service strongswan-service-type\n"
  41273. " (strongswan-configuration\n"
  41274. " (ipsec-conf \"/etc/ipsec.conf\")\n"
  41275. " (ipsec-secrets \"/etc/ipsec.secrets\")))\n"
  41276. msgstr ""
  41277. #. type: deftp
  41278. #: guix-git/doc/guix.texi:27502
  41279. #, fuzzy, no-wrap
  41280. msgid "{Data Type} strongswan-configuration"
  41281. msgstr "build-machine {Data Type}"
  41282. #. type: deftp
  41283. #: guix-git/doc/guix.texi:27504
  41284. #, fuzzy
  41285. msgid "Data type representing the configuration of the StrongSwan service."
  41286. msgstr "Gerencie a configuração do sistema operacional."
  41287. #. type: code{#1}
  41288. #: guix-git/doc/guix.texi:27506
  41289. #, no-wrap
  41290. msgid "strongswan"
  41291. msgstr ""
  41292. #. type: table
  41293. #: guix-git/doc/guix.texi:27508
  41294. msgid "The strongSwan package to use for this service."
  41295. msgstr ""
  41296. #. type: item
  41297. #: guix-git/doc/guix.texi:27509
  41298. #, fuzzy, no-wrap
  41299. #| msgid "@code{nsec3?} (default: @code{#f})"
  41300. msgid "@code{ipsec-conf} (default: @code{#f})"
  41301. msgstr "@code{nsec3?} (padrão: @code{#f})"
  41302. #. type: table
  41303. #: guix-git/doc/guix.texi:27512
  41304. msgid "The file name of your @file{ipsec.conf}. If not @code{#f}, then this and @code{ipsec-secrets} must both be strings."
  41305. msgstr ""
  41306. #. type: item
  41307. #: guix-git/doc/guix.texi:27513
  41308. #, fuzzy, no-wrap
  41309. #| msgid "@code{users} (default: @code{#f})"
  41310. msgid "@code{ipsec-secrets} (default @code{#f})"
  41311. msgstr "@code{users} (default: @code{#f})"
  41312. #. type: table
  41313. #: guix-git/doc/guix.texi:27516
  41314. msgid "The file name of your @file{ipsec.secrets}. If not @code{#f}, then this and @code{ipsec-conf} must both be strings."
  41315. msgstr ""
  41316. #. type: subsubheading
  41317. #: guix-git/doc/guix.texi:27520
  41318. #, no-wrap
  41319. msgid "Wireguard"
  41320. msgstr ""
  41321. #. type: defvr
  41322. #: guix-git/doc/guix.texi:27522
  41323. #, no-wrap
  41324. msgid "{Scheme Variable} wireguard-service-type"
  41325. msgstr ""
  41326. #. type: defvr
  41327. #: guix-git/doc/guix.texi:27525
  41328. msgid "A service type for a Wireguard tunnel interface. Its value must be a @code{wireguard-configuration} record as in this example:"
  41329. msgstr ""
  41330. #. type: lisp
  41331. #: guix-git/doc/guix.texi:27536
  41332. #, no-wrap
  41333. msgid ""
  41334. "(service wireguard-service-type\n"
  41335. " (wireguard-configuration\n"
  41336. " (peers\n"
  41337. " (list\n"
  41338. " (wireguard-peer\n"
  41339. " (name \"my-peer\")\n"
  41340. " (endpoint \"my.wireguard.com:51820\")\n"
  41341. " (public-key \"hzpKg9X1yqu1axN6iJp0mWf6BZGo8m1wteKwtTmDGF4=\")\n"
  41342. " (allowed-ips '(\"10.0.0.2/32\")))))))\n"
  41343. msgstr ""
  41344. #. type: deftp
  41345. #: guix-git/doc/guix.texi:27540
  41346. #, no-wrap
  41347. msgid "{Data Type} wireguard-configuration"
  41348. msgstr ""
  41349. #. type: deftp
  41350. #: guix-git/doc/guix.texi:27542
  41351. msgid "Data type representing the configuration of the Wireguard service."
  41352. msgstr ""
  41353. #. type: code{#1}
  41354. #: guix-git/doc/guix.texi:27544
  41355. #, no-wrap
  41356. msgid "wireguard"
  41357. msgstr ""
  41358. #. type: table
  41359. #: guix-git/doc/guix.texi:27546
  41360. msgid "The wireguard package to use for this service."
  41361. msgstr ""
  41362. #. type: item
  41363. #: guix-git/doc/guix.texi:27547
  41364. #, no-wrap
  41365. msgid "@code{interface} (default: @code{\"wg0\"})"
  41366. msgstr ""
  41367. #. type: table
  41368. #: guix-git/doc/guix.texi:27549
  41369. msgid "The interface name for the VPN."
  41370. msgstr ""
  41371. #. type: item
  41372. #: guix-git/doc/guix.texi:27550
  41373. #, no-wrap
  41374. msgid "@code{addresses} (default: @code{'(\"10.0.0.1/32\")})"
  41375. msgstr ""
  41376. #. type: table
  41377. #: guix-git/doc/guix.texi:27552
  41378. msgid "The IP addresses to be assigned to the above interface."
  41379. msgstr ""
  41380. #. type: item
  41381. #: guix-git/doc/guix.texi:27553
  41382. #, no-wrap
  41383. msgid "@code{private-key} (default: @code{\"/etc/wireguard/private.key\"})"
  41384. msgstr ""
  41385. #. type: table
  41386. #: guix-git/doc/guix.texi:27556
  41387. msgid "The private key file for the interface. It is automatically generated if the file does not exist."
  41388. msgstr ""
  41389. #. type: item
  41390. #: guix-git/doc/guix.texi:27557
  41391. #, no-wrap
  41392. msgid "@code{peers} (default: @code{'()})"
  41393. msgstr ""
  41394. #. type: table
  41395. #: guix-git/doc/guix.texi:27560
  41396. msgid "The authorized peers on this interface. This is a list of @var{wireguard-peer} records."
  41397. msgstr ""
  41398. #. type: deftp
  41399. #: guix-git/doc/guix.texi:27564
  41400. #, no-wrap
  41401. msgid "{Data Type} wireguard-peer"
  41402. msgstr ""
  41403. #. type: deftp
  41404. #: guix-git/doc/guix.texi:27566
  41405. msgid "Data type representing a Wireguard peer attached to a given interface."
  41406. msgstr ""
  41407. #. type: table
  41408. #: guix-git/doc/guix.texi:27570
  41409. msgid "The peer name."
  41410. msgstr ""
  41411. #. type: item
  41412. #: guix-git/doc/guix.texi:27571
  41413. #, no-wrap
  41414. msgid "@code{endpoint} (default: @code{#f})"
  41415. msgstr ""
  41416. #. type: table
  41417. #: guix-git/doc/guix.texi:27574
  41418. msgid "The optional endpoint for the peer, such as @code{\"demo.wireguard.com:51820\"}."
  41419. msgstr ""
  41420. #. type: itemx
  41421. #: guix-git/doc/guix.texi:27575 guix-git/doc/guix.texi:27970
  41422. #: guix-git/doc/guix.texi:28007 guix-git/doc/guix.texi:32926
  41423. #, no-wrap
  41424. msgid "public-key"
  41425. msgstr ""
  41426. #. type: table
  41427. #: guix-git/doc/guix.texi:27577
  41428. msgid "The peer public-key represented as a base64 string."
  41429. msgstr ""
  41430. #. type: code{#1}
  41431. #: guix-git/doc/guix.texi:27578
  41432. #, no-wrap
  41433. msgid "allowed-ips"
  41434. msgstr ""
  41435. #. type: table
  41436. #: guix-git/doc/guix.texi:27581
  41437. 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."
  41438. msgstr ""
  41439. #. type: item
  41440. #: guix-git/doc/guix.texi:27582
  41441. #, fuzzy, no-wrap
  41442. #| msgid "@code{key} (default: @code{#f})"
  41443. msgid "@code{keep-alive} (default: @code{#f})"
  41444. msgstr "@code{key} (default: @code{#f})"
  41445. #. type: table
  41446. #: guix-git/doc/guix.texi:27587
  41447. 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."
  41448. msgstr ""
  41449. #. type: cindex
  41450. #: guix-git/doc/guix.texi:27593
  41451. #, no-wrap
  41452. msgid "NFS"
  41453. msgstr "NFS"
  41454. #. type: Plain text
  41455. #: guix-git/doc/guix.texi:27598
  41456. 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)."
  41457. msgstr ""
  41458. #. type: Plain text
  41459. #: guix-git/doc/guix.texi:27602
  41460. 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}."
  41461. msgstr ""
  41462. #. type: subsubheading
  41463. #: guix-git/doc/guix.texi:27603
  41464. #, no-wrap
  41465. msgid "NFS Service"
  41466. msgstr ""
  41467. #. type: cindex
  41468. #: guix-git/doc/guix.texi:27604
  41469. #, no-wrap
  41470. msgid "NFS, server"
  41471. msgstr ""
  41472. #. type: Plain text
  41473. #: guix-git/doc/guix.texi:27609
  41474. 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."
  41475. msgstr ""
  41476. #. type: defvr
  41477. #: guix-git/doc/guix.texi:27610
  41478. #, no-wrap
  41479. msgid "{Scheme Variable} nfs-service-type"
  41480. msgstr ""
  41481. #. type: defvr
  41482. #: guix-git/doc/guix.texi:27612
  41483. msgid "A service type for a complete NFS server."
  41484. msgstr ""
  41485. #. type: deftp
  41486. #: guix-git/doc/guix.texi:27614
  41487. #, no-wrap
  41488. msgid "{Data Type} nfs-configuration"
  41489. msgstr ""
  41490. #. type: deftp
  41491. #: guix-git/doc/guix.texi:27617
  41492. msgid "This data type represents the configuration of the NFS service and all of its subsystems."
  41493. msgstr ""
  41494. #. type: deftp
  41495. #: guix-git/doc/guix.texi:27619
  41496. msgid "It has the following parameters:"
  41497. msgstr ""
  41498. #. type: item
  41499. #: guix-git/doc/guix.texi:27620 guix-git/doc/guix.texi:27745
  41500. #: guix-git/doc/guix.texi:27770
  41501. #, no-wrap
  41502. msgid "@code{nfs-utils} (default: @code{nfs-utils})"
  41503. msgstr ""
  41504. #. type: table
  41505. #: guix-git/doc/guix.texi:27622
  41506. msgid "The nfs-utils package to use."
  41507. msgstr ""
  41508. #. type: item
  41509. #: guix-git/doc/guix.texi:27623
  41510. #, no-wrap
  41511. msgid "@code{nfs-versions} (default: @code{'(\"4.2\" \"4.1\" \"4.0\")})"
  41512. msgstr ""
  41513. #. type: table
  41514. #: guix-git/doc/guix.texi:27626
  41515. 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."
  41516. msgstr ""
  41517. #. type: item
  41518. #: guix-git/doc/guix.texi:27627
  41519. #, no-wrap
  41520. msgid "@code{exports} (default: @code{'()})"
  41521. msgstr ""
  41522. #. type: table
  41523. #: guix-git/doc/guix.texi:27632
  41524. 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:"
  41525. msgstr ""
  41526. #. type: lisp
  41527. #: guix-git/doc/guix.texi:27638
  41528. #, no-wrap
  41529. msgid ""
  41530. "(nfs-configuration\n"
  41531. " (exports\n"
  41532. " '((\"/export\"\n"
  41533. " \"*(ro,insecure,no_subtree_check,crossmnt,fsid=0)\"))))\n"
  41534. msgstr ""
  41535. #. type: item
  41536. #: guix-git/doc/guix.texi:27640
  41537. #, no-wrap
  41538. msgid "@code{rpcmountd-port} (default: @code{#f})"
  41539. msgstr ""
  41540. #. type: table
  41541. #: guix-git/doc/guix.texi:27642
  41542. msgid "The network port that the @command{rpc.mountd} daemon should use."
  41543. msgstr ""
  41544. #. type: item
  41545. #: guix-git/doc/guix.texi:27643
  41546. #, no-wrap
  41547. msgid "@code{rpcstatd-port} (default: @code{#f})"
  41548. msgstr ""
  41549. #. type: table
  41550. #: guix-git/doc/guix.texi:27645
  41551. msgid "The network port that the @command{rpc.statd} daemon should use."
  41552. msgstr ""
  41553. #. type: item
  41554. #: guix-git/doc/guix.texi:27646 guix-git/doc/guix.texi:27694
  41555. #, no-wrap
  41556. msgid "@code{rpcbind} (default: @code{rpcbind})"
  41557. msgstr ""
  41558. #. type: table
  41559. #: guix-git/doc/guix.texi:27648 guix-git/doc/guix.texi:27696
  41560. msgid "The rpcbind package to use."
  41561. msgstr ""
  41562. #. type: item
  41563. #: guix-git/doc/guix.texi:27649
  41564. #, no-wrap
  41565. msgid "@code{idmap-domain} (default: @code{\"localdomain\"})"
  41566. msgstr ""
  41567. #. type: table
  41568. #: guix-git/doc/guix.texi:27651
  41569. msgid "The local NFSv4 domain name."
  41570. msgstr ""
  41571. #. type: item
  41572. #: guix-git/doc/guix.texi:27652
  41573. #, no-wrap
  41574. msgid "@code{nfsd-port} (default: @code{2049})"
  41575. msgstr ""
  41576. #. type: table
  41577. #: guix-git/doc/guix.texi:27654
  41578. msgid "The network port that the @command{nfsd} daemon should use."
  41579. msgstr ""
  41580. #. type: item
  41581. #: guix-git/doc/guix.texi:27655
  41582. #, no-wrap
  41583. msgid "@code{nfsd-threads} (default: @code{8})"
  41584. msgstr ""
  41585. #. type: table
  41586. #: guix-git/doc/guix.texi:27657
  41587. msgid "The number of threads used by the @command{nfsd} daemon."
  41588. msgstr ""
  41589. #. type: item
  41590. #: guix-git/doc/guix.texi:27658
  41591. #, no-wrap
  41592. msgid "@code{nfsd-tcp?} (default: @code{#t})"
  41593. msgstr ""
  41594. #. type: table
  41595. #: guix-git/doc/guix.texi:27660
  41596. msgid "Whether the @command{nfsd} daemon should listen on a TCP socket."
  41597. msgstr ""
  41598. #. type: item
  41599. #: guix-git/doc/guix.texi:27661
  41600. #, no-wrap
  41601. msgid "@code{nfsd-udp?} (default: @code{#f})"
  41602. msgstr ""
  41603. #. type: table
  41604. #: guix-git/doc/guix.texi:27663
  41605. msgid "Whether the @command{nfsd} daemon should listen on a UDP socket."
  41606. msgstr ""
  41607. #. type: item
  41608. #: guix-git/doc/guix.texi:27664 guix-git/doc/guix.texi:27748
  41609. #: guix-git/doc/guix.texi:27773
  41610. #, no-wrap
  41611. msgid "@code{pipefs-directory} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  41612. msgstr ""
  41613. #. type: table
  41614. #: guix-git/doc/guix.texi:27666 guix-git/doc/guix.texi:27750
  41615. #: guix-git/doc/guix.texi:27775
  41616. msgid "The directory where the pipefs file system is mounted."
  41617. msgstr ""
  41618. #. type: item
  41619. #: guix-git/doc/guix.texi:27667
  41620. #, no-wrap
  41621. msgid "@code{debug} (default: @code{'()\"})"
  41622. msgstr ""
  41623. #. type: table
  41624. #: guix-git/doc/guix.texi:27671
  41625. 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}."
  41626. msgstr ""
  41627. #. type: Plain text
  41628. #: guix-git/doc/guix.texi:27676
  41629. 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."
  41630. msgstr ""
  41631. #. type: subsubheading
  41632. #: guix-git/doc/guix.texi:27677
  41633. #, no-wrap
  41634. msgid "RPC Bind Service"
  41635. msgstr ""
  41636. #. type: cindex
  41637. #: guix-git/doc/guix.texi:27678
  41638. #, no-wrap
  41639. msgid "rpcbind"
  41640. msgstr ""
  41641. #. type: Plain text
  41642. #: guix-git/doc/guix.texi:27684
  41643. 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."
  41644. msgstr ""
  41645. #. type: defvr
  41646. #: guix-git/doc/guix.texi:27685
  41647. #, no-wrap
  41648. msgid "{Scheme Variable} rpcbind-service-type"
  41649. msgstr ""
  41650. #. type: defvr
  41651. #: guix-git/doc/guix.texi:27687
  41652. msgid "A service type for the RPC portmapper daemon."
  41653. msgstr ""
  41654. #. type: deftp
  41655. #: guix-git/doc/guix.texi:27690
  41656. #, no-wrap
  41657. msgid "{Data Type} rpcbind-configuration"
  41658. msgstr ""
  41659. #. type: deftp
  41660. #: guix-git/doc/guix.texi:27693
  41661. msgid "Data type representing the configuration of the RPC Bind Service. This type has the following parameters:"
  41662. msgstr ""
  41663. #. type: item
  41664. #: guix-git/doc/guix.texi:27697
  41665. #, no-wrap
  41666. msgid "@code{warm-start?} (default: @code{#t})"
  41667. msgstr ""
  41668. #. type: table
  41669. #: guix-git/doc/guix.texi:27701
  41670. 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."
  41671. msgstr ""
  41672. #. type: subsubheading
  41673. #: guix-git/doc/guix.texi:27705
  41674. #, no-wrap
  41675. msgid "Pipefs Pseudo File System"
  41676. msgstr ""
  41677. #. type: cindex
  41678. #: guix-git/doc/guix.texi:27706
  41679. #, no-wrap
  41680. msgid "pipefs"
  41681. msgstr ""
  41682. #. type: cindex
  41683. #: guix-git/doc/guix.texi:27707
  41684. #, no-wrap
  41685. msgid "rpc_pipefs"
  41686. msgstr ""
  41687. #. type: Plain text
  41688. #: guix-git/doc/guix.texi:27711
  41689. msgid "The pipefs file system is used to transfer NFS related data between the kernel and user space programs."
  41690. msgstr ""
  41691. #. type: defvr
  41692. #: guix-git/doc/guix.texi:27712
  41693. #, no-wrap
  41694. msgid "{Scheme Variable} pipefs-service-type"
  41695. msgstr ""
  41696. #. type: defvr
  41697. #: guix-git/doc/guix.texi:27714
  41698. msgid "A service type for the pipefs pseudo file system."
  41699. msgstr ""
  41700. #. type: deftp
  41701. #: guix-git/doc/guix.texi:27716
  41702. #, no-wrap
  41703. msgid "{Data Type} pipefs-configuration"
  41704. msgstr ""
  41705. #. type: deftp
  41706. #: guix-git/doc/guix.texi:27719
  41707. msgid "Data type representing the configuration of the pipefs pseudo file system service. This type has the following parameters:"
  41708. msgstr ""
  41709. #. type: item
  41710. #: guix-git/doc/guix.texi:27720
  41711. #, no-wrap
  41712. msgid "@code{mount-point} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  41713. msgstr ""
  41714. #. type: table
  41715. #: guix-git/doc/guix.texi:27722
  41716. msgid "The directory to which the file system is to be attached."
  41717. msgstr ""
  41718. #. type: subsubheading
  41719. #: guix-git/doc/guix.texi:27726
  41720. #, no-wrap
  41721. msgid "GSS Daemon Service"
  41722. msgstr ""
  41723. #. type: cindex
  41724. #: guix-git/doc/guix.texi:27727
  41725. #, no-wrap
  41726. msgid "GSSD"
  41727. msgstr ""
  41728. #. type: cindex
  41729. #: guix-git/doc/guix.texi:27728
  41730. #, no-wrap
  41731. msgid "GSS"
  41732. msgstr ""
  41733. #. type: cindex
  41734. #: guix-git/doc/guix.texi:27729
  41735. #, no-wrap
  41736. msgid "global security system"
  41737. msgstr ""
  41738. #. type: Plain text
  41739. #: guix-git/doc/guix.texi:27736
  41740. 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})."
  41741. msgstr ""
  41742. #. type: defvr
  41743. #: guix-git/doc/guix.texi:27737
  41744. #, no-wrap
  41745. msgid "{Scheme Variable} gss-service-type"
  41746. msgstr ""
  41747. #. type: defvr
  41748. #: guix-git/doc/guix.texi:27739
  41749. msgid "A service type for the Global Security System (GSS) daemon."
  41750. msgstr ""
  41751. #. type: deftp
  41752. #: guix-git/doc/guix.texi:27741
  41753. #, no-wrap
  41754. msgid "{Data Type} gss-configuration"
  41755. msgstr ""
  41756. #. type: deftp
  41757. #: guix-git/doc/guix.texi:27744
  41758. msgid "Data type representing the configuration of the GSS daemon service. This type has the following parameters:"
  41759. msgstr ""
  41760. #. type: table
  41761. #: guix-git/doc/guix.texi:27747
  41762. msgid "The package in which the @command{rpc.gssd} command is to be found."
  41763. msgstr ""
  41764. #. type: subsubheading
  41765. #: guix-git/doc/guix.texi:27755
  41766. #, no-wrap
  41767. msgid "IDMAP Daemon Service"
  41768. msgstr ""
  41769. #. type: cindex
  41770. #: guix-git/doc/guix.texi:27756
  41771. #, no-wrap
  41772. msgid "idmapd"
  41773. msgstr ""
  41774. #. type: cindex
  41775. #: guix-git/doc/guix.texi:27757
  41776. #, no-wrap
  41777. msgid "name mapper"
  41778. msgstr ""
  41779. #. type: Plain text
  41780. #: guix-git/doc/guix.texi:27761
  41781. 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."
  41782. msgstr ""
  41783. #. type: defvr
  41784. #: guix-git/doc/guix.texi:27762
  41785. #, no-wrap
  41786. msgid "{Scheme Variable} idmap-service-type"
  41787. msgstr ""
  41788. #. type: defvr
  41789. #: guix-git/doc/guix.texi:27764
  41790. msgid "A service type for the Identity Mapper (IDMAP) daemon."
  41791. msgstr ""
  41792. #. type: deftp
  41793. #: guix-git/doc/guix.texi:27766
  41794. #, no-wrap
  41795. msgid "{Data Type} idmap-configuration"
  41796. msgstr ""
  41797. #. type: deftp
  41798. #: guix-git/doc/guix.texi:27769
  41799. msgid "Data type representing the configuration of the IDMAP daemon service. This type has the following parameters:"
  41800. msgstr ""
  41801. #. type: table
  41802. #: guix-git/doc/guix.texi:27772
  41803. msgid "The package in which the @command{rpc.idmapd} command is to be found."
  41804. msgstr ""
  41805. #. type: item
  41806. #: guix-git/doc/guix.texi:27776
  41807. #, no-wrap
  41808. msgid "@code{domain} (default: @code{#f})"
  41809. msgstr "@code{domain} (default: @code{#f})"
  41810. #. type: table
  41811. #: guix-git/doc/guix.texi:27780
  41812. 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."
  41813. msgstr ""
  41814. #. type: item
  41815. #: guix-git/doc/guix.texi:27781
  41816. #, no-wrap
  41817. msgid "@code{verbosity} (default: @code{0})"
  41818. msgstr ""
  41819. #. type: table
  41820. #: guix-git/doc/guix.texi:27783
  41821. msgid "The verbosity level of the daemon."
  41822. msgstr ""
  41823. #. type: Plain text
  41824. #: guix-git/doc/guix.texi:27794
  41825. 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})."
  41826. msgstr ""
  41827. #. type: Plain text
  41828. #: guix-git/doc/guix.texi:27796
  41829. msgid "The @code{(gnu services cuirass)} module provides the following service."
  41830. msgstr ""
  41831. #. type: defvr
  41832. #: guix-git/doc/guix.texi:27797
  41833. #, no-wrap
  41834. msgid "{Scheme Procedure} cuirass-service-type"
  41835. msgstr ""
  41836. #. type: defvr
  41837. #: guix-git/doc/guix.texi:27800
  41838. msgid "The type of the Cuirass service. Its value must be a @code{cuirass-configuration} object, as described below."
  41839. msgstr ""
  41840. #. type: Plain text
  41841. #: guix-git/doc/guix.texi:27805
  41842. 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."
  41843. msgstr ""
  41844. #. type: lisp
  41845. #: guix-git/doc/guix.texi:27816
  41846. #, no-wrap
  41847. msgid ""
  41848. "(define %cuirass-specs\n"
  41849. " #~(list (specification\n"
  41850. " (name \"my-channel\")\n"
  41851. " (build '(channels my-channel))\n"
  41852. " (channels\n"
  41853. " (cons (channel\n"
  41854. " (name 'my-channel)\n"
  41855. " (url \"https://my-channel.git\"))\n"
  41856. " %default-channels)))))\n"
  41857. "\n"
  41858. msgstr ""
  41859. #. type: lisp
  41860. #: guix-git/doc/guix.texi:27820 guix-git/doc/guix.texi:27834
  41861. #, no-wrap
  41862. msgid ""
  41863. "(service cuirass-service-type\n"
  41864. " (cuirass-configuration\n"
  41865. " (specifications %cuirass-specs)))\n"
  41866. msgstr ""
  41867. #. type: Plain text
  41868. #: guix-git/doc/guix.texi:27824
  41869. msgid "To build the @code{linux-libre} package defined by the default Guix channel, one can use the following configuration."
  41870. msgstr ""
  41871. #. type: lisp
  41872. #: guix-git/doc/guix.texi:27830
  41873. #, no-wrap
  41874. msgid ""
  41875. "(define %cuirass-specs\n"
  41876. " #~(list (specification\n"
  41877. " (name \"my-linux\")\n"
  41878. " (build '(packages \"linux-libre\")))))\n"
  41879. "\n"
  41880. msgstr ""
  41881. #. type: Plain text
  41882. #: guix-git/doc/guix.texi:27839
  41883. msgid "The other configuration possibilities, as well as the specification record itself are described in the Cuirass manual (@pxref{Specifications,,, cuirass, Cuirass})."
  41884. msgstr ""
  41885. #. type: Plain text
  41886. #: guix-git/doc/guix.texi:27843
  41887. 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."
  41888. msgstr ""
  41889. #. type: deftp
  41890. #: guix-git/doc/guix.texi:27844
  41891. #, no-wrap
  41892. msgid "{Data Type} cuirass-configuration"
  41893. msgstr ""
  41894. #. type: deftp
  41895. #: guix-git/doc/guix.texi:27846
  41896. msgid "Data type representing the configuration of Cuirass."
  41897. msgstr ""
  41898. #. type: item
  41899. #: guix-git/doc/guix.texi:27848 guix-git/doc/guix.texi:27985
  41900. #, no-wrap
  41901. msgid "@code{cuirass} (default: @code{cuirass})"
  41902. msgstr ""
  41903. #. type: table
  41904. #: guix-git/doc/guix.texi:27850 guix-git/doc/guix.texi:27987
  41905. msgid "The Cuirass package to use."
  41906. msgstr ""
  41907. #. type: item
  41908. #: guix-git/doc/guix.texi:27851
  41909. #, no-wrap
  41910. msgid "@code{log-file} (default: @code{\"/var/log/cuirass.log\"})"
  41911. msgstr ""
  41912. #. type: table
  41913. #: guix-git/doc/guix.texi:27853 guix-git/doc/guix.texi:27957
  41914. #: guix-git/doc/guix.texi:28000
  41915. msgid "Location of the log file."
  41916. msgstr ""
  41917. #. type: item
  41918. #: guix-git/doc/guix.texi:27854
  41919. #, no-wrap
  41920. msgid "@code{web-log-file} (default: @code{\"/var/log/cuirass-web.log\"})"
  41921. msgstr ""
  41922. #. type: table
  41923. #: guix-git/doc/guix.texi:27856
  41924. msgid "Location of the log file used by the web interface."
  41925. msgstr ""
  41926. #. type: item
  41927. #: guix-git/doc/guix.texi:27857
  41928. #, no-wrap
  41929. msgid "@code{cache-directory} (default: @code{\"/var/cache/cuirass\"})"
  41930. msgstr ""
  41931. #. type: table
  41932. #: guix-git/doc/guix.texi:27859
  41933. msgid "Location of the repository cache."
  41934. msgstr ""
  41935. #. type: item
  41936. #: guix-git/doc/guix.texi:27860
  41937. #, no-wrap
  41938. msgid "@code{user} (default: @code{\"cuirass\"})"
  41939. msgstr ""
  41940. #. type: table
  41941. #: guix-git/doc/guix.texi:27862
  41942. msgid "Owner of the @code{cuirass} process."
  41943. msgstr ""
  41944. #. type: item
  41945. #: guix-git/doc/guix.texi:27863
  41946. #, no-wrap
  41947. msgid "@code{group} (default: @code{\"cuirass\"})"
  41948. msgstr ""
  41949. #. type: table
  41950. #: guix-git/doc/guix.texi:27865
  41951. msgid "Owner's group of the @code{cuirass} process."
  41952. msgstr ""
  41953. #. type: item
  41954. #: guix-git/doc/guix.texi:27866
  41955. #, no-wrap
  41956. msgid "@code{interval} (default: @code{60})"
  41957. msgstr ""
  41958. #. type: table
  41959. #: guix-git/doc/guix.texi:27869
  41960. msgid "Number of seconds between the poll of the repositories followed by the Cuirass jobs."
  41961. msgstr ""
  41962. #. type: item
  41963. #: guix-git/doc/guix.texi:27870
  41964. #, fuzzy, no-wrap
  41965. msgid "@code{parameters} (default: @code{#f})"
  41966. msgstr "@code{term} (default: @code{#f})"
  41967. #. type: table
  41968. #: guix-git/doc/guix.texi:27873
  41969. msgid "Read parameters from the given @var{parameters} file. The supported parameters are described here (@pxref{Parameters,,, cuirass, Cuirass})."
  41970. msgstr ""
  41971. #. type: item
  41972. #: guix-git/doc/guix.texi:27874
  41973. #, fuzzy, no-wrap
  41974. msgid "@code{remote-server} (default: @code{#f})"
  41975. msgstr "@code{remote?} (padrão: @code{#f})"
  41976. #. type: table
  41977. #: guix-git/doc/guix.texi:27877
  41978. msgid "A @code{cuirass-remote-server-configuration} record to use the build remote mechanism or @code{#f} to use the default build mechanism."
  41979. msgstr ""
  41980. #. type: item
  41981. #: guix-git/doc/guix.texi:27878
  41982. #, no-wrap
  41983. msgid "@code{database} (default: @code{\"dbname=cuirass host=/var/run/postgresql\"})"
  41984. msgstr ""
  41985. #. type: table
  41986. #: guix-git/doc/guix.texi:27883
  41987. 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\"}."
  41988. msgstr ""
  41989. #. type: item
  41990. #: guix-git/doc/guix.texi:27884
  41991. #, no-wrap
  41992. msgid "@code{port} (default: @code{8081})"
  41993. msgstr "@code{porta} (default: @code{8081})"
  41994. #. type: table
  41995. #: guix-git/doc/guix.texi:27886
  41996. msgid "Port number used by the HTTP server."
  41997. msgstr ""
  41998. #. type: table
  41999. #: guix-git/doc/guix.texi:27890
  42000. msgid "Listen on the network interface for @var{host}. The default is to accept connections from localhost."
  42001. msgstr ""
  42002. #. type: item
  42003. #: guix-git/doc/guix.texi:27891
  42004. #, no-wrap
  42005. msgid "@code{specifications} (default: @code{#~'()})"
  42006. msgstr ""
  42007. #. type: table
  42008. #: guix-git/doc/guix.texi:27895
  42009. 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})."
  42010. msgstr ""
  42011. #. type: item
  42012. #: guix-git/doc/guix.texi:27896
  42013. #, no-wrap
  42014. msgid "@code{use-substitutes?} (default: @code{#f})"
  42015. msgstr ""
  42016. #. type: table
  42017. #: guix-git/doc/guix.texi:27899
  42018. msgid "This allows using substitutes to avoid building every dependencies of a job from source."
  42019. msgstr ""
  42020. #. type: item
  42021. #: guix-git/doc/guix.texi:27900 guix-git/doc/guix.texi:34918
  42022. #, no-wrap
  42023. msgid "@code{one-shot?} (default: @code{#f})"
  42024. msgstr ""
  42025. #. type: table
  42026. #: guix-git/doc/guix.texi:27902
  42027. msgid "Only evaluate specifications and build derivations once."
  42028. msgstr ""
  42029. #. type: item
  42030. #: guix-git/doc/guix.texi:27903
  42031. #, no-wrap
  42032. msgid "@code{fallback?} (default: @code{#f})"
  42033. msgstr "@code{fallback?} (padrão: @code{#f})"
  42034. #. type: table
  42035. #: guix-git/doc/guix.texi:27906
  42036. msgid "When substituting a pre-built binary fails, fall back to building packages locally."
  42037. msgstr ""
  42038. #. type: table
  42039. #: guix-git/doc/guix.texi:27909
  42040. msgid "Extra options to pass when running the Cuirass processes."
  42041. msgstr ""
  42042. #. type: cindex
  42043. #: guix-git/doc/guix.texi:27913
  42044. #, fuzzy, no-wrap
  42045. msgid "remote build"
  42046. msgstr "compilações reproduzíveis"
  42047. #. type: subsubheading
  42048. #: guix-git/doc/guix.texi:27914
  42049. #, no-wrap
  42050. msgid "Cuirass remote building"
  42051. msgstr ""
  42052. #. type: Plain text
  42053. #: guix-git/doc/guix.texi:27917
  42054. msgid "Cuirass supports two mechanisms to build derivations."
  42055. msgstr ""
  42056. #. type: item
  42057. #: guix-git/doc/guix.texi:27919
  42058. #, fuzzy, no-wrap
  42059. msgid "Using the local Guix daemon."
  42060. msgstr "Executando o daemon de compilação."
  42061. #. type: itemize
  42062. #: guix-git/doc/guix.texi:27923
  42063. 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."
  42064. msgstr ""
  42065. #. type: item
  42066. #: guix-git/doc/guix.texi:27924
  42067. #, fuzzy, no-wrap
  42068. msgid "Using the remote build mechanism."
  42069. msgstr "Preparando o ambiente de compilação isolado."
  42070. #. type: itemize
  42071. #: guix-git/doc/guix.texi:27928
  42072. 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."
  42073. msgstr ""
  42074. #. type: Plain text
  42075. #: guix-git/doc/guix.texi:27935
  42076. 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."
  42077. msgstr ""
  42078. #. type: Plain text
  42079. #: guix-git/doc/guix.texi:27940
  42080. 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."
  42081. msgstr ""
  42082. #. type: deftp
  42083. #: guix-git/doc/guix.texi:27941
  42084. #, no-wrap
  42085. msgid "{Data Type} cuirass-remote-server-configuration"
  42086. msgstr ""
  42087. #. type: deftp
  42088. #: guix-git/doc/guix.texi:27943
  42089. msgid "Data type representing the configuration of the Cuirass remote-server."
  42090. msgstr ""
  42091. #. type: item
  42092. #: guix-git/doc/guix.texi:27945
  42093. #, fuzzy, no-wrap
  42094. msgid "@code{backend-port} (default: @code{5555})"
  42095. msgstr "@code{porta} (default: @code{53})"
  42096. #. type: table
  42097. #: guix-git/doc/guix.texi:27948
  42098. msgid "The TCP port for communicating with @code{remote-worker} processes using ZMQ. It defaults to @code{5555}."
  42099. msgstr ""
  42100. #. type: item
  42101. #: guix-git/doc/guix.texi:27949
  42102. #, fuzzy, no-wrap
  42103. msgid "@code{log-port} (default: @code{5556})"
  42104. msgstr "@code{porta} (default: @code{53})"
  42105. #. type: table
  42106. #: guix-git/doc/guix.texi:27951
  42107. msgid "The TCP port of the log server. It defaults to @code{5556}."
  42108. msgstr ""
  42109. #. type: item
  42110. #: guix-git/doc/guix.texi:27952
  42111. #, fuzzy, no-wrap
  42112. msgid "@code{publish-port} (default: @code{5557})"
  42113. msgstr "@code{publish?} (padrão: @code{#t})"
  42114. #. type: table
  42115. #: guix-git/doc/guix.texi:27954
  42116. msgid "The TCP port of the publish server. It defaults to @code{5557}."
  42117. msgstr ""
  42118. #. type: item
  42119. #: guix-git/doc/guix.texi:27955
  42120. #, fuzzy, no-wrap
  42121. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-server.log\"})"
  42122. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  42123. #. type: item
  42124. #: guix-git/doc/guix.texi:27958
  42125. #, fuzzy, no-wrap
  42126. msgid "@code{cache} (default: @code{\"/var/cache/cuirass/remote\"})"
  42127. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  42128. #. type: table
  42129. #: guix-git/doc/guix.texi:27960
  42130. msgid "Use @var{cache} directory to cache build log files."
  42131. msgstr ""
  42132. #. type: item
  42133. #: guix-git/doc/guix.texi:27961
  42134. #, fuzzy, no-wrap
  42135. msgid "@code{trigger-url} (default: @code{#f})"
  42136. msgstr "@code{term} (default: @code{#f})"
  42137. #. type: table
  42138. #: guix-git/doc/guix.texi:27964
  42139. msgid "Once a substitute is successfully fetched, trigger substitute baking at @var{trigger-url}."
  42140. msgstr ""
  42141. #. type: table
  42142. #: guix-git/doc/guix.texi:27969
  42143. 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."
  42144. msgstr ""
  42145. #. type: code{#1}
  42146. #: guix-git/doc/guix.texi:27971 guix-git/doc/guix.texi:28008
  42147. #, no-wrap
  42148. msgid "private-key"
  42149. msgstr ""
  42150. #. type: Plain text
  42151. #: guix-git/doc/guix.texi:27980
  42152. 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."
  42153. msgstr ""
  42154. #. type: deftp
  42155. #: guix-git/doc/guix.texi:27981
  42156. #, no-wrap
  42157. msgid "{Data Type} cuirass-remote-worker-configuration"
  42158. msgstr ""
  42159. #. type: deftp
  42160. #: guix-git/doc/guix.texi:27983
  42161. msgid "Data type representing the configuration of the Cuirass remote-worker."
  42162. msgstr ""
  42163. #. type: item
  42164. #: guix-git/doc/guix.texi:27988
  42165. #, fuzzy, no-wrap
  42166. msgid "@code{workers} (default: @code{1})"
  42167. msgstr "@code{workers} (default: @code{#f})"
  42168. #. type: table
  42169. #: guix-git/doc/guix.texi:27990
  42170. msgid "Start @var{workers} parallel workers."
  42171. msgstr ""
  42172. #. type: table
  42173. #: guix-git/doc/guix.texi:27994
  42174. msgid "Do not use Avahi discovery and connect to the given @code{server} IP address instead."
  42175. msgstr ""
  42176. #. type: item
  42177. #: guix-git/doc/guix.texi:27995
  42178. #, no-wrap
  42179. msgid "@code{systems} (default: @code{(list (%current-system))})"
  42180. msgstr ""
  42181. #. type: table
  42182. #: guix-git/doc/guix.texi:27997
  42183. msgid "Only request builds for the given @var{systems}."
  42184. msgstr ""
  42185. #. type: item
  42186. #: guix-git/doc/guix.texi:27998
  42187. #, fuzzy, no-wrap
  42188. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-worker.log\"})"
  42189. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  42190. #. type: item
  42191. #: guix-git/doc/guix.texi:28001
  42192. #, fuzzy, no-wrap
  42193. msgid "@code{publish-port} (default: @code{5558})"
  42194. msgstr "@code{publish?} (padrão: @code{#t})"
  42195. #. type: table
  42196. #: guix-git/doc/guix.texi:28003
  42197. msgid "The TCP port of the publish server. It defaults to @code{5558}."
  42198. msgstr ""
  42199. #. type: subsubheading
  42200. #: guix-git/doc/guix.texi:28015
  42201. #, no-wrap
  42202. msgid "Laminar"
  42203. msgstr ""
  42204. #. type: Plain text
  42205. #: guix-git/doc/guix.texi:28020
  42206. 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."
  42207. msgstr ""
  42208. #. type: Plain text
  42209. #: guix-git/doc/guix.texi:28023
  42210. msgid "Laminar encourages the use of existing tools such as bash and cron instead of reinventing them."
  42211. msgstr ""
  42212. #. type: defvr
  42213. #: guix-git/doc/guix.texi:28024
  42214. #, no-wrap
  42215. msgid "{Scheme Procedure} laminar-service-type"
  42216. msgstr ""
  42217. #. type: defvr
  42218. #: guix-git/doc/guix.texi:28027
  42219. msgid "The type of the Laminar service. Its value must be a @code{laminar-configuration} object, as described below."
  42220. msgstr ""
  42221. #. type: defvr
  42222. #: guix-git/doc/guix.texi:28031
  42223. 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."
  42224. msgstr ""
  42225. #. type: lisp
  42226. #: guix-git/doc/guix.texi:28034
  42227. #, no-wrap
  42228. msgid "(service laminar-service-type)\n"
  42229. msgstr ""
  42230. #. type: deftp
  42231. #: guix-git/doc/guix.texi:28037
  42232. #, fuzzy, no-wrap
  42233. msgid "{Data Type} laminar-configuration"
  42234. msgstr "build-machine {Data Type}"
  42235. #. type: deftp
  42236. #: guix-git/doc/guix.texi:28039
  42237. #, fuzzy
  42238. msgid "Data type representing the configuration of Laminar."
  42239. msgstr "Gerencie a configuração do sistema operacional."
  42240. #. type: item
  42241. #: guix-git/doc/guix.texi:28041
  42242. #, fuzzy, no-wrap
  42243. msgid "@code{laminar} (default: @code{laminar})"
  42244. msgstr "@code{tmpdir} (default: @code{#f})"
  42245. #. type: table
  42246. #: guix-git/doc/guix.texi:28043
  42247. #, fuzzy
  42248. msgid "The Laminar package to use."
  42249. msgstr "O pacote GPM a ser usado."
  42250. #. type: item
  42251. #: guix-git/doc/guix.texi:28044
  42252. #, fuzzy, no-wrap
  42253. msgid "@code{home-directory} (default: @code{\"/var/lib/laminar\"})"
  42254. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  42255. #. type: table
  42256. #: guix-git/doc/guix.texi:28046
  42257. msgid "The directory for job configurations and run directories."
  42258. msgstr ""
  42259. #. type: item
  42260. #: guix-git/doc/guix.texi:28047
  42261. #, fuzzy, no-wrap
  42262. msgid "@code{bind-http} (default: @code{\"*:8080\"})"
  42263. msgstr "@code{porta} (default: @code{\"6600\"})"
  42264. #. type: table
  42265. #: guix-git/doc/guix.texi:28050
  42266. msgid "The interface/port or unix socket on which laminard should listen for incoming connections to the web frontend."
  42267. msgstr ""
  42268. #. type: item
  42269. #: guix-git/doc/guix.texi:28051
  42270. #, fuzzy, no-wrap
  42271. msgid "@code{bind-rpc} (default: @code{\"unix-abstract:laminar\"})"
  42272. msgstr "@code{tor} (default: @code{tor})"
  42273. #. type: table
  42274. #: guix-git/doc/guix.texi:28054
  42275. msgid "The interface/port or unix socket on which laminard should listen for incoming commands such as build triggers."
  42276. msgstr ""
  42277. #. type: item
  42278. #: guix-git/doc/guix.texi:28055
  42279. #, fuzzy, no-wrap
  42280. msgid "@code{title} (default: @code{\"Laminar\"})"
  42281. msgstr "@code{ttl} (default: @code{#f})"
  42282. #. type: table
  42283. #: guix-git/doc/guix.texi:28057
  42284. msgid "The page title to show in the web frontend."
  42285. msgstr ""
  42286. #. type: item
  42287. #: guix-git/doc/guix.texi:28058
  42288. #, fuzzy, no-wrap
  42289. msgid "@code{keep-rundirs} (default: @code{0})"
  42290. msgstr "@code{workers} (default: @code{#f})"
  42291. #. type: table
  42292. #: guix-git/doc/guix.texi:28062
  42293. 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."
  42294. msgstr ""
  42295. #. type: item
  42296. #: guix-git/doc/guix.texi:28063
  42297. #, fuzzy, no-wrap
  42298. msgid "@code{archive-url} (default: @code{#f})"
  42299. msgstr "@code{term} (default: @code{#f})"
  42300. #. type: table
  42301. #: guix-git/doc/guix.texi:28066
  42302. msgid "The web frontend served by laminard will use this URL to form links to artefacts archived jobs."
  42303. msgstr ""
  42304. #. type: item
  42305. #: guix-git/doc/guix.texi:28067
  42306. #, fuzzy, no-wrap
  42307. msgid "@code{base-url} (default: @code{#f})"
  42308. msgstr "@code{users} (default: @code{#f})"
  42309. #. type: table
  42310. #: guix-git/doc/guix.texi:28069
  42311. msgid "Base URL to use for links to laminar itself."
  42312. msgstr ""
  42313. #. type: cindex
  42314. #: guix-git/doc/guix.texi:28076
  42315. #, no-wrap
  42316. msgid "tlp"
  42317. msgstr ""
  42318. #. type: cindex
  42319. #: guix-git/doc/guix.texi:28077
  42320. #, no-wrap
  42321. msgid "power management with TLP"
  42322. msgstr ""
  42323. #. type: subsubheading
  42324. #: guix-git/doc/guix.texi:28078
  42325. #, no-wrap
  42326. msgid "TLP daemon"
  42327. msgstr ""
  42328. #. type: Plain text
  42329. #: guix-git/doc/guix.texi:28082
  42330. msgid "The @code{(gnu services pm)} module provides a Guix service definition for the Linux power management tool TLP."
  42331. msgstr ""
  42332. #. type: Plain text
  42333. #: guix-git/doc/guix.texi:28088
  42334. 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}."
  42335. msgstr ""
  42336. #. type: deffn
  42337. #: guix-git/doc/guix.texi:28089
  42338. #, no-wrap
  42339. msgid "{Scheme Variable} tlp-service-type"
  42340. msgstr ""
  42341. #. type: deffn
  42342. #: guix-git/doc/guix.texi:28093
  42343. 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}:"
  42344. msgstr ""
  42345. #. type: lisp
  42346. #: guix-git/doc/guix.texi:28098
  42347. #, no-wrap
  42348. msgid ""
  42349. "(service tlp-service-type\n"
  42350. " (tlp-configuration\n"
  42351. " (cpu-scaling-governor-on-ac (list \"performance\"))\n"
  42352. " (sched-powersave-on-bat? #t)))\n"
  42353. msgstr ""
  42354. #. type: Plain text
  42355. #: guix-git/doc/guix.texi:28106
  42356. 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}."
  42357. msgstr ""
  42358. #. type: Plain text
  42359. #: guix-git/doc/guix.texi:28116
  42360. msgid "Available @code{tlp-configuration} fields are:"
  42361. msgstr ""
  42362. #. type: deftypevr
  42363. #: guix-git/doc/guix.texi:28117
  42364. #, no-wrap
  42365. msgid "{@code{tlp-configuration} parameter} package tlp"
  42366. msgstr ""
  42367. #. type: deftypevr
  42368. #: guix-git/doc/guix.texi:28119
  42369. msgid "The TLP package."
  42370. msgstr ""
  42371. #. type: deftypevr
  42372. #: guix-git/doc/guix.texi:28122
  42373. #, no-wrap
  42374. msgid "{@code{tlp-configuration} parameter} boolean tlp-enable?"
  42375. msgstr ""
  42376. #. type: deftypevr
  42377. #: guix-git/doc/guix.texi:28124
  42378. msgid "Set to true if you wish to enable TLP."
  42379. msgstr ""
  42380. #. type: deftypevr
  42381. #: guix-git/doc/guix.texi:28129
  42382. #, no-wrap
  42383. msgid "{@code{tlp-configuration} parameter} string tlp-default-mode"
  42384. msgstr ""
  42385. #. type: deftypevr
  42386. #: guix-git/doc/guix.texi:28132
  42387. msgid "Default mode when no power supply can be detected. Alternatives are AC and BAT."
  42388. msgstr ""
  42389. #. type: deftypevr
  42390. #: guix-git/doc/guix.texi:28134
  42391. msgid "Defaults to @samp{\"AC\"}."
  42392. msgstr ""
  42393. #. type: deftypevr
  42394. #: guix-git/doc/guix.texi:28137
  42395. #, no-wrap
  42396. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-ac"
  42397. msgstr ""
  42398. #. type: deftypevr
  42399. #: guix-git/doc/guix.texi:28140
  42400. msgid "Number of seconds Linux kernel has to wait after the disk goes idle, before syncing on AC."
  42401. msgstr ""
  42402. #. type: deftypevr
  42403. #: guix-git/doc/guix.texi:28145
  42404. #, no-wrap
  42405. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-bat"
  42406. msgstr ""
  42407. #. type: deftypevr
  42408. #: guix-git/doc/guix.texi:28147
  42409. msgid "Same as @code{disk-idle-ac} but on BAT mode."
  42410. msgstr ""
  42411. #. type: deftypevr
  42412. #: guix-git/doc/guix.texi:28149
  42413. msgid "Defaults to @samp{2}."
  42414. msgstr ""
  42415. #. type: deftypevr
  42416. #: guix-git/doc/guix.texi:28152
  42417. #, no-wrap
  42418. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-ac"
  42419. msgstr ""
  42420. #. type: deftypevr
  42421. #: guix-git/doc/guix.texi:28154
  42422. msgid "Dirty pages flushing periodicity, expressed in seconds."
  42423. msgstr ""
  42424. #. type: deftypevr
  42425. #: guix-git/doc/guix.texi:28156 guix-git/doc/guix.texi:28379
  42426. #: guix-git/doc/guix.texi:30594 guix-git/doc/guix.texi:30602
  42427. msgid "Defaults to @samp{15}."
  42428. msgstr ""
  42429. #. type: deftypevr
  42430. #: guix-git/doc/guix.texi:28159
  42431. #, no-wrap
  42432. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-bat"
  42433. msgstr ""
  42434. #. type: deftypevr
  42435. #: guix-git/doc/guix.texi:28161
  42436. msgid "Same as @code{max-lost-work-secs-on-ac} but on BAT mode."
  42437. msgstr ""
  42438. #. type: deftypevr
  42439. #: guix-git/doc/guix.texi:28163
  42440. msgid "Defaults to @samp{60}."
  42441. msgstr ""
  42442. #. type: deftypevr
  42443. #: guix-git/doc/guix.texi:28166
  42444. #, no-wrap
  42445. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-ac"
  42446. msgstr ""
  42447. #. type: deftypevr
  42448. #: guix-git/doc/guix.texi:28170
  42449. 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."
  42450. msgstr ""
  42451. #. type: deftypevr
  42452. #: guix-git/doc/guix.texi:28175
  42453. #, no-wrap
  42454. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-bat"
  42455. msgstr ""
  42456. #. type: deftypevr
  42457. #: guix-git/doc/guix.texi:28177
  42458. msgid "Same as @code{cpu-scaling-governor-on-ac} but on BAT mode."
  42459. msgstr ""
  42460. #. type: deftypevr
  42461. #: guix-git/doc/guix.texi:28182
  42462. #, no-wrap
  42463. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-ac"
  42464. msgstr ""
  42465. #. type: deftypevr
  42466. #: guix-git/doc/guix.texi:28184
  42467. msgid "Set the min available frequency for the scaling governor on AC."
  42468. msgstr ""
  42469. #. type: deftypevr
  42470. #: guix-git/doc/guix.texi:28189
  42471. #, no-wrap
  42472. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-ac"
  42473. msgstr ""
  42474. #. type: deftypevr
  42475. #: guix-git/doc/guix.texi:28191
  42476. msgid "Set the max available frequency for the scaling governor on AC."
  42477. msgstr ""
  42478. #. type: deftypevr
  42479. #: guix-git/doc/guix.texi:28196
  42480. #, no-wrap
  42481. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-bat"
  42482. msgstr ""
  42483. #. type: deftypevr
  42484. #: guix-git/doc/guix.texi:28198
  42485. msgid "Set the min available frequency for the scaling governor on BAT."
  42486. msgstr ""
  42487. #. type: deftypevr
  42488. #: guix-git/doc/guix.texi:28203
  42489. #, no-wrap
  42490. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-bat"
  42491. msgstr ""
  42492. #. type: deftypevr
  42493. #: guix-git/doc/guix.texi:28205
  42494. msgid "Set the max available frequency for the scaling governor on BAT."
  42495. msgstr ""
  42496. #. type: deftypevr
  42497. #: guix-git/doc/guix.texi:28210
  42498. #, no-wrap
  42499. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-ac"
  42500. msgstr ""
  42501. #. type: deftypevr
  42502. #: guix-git/doc/guix.texi:28213
  42503. 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."
  42504. msgstr ""
  42505. #. type: deftypevr
  42506. #: guix-git/doc/guix.texi:28218
  42507. #, no-wrap
  42508. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-ac"
  42509. msgstr ""
  42510. #. type: deftypevr
  42511. #: guix-git/doc/guix.texi:28221
  42512. 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."
  42513. msgstr ""
  42514. #. type: deftypevr
  42515. #: guix-git/doc/guix.texi:28226
  42516. #, no-wrap
  42517. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-bat"
  42518. msgstr ""
  42519. #. type: deftypevr
  42520. #: guix-git/doc/guix.texi:28228
  42521. msgid "Same as @code{cpu-min-perf-on-ac} on BAT mode."
  42522. msgstr ""
  42523. #. type: deftypevr
  42524. #: guix-git/doc/guix.texi:28233
  42525. #, no-wrap
  42526. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-bat"
  42527. msgstr ""
  42528. #. type: deftypevr
  42529. #: guix-git/doc/guix.texi:28235
  42530. msgid "Same as @code{cpu-max-perf-on-ac} on BAT mode."
  42531. msgstr ""
  42532. #. type: deftypevr
  42533. #: guix-git/doc/guix.texi:28240
  42534. #, no-wrap
  42535. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-ac?"
  42536. msgstr ""
  42537. #. type: deftypevr
  42538. #: guix-git/doc/guix.texi:28242
  42539. msgid "Enable CPU turbo boost feature on AC mode."
  42540. msgstr ""
  42541. #. type: deftypevr
  42542. #: guix-git/doc/guix.texi:28247
  42543. #, no-wrap
  42544. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-bat?"
  42545. msgstr ""
  42546. #. type: deftypevr
  42547. #: guix-git/doc/guix.texi:28249
  42548. msgid "Same as @code{cpu-boost-on-ac?} on BAT mode."
  42549. msgstr ""
  42550. #. type: deftypevr
  42551. #: guix-git/doc/guix.texi:28254
  42552. #, no-wrap
  42553. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-ac?"
  42554. msgstr ""
  42555. #. type: deftypevr
  42556. #: guix-git/doc/guix.texi:28257
  42557. msgid "Allow Linux kernel to minimize the number of CPU cores/hyper-threads used under light load conditions."
  42558. msgstr ""
  42559. #. type: deftypevr
  42560. #: guix-git/doc/guix.texi:28262
  42561. #, no-wrap
  42562. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-bat?"
  42563. msgstr ""
  42564. #. type: deftypevr
  42565. #: guix-git/doc/guix.texi:28264
  42566. msgid "Same as @code{sched-powersave-on-ac?} but on BAT mode."
  42567. msgstr ""
  42568. #. type: deftypevr
  42569. #: guix-git/doc/guix.texi:28269
  42570. #, no-wrap
  42571. msgid "{@code{tlp-configuration} parameter} boolean nmi-watchdog?"
  42572. msgstr ""
  42573. #. type: deftypevr
  42574. #: guix-git/doc/guix.texi:28271
  42575. msgid "Enable Linux kernel NMI watchdog."
  42576. msgstr ""
  42577. #. type: deftypevr
  42578. #: guix-git/doc/guix.texi:28276
  42579. #, no-wrap
  42580. msgid "{@code{tlp-configuration} parameter} maybe-string phc-controls"
  42581. msgstr ""
  42582. #. type: deftypevr
  42583. #: guix-git/doc/guix.texi:28279
  42584. 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\"}."
  42585. msgstr ""
  42586. #. type: deftypevr
  42587. #: guix-git/doc/guix.texi:28284
  42588. #, no-wrap
  42589. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-ac"
  42590. msgstr ""
  42591. #. type: deftypevr
  42592. #: guix-git/doc/guix.texi:28287
  42593. msgid "Set CPU performance versus energy saving policy on AC@. Alternatives are performance, normal, powersave."
  42594. msgstr ""
  42595. #. type: deftypevr
  42596. #: guix-git/doc/guix.texi:28289 guix-git/doc/guix.texi:28387
  42597. #: guix-git/doc/guix.texi:28417
  42598. msgid "Defaults to @samp{\"performance\"}."
  42599. msgstr ""
  42600. #. type: deftypevr
  42601. #: guix-git/doc/guix.texi:28292
  42602. #, no-wrap
  42603. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-bat"
  42604. msgstr ""
  42605. #. type: deftypevr
  42606. #: guix-git/doc/guix.texi:28294
  42607. msgid "Same as @code{energy-perf-policy-ac} but on BAT mode."
  42608. msgstr ""
  42609. #. type: deftypevr
  42610. #: guix-git/doc/guix.texi:28296 guix-git/doc/guix.texi:28394
  42611. msgid "Defaults to @samp{\"powersave\"}."
  42612. msgstr ""
  42613. #. type: deftypevr
  42614. #: guix-git/doc/guix.texi:28299
  42615. #, no-wrap
  42616. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disks-devices"
  42617. msgstr ""
  42618. #. type: deftypevr
  42619. #: guix-git/doc/guix.texi:28301
  42620. msgid "Hard disk devices."
  42621. msgstr ""
  42622. #. type: deftypevr
  42623. #: guix-git/doc/guix.texi:28304
  42624. #, no-wrap
  42625. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-ac"
  42626. msgstr ""
  42627. #. type: deftypevr
  42628. #: guix-git/doc/guix.texi:28306
  42629. msgid "Hard disk advanced power management level."
  42630. msgstr ""
  42631. #. type: deftypevr
  42632. #: guix-git/doc/guix.texi:28309
  42633. #, no-wrap
  42634. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-bat"
  42635. msgstr ""
  42636. #. type: deftypevr
  42637. #: guix-git/doc/guix.texi:28311
  42638. msgid "Same as @code{disk-apm-bat} but on BAT mode."
  42639. msgstr ""
  42640. #. type: deftypevr
  42641. #: guix-git/doc/guix.texi:28314
  42642. #, no-wrap
  42643. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-ac"
  42644. msgstr ""
  42645. #. type: deftypevr
  42646. #: guix-git/doc/guix.texi:28317
  42647. msgid "Hard disk spin down timeout. One value has to be specified for each declared hard disk."
  42648. msgstr ""
  42649. #. type: deftypevr
  42650. #: guix-git/doc/guix.texi:28322
  42651. #, no-wrap
  42652. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-bat"
  42653. msgstr ""
  42654. #. type: deftypevr
  42655. #: guix-git/doc/guix.texi:28324
  42656. msgid "Same as @code{disk-spindown-timeout-on-ac} but on BAT mode."
  42657. msgstr ""
  42658. #. type: deftypevr
  42659. #: guix-git/doc/guix.texi:28329
  42660. #, no-wrap
  42661. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-iosched"
  42662. msgstr ""
  42663. #. type: deftypevr
  42664. #: guix-git/doc/guix.texi:28333
  42665. 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."
  42666. msgstr ""
  42667. #. type: deftypevr
  42668. #: guix-git/doc/guix.texi:28338
  42669. #, no-wrap
  42670. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-ac"
  42671. msgstr ""
  42672. #. type: deftypevr
  42673. #: guix-git/doc/guix.texi:28341
  42674. msgid "SATA aggressive link power management (ALPM) level. Alternatives are min_power, medium_power, max_performance."
  42675. msgstr ""
  42676. #. type: deftypevr
  42677. #: guix-git/doc/guix.texi:28343
  42678. msgid "Defaults to @samp{\"max_performance\"}."
  42679. msgstr ""
  42680. #. type: deftypevr
  42681. #: guix-git/doc/guix.texi:28346
  42682. #, no-wrap
  42683. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-bat"
  42684. msgstr ""
  42685. #. type: deftypevr
  42686. #: guix-git/doc/guix.texi:28348
  42687. msgid "Same as @code{sata-linkpwr-ac} but on BAT mode."
  42688. msgstr ""
  42689. #. type: deftypevr
  42690. #: guix-git/doc/guix.texi:28350
  42691. msgid "Defaults to @samp{\"min_power\"}."
  42692. msgstr ""
  42693. #. type: deftypevr
  42694. #: guix-git/doc/guix.texi:28353
  42695. #, no-wrap
  42696. msgid "{@code{tlp-configuration} parameter} maybe-string sata-linkpwr-blacklist"
  42697. msgstr ""
  42698. #. type: deftypevr
  42699. #: guix-git/doc/guix.texi:28355
  42700. msgid "Exclude specified SATA host devices for link power management."
  42701. msgstr ""
  42702. #. type: deftypevr
  42703. #: guix-git/doc/guix.texi:28360
  42704. #, no-wrap
  42705. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-ac?"
  42706. msgstr ""
  42707. #. type: deftypevr
  42708. #: guix-git/doc/guix.texi:28363
  42709. msgid "Enable Runtime Power Management for AHCI controller and disks on AC mode."
  42710. msgstr ""
  42711. #. type: deftypevr
  42712. #: guix-git/doc/guix.texi:28368
  42713. #, no-wrap
  42714. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-bat?"
  42715. msgstr ""
  42716. #. type: deftypevr
  42717. #: guix-git/doc/guix.texi:28370
  42718. msgid "Same as @code{ahci-runtime-pm-on-ac} on BAT mode."
  42719. msgstr ""
  42720. #. type: deftypevr
  42721. #: guix-git/doc/guix.texi:28375
  42722. #, no-wrap
  42723. msgid "{@code{tlp-configuration} parameter} non-negative-integer ahci-runtime-pm-timeout"
  42724. msgstr ""
  42725. #. type: deftypevr
  42726. #: guix-git/doc/guix.texi:28377
  42727. msgid "Seconds of inactivity before disk is suspended."
  42728. msgstr ""
  42729. #. type: deftypevr
  42730. #: guix-git/doc/guix.texi:28382
  42731. #, no-wrap
  42732. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-ac"
  42733. msgstr ""
  42734. #. type: deftypevr
  42735. #: guix-git/doc/guix.texi:28385
  42736. msgid "PCI Express Active State Power Management level. Alternatives are default, performance, powersave."
  42737. msgstr ""
  42738. #. type: deftypevr
  42739. #: guix-git/doc/guix.texi:28390
  42740. #, no-wrap
  42741. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-bat"
  42742. msgstr ""
  42743. #. type: deftypevr
  42744. #: guix-git/doc/guix.texi:28392
  42745. msgid "Same as @code{pcie-aspm-ac} but on BAT mode."
  42746. msgstr ""
  42747. #. type: deftypevr
  42748. #: guix-git/doc/guix.texi:28397
  42749. #, no-wrap
  42750. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-ac"
  42751. msgstr ""
  42752. #. type: deftypevr
  42753. #: guix-git/doc/guix.texi:28400
  42754. msgid "Radeon graphics clock speed level. Alternatives are low, mid, high, auto, default."
  42755. msgstr ""
  42756. #. type: deftypevr
  42757. #: guix-git/doc/guix.texi:28402
  42758. msgid "Defaults to @samp{\"high\"}."
  42759. msgstr ""
  42760. #. type: deftypevr
  42761. #: guix-git/doc/guix.texi:28405
  42762. #, no-wrap
  42763. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-bat"
  42764. msgstr ""
  42765. #. type: deftypevr
  42766. #: guix-git/doc/guix.texi:28407
  42767. msgid "Same as @code{radeon-power-ac} but on BAT mode."
  42768. msgstr ""
  42769. #. type: deftypevr
  42770. #: guix-git/doc/guix.texi:28409
  42771. msgid "Defaults to @samp{\"low\"}."
  42772. msgstr ""
  42773. #. type: deftypevr
  42774. #: guix-git/doc/guix.texi:28412
  42775. #, no-wrap
  42776. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-ac"
  42777. msgstr ""
  42778. #. type: deftypevr
  42779. #: guix-git/doc/guix.texi:28415
  42780. msgid "Radeon dynamic power management method (DPM). Alternatives are battery, performance."
  42781. msgstr ""
  42782. #. type: deftypevr
  42783. #: guix-git/doc/guix.texi:28420
  42784. #, no-wrap
  42785. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-bat"
  42786. msgstr ""
  42787. #. type: deftypevr
  42788. #: guix-git/doc/guix.texi:28422
  42789. msgid "Same as @code{radeon-dpm-state-ac} but on BAT mode."
  42790. msgstr ""
  42791. #. type: deftypevr
  42792. #: guix-git/doc/guix.texi:28424
  42793. msgid "Defaults to @samp{\"battery\"}."
  42794. msgstr ""
  42795. #. type: deftypevr
  42796. #: guix-git/doc/guix.texi:28427
  42797. #, no-wrap
  42798. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-ac"
  42799. msgstr ""
  42800. #. type: deftypevr
  42801. #: guix-git/doc/guix.texi:28429
  42802. msgid "Radeon DPM performance level. Alternatives are auto, low, high."
  42803. msgstr ""
  42804. #. type: deftypevr
  42805. #: guix-git/doc/guix.texi:28431 guix-git/doc/guix.texi:28438
  42806. #: guix-git/doc/guix.texi:28512
  42807. msgid "Defaults to @samp{\"auto\"}."
  42808. msgstr ""
  42809. #. type: deftypevr
  42810. #: guix-git/doc/guix.texi:28434
  42811. #, no-wrap
  42812. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-bat"
  42813. msgstr ""
  42814. #. type: deftypevr
  42815. #: guix-git/doc/guix.texi:28436
  42816. msgid "Same as @code{radeon-dpm-perf-ac} but on BAT mode."
  42817. msgstr ""
  42818. #. type: deftypevr
  42819. #: guix-git/doc/guix.texi:28441
  42820. #, no-wrap
  42821. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-ac?"
  42822. msgstr ""
  42823. #. type: deftypevr
  42824. #: guix-git/doc/guix.texi:28443
  42825. msgid "Wifi power saving mode."
  42826. msgstr ""
  42827. #. type: deftypevr
  42828. #: guix-git/doc/guix.texi:28448
  42829. #, no-wrap
  42830. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-bat?"
  42831. msgstr ""
  42832. #. type: deftypevr
  42833. #: guix-git/doc/guix.texi:28450
  42834. msgid "Same as @code{wifi-power-ac?} but on BAT mode."
  42835. msgstr ""
  42836. #. type: deftypevr
  42837. #: guix-git/doc/guix.texi:28455
  42838. #, no-wrap
  42839. msgid "{@code{tlp-configuration} parameter} y-n-boolean wol-disable?"
  42840. msgstr ""
  42841. #. type: deftypevr
  42842. #: guix-git/doc/guix.texi:28457
  42843. msgid "Disable wake on LAN."
  42844. msgstr ""
  42845. #. type: deftypevr
  42846. #: guix-git/doc/guix.texi:28462
  42847. #, no-wrap
  42848. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-ac"
  42849. msgstr ""
  42850. #. type: deftypevr
  42851. #: guix-git/doc/guix.texi:28465
  42852. msgid "Timeout duration in seconds before activating audio power saving on Intel HDA and AC97 devices. A value of 0 disables power saving."
  42853. msgstr ""
  42854. #. type: deftypevr
  42855. #: guix-git/doc/guix.texi:28470
  42856. #, no-wrap
  42857. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-bat"
  42858. msgstr ""
  42859. #. type: deftypevr
  42860. #: guix-git/doc/guix.texi:28472
  42861. msgid "Same as @code{sound-powersave-ac} but on BAT mode."
  42862. msgstr ""
  42863. #. type: deftypevr
  42864. #: guix-git/doc/guix.texi:28477
  42865. #, no-wrap
  42866. msgid "{@code{tlp-configuration} parameter} y-n-boolean sound-power-save-controller?"
  42867. msgstr ""
  42868. #. type: deftypevr
  42869. #: guix-git/doc/guix.texi:28479
  42870. msgid "Disable controller in powersaving mode on Intel HDA devices."
  42871. msgstr ""
  42872. #. type: deftypevr
  42873. #: guix-git/doc/guix.texi:28484
  42874. #, no-wrap
  42875. msgid "{@code{tlp-configuration} parameter} boolean bay-poweroff-on-bat?"
  42876. msgstr ""
  42877. #. type: deftypevr
  42878. #: guix-git/doc/guix.texi:28488
  42879. 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."
  42880. msgstr ""
  42881. #. type: deftypevr
  42882. #: guix-git/doc/guix.texi:28493
  42883. #, no-wrap
  42884. msgid "{@code{tlp-configuration} parameter} string bay-device"
  42885. msgstr ""
  42886. #. type: deftypevr
  42887. #: guix-git/doc/guix.texi:28495
  42888. msgid "Name of the optical drive device to power off."
  42889. msgstr ""
  42890. #. type: deftypevr
  42891. #: guix-git/doc/guix.texi:28497
  42892. msgid "Defaults to @samp{\"sr0\"}."
  42893. msgstr ""
  42894. #. type: deftypevr
  42895. #: guix-git/doc/guix.texi:28500
  42896. #, no-wrap
  42897. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-ac"
  42898. msgstr ""
  42899. #. type: deftypevr
  42900. #: guix-git/doc/guix.texi:28503
  42901. msgid "Runtime Power Management for PCI(e) bus devices. Alternatives are on and auto."
  42902. msgstr ""
  42903. #. type: deftypevr
  42904. #: guix-git/doc/guix.texi:28505
  42905. msgid "Defaults to @samp{\"on\"}."
  42906. msgstr ""
  42907. #. type: deftypevr
  42908. #: guix-git/doc/guix.texi:28508
  42909. #, no-wrap
  42910. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-bat"
  42911. msgstr ""
  42912. #. type: deftypevr
  42913. #: guix-git/doc/guix.texi:28510
  42914. msgid "Same as @code{runtime-pm-ac} but on BAT mode."
  42915. msgstr ""
  42916. #. type: deftypevr
  42917. #: guix-git/doc/guix.texi:28515
  42918. #, no-wrap
  42919. msgid "{@code{tlp-configuration} parameter} boolean runtime-pm-all?"
  42920. msgstr ""
  42921. #. type: deftypevr
  42922. #: guix-git/doc/guix.texi:28518
  42923. msgid "Runtime Power Management for all PCI(e) bus devices, except blacklisted ones."
  42924. msgstr ""
  42925. #. type: deftypevr
  42926. #: guix-git/doc/guix.texi:28523
  42927. #, no-wrap
  42928. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list runtime-pm-blacklist"
  42929. msgstr ""
  42930. #. type: deftypevr
  42931. #: guix-git/doc/guix.texi:28525
  42932. msgid "Exclude specified PCI(e) device addresses from Runtime Power Management."
  42933. msgstr ""
  42934. #. type: deftypevr
  42935. #: guix-git/doc/guix.texi:28530
  42936. #, no-wrap
  42937. msgid "{@code{tlp-configuration} parameter} space-separated-string-list runtime-pm-driver-blacklist"
  42938. msgstr ""
  42939. #. type: deftypevr
  42940. #: guix-git/doc/guix.texi:28533
  42941. msgid "Exclude PCI(e) devices assigned to the specified drivers from Runtime Power Management."
  42942. msgstr ""
  42943. #. type: deftypevr
  42944. #: guix-git/doc/guix.texi:28536
  42945. #, no-wrap
  42946. msgid "{@code{tlp-configuration} parameter} boolean usb-autosuspend?"
  42947. msgstr ""
  42948. #. type: deftypevr
  42949. #: guix-git/doc/guix.texi:28538
  42950. msgid "Enable USB autosuspend feature."
  42951. msgstr ""
  42952. #. type: deftypevr
  42953. #: guix-git/doc/guix.texi:28543
  42954. #, no-wrap
  42955. msgid "{@code{tlp-configuration} parameter} maybe-string usb-blacklist"
  42956. msgstr ""
  42957. #. type: deftypevr
  42958. #: guix-git/doc/guix.texi:28545
  42959. msgid "Exclude specified devices from USB autosuspend."
  42960. msgstr ""
  42961. #. type: deftypevr
  42962. #: guix-git/doc/guix.texi:28550
  42963. #, no-wrap
  42964. msgid "{@code{tlp-configuration} parameter} boolean usb-blacklist-wwan?"
  42965. msgstr ""
  42966. #. type: deftypevr
  42967. #: guix-git/doc/guix.texi:28552
  42968. msgid "Exclude WWAN devices from USB autosuspend."
  42969. msgstr ""
  42970. #. type: deftypevr
  42971. #: guix-git/doc/guix.texi:28557
  42972. #, no-wrap
  42973. msgid "{@code{tlp-configuration} parameter} maybe-string usb-whitelist"
  42974. msgstr ""
  42975. #. type: deftypevr
  42976. #: guix-git/doc/guix.texi:28560
  42977. msgid "Include specified devices into USB autosuspend, even if they are already excluded by the driver or via @code{usb-blacklist-wwan?}."
  42978. msgstr ""
  42979. #. type: deftypevr
  42980. #: guix-git/doc/guix.texi:28565
  42981. #, no-wrap
  42982. msgid "{@code{tlp-configuration} parameter} maybe-boolean usb-autosuspend-disable-on-shutdown?"
  42983. msgstr ""
  42984. #. type: deftypevr
  42985. #: guix-git/doc/guix.texi:28567
  42986. msgid "Enable USB autosuspend before shutdown."
  42987. msgstr ""
  42988. #. type: deftypevr
  42989. #: guix-git/doc/guix.texi:28572
  42990. #, no-wrap
  42991. msgid "{@code{tlp-configuration} parameter} boolean restore-device-state-on-startup?"
  42992. msgstr ""
  42993. #. type: deftypevr
  42994. #: guix-git/doc/guix.texi:28575
  42995. msgid "Restore radio device state (bluetooth, wifi, wwan) from previous shutdown on system startup."
  42996. msgstr ""
  42997. #. type: cindex
  42998. #: guix-git/doc/guix.texi:28580
  42999. #, no-wrap
  43000. msgid "thermald"
  43001. msgstr ""
  43002. #. type: cindex
  43003. #: guix-git/doc/guix.texi:28581
  43004. #, no-wrap
  43005. msgid "CPU frequency scaling with thermald"
  43006. msgstr ""
  43007. #. type: subsubheading
  43008. #: guix-git/doc/guix.texi:28582
  43009. #, no-wrap
  43010. msgid "Thermald daemon"
  43011. msgstr ""
  43012. #. type: Plain text
  43013. #: guix-git/doc/guix.texi:28586
  43014. msgid "The @code{(gnu services pm)} module provides an interface to thermald, a CPU frequency scaling service which helps prevent overheating."
  43015. msgstr ""
  43016. #. type: defvr
  43017. #: guix-git/doc/guix.texi:28587
  43018. #, no-wrap
  43019. msgid "{Scheme Variable} thermald-service-type"
  43020. msgstr ""
  43021. #. type: defvr
  43022. #: guix-git/doc/guix.texi:28592
  43023. 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."
  43024. msgstr ""
  43025. #. type: deftp
  43026. #: guix-git/doc/guix.texi:28594
  43027. #, no-wrap
  43028. msgid "{Data Type} thermald-configuration"
  43029. msgstr ""
  43030. #. type: deftp
  43031. #: guix-git/doc/guix.texi:28596
  43032. msgid "Data type representing the configuration of @code{thermald-service-type}."
  43033. msgstr ""
  43034. #. type: item
  43035. #: guix-git/doc/guix.texi:28598
  43036. #, no-wrap
  43037. msgid "@code{ignore-cpuid-check?} (default: @code{#f})"
  43038. msgstr ""
  43039. #. type: table
  43040. #: guix-git/doc/guix.texi:28600
  43041. msgid "Ignore cpuid check for supported CPU models."
  43042. msgstr ""
  43043. #. type: item
  43044. #: guix-git/doc/guix.texi:28601
  43045. #, no-wrap
  43046. msgid "@code{thermald} (default: @var{thermald})"
  43047. msgstr ""
  43048. #. type: table
  43049. #: guix-git/doc/guix.texi:28603
  43050. msgid "Package object of thermald."
  43051. msgstr ""
  43052. #. type: Plain text
  43053. #: guix-git/doc/guix.texi:28612
  43054. msgid "The @code{(gnu services audio)} module provides a service to start MPD (the Music Player Daemon)."
  43055. msgstr ""
  43056. #. type: cindex
  43057. #: guix-git/doc/guix.texi:28613
  43058. #, no-wrap
  43059. msgid "mpd"
  43060. msgstr ""
  43061. #. type: subsubheading
  43062. #: guix-git/doc/guix.texi:28614
  43063. #, no-wrap
  43064. msgid "Music Player Daemon"
  43065. msgstr ""
  43066. #. type: Plain text
  43067. #: guix-git/doc/guix.texi:28619
  43068. 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."
  43069. msgstr ""
  43070. #. type: Plain text
  43071. #: guix-git/doc/guix.texi:28622
  43072. msgid "The following example shows how one might run @code{mpd} as user @code{\"bob\"} on port @code{6666}. It uses pulseaudio for output."
  43073. msgstr ""
  43074. #. type: lisp
  43075. #: guix-git/doc/guix.texi:28628
  43076. #, no-wrap
  43077. msgid ""
  43078. "(service mpd-service-type\n"
  43079. " (mpd-configuration\n"
  43080. " (user \"bob\")\n"
  43081. " (port \"6666\")))\n"
  43082. msgstr ""
  43083. #. type: defvr
  43084. #: guix-git/doc/guix.texi:28630
  43085. #, no-wrap
  43086. msgid "{Scheme Variable} mpd-service-type"
  43087. msgstr ""
  43088. #. type: defvr
  43089. #: guix-git/doc/guix.texi:28632
  43090. msgid "The service type for @command{mpd}"
  43091. msgstr ""
  43092. #. type: deftp
  43093. #: guix-git/doc/guix.texi:28634
  43094. #, no-wrap
  43095. msgid "{Data Type} mpd-configuration"
  43096. msgstr ""
  43097. #. type: deftp
  43098. #: guix-git/doc/guix.texi:28636
  43099. msgid "Data type representing the configuration of @command{mpd}."
  43100. msgstr ""
  43101. #. type: item
  43102. #: guix-git/doc/guix.texi:28638
  43103. #, no-wrap
  43104. msgid "@code{user} (default: @code{\"mpd\"})"
  43105. msgstr ""
  43106. #. type: table
  43107. #: guix-git/doc/guix.texi:28640
  43108. msgid "The user to run mpd as."
  43109. msgstr ""
  43110. #. type: item
  43111. #: guix-git/doc/guix.texi:28641
  43112. #, no-wrap
  43113. msgid "@code{music-dir} (default: @code{\"~/Music\"})"
  43114. msgstr ""
  43115. #. type: table
  43116. #: guix-git/doc/guix.texi:28643
  43117. msgid "The directory to scan for music files."
  43118. msgstr ""
  43119. #. type: item
  43120. #: guix-git/doc/guix.texi:28644
  43121. #, no-wrap
  43122. msgid "@code{playlist-dir} (default: @code{\"~/.mpd/playlists\"})"
  43123. msgstr ""
  43124. #. type: table
  43125. #: guix-git/doc/guix.texi:28646
  43126. msgid "The directory to store playlists."
  43127. msgstr ""
  43128. #. type: item
  43129. #: guix-git/doc/guix.texi:28647
  43130. #, no-wrap
  43131. msgid "@code{db-file} (default: @code{\"~/.mpd/tag_cache\"})"
  43132. msgstr ""
  43133. #. type: table
  43134. #: guix-git/doc/guix.texi:28649
  43135. msgid "The location of the music database."
  43136. msgstr ""
  43137. #. type: item
  43138. #: guix-git/doc/guix.texi:28650
  43139. #, no-wrap
  43140. msgid "@code{state-file} (default: @code{\"~/.mpd/state\"})"
  43141. msgstr ""
  43142. #. type: table
  43143. #: guix-git/doc/guix.texi:28652
  43144. msgid "The location of the file that stores current MPD's state."
  43145. msgstr ""
  43146. #. type: item
  43147. #: guix-git/doc/guix.texi:28653
  43148. #, no-wrap
  43149. msgid "@code{sticker-file} (default: @code{\"~/.mpd/sticker.sql\"})"
  43150. msgstr ""
  43151. #. type: table
  43152. #: guix-git/doc/guix.texi:28655
  43153. msgid "The location of the sticker database."
  43154. msgstr ""
  43155. #. type: item
  43156. #: guix-git/doc/guix.texi:28656
  43157. #, no-wrap
  43158. msgid "@code{port} (default: @code{\"6600\"})"
  43159. msgstr "@code{porta} (default: @code{\"6600\"})"
  43160. #. type: table
  43161. #: guix-git/doc/guix.texi:28658
  43162. msgid "The port to run mpd on."
  43163. msgstr ""
  43164. #. type: item
  43165. #: guix-git/doc/guix.texi:28659
  43166. #, no-wrap
  43167. msgid "@code{address} (default: @code{\"any\"})"
  43168. msgstr ""
  43169. #. type: table
  43170. #: guix-git/doc/guix.texi:28662
  43171. msgid "The address that mpd will bind to. To use a Unix domain socket, an absolute path can be specified here."
  43172. msgstr ""
  43173. #. type: item
  43174. #: guix-git/doc/guix.texi:28663
  43175. #, no-wrap
  43176. msgid "@code{outputs} (default: @code{\"(list (mpd-output))\"})"
  43177. msgstr ""
  43178. #. type: table
  43179. #: guix-git/doc/guix.texi:28665
  43180. msgid "The audio outputs that MPD can use. By default this is a single output using pulseaudio."
  43181. msgstr ""
  43182. #. type: deftp
  43183. #: guix-git/doc/guix.texi:28669
  43184. #, no-wrap
  43185. msgid "{Data Type} mpd-output"
  43186. msgstr ""
  43187. #. type: deftp
  43188. #: guix-git/doc/guix.texi:28671
  43189. msgid "Data type representing an @command{mpd} audio output."
  43190. msgstr ""
  43191. #. type: item
  43192. #: guix-git/doc/guix.texi:28673
  43193. #, no-wrap
  43194. msgid "@code{name} (default: @code{\"MPD\"})"
  43195. msgstr ""
  43196. #. type: table
  43197. #: guix-git/doc/guix.texi:28675
  43198. msgid "The name of the audio output."
  43199. msgstr ""
  43200. #. type: item
  43201. #: guix-git/doc/guix.texi:28676
  43202. #, no-wrap
  43203. msgid "@code{type} (default: @code{\"pulse\"})"
  43204. msgstr ""
  43205. #. type: table
  43206. #: guix-git/doc/guix.texi:28678
  43207. msgid "The type of audio output."
  43208. msgstr ""
  43209. #. type: item
  43210. #: guix-git/doc/guix.texi:28679
  43211. #, no-wrap
  43212. msgid "@code{enabled?} (default: @code{#t})"
  43213. msgstr ""
  43214. #. type: table
  43215. #: guix-git/doc/guix.texi:28684
  43216. 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."
  43217. msgstr ""
  43218. #. type: item
  43219. #: guix-git/doc/guix.texi:28685
  43220. #, no-wrap
  43221. msgid "@code{tags?} (default: @code{#t})"
  43222. msgstr ""
  43223. #. type: table
  43224. #: guix-git/doc/guix.texi:28689
  43225. 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."
  43226. msgstr ""
  43227. #. type: item
  43228. #: guix-git/doc/guix.texi:28690
  43229. #, no-wrap
  43230. msgid "@code{always-on?} (default: @code{#f})"
  43231. msgstr ""
  43232. #. type: table
  43233. #: guix-git/doc/guix.texi:28694
  43234. 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."
  43235. msgstr ""
  43236. #. type: code{#1}
  43237. #: guix-git/doc/guix.texi:28695
  43238. #, no-wrap
  43239. msgid "mixer-type"
  43240. msgstr ""
  43241. #. type: table
  43242. #: guix-git/doc/guix.texi:28701
  43243. 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})."
  43244. msgstr ""
  43245. #. type: table
  43246. #: guix-git/doc/guix.texi:28705
  43247. msgid "An association list of option symbols to string values to be appended to the audio output configuration."
  43248. msgstr ""
  43249. #. type: Plain text
  43250. #: guix-git/doc/guix.texi:28711
  43251. msgid "The following example shows a configuration of @code{mpd} that provides an HTTP audio streaming output."
  43252. msgstr ""
  43253. #. type: lisp
  43254. #: guix-git/doc/guix.texi:28723
  43255. #, no-wrap
  43256. msgid ""
  43257. "(service mpd-service-type\n"
  43258. " (mpd-configuration\n"
  43259. " (outputs\n"
  43260. " (list (mpd-output\n"
  43261. " (name \"streaming\")\n"
  43262. " (type \"httpd\")\n"
  43263. " (mixer-type 'null)\n"
  43264. " (extra-options\n"
  43265. " `((encoder . \"vorbis\")\n"
  43266. " (port . \"8080\"))))))))\n"
  43267. msgstr ""
  43268. #. type: Plain text
  43269. #: guix-git/doc/guix.texi:28732
  43270. msgid "The @code{(gnu services virtualization)} module provides services for the libvirt and virtlog daemons, as well as other virtualization-related services."
  43271. msgstr ""
  43272. #. type: subsubheading
  43273. #: guix-git/doc/guix.texi:28733
  43274. #, no-wrap
  43275. msgid "Libvirt daemon"
  43276. msgstr ""
  43277. #. type: Plain text
  43278. #: guix-git/doc/guix.texi:28738
  43279. 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."
  43280. msgstr ""
  43281. #. type: deffn
  43282. #: guix-git/doc/guix.texi:28739
  43283. #, no-wrap
  43284. msgid "{Scheme Variable} libvirt-service-type"
  43285. msgstr ""
  43286. #. type: deffn
  43287. #: guix-git/doc/guix.texi:28742
  43288. msgid "This is the type of the @uref{https://libvirt.org, libvirt daemon}. Its value must be a @code{libvirt-configuration}."
  43289. msgstr ""
  43290. #. type: lisp
  43291. #: guix-git/doc/guix.texi:28748
  43292. #, no-wrap
  43293. msgid ""
  43294. "(service libvirt-service-type\n"
  43295. " (libvirt-configuration\n"
  43296. " (unix-sock-group \"libvirt\")\n"
  43297. " (tls-port \"16555\")))\n"
  43298. msgstr ""
  43299. #. type: Plain text
  43300. #: guix-git/doc/guix.texi:28753
  43301. msgid "Available @code{libvirt-configuration} fields are:"
  43302. msgstr ""
  43303. #. type: deftypevr
  43304. #: guix-git/doc/guix.texi:28754
  43305. #, no-wrap
  43306. msgid "{@code{libvirt-configuration} parameter} package libvirt"
  43307. msgstr ""
  43308. #. type: deftypevr
  43309. #: guix-git/doc/guix.texi:28756
  43310. msgid "Libvirt package."
  43311. msgstr ""
  43312. #. type: deftypevr
  43313. #: guix-git/doc/guix.texi:28759
  43314. #, no-wrap
  43315. msgid "{@code{libvirt-configuration} parameter} boolean listen-tls?"
  43316. msgstr ""
  43317. #. type: deftypevr
  43318. #: guix-git/doc/guix.texi:28762
  43319. msgid "Flag listening for secure TLS connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  43320. msgstr ""
  43321. #. type: deftypevr
  43322. #: guix-git/doc/guix.texi:28765
  43323. msgid "It is necessary to setup a CA and issue server certificates before using this capability."
  43324. msgstr ""
  43325. #. type: deftypevr
  43326. #: guix-git/doc/guix.texi:28770
  43327. #, no-wrap
  43328. msgid "{@code{libvirt-configuration} parameter} boolean listen-tcp?"
  43329. msgstr ""
  43330. #. type: deftypevr
  43331. #: guix-git/doc/guix.texi:28773
  43332. msgid "Listen for unencrypted TCP connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  43333. msgstr ""
  43334. #. type: deftypevr
  43335. #: guix-git/doc/guix.texi:28777
  43336. 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)."
  43337. msgstr ""
  43338. #. type: deftypevr
  43339. #: guix-git/doc/guix.texi:28782
  43340. #, no-wrap
  43341. msgid "{@code{libvirt-configuration} parameter} string tls-port"
  43342. msgstr ""
  43343. #. type: deftypevr
  43344. #: guix-git/doc/guix.texi:28785
  43345. msgid "Port for accepting secure TLS connections. This can be a port number, or service name."
  43346. msgstr ""
  43347. #. type: deftypevr
  43348. #: guix-git/doc/guix.texi:28787
  43349. msgid "Defaults to @samp{\"16514\"}."
  43350. msgstr ""
  43351. #. type: deftypevr
  43352. #: guix-git/doc/guix.texi:28790
  43353. #, no-wrap
  43354. msgid "{@code{libvirt-configuration} parameter} string tcp-port"
  43355. msgstr ""
  43356. #. type: deftypevr
  43357. #: guix-git/doc/guix.texi:28793
  43358. msgid "Port for accepting insecure TCP connections. This can be a port number, or service name."
  43359. msgstr ""
  43360. #. type: deftypevr
  43361. #: guix-git/doc/guix.texi:28795
  43362. msgid "Defaults to @samp{\"16509\"}."
  43363. msgstr ""
  43364. #. type: deftypevr
  43365. #: guix-git/doc/guix.texi:28798
  43366. #, no-wrap
  43367. msgid "{@code{libvirt-configuration} parameter} string listen-addr"
  43368. msgstr ""
  43369. #. type: deftypevr
  43370. #: guix-git/doc/guix.texi:28800
  43371. msgid "IP address or hostname used for client connections."
  43372. msgstr ""
  43373. #. type: deftypevr
  43374. #: guix-git/doc/guix.texi:28805
  43375. #, no-wrap
  43376. msgid "{@code{libvirt-configuration} parameter} boolean mdns-adv?"
  43377. msgstr ""
  43378. #. type: deftypevr
  43379. #: guix-git/doc/guix.texi:28807
  43380. msgid "Flag toggling mDNS advertisement of the libvirt service."
  43381. msgstr ""
  43382. #. type: deftypevr
  43383. #: guix-git/doc/guix.texi:28810
  43384. msgid "Alternatively can disable for all services on a host by stopping the Avahi daemon."
  43385. msgstr ""
  43386. #. type: deftypevr
  43387. #: guix-git/doc/guix.texi:28815
  43388. #, no-wrap
  43389. msgid "{@code{libvirt-configuration} parameter} string mdns-name"
  43390. msgstr ""
  43391. #. type: deftypevr
  43392. #: guix-git/doc/guix.texi:28818
  43393. msgid "Default mDNS advertisement name. This must be unique on the immediate broadcast network."
  43394. msgstr ""
  43395. #. type: deftypevr
  43396. #: guix-git/doc/guix.texi:28820
  43397. msgid "Defaults to @samp{\"Virtualization Host <hostname>\"}."
  43398. msgstr ""
  43399. #. type: deftypevr
  43400. #: guix-git/doc/guix.texi:28823
  43401. #, no-wrap
  43402. msgid "{@code{libvirt-configuration} parameter} string unix-sock-group"
  43403. msgstr ""
  43404. #. type: deftypevr
  43405. #: guix-git/doc/guix.texi:28827
  43406. msgid "UNIX domain socket group ownership. This can be used to allow a 'trusted' set of users access to management capabilities without becoming root."
  43407. msgstr ""
  43408. #. type: deftypevr
  43409. #: guix-git/doc/guix.texi:28832
  43410. #, no-wrap
  43411. msgid "{@code{libvirt-configuration} parameter} string unix-sock-ro-perms"
  43412. msgstr ""
  43413. #. type: deftypevr
  43414. #: guix-git/doc/guix.texi:28835
  43415. msgid "UNIX socket permissions for the R/O socket. This is used for monitoring VM status only."
  43416. msgstr ""
  43417. #. type: deftypevr
  43418. #: guix-git/doc/guix.texi:28837 guix-git/doc/guix.texi:28855
  43419. msgid "Defaults to @samp{\"0777\"}."
  43420. msgstr ""
  43421. #. type: deftypevr
  43422. #: guix-git/doc/guix.texi:28840
  43423. #, no-wrap
  43424. msgid "{@code{libvirt-configuration} parameter} string unix-sock-rw-perms"
  43425. msgstr ""
  43426. #. type: deftypevr
  43427. #: guix-git/doc/guix.texi:28844
  43428. 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)"
  43429. msgstr ""
  43430. #. type: deftypevr
  43431. #: guix-git/doc/guix.texi:28846
  43432. msgid "Defaults to @samp{\"0770\"}."
  43433. msgstr ""
  43434. #. type: deftypevr
  43435. #: guix-git/doc/guix.texi:28849
  43436. #, no-wrap
  43437. msgid "{@code{libvirt-configuration} parameter} string unix-sock-admin-perms"
  43438. msgstr ""
  43439. #. type: deftypevr
  43440. #: guix-git/doc/guix.texi:28853
  43441. 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."
  43442. msgstr ""
  43443. #. type: deftypevr
  43444. #: guix-git/doc/guix.texi:28858
  43445. #, no-wrap
  43446. msgid "{@code{libvirt-configuration} parameter} string unix-sock-dir"
  43447. msgstr ""
  43448. #. type: deftypevr
  43449. #: guix-git/doc/guix.texi:28860
  43450. msgid "The directory in which sockets will be found/created."
  43451. msgstr ""
  43452. #. type: deftypevr
  43453. #: guix-git/doc/guix.texi:28862
  43454. msgid "Defaults to @samp{\"/var/run/libvirt\"}."
  43455. msgstr ""
  43456. #. type: deftypevr
  43457. #: guix-git/doc/guix.texi:28865
  43458. #, no-wrap
  43459. msgid "{@code{libvirt-configuration} parameter} string auth-unix-ro"
  43460. msgstr ""
  43461. #. type: deftypevr
  43462. #: guix-git/doc/guix.texi:28868
  43463. msgid "Authentication scheme for UNIX read-only sockets. By default socket permissions allow anyone to connect"
  43464. msgstr ""
  43465. #. type: deftypevr
  43466. #: guix-git/doc/guix.texi:28870 guix-git/doc/guix.texi:28879
  43467. msgid "Defaults to @samp{\"polkit\"}."
  43468. msgstr ""
  43469. #. type: deftypevr
  43470. #: guix-git/doc/guix.texi:28873
  43471. #, no-wrap
  43472. msgid "{@code{libvirt-configuration} parameter} string auth-unix-rw"
  43473. msgstr ""
  43474. #. type: deftypevr
  43475. #: guix-git/doc/guix.texi:28877
  43476. 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."
  43477. msgstr ""
  43478. #. type: deftypevr
  43479. #: guix-git/doc/guix.texi:28882
  43480. #, no-wrap
  43481. msgid "{@code{libvirt-configuration} parameter} string auth-tcp"
  43482. msgstr ""
  43483. #. type: deftypevr
  43484. #: guix-git/doc/guix.texi:28886
  43485. 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."
  43486. msgstr ""
  43487. #. type: deftypevr
  43488. #: guix-git/doc/guix.texi:28888
  43489. msgid "Defaults to @samp{\"sasl\"}."
  43490. msgstr ""
  43491. #. type: deftypevr
  43492. #: guix-git/doc/guix.texi:28891
  43493. #, no-wrap
  43494. msgid "{@code{libvirt-configuration} parameter} string auth-tls"
  43495. msgstr ""
  43496. #. type: deftypevr
  43497. #: guix-git/doc/guix.texi:28895
  43498. msgid "Authentication scheme for TLS sockets. TLS sockets already have encryption provided by the TLS layer, and limited authentication is done by certificates."
  43499. msgstr ""
  43500. #. type: deftypevr
  43501. #: guix-git/doc/guix.texi:28898
  43502. msgid "It is possible to make use of any SASL authentication mechanism as well, by using 'sasl' for this option"
  43503. msgstr ""
  43504. #. type: deftypevr
  43505. #: guix-git/doc/guix.texi:28900
  43506. msgid "Defaults to @samp{\"none\"}."
  43507. msgstr ""
  43508. #. type: deftypevr
  43509. #: guix-git/doc/guix.texi:28903
  43510. #, no-wrap
  43511. msgid "{@code{libvirt-configuration} parameter} optional-list access-drivers"
  43512. msgstr ""
  43513. #. type: deftypevr
  43514. #: guix-git/doc/guix.texi:28905
  43515. msgid "API access control scheme."
  43516. msgstr ""
  43517. #. type: deftypevr
  43518. #: guix-git/doc/guix.texi:28908
  43519. msgid "By default an authenticated user is allowed access to all APIs. Access drivers can place restrictions on this."
  43520. msgstr ""
  43521. #. type: deftypevr
  43522. #: guix-git/doc/guix.texi:28913
  43523. #, no-wrap
  43524. msgid "{@code{libvirt-configuration} parameter} string key-file"
  43525. msgstr ""
  43526. #. type: deftypevr
  43527. #: guix-git/doc/guix.texi:28916
  43528. msgid "Server key file path. If set to an empty string, then no private key is loaded."
  43529. msgstr ""
  43530. #. type: deftypevr
  43531. #: guix-git/doc/guix.texi:28921
  43532. #, no-wrap
  43533. msgid "{@code{libvirt-configuration} parameter} string cert-file"
  43534. msgstr ""
  43535. #. type: deftypevr
  43536. #: guix-git/doc/guix.texi:28924
  43537. msgid "Server key file path. If set to an empty string, then no certificate is loaded."
  43538. msgstr ""
  43539. #. type: deftypevr
  43540. #: guix-git/doc/guix.texi:28929
  43541. #, no-wrap
  43542. msgid "{@code{libvirt-configuration} parameter} string ca-file"
  43543. msgstr ""
  43544. #. type: deftypevr
  43545. #: guix-git/doc/guix.texi:28932
  43546. msgid "Server key file path. If set to an empty string, then no CA certificate is loaded."
  43547. msgstr ""
  43548. #. type: deftypevr
  43549. #: guix-git/doc/guix.texi:28937
  43550. #, no-wrap
  43551. msgid "{@code{libvirt-configuration} parameter} string crl-file"
  43552. msgstr ""
  43553. #. type: deftypevr
  43554. #: guix-git/doc/guix.texi:28940
  43555. msgid "Certificate revocation list path. If set to an empty string, then no CRL is loaded."
  43556. msgstr ""
  43557. #. type: deftypevr
  43558. #: guix-git/doc/guix.texi:28945
  43559. #, no-wrap
  43560. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-sanity-cert"
  43561. msgstr ""
  43562. #. type: deftypevr
  43563. #: guix-git/doc/guix.texi:28947
  43564. msgid "Disable verification of our own server certificates."
  43565. msgstr ""
  43566. #. type: deftypevr
  43567. #: guix-git/doc/guix.texi:28950
  43568. msgid "When libvirtd starts it performs some sanity checks against its own certificates."
  43569. msgstr ""
  43570. #. type: deftypevr
  43571. #: guix-git/doc/guix.texi:28955
  43572. #, no-wrap
  43573. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-verify-cert"
  43574. msgstr ""
  43575. #. type: deftypevr
  43576. #: guix-git/doc/guix.texi:28957
  43577. msgid "Disable verification of client certificates."
  43578. msgstr ""
  43579. #. type: deftypevr
  43580. #: guix-git/doc/guix.texi:28961
  43581. msgid "Client certificate verification is the primary authentication mechanism. Any client which does not present a certificate signed by the CA will be rejected."
  43582. msgstr ""
  43583. #. type: deftypevr
  43584. #: guix-git/doc/guix.texi:28966
  43585. #, no-wrap
  43586. msgid "{@code{libvirt-configuration} parameter} optional-list tls-allowed-dn-list"
  43587. msgstr ""
  43588. #. type: deftypevr
  43589. #: guix-git/doc/guix.texi:28968
  43590. msgid "Whitelist of allowed x509 Distinguished Name."
  43591. msgstr ""
  43592. #. type: deftypevr
  43593. #: guix-git/doc/guix.texi:28973
  43594. #, no-wrap
  43595. msgid "{@code{libvirt-configuration} parameter} optional-list sasl-allowed-usernames"
  43596. msgstr ""
  43597. #. type: deftypevr
  43598. #: guix-git/doc/guix.texi:28976
  43599. msgid "Whitelist of allowed SASL usernames. The format for username depends on the SASL authentication mechanism."
  43600. msgstr ""
  43601. #. type: deftypevr
  43602. #: guix-git/doc/guix.texi:28981
  43603. #, no-wrap
  43604. msgid "{@code{libvirt-configuration} parameter} string tls-priority"
  43605. msgstr ""
  43606. #. type: deftypevr
  43607. #: guix-git/doc/guix.texi:28985
  43608. 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."
  43609. msgstr ""
  43610. #. type: deftypevr
  43611. #: guix-git/doc/guix.texi:28987
  43612. msgid "Defaults to @samp{\"NORMAL\"}."
  43613. msgstr ""
  43614. #. type: deftypevr
  43615. #: guix-git/doc/guix.texi:28990
  43616. #, no-wrap
  43617. msgid "{@code{libvirt-configuration} parameter} integer max-clients"
  43618. msgstr ""
  43619. #. type: deftypevr
  43620. #: guix-git/doc/guix.texi:28993 guix-git/doc/guix.texi:29417
  43621. msgid "Maximum number of concurrent client connections to allow over all sockets combined."
  43622. msgstr ""
  43623. #. type: deftypevr
  43624. #: guix-git/doc/guix.texi:28995
  43625. msgid "Defaults to @samp{5000}."
  43626. msgstr ""
  43627. #. type: deftypevr
  43628. #: guix-git/doc/guix.texi:28998
  43629. #, no-wrap
  43630. msgid "{@code{libvirt-configuration} parameter} integer max-queued-clients"
  43631. msgstr ""
  43632. #. type: deftypevr
  43633. #: guix-git/doc/guix.texi:29002
  43634. 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."
  43635. msgstr ""
  43636. #. type: deftypevr
  43637. #: guix-git/doc/guix.texi:29007
  43638. #, no-wrap
  43639. msgid "{@code{libvirt-configuration} parameter} integer max-anonymous-clients"
  43640. msgstr ""
  43641. #. type: deftypevr
  43642. #: guix-git/doc/guix.texi:29010
  43643. msgid "Maximum length of queue of accepted but not yet authenticated clients. Set this to zero to turn this feature off"
  43644. msgstr ""
  43645. #. type: deftypevr
  43646. #: guix-git/doc/guix.texi:29012 guix-git/doc/guix.texi:29030
  43647. #: guix-git/doc/guix.texi:29046
  43648. msgid "Defaults to @samp{20}."
  43649. msgstr ""
  43650. #. type: deftypevr
  43651. #: guix-git/doc/guix.texi:29015
  43652. #, no-wrap
  43653. msgid "{@code{libvirt-configuration} parameter} integer min-workers"
  43654. msgstr ""
  43655. #. type: deftypevr
  43656. #: guix-git/doc/guix.texi:29017
  43657. msgid "Number of workers to start up initially."
  43658. msgstr ""
  43659. #. type: deftypevr
  43660. #: guix-git/doc/guix.texi:29022
  43661. #, no-wrap
  43662. msgid "{@code{libvirt-configuration} parameter} integer max-workers"
  43663. msgstr ""
  43664. #. type: deftypevr
  43665. #: guix-git/doc/guix.texi:29024
  43666. msgid "Maximum number of worker threads."
  43667. msgstr ""
  43668. #. type: deftypevr
  43669. #: guix-git/doc/guix.texi:29028
  43670. 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."
  43671. msgstr ""
  43672. #. type: deftypevr
  43673. #: guix-git/doc/guix.texi:29033
  43674. #, no-wrap
  43675. msgid "{@code{libvirt-configuration} parameter} integer prio-workers"
  43676. msgstr ""
  43677. #. type: deftypevr
  43678. #: guix-git/doc/guix.texi:29037
  43679. 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."
  43680. msgstr ""
  43681. #. type: deftypevr
  43682. #: guix-git/doc/guix.texi:29042
  43683. #, no-wrap
  43684. msgid "{@code{libvirt-configuration} parameter} integer max-requests"
  43685. msgstr ""
  43686. #. type: deftypevr
  43687. #: guix-git/doc/guix.texi:29044
  43688. msgid "Total global limit on concurrent RPC calls."
  43689. msgstr ""
  43690. #. type: deftypevr
  43691. #: guix-git/doc/guix.texi:29049
  43692. #, no-wrap
  43693. msgid "{@code{libvirt-configuration} parameter} integer max-client-requests"
  43694. msgstr ""
  43695. #. type: deftypevr
  43696. #: guix-git/doc/guix.texi:29053
  43697. 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."
  43698. msgstr ""
  43699. #. type: deftypevr
  43700. #: guix-git/doc/guix.texi:29058
  43701. #, no-wrap
  43702. msgid "{@code{libvirt-configuration} parameter} integer admin-min-workers"
  43703. msgstr ""
  43704. #. type: deftypevr
  43705. #: guix-git/doc/guix.texi:29060
  43706. msgid "Same as @code{min-workers} but for the admin interface."
  43707. msgstr ""
  43708. #. type: deftypevr
  43709. #: guix-git/doc/guix.texi:29065
  43710. #, no-wrap
  43711. msgid "{@code{libvirt-configuration} parameter} integer admin-max-workers"
  43712. msgstr ""
  43713. #. type: deftypevr
  43714. #: guix-git/doc/guix.texi:29067
  43715. msgid "Same as @code{max-workers} but for the admin interface."
  43716. msgstr ""
  43717. #. type: deftypevr
  43718. #: guix-git/doc/guix.texi:29072
  43719. #, no-wrap
  43720. msgid "{@code{libvirt-configuration} parameter} integer admin-max-clients"
  43721. msgstr ""
  43722. #. type: deftypevr
  43723. #: guix-git/doc/guix.texi:29074
  43724. msgid "Same as @code{max-clients} but for the admin interface."
  43725. msgstr ""
  43726. #. type: deftypevr
  43727. #: guix-git/doc/guix.texi:29079
  43728. #, no-wrap
  43729. msgid "{@code{libvirt-configuration} parameter} integer admin-max-queued-clients"
  43730. msgstr ""
  43731. #. type: deftypevr
  43732. #: guix-git/doc/guix.texi:29081
  43733. msgid "Same as @code{max-queued-clients} but for the admin interface."
  43734. msgstr ""
  43735. #. type: deftypevr
  43736. #: guix-git/doc/guix.texi:29086
  43737. #, no-wrap
  43738. msgid "{@code{libvirt-configuration} parameter} integer admin-max-client-requests"
  43739. msgstr ""
  43740. #. type: deftypevr
  43741. #: guix-git/doc/guix.texi:29088
  43742. msgid "Same as @code{max-client-requests} but for the admin interface."
  43743. msgstr ""
  43744. #. type: deftypevr
  43745. #: guix-git/doc/guix.texi:29093
  43746. #, no-wrap
  43747. msgid "{@code{libvirt-configuration} parameter} integer log-level"
  43748. msgstr ""
  43749. #. type: deftypevr
  43750. #: guix-git/doc/guix.texi:29095 guix-git/doc/guix.texi:29319
  43751. msgid "Logging level. 4 errors, 3 warnings, 2 information, 1 debug."
  43752. msgstr ""
  43753. #. type: deftypevr
  43754. #: guix-git/doc/guix.texi:29100
  43755. #, no-wrap
  43756. msgid "{@code{libvirt-configuration} parameter} string log-filters"
  43757. msgstr ""
  43758. #. type: deftypevr
  43759. #: guix-git/doc/guix.texi:29102 guix-git/doc/guix.texi:29326
  43760. msgid "Logging filters."
  43761. msgstr ""
  43762. #. type: deftypevr
  43763. #: guix-git/doc/guix.texi:29105
  43764. msgid "A filter allows to select a different logging level for a given category of logs. The format for a filter is one of:"
  43765. msgstr ""
  43766. #. type: itemize
  43767. #: guix-git/doc/guix.texi:29109 guix-git/doc/guix.texi:29333
  43768. msgid "x:name"
  43769. msgstr ""
  43770. #. type: itemize
  43771. #: guix-git/doc/guix.texi:29112 guix-git/doc/guix.texi:29336
  43772. msgid "x:+name"
  43773. msgstr ""
  43774. #. type: deftypevr
  43775. #: guix-git/doc/guix.texi:29123
  43776. 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:"
  43777. msgstr ""
  43778. #. type: itemize
  43779. #: guix-git/doc/guix.texi:29127 guix-git/doc/guix.texi:29172
  43780. #: guix-git/doc/guix.texi:29350 guix-git/doc/guix.texi:29395
  43781. msgid "1: DEBUG"
  43782. msgstr ""
  43783. #. type: itemize
  43784. #: guix-git/doc/guix.texi:29130 guix-git/doc/guix.texi:29175
  43785. #: guix-git/doc/guix.texi:29353 guix-git/doc/guix.texi:29398
  43786. msgid "2: INFO"
  43787. msgstr ""
  43788. #. type: itemize
  43789. #: guix-git/doc/guix.texi:29133 guix-git/doc/guix.texi:29178
  43790. #: guix-git/doc/guix.texi:29356 guix-git/doc/guix.texi:29401
  43791. msgid "3: WARNING"
  43792. msgstr ""
  43793. #. type: itemize
  43794. #: guix-git/doc/guix.texi:29136 guix-git/doc/guix.texi:29181
  43795. #: guix-git/doc/guix.texi:29359 guix-git/doc/guix.texi:29404
  43796. msgid "4: ERROR"
  43797. msgstr ""
  43798. #. type: deftypevr
  43799. #: guix-git/doc/guix.texi:29141 guix-git/doc/guix.texi:29364
  43800. msgid "Multiple filters can be defined in a single filters statement, they just need to be separated by spaces."
  43801. msgstr ""
  43802. #. type: deftypevr
  43803. #: guix-git/doc/guix.texi:29143 guix-git/doc/guix.texi:29366
  43804. msgid "Defaults to @samp{\"3:remote 4:event\"}."
  43805. msgstr ""
  43806. #. type: deftypevr
  43807. #: guix-git/doc/guix.texi:29146
  43808. #, no-wrap
  43809. msgid "{@code{libvirt-configuration} parameter} string log-outputs"
  43810. msgstr ""
  43811. #. type: deftypevr
  43812. #: guix-git/doc/guix.texi:29148 guix-git/doc/guix.texi:29371
  43813. msgid "Logging outputs."
  43814. msgstr ""
  43815. #. type: deftypevr
  43816. #: guix-git/doc/guix.texi:29151
  43817. msgid "An output is one of the places to save logging information. The format for an output can be:"
  43818. msgstr ""
  43819. #. type: item
  43820. #: guix-git/doc/guix.texi:29153 guix-git/doc/guix.texi:29376
  43821. #, no-wrap
  43822. msgid "x:stderr"
  43823. msgstr ""
  43824. #. type: table
  43825. #: guix-git/doc/guix.texi:29155 guix-git/doc/guix.texi:29378
  43826. msgid "output goes to stderr"
  43827. msgstr ""
  43828. #. type: item
  43829. #: guix-git/doc/guix.texi:29156 guix-git/doc/guix.texi:29379
  43830. #, no-wrap
  43831. msgid "x:syslog:name"
  43832. msgstr ""
  43833. #. type: table
  43834. #: guix-git/doc/guix.texi:29158 guix-git/doc/guix.texi:29381
  43835. msgid "use syslog for the output and use the given name as the ident"
  43836. msgstr ""
  43837. #. type: item
  43838. #: guix-git/doc/guix.texi:29159 guix-git/doc/guix.texi:29382
  43839. #, no-wrap
  43840. msgid "x:file:file_path"
  43841. msgstr ""
  43842. #. type: table
  43843. #: guix-git/doc/guix.texi:29161 guix-git/doc/guix.texi:29384
  43844. msgid "output to a file, with the given filepath"
  43845. msgstr "saída para um arquivo, com o caminho de arquivo dado"
  43846. #. type: item
  43847. #: guix-git/doc/guix.texi:29162 guix-git/doc/guix.texi:29385
  43848. #, no-wrap
  43849. msgid "x:journald"
  43850. msgstr ""
  43851. #. type: table
  43852. #: guix-git/doc/guix.texi:29164 guix-git/doc/guix.texi:29387
  43853. msgid "output to journald logging system"
  43854. msgstr ""
  43855. #. type: deftypevr
  43856. #: guix-git/doc/guix.texi:29168 guix-git/doc/guix.texi:29391
  43857. msgid "In all case the x prefix is the minimal level, acting as a filter"
  43858. msgstr ""
  43859. #. type: deftypevr
  43860. #: guix-git/doc/guix.texi:29186 guix-git/doc/guix.texi:29409
  43861. msgid "Multiple outputs can be defined, they just need to be separated by spaces."
  43862. msgstr ""
  43863. #. type: deftypevr
  43864. #: guix-git/doc/guix.texi:29188 guix-git/doc/guix.texi:29411
  43865. msgid "Defaults to @samp{\"3:stderr\"}."
  43866. msgstr ""
  43867. #. type: deftypevr
  43868. #: guix-git/doc/guix.texi:29191
  43869. #, no-wrap
  43870. msgid "{@code{libvirt-configuration} parameter} integer audit-level"
  43871. msgstr ""
  43872. #. type: deftypevr
  43873. #: guix-git/doc/guix.texi:29193
  43874. msgid "Allows usage of the auditing subsystem to be altered"
  43875. msgstr ""
  43876. #. type: itemize
  43877. #: guix-git/doc/guix.texi:29197
  43878. msgid "0: disable all auditing"
  43879. msgstr ""
  43880. #. type: itemize
  43881. #: guix-git/doc/guix.texi:29200
  43882. msgid "1: enable auditing, only if enabled on host"
  43883. msgstr ""
  43884. #. type: itemize
  43885. #: guix-git/doc/guix.texi:29203
  43886. msgid "2: enable auditing, and exit if disabled on host."
  43887. msgstr ""
  43888. #. type: deftypevr
  43889. #: guix-git/doc/guix.texi:29210
  43890. #, no-wrap
  43891. msgid "{@code{libvirt-configuration} parameter} boolean audit-logging"
  43892. msgstr ""
  43893. #. type: deftypevr
  43894. #: guix-git/doc/guix.texi:29212
  43895. msgid "Send audit messages via libvirt logging infrastructure."
  43896. msgstr ""
  43897. #. type: deftypevr
  43898. #: guix-git/doc/guix.texi:29217
  43899. #, no-wrap
  43900. msgid "{@code{libvirt-configuration} parameter} optional-string host-uuid"
  43901. msgstr ""
  43902. #. type: deftypevr
  43903. #: guix-git/doc/guix.texi:29219
  43904. msgid "Host UUID@. UUID must not have all digits be the same."
  43905. msgstr ""
  43906. #. type: deftypevr
  43907. #: guix-git/doc/guix.texi:29224
  43908. #, no-wrap
  43909. msgid "{@code{libvirt-configuration} parameter} string host-uuid-source"
  43910. msgstr ""
  43911. #. type: deftypevr
  43912. #: guix-git/doc/guix.texi:29226
  43913. msgid "Source to read host UUID."
  43914. msgstr ""
  43915. #. type: itemize
  43916. #: guix-git/doc/guix.texi:29230
  43917. msgid "@code{smbios}: fetch the UUID from @code{dmidecode -s system-uuid}"
  43918. msgstr ""
  43919. #. type: itemize
  43920. #: guix-git/doc/guix.texi:29233
  43921. msgid "@code{machine-id}: fetch the UUID from @code{/etc/machine-id}"
  43922. msgstr ""
  43923. #. type: deftypevr
  43924. #: guix-git/doc/guix.texi:29238
  43925. msgid "If @code{dmidecode} does not provide a valid UUID a temporary UUID will be generated."
  43926. msgstr ""
  43927. #. type: deftypevr
  43928. #: guix-git/doc/guix.texi:29240
  43929. msgid "Defaults to @samp{\"smbios\"}."
  43930. msgstr ""
  43931. #. type: deftypevr
  43932. #: guix-git/doc/guix.texi:29243
  43933. #, no-wrap
  43934. msgid "{@code{libvirt-configuration} parameter} integer keepalive-interval"
  43935. msgstr ""
  43936. #. type: deftypevr
  43937. #: guix-git/doc/guix.texi:29248
  43938. 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."
  43939. msgstr ""
  43940. #. type: deftypevr
  43941. #: guix-git/doc/guix.texi:29253
  43942. #, no-wrap
  43943. msgid "{@code{libvirt-configuration} parameter} integer keepalive-count"
  43944. msgstr ""
  43945. #. type: deftypevr
  43946. #: guix-git/doc/guix.texi:29257
  43947. 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."
  43948. msgstr ""
  43949. #. type: deftypevr
  43950. #: guix-git/doc/guix.texi:29264
  43951. 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."
  43952. msgstr ""
  43953. #. type: deftypevr
  43954. #: guix-git/doc/guix.texi:29269
  43955. #, no-wrap
  43956. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-interval"
  43957. msgstr ""
  43958. #. type: deftypevr
  43959. #: guix-git/doc/guix.texi:29271 guix-git/doc/guix.texi:29278
  43960. msgid "Same as above but for admin interface."
  43961. msgstr ""
  43962. #. type: deftypevr
  43963. #: guix-git/doc/guix.texi:29276
  43964. #, no-wrap
  43965. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-count"
  43966. msgstr ""
  43967. #. type: deftypevr
  43968. #: guix-git/doc/guix.texi:29283
  43969. #, no-wrap
  43970. msgid "{@code{libvirt-configuration} parameter} integer ovs-timeout"
  43971. msgstr ""
  43972. #. type: deftypevr
  43973. #: guix-git/doc/guix.texi:29285
  43974. msgid "Timeout for Open vSwitch calls."
  43975. msgstr ""
  43976. #. type: deftypevr
  43977. #: guix-git/doc/guix.texi:29289
  43978. 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."
  43979. msgstr ""
  43980. #. type: subsubheading
  43981. #: guix-git/doc/guix.texi:29296
  43982. #, no-wrap
  43983. msgid "Virtlog daemon"
  43984. msgstr ""
  43985. #. type: Plain text
  43986. #: guix-git/doc/guix.texi:29299
  43987. msgid "The virtlogd service is a server side daemon component of libvirt that is used to manage logs from virtual machine consoles."
  43988. msgstr ""
  43989. #. type: Plain text
  43990. #: guix-git/doc/guix.texi:29305
  43991. 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."
  43992. msgstr ""
  43993. #. type: deffn
  43994. #: guix-git/doc/guix.texi:29306
  43995. #, no-wrap
  43996. msgid "{Scheme Variable} virtlog-service-type"
  43997. msgstr ""
  43998. #. type: deffn
  43999. #: guix-git/doc/guix.texi:29309
  44000. msgid "This is the type of the virtlog daemon. Its value must be a @code{virtlog-configuration}."
  44001. msgstr ""
  44002. #. type: lisp
  44003. #: guix-git/doc/guix.texi:29314
  44004. #, no-wrap
  44005. msgid ""
  44006. "(service virtlog-service-type\n"
  44007. " (virtlog-configuration\n"
  44008. " (max-clients 1000)))\n"
  44009. msgstr ""
  44010. #. type: deftypevr
  44011. #: guix-git/doc/guix.texi:29317
  44012. #, no-wrap
  44013. msgid "{@code{virtlog-configuration} parameter} integer log-level"
  44014. msgstr ""
  44015. #. type: deftypevr
  44016. #: guix-git/doc/guix.texi:29324
  44017. #, no-wrap
  44018. msgid "{@code{virtlog-configuration} parameter} string log-filters"
  44019. msgstr ""
  44020. #. type: deftypevr
  44021. #: guix-git/doc/guix.texi:29329
  44022. msgid "A filter allows to select a different logging level for a given category of logs The format for a filter is one of:"
  44023. msgstr ""
  44024. #. type: deftypevr
  44025. #: guix-git/doc/guix.texi:29346
  44026. 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:"
  44027. msgstr ""
  44028. #. type: deftypevr
  44029. #: guix-git/doc/guix.texi:29369
  44030. #, no-wrap
  44031. msgid "{@code{virtlog-configuration} parameter} string log-outputs"
  44032. msgstr ""
  44033. #. type: deftypevr
  44034. #: guix-git/doc/guix.texi:29374
  44035. msgid "An output is one of the places to save logging information The format for an output can be:"
  44036. msgstr ""
  44037. #. type: deftypevr
  44038. #: guix-git/doc/guix.texi:29414
  44039. #, no-wrap
  44040. msgid "{@code{virtlog-configuration} parameter} integer max-clients"
  44041. msgstr ""
  44042. #. type: deftypevr
  44043. #: guix-git/doc/guix.texi:29419
  44044. msgid "Defaults to @samp{1024}."
  44045. msgstr ""
  44046. #. type: deftypevr
  44047. #: guix-git/doc/guix.texi:29422
  44048. #, no-wrap
  44049. msgid "{@code{virtlog-configuration} parameter} integer max-size"
  44050. msgstr ""
  44051. #. type: deftypevr
  44052. #: guix-git/doc/guix.texi:29424
  44053. msgid "Maximum file size before rolling over."
  44054. msgstr ""
  44055. #. type: deftypevr
  44056. #: guix-git/doc/guix.texi:29426
  44057. msgid "Defaults to @samp{2MB}"
  44058. msgstr ""
  44059. #. type: deftypevr
  44060. #: guix-git/doc/guix.texi:29429
  44061. #, no-wrap
  44062. msgid "{@code{virtlog-configuration} parameter} integer max-backups"
  44063. msgstr ""
  44064. #. type: deftypevr
  44065. #: guix-git/doc/guix.texi:29431
  44066. msgid "Maximum number of backup files to keep."
  44067. msgstr ""
  44068. #. type: deftypevr
  44069. #: guix-git/doc/guix.texi:29433
  44070. msgid "Defaults to @samp{3}"
  44071. msgstr ""
  44072. #. type: anchor{#1}
  44073. #: guix-git/doc/guix.texi:29437
  44074. msgid "transparent-emulation-qemu"
  44075. msgstr ""
  44076. #. type: subsubheading
  44077. #: guix-git/doc/guix.texi:29437
  44078. #, no-wrap
  44079. msgid "Transparent Emulation with QEMU"
  44080. msgstr ""
  44081. #. type: cindex
  44082. #: guix-git/doc/guix.texi:29439
  44083. #, no-wrap
  44084. msgid "emulation"
  44085. msgstr ""
  44086. #. type: code{#1}
  44087. #: guix-git/doc/guix.texi:29440
  44088. #, no-wrap
  44089. msgid "binfmt_misc"
  44090. msgstr ""
  44091. #. type: Plain text
  44092. #: guix-git/doc/guix.texi:29448
  44093. 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."
  44094. msgstr ""
  44095. #. type: defvr
  44096. #: guix-git/doc/guix.texi:29449
  44097. #, no-wrap
  44098. msgid "{Scheme Variable} qemu-binfmt-service-type"
  44099. msgstr ""
  44100. #. type: defvr
  44101. #: guix-git/doc/guix.texi:29454
  44102. 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:"
  44103. msgstr ""
  44104. #. type: lisp
  44105. #: guix-git/doc/guix.texi:29459
  44106. #, no-wrap
  44107. msgid ""
  44108. "(service qemu-binfmt-service-type\n"
  44109. " (qemu-binfmt-configuration\n"
  44110. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  44111. msgstr ""
  44112. #. type: defvr
  44113. #: guix-git/doc/guix.texi:29465
  44114. 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})."
  44115. msgstr ""
  44116. #. type: deftp
  44117. #: guix-git/doc/guix.texi:29467
  44118. #, no-wrap
  44119. msgid "{Data Type} qemu-binfmt-configuration"
  44120. msgstr ""
  44121. #. type: deftp
  44122. #: guix-git/doc/guix.texi:29469
  44123. msgid "This is the configuration for the @code{qemu-binfmt} service."
  44124. msgstr ""
  44125. #. type: item
  44126. #: guix-git/doc/guix.texi:29471
  44127. #, no-wrap
  44128. msgid "@code{platforms} (default: @code{'()})"
  44129. msgstr ""
  44130. #. type: table
  44131. #: guix-git/doc/guix.texi:29474
  44132. msgid "The list of emulated QEMU platforms. Each item must be a @dfn{platform object} as returned by @code{lookup-qemu-platforms} (see below)."
  44133. msgstr ""
  44134. #. type: table
  44135. #: guix-git/doc/guix.texi:29477
  44136. msgid "For example, let's suppose you're on an x86_64 machine and you have this service:"
  44137. msgstr ""
  44138. #. type: lisp
  44139. #: guix-git/doc/guix.texi:29482
  44140. #, no-wrap
  44141. msgid ""
  44142. "(service qemu-binfmt-service-type\n"
  44143. " (qemu-binfmt-configuration\n"
  44144. " (platforms (lookup-qemu-platforms \"arm\"))))\n"
  44145. msgstr ""
  44146. #. type: table
  44147. #: guix-git/doc/guix.texi:29485
  44148. msgid "You can run:"
  44149. msgstr ""
  44150. #. type: example
  44151. #: guix-git/doc/guix.texi:29488
  44152. #, no-wrap
  44153. msgid "guix build -s armhf-linux inkscape\n"
  44154. msgstr ""
  44155. #. type: table
  44156. #: guix-git/doc/guix.texi:29495
  44157. 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!"
  44158. msgstr ""
  44159. #. type: item
  44160. #: guix-git/doc/guix.texi:29496
  44161. #, no-wrap
  44162. msgid "@code{qemu} (default: @code{qemu})"
  44163. msgstr ""
  44164. #. type: table
  44165. #: guix-git/doc/guix.texi:29498 guix-git/doc/guix.texi:29592
  44166. msgid "The QEMU package to use."
  44167. msgstr ""
  44168. #. type: deffn
  44169. #: guix-git/doc/guix.texi:29501
  44170. #, no-wrap
  44171. msgid "{Scheme Procedure} lookup-qemu-platforms @var{platforms}@dots{}"
  44172. msgstr ""
  44173. #. type: deffn
  44174. #: guix-git/doc/guix.texi:29506
  44175. 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."
  44176. msgstr ""
  44177. #. type: deffn
  44178. #: guix-git/doc/guix.texi:29508
  44179. #, no-wrap
  44180. msgid "{Scheme Procedure} qemu-platform? @var{obj}"
  44181. msgstr ""
  44182. #. type: deffn
  44183. #: guix-git/doc/guix.texi:29510
  44184. msgid "Return true if @var{obj} is a platform object."
  44185. msgstr ""
  44186. #. type: deffn
  44187. #: guix-git/doc/guix.texi:29512
  44188. #, no-wrap
  44189. msgid "{Scheme Procedure} qemu-platform-name @var{platform}"
  44190. msgstr ""
  44191. #. type: deffn
  44192. #: guix-git/doc/guix.texi:29514
  44193. msgid "Return the name of @var{platform}---a string such as @code{\"arm\"}."
  44194. msgstr ""
  44195. #. type: subsubheading
  44196. #: guix-git/doc/guix.texi:29517
  44197. #, no-wrap
  44198. msgid "The Hurd in a Virtual Machine"
  44199. msgstr ""
  44200. #. type: cindex
  44201. #: guix-git/doc/guix.texi:29520
  44202. #, no-wrap
  44203. msgid "the Hurd"
  44204. msgstr ""
  44205. #. type: cindex
  44206. #: guix-git/doc/guix.texi:29521
  44207. #, no-wrap
  44208. msgid "childhurd"
  44209. msgstr ""
  44210. #. type: Plain text
  44211. #: guix-git/doc/guix.texi:29529
  44212. 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:"
  44213. msgstr ""
  44214. #. type: example
  44215. #: guix-git/doc/guix.texi:29533
  44216. #, no-wrap
  44217. msgid ""
  44218. "herd start hurd-vm\n"
  44219. "herd stop childhurd\n"
  44220. msgstr ""
  44221. #. type: Plain text
  44222. #: guix-git/doc/guix.texi:29537
  44223. msgid "When the service is running, you can view its console by connecting to it with a VNC client, for example with:"
  44224. msgstr ""
  44225. #. type: example
  44226. #: guix-git/doc/guix.texi:29541
  44227. #, no-wrap
  44228. msgid ""
  44229. "guix environment --ad-hoc tigervnc-client -- \\\n"
  44230. " vncviewer localhost:5900\n"
  44231. msgstr ""
  44232. #. type: Plain text
  44233. #: guix-git/doc/guix.texi:29547
  44234. 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:"
  44235. msgstr ""
  44236. #. type: example
  44237. #: guix-git/doc/guix.texi:29550
  44238. #, no-wrap
  44239. msgid "ssh root@@localhost -p 10022\n"
  44240. msgstr ""
  44241. #. type: Plain text
  44242. #: guix-git/doc/guix.texi:29559
  44243. 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."
  44244. msgstr ""
  44245. #. type: defvr
  44246. #: guix-git/doc/guix.texi:29560
  44247. #, no-wrap
  44248. msgid "{Scheme Variable} hurd-vm-service-type"
  44249. msgstr ""
  44250. #. type: defvr
  44251. #: guix-git/doc/guix.texi:29566
  44252. 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."
  44253. msgstr ""
  44254. #. type: lisp
  44255. #: guix-git/doc/guix.texi:29574
  44256. #, no-wrap
  44257. msgid ""
  44258. "(service hurd-vm-service-type\n"
  44259. " (hurd-vm-configuration\n"
  44260. " (disk-size (* 5000 (expt 2 20))) ;5G\n"
  44261. " (memory-size 1024))) ;1024MiB\n"
  44262. msgstr ""
  44263. #. type: defvr
  44264. #: guix-git/doc/guix.texi:29578
  44265. msgid "would create a disk image big enough to build GNU@tie{}Hello, with some extra memory."
  44266. msgstr ""
  44267. #. type: deftp
  44268. #: guix-git/doc/guix.texi:29580
  44269. #, no-wrap
  44270. msgid "{Data Type} hurd-vm-configuration"
  44271. msgstr ""
  44272. #. type: deftp
  44273. #: guix-git/doc/guix.texi:29583
  44274. msgid "The data type representing the configuration for @code{hurd-vm-service-type}."
  44275. msgstr ""
  44276. #. type: item
  44277. #: guix-git/doc/guix.texi:29585
  44278. #, no-wrap
  44279. msgid "@code{os} (default: @var{%hurd-vm-operating-system})"
  44280. msgstr ""
  44281. #. type: table
  44282. #: guix-git/doc/guix.texi:29589
  44283. 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}})."
  44284. msgstr ""
  44285. #. type: item
  44286. #: guix-git/doc/guix.texi:29590
  44287. #, no-wrap
  44288. msgid "@code{qemu} (default: @code{qemu-minimal})"
  44289. msgstr ""
  44290. #. type: item
  44291. #: guix-git/doc/guix.texi:29593
  44292. #, no-wrap
  44293. msgid "@code{image} (default: @var{hurd-vm-disk-image})"
  44294. msgstr ""
  44295. #. type: table
  44296. #: guix-git/doc/guix.texi:29596
  44297. msgid "The procedure used to build the disk-image built from this configuration."
  44298. msgstr ""
  44299. #. type: item
  44300. #: guix-git/doc/guix.texi:29597
  44301. #, no-wrap
  44302. msgid "@code{disk-size} (default: @code{'guess})"
  44303. msgstr ""
  44304. #. type: table
  44305. #: guix-git/doc/guix.texi:29599
  44306. msgid "The size of the disk image."
  44307. msgstr ""
  44308. #. type: item
  44309. #: guix-git/doc/guix.texi:29600
  44310. #, no-wrap
  44311. msgid "@code{memory-size} (default: @code{512})"
  44312. msgstr ""
  44313. #. type: table
  44314. #: guix-git/doc/guix.texi:29602
  44315. msgid "The memory size of the Virtual Machine in mebibytes."
  44316. msgstr ""
  44317. #. type: item
  44318. #: guix-git/doc/guix.texi:29603
  44319. #, no-wrap
  44320. msgid "@code{options} (default: @code{'(\"--snapshot\")})"
  44321. msgstr ""
  44322. #. type: table
  44323. #: guix-git/doc/guix.texi:29605
  44324. msgid "The extra options for running QEMU."
  44325. msgstr ""
  44326. #. type: table
  44327. #: guix-git/doc/guix.texi:29610
  44328. 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}."
  44329. msgstr ""
  44330. #. type: item
  44331. #: guix-git/doc/guix.texi:29611
  44332. #, no-wrap
  44333. msgid "@code{net-options} (default: @var{hurd-vm-net-options})"
  44334. msgstr ""
  44335. #. type: table
  44336. #: guix-git/doc/guix.texi:29613
  44337. msgid "The procedure used to produce the list of QEMU networking options."
  44338. msgstr ""
  44339. #. type: table
  44340. #: guix-git/doc/guix.texi:29615
  44341. msgid "By default, it produces"
  44342. msgstr ""
  44343. #. type: lisp
  44344. #: guix-git/doc/guix.texi:29623
  44345. #, no-wrap
  44346. msgid ""
  44347. "'(\"--device\" \"rtl8139,netdev=net0\"\n"
  44348. " \"--netdev\" (string-append\n"
  44349. " \"user,id=net0,\"\n"
  44350. " \"hostfwd=tcp:127.0.0.1:@var{secrets-port}-:1004,\"\n"
  44351. " \"hostfwd=tcp:127.0.0.1:@var{ssh-port}-:2222,\"\n"
  44352. " \"hostfwd=tcp:127.0.0.1:@var{vnc-port}-:5900\"))\n"
  44353. msgstr ""
  44354. #. type: table
  44355. #: guix-git/doc/guix.texi:29626
  44356. msgid "with forwarded ports:"
  44357. msgstr ""
  44358. #. type: example
  44359. #: guix-git/doc/guix.texi:29631
  44360. #, no-wrap
  44361. msgid ""
  44362. "@var{secrets-port}: @code{(+ 11004 (* 1000 @var{ID}))}\n"
  44363. "@var{ssh-port}: @code{(+ 10022 (* 1000 @var{ID}))}\n"
  44364. "@var{vnc-port}: @code{(+ 15900 (* 1000 @var{ID}))}\n"
  44365. msgstr ""
  44366. #. type: item
  44367. #: guix-git/doc/guix.texi:29633
  44368. #, no-wrap
  44369. msgid "@code{secret-root} (default: @file{/etc/childhurd})"
  44370. msgstr ""
  44371. #. type: table
  44372. #: guix-git/doc/guix.texi:29638
  44373. 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."
  44374. msgstr ""
  44375. #. type: table
  44376. #: guix-git/doc/guix.texi:29642
  44377. 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."
  44378. msgstr ""
  44379. #. type: table
  44380. #: guix-git/doc/guix.texi:29645
  44381. msgid "By default, the service automatically populates @file{/etc/childhurd} with the following non-volatile secrets, unless they already exist:"
  44382. msgstr ""
  44383. #. type: example
  44384. #: guix-git/doc/guix.texi:29654
  44385. #, no-wrap
  44386. msgid ""
  44387. "/etc/childhurd/etc/guix/acl\n"
  44388. "/etc/childhurd/etc/guix/signing-key.pub\n"
  44389. "/etc/childhurd/etc/guix/signing-key.sec\n"
  44390. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key\n"
  44391. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key\n"
  44392. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key.pub\n"
  44393. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key.pub\n"
  44394. msgstr ""
  44395. #. type: table
  44396. #: guix-git/doc/guix.texi:29658
  44397. msgid "These files are automatically sent to the guest Hurd VM when it boots, including permissions."
  44398. msgstr ""
  44399. #. type: cindex
  44400. #: guix-git/doc/guix.texi:29659
  44401. #, no-wrap
  44402. msgid "childhurd, offloading"
  44403. msgstr ""
  44404. #. type: cindex
  44405. #: guix-git/doc/guix.texi:29660
  44406. #, no-wrap
  44407. msgid "Hurd, offloading"
  44408. msgstr ""
  44409. #. type: table
  44410. #: guix-git/doc/guix.texi:29664
  44411. 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:"
  44412. msgstr ""
  44413. #. type: enumerate
  44414. #: guix-git/doc/guix.texi:29669
  44415. 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:"
  44416. msgstr ""
  44417. #. type: example
  44418. #: guix-git/doc/guix.texi:29673
  44419. #, no-wrap
  44420. msgid ""
  44421. "guix archive --authorize < \\\n"
  44422. " /etc/childhurd/etc/guix/signing-key.pub\n"
  44423. msgstr ""
  44424. #. type: enumerate
  44425. #: guix-git/doc/guix.texi:29678
  44426. msgid "Adding the childhurd to @file{/etc/guix/machines.scm} (@pxref{Daemon Offload Setup})."
  44427. msgstr ""
  44428. #. type: table
  44429. #: guix-git/doc/guix.texi:29682
  44430. msgid "We're working towards making that happen automatically---get in touch with us at @email{guix-devel@@gnu.org} to discuss it!"
  44431. msgstr ""
  44432. #. type: Plain text
  44433. #: guix-git/doc/guix.texi:29689
  44434. 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:"
  44435. msgstr ""
  44436. #. type: lisp
  44437. #: guix-git/doc/guix.texi:29695
  44438. #, no-wrap
  44439. msgid ""
  44440. "(service hurd-vm-service-type\n"
  44441. " (hurd-vm-configuration\n"
  44442. " (image (const \"/out/of/store/writable/hurd.img\"))\n"
  44443. " (options '())))\n"
  44444. msgstr ""
  44445. #. type: subsubheading
  44446. #: guix-git/doc/guix.texi:29697
  44447. #, no-wrap
  44448. msgid "Ganeti"
  44449. msgstr ""
  44450. #. type: cindex
  44451. #: guix-git/doc/guix.texi:29699
  44452. #, no-wrap
  44453. msgid "ganeti"
  44454. msgstr ""
  44455. #. type: quotation
  44456. #: guix-git/doc/guix.texi:29706
  44457. 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}."
  44458. msgstr ""
  44459. #. type: Plain text
  44460. #: guix-git/doc/guix.texi:29716
  44461. 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)."
  44462. msgstr ""
  44463. #. type: Plain text
  44464. #: guix-git/doc/guix.texi:29721
  44465. 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}:"
  44466. msgstr ""
  44467. #. type: lisp
  44468. #: guix-git/doc/guix.texi:29731
  44469. #, no-wrap
  44470. msgid ""
  44471. "(use-package-modules virtualization)\n"
  44472. "(use-service-modules base ganeti networking ssh)\n"
  44473. "(operating-system\n"
  44474. " ;; @dots{}\n"
  44475. " (host-name \"node1\")\n"
  44476. " (hosts-file (plain-file \"hosts\" (format #f \"\n"
  44477. "127.0.0.1 localhost\n"
  44478. "::1 localhost\n"
  44479. "\n"
  44480. msgstr ""
  44481. #. type: lisp
  44482. #: guix-git/doc/guix.texi:29736
  44483. #, no-wrap
  44484. msgid ""
  44485. "192.168.1.200 ganeti.example.com\n"
  44486. "192.168.1.201 node1.example.com node1\n"
  44487. "192.168.1.202 node2.example.com node2\n"
  44488. "\")))\n"
  44489. "\n"
  44490. msgstr ""
  44491. #. type: lisp
  44492. #: guix-git/doc/guix.texi:29750
  44493. #, no-wrap
  44494. msgid ""
  44495. " ;; Install QEMU so we can use KVM-based instances, and LVM, DRBD and Ceph\n"
  44496. " ;; in order to use the \"plain\", \"drbd\" and \"rbd\" storage backends.\n"
  44497. " (packages (append (map specification->package\n"
  44498. " '(\"qemu\" \"lvm2\" \"drbd-utils\" \"ceph\"\n"
  44499. " ;; Add the debootstrap and guix OS providers.\n"
  44500. " \"ganeti-instance-guix\" \"ganeti-instance-debootstrap\"))\n"
  44501. " %base-packages))\n"
  44502. " (services\n"
  44503. " (append (list (static-networking-service \"eth0\" \"192.168.1.201\"\n"
  44504. " #:netmask \"255.255.255.0\"\n"
  44505. " #:gateway \"192.168.1.254\"\n"
  44506. " #:name-servers '(\"192.168.1.252\"\n"
  44507. " \"192.168.1.253\"))\n"
  44508. "\n"
  44509. msgstr ""
  44510. #. type: lisp
  44511. #: guix-git/doc/guix.texi:29755
  44512. #, no-wrap
  44513. msgid ""
  44514. " ;; Ganeti uses SSH to communicate between nodes.\n"
  44515. " (service openssh-service-type\n"
  44516. " (openssh-configuration\n"
  44517. " (permit-root-login 'prohibit-password)))\n"
  44518. "\n"
  44519. msgstr ""
  44520. #. type: lisp
  44521. #: guix-git/doc/guix.texi:29765
  44522. #, no-wrap
  44523. msgid ""
  44524. " (service ganeti-service-type\n"
  44525. " (ganeti-configuration\n"
  44526. " ;; This list specifies allowed file system paths\n"
  44527. " ;; for storing virtual machine images.\n"
  44528. " (file-storage-paths '(\"/srv/ganeti/file-storage\"))\n"
  44529. " ;; This variable configures a single \"variant\" for\n"
  44530. " ;; both Debootstrap and Guix that works with KVM.\n"
  44531. " (os %default-ganeti-os))))\n"
  44532. " %base-services)))\n"
  44533. msgstr ""
  44534. #. type: Plain text
  44535. #: guix-git/doc/guix.texi:29773
  44536. 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."
  44537. msgstr ""
  44538. #. type: defvr
  44539. #: guix-git/doc/guix.texi:29774
  44540. #, no-wrap
  44541. msgid "{Scheme Variable} ganeti-service-type"
  44542. msgstr ""
  44543. #. type: defvr
  44544. #: guix-git/doc/guix.texi:29777
  44545. msgid "This is a service type that includes all the various services that Ganeti nodes should run."
  44546. msgstr ""
  44547. #. type: defvr
  44548. #: guix-git/doc/guix.texi:29782
  44549. 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."
  44550. msgstr ""
  44551. #. type: deftp
  44552. #: guix-git/doc/guix.texi:29784
  44553. #, no-wrap
  44554. msgid "{Data Type} ganeti-configuration"
  44555. msgstr ""
  44556. #. type: deftp
  44557. #: guix-git/doc/guix.texi:29786
  44558. msgid "The @code{ganeti} service takes the following configuration options:"
  44559. msgstr ""
  44560. #. type: item
  44561. #: guix-git/doc/guix.texi:29788 guix-git/doc/guix.texi:30016
  44562. #: guix-git/doc/guix.texi:30066 guix-git/doc/guix.texi:30096
  44563. #: guix-git/doc/guix.texi:30123 guix-git/doc/guix.texi:30155
  44564. #: guix-git/doc/guix.texi:30208 guix-git/doc/guix.texi:30228
  44565. #: guix-git/doc/guix.texi:30254 guix-git/doc/guix.texi:30287
  44566. #: guix-git/doc/guix.texi:30327
  44567. #, no-wrap
  44568. msgid "@code{ganeti} (default: @code{ganeti})"
  44569. msgstr ""
  44570. #. type: table
  44571. #: guix-git/doc/guix.texi:29793
  44572. 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)."
  44573. msgstr ""
  44574. #. type: item
  44575. #: guix-git/doc/guix.texi:29794
  44576. #, no-wrap
  44577. msgid "@code{noded-configuration} (default: @code{(ganeti-noded-configuration)})"
  44578. msgstr ""
  44579. #. type: itemx
  44580. #: guix-git/doc/guix.texi:29795
  44581. #, no-wrap
  44582. msgid "@code{confd-configuration} (default: @code{(ganeti-confd-configuration)})"
  44583. msgstr ""
  44584. #. type: itemx
  44585. #: guix-git/doc/guix.texi:29796
  44586. #, no-wrap
  44587. msgid "@code{wconfd-configuration} (default: @code{(ganeti-wconfd-configuration)})"
  44588. msgstr ""
  44589. #. type: itemx
  44590. #: guix-git/doc/guix.texi:29797
  44591. #, no-wrap
  44592. msgid "@code{luxid-configuration} (default: @code{(ganeti-luxid-configuration)})"
  44593. msgstr ""
  44594. #. type: itemx
  44595. #: guix-git/doc/guix.texi:29798
  44596. #, no-wrap
  44597. msgid "@code{rapi-configuration} (default: @code{(ganeti-rapi-configuration)})"
  44598. msgstr ""
  44599. #. type: itemx
  44600. #: guix-git/doc/guix.texi:29799
  44601. #, no-wrap
  44602. msgid "@code{kvmd-configuration} (default: @code{(ganeti-kvmd-configuration)})"
  44603. msgstr ""
  44604. #. type: itemx
  44605. #: guix-git/doc/guix.texi:29800
  44606. #, no-wrap
  44607. msgid "@code{mond-configuration} (default: @code{(ganeti-mond-configuration)})"
  44608. msgstr ""
  44609. #. type: itemx
  44610. #: guix-git/doc/guix.texi:29801
  44611. #, no-wrap
  44612. msgid "@code{metad-configuration} (default: @code{(ganeti-metad-configuration)})"
  44613. msgstr ""
  44614. #. type: itemx
  44615. #: guix-git/doc/guix.texi:29802
  44616. #, no-wrap
  44617. msgid "@code{watcher-configuration} (default: @code{(ganeti-watcher-configuration)})"
  44618. msgstr ""
  44619. #. type: itemx
  44620. #: guix-git/doc/guix.texi:29803
  44621. #, no-wrap
  44622. msgid "@code{cleaner-configuration} (default: @code{(ganeti-cleaner-configuration)})"
  44623. msgstr ""
  44624. #. type: table
  44625. #: guix-git/doc/guix.texi:29808
  44626. 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:"
  44627. msgstr ""
  44628. #. type: lisp
  44629. #: guix-git/doc/guix.texi:29818
  44630. #, no-wrap
  44631. msgid ""
  44632. "(service ganeti-service-type\n"
  44633. " (ganeti-configuration\n"
  44634. " (rapi-configuration\n"
  44635. " (ganeti-rapi-configuration\n"
  44636. " (interface \"eth1\"))))\n"
  44637. " (watcher-configuration\n"
  44638. " (ganeti-watcher-configuration\n"
  44639. " (rapi-ip \"10.0.0.1\"))))\n"
  44640. msgstr ""
  44641. #. type: item
  44642. #: guix-git/doc/guix.texi:29820
  44643. #, no-wrap
  44644. msgid "@code{file-storage-paths} (default: @code{'()})"
  44645. msgstr ""
  44646. #. type: table
  44647. #: guix-git/doc/guix.texi:29822
  44648. msgid "List of allowed directories for file storage backend."
  44649. msgstr ""
  44650. #. type: item
  44651. #: guix-git/doc/guix.texi:29823
  44652. #, no-wrap
  44653. msgid "@code{os} (default: @code{%default-ganeti-os})"
  44654. msgstr ""
  44655. #. type: table
  44656. #: guix-git/doc/guix.texi:29825
  44657. msgid "List of @code{<ganeti-os>} records."
  44658. msgstr ""
  44659. #. type: deftp
  44660. #: guix-git/doc/guix.texi:29829
  44661. msgid "In essence @code{ganeti-service-type} is shorthand for declaring each service individually:"
  44662. msgstr ""
  44663. #. type: lisp
  44664. #: guix-git/doc/guix.texi:29840
  44665. #, no-wrap
  44666. msgid ""
  44667. "(service ganeti-noded-service-type)\n"
  44668. "(service ganeti-confd-service-type)\n"
  44669. "(service ganeti-wconfd-service-type)\n"
  44670. "(service ganeti-luxid-service-type)\n"
  44671. "(service ganeti-kvmd-service-type)\n"
  44672. "(service ganeti-mond-service-type)\n"
  44673. "(service ganeti-metad-service-type)\n"
  44674. "(service ganeti-watcher-service-type)\n"
  44675. "(service ganeti-cleaner-service-type)\n"
  44676. msgstr ""
  44677. #. type: deftp
  44678. #: guix-git/doc/guix.texi:29844
  44679. msgid "Plus a service extension for @code{etc-service-type} that configures the file storage backend and OS variants."
  44680. msgstr ""
  44681. #. type: deftp
  44682. #: guix-git/doc/guix.texi:29847
  44683. #, no-wrap
  44684. msgid "{Data Type} ganeti-os"
  44685. msgstr ""
  44686. #. type: deftp
  44687. #: guix-git/doc/guix.texi:29850
  44688. msgid "This data type is suitable for passing to the @code{os} parameter of @code{ganeti-configuration}. It takes the following parameters:"
  44689. msgstr ""
  44690. #. type: table
  44691. #: guix-git/doc/guix.texi:29856
  44692. 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}."
  44693. msgstr ""
  44694. #. type: code{#1}
  44695. #: guix-git/doc/guix.texi:29857
  44696. #, no-wrap
  44697. msgid "extension"
  44698. msgstr ""
  44699. #. type: table
  44700. #: guix-git/doc/guix.texi:29860
  44701. msgid "The file extension for variants of this OS type. For example @file{.conf} or @file{.scm}."
  44702. msgstr ""
  44703. #. type: item
  44704. #: guix-git/doc/guix.texi:29861
  44705. #, no-wrap
  44706. msgid "@code{variants} (default: @code{'()})"
  44707. msgstr ""
  44708. #. type: table
  44709. #: guix-git/doc/guix.texi:29863
  44710. msgid "List of @code{ganeti-os-variant} objects for this OS."
  44711. msgstr ""
  44712. #. type: deftp
  44713. #: guix-git/doc/guix.texi:29867
  44714. #, no-wrap
  44715. msgid "{Data Type} ganeti-os-variant"
  44716. msgstr ""
  44717. #. type: deftp
  44718. #: guix-git/doc/guix.texi:29870
  44719. msgid "This is the data type for a Ganeti OS variant. It takes the following parameters:"
  44720. msgstr ""
  44721. #. type: table
  44722. #: guix-git/doc/guix.texi:29874
  44723. msgid "The name of this variant."
  44724. msgstr ""
  44725. #. type: code{#1}
  44726. #: guix-git/doc/guix.texi:29875
  44727. #, no-wrap
  44728. msgid "configuration"
  44729. msgstr ""
  44730. #. type: table
  44731. #: guix-git/doc/guix.texi:29877
  44732. msgid "A configuration file for this variant."
  44733. msgstr ""
  44734. #. type: defvr
  44735. #: guix-git/doc/guix.texi:29880
  44736. #, no-wrap
  44737. msgid "{Scheme Variable} %default-debootstrap-hooks"
  44738. msgstr ""
  44739. #. type: defvr
  44740. #: guix-git/doc/guix.texi:29882
  44741. msgid "This variable contains hooks to configure networking and the GRUB bootloader."
  44742. msgstr ""
  44743. #. type: defvr
  44744. #: guix-git/doc/guix.texi:29884
  44745. #, no-wrap
  44746. msgid "{Scheme Variable} %default-debootstrap-extra-pkgs"
  44747. msgstr ""
  44748. #. type: defvr
  44749. #: guix-git/doc/guix.texi:29886
  44750. msgid "This variable contains a list of packages suitable for a fully-virtualized guest."
  44751. msgstr ""
  44752. #. type: deftp
  44753. #: guix-git/doc/guix.texi:29888
  44754. #, no-wrap
  44755. msgid "{Data Type} debootstrap-configuration"
  44756. msgstr ""
  44757. #. type: deftp
  44758. #: guix-git/doc/guix.texi:29891
  44759. msgid "This data type creates configuration files suitable for the debootstrap OS provider."
  44760. msgstr ""
  44761. #. type: item
  44762. #: guix-git/doc/guix.texi:29893
  44763. #, no-wrap
  44764. msgid "@code{hooks} (default: @code{%default-debootstrap-hooks})"
  44765. msgstr ""
  44766. #. type: table
  44767. #: guix-git/doc/guix.texi:29897
  44768. 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:"
  44769. msgstr ""
  44770. #. type: lisp
  44771. #: guix-git/doc/guix.texi:29900
  44772. #, no-wrap
  44773. msgid "`((99-hello-world . ,(plain-file \"#!/bin/sh\\necho Hello, World\")))\n"
  44774. msgstr ""
  44775. #. type: table
  44776. #: guix-git/doc/guix.texi:29905
  44777. 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."
  44778. msgstr ""
  44779. #. type: item
  44780. #: guix-git/doc/guix.texi:29905
  44781. #, no-wrap
  44782. msgid "@code{proxy} (default: @code{#f})"
  44783. msgstr ""
  44784. #. type: table
  44785. #: guix-git/doc/guix.texi:29907
  44786. msgid "Optional HTTP proxy to use."
  44787. msgstr ""
  44788. #. type: item
  44789. #: guix-git/doc/guix.texi:29907
  44790. #, no-wrap
  44791. msgid "@code{mirror} (default: @code{#f})"
  44792. msgstr ""
  44793. #. type: table
  44794. #: guix-git/doc/guix.texi:29910
  44795. msgid "The Debian mirror. Typically something like @code{http://ftp.no.debian.org/debian}. The default varies depending on the distribution."
  44796. msgstr ""
  44797. #. type: item
  44798. #: guix-git/doc/guix.texi:29910
  44799. #, no-wrap
  44800. msgid "@code{arch} (default: @code{#f})"
  44801. msgstr ""
  44802. #. type: table
  44803. #: guix-git/doc/guix.texi:29913
  44804. 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."
  44805. msgstr ""
  44806. #. type: item
  44807. #: guix-git/doc/guix.texi:29913
  44808. #, no-wrap
  44809. msgid "@code{suite} (default: @code{\"stable\"})"
  44810. msgstr ""
  44811. #. type: table
  44812. #: guix-git/doc/guix.texi:29916
  44813. 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."
  44814. msgstr ""
  44815. #. type: item
  44816. #: guix-git/doc/guix.texi:29916
  44817. #, no-wrap
  44818. msgid "@code{extra-pkgs} (default: @code{%default-debootstrap-extra-pkgs})"
  44819. msgstr ""
  44820. #. type: table
  44821. #: guix-git/doc/guix.texi:29919
  44822. msgid "List of extra packages that will get installed by dpkg in addition to the minimal system."
  44823. msgstr ""
  44824. #. type: item
  44825. #: guix-git/doc/guix.texi:29919
  44826. #, no-wrap
  44827. msgid "@code{components} (default: @code{#f})"
  44828. msgstr ""
  44829. #. type: table
  44830. #: guix-git/doc/guix.texi:29922
  44831. msgid "When set, must be a list of Debian repository ``components''. For example @code{'(\"main\" \"contrib\")}."
  44832. msgstr ""
  44833. #. type: item
  44834. #: guix-git/doc/guix.texi:29922
  44835. #, no-wrap
  44836. msgid "@code{generate-cache?} (default: @code{#t})"
  44837. msgstr ""
  44838. #. type: table
  44839. #: guix-git/doc/guix.texi:29924
  44840. msgid "Whether to automatically cache the generated debootstrap archive."
  44841. msgstr ""
  44842. #. type: item
  44843. #: guix-git/doc/guix.texi:29924
  44844. #, no-wrap
  44845. msgid "@code{clean-cache} (default: @code{14})"
  44846. msgstr ""
  44847. #. type: table
  44848. #: guix-git/doc/guix.texi:29927
  44849. msgid "Discard the cache after this amount of days. Use @code{#f} to never clear the cache."
  44850. msgstr ""
  44851. #. type: item
  44852. #: guix-git/doc/guix.texi:29927
  44853. #, no-wrap
  44854. msgid "@code{partition-style} (default: @code{'msdos})"
  44855. msgstr ""
  44856. #. type: table
  44857. #: guix-git/doc/guix.texi:29930
  44858. msgid "The type of partition to create. When set, it must be one of @code{'msdos}, @code{'none} or a string."
  44859. msgstr ""
  44860. #. type: item
  44861. #: guix-git/doc/guix.texi:29930
  44862. #, no-wrap
  44863. msgid "@code{partition-alignment} (default: @code{2048})"
  44864. msgstr ""
  44865. #. type: table
  44866. #: guix-git/doc/guix.texi:29932
  44867. msgid "Alignment of the partition in sectors."
  44868. msgstr ""
  44869. #. type: deffn
  44870. #: guix-git/doc/guix.texi:29935
  44871. #, no-wrap
  44872. msgid "{Scheme Procedure} debootstrap-variant @var{name} @var{configuration}"
  44873. msgstr ""
  44874. #. type: deffn
  44875. #: guix-git/doc/guix.texi:29938
  44876. 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."
  44877. msgstr ""
  44878. #. type: deffn
  44879. #: guix-git/doc/guix.texi:29940
  44880. #, no-wrap
  44881. msgid "{Scheme Procedure} debootstrap-os @var{variants}@dots{}"
  44882. msgstr ""
  44883. #. type: deffn
  44884. #: guix-git/doc/guix.texi:29943
  44885. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants created with @code{debootstrap-variant}."
  44886. msgstr ""
  44887. #. type: deffn
  44888. #: guix-git/doc/guix.texi:29945
  44889. #, no-wrap
  44890. msgid "{Scheme Procedure} guix-variant @var{name} @var{configuration}"
  44891. msgstr ""
  44892. #. type: deffn
  44893. #: guix-git/doc/guix.texi:29950
  44894. 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."
  44895. msgstr ""
  44896. #. type: deffn
  44897. #: guix-git/doc/guix.texi:29952
  44898. #, no-wrap
  44899. msgid "{Scheme Procedure} guix-os @var{variants}@dots{}"
  44900. msgstr ""
  44901. #. type: deffn
  44902. #: guix-git/doc/guix.texi:29955
  44903. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants produced by @code{guix-variant}."
  44904. msgstr ""
  44905. #. type: defvr
  44906. #: guix-git/doc/guix.texi:29957
  44907. #, no-wrap
  44908. msgid "{Scheme Variable} %default-debootstrap-variants"
  44909. msgstr ""
  44910. #. type: defvr
  44911. #: guix-git/doc/guix.texi:29961
  44912. 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:"
  44913. msgstr ""
  44914. #. type: lisp
  44915. #: guix-git/doc/guix.texi:29966
  44916. #, no-wrap
  44917. msgid ""
  44918. "(list (debootstrap-variant\n"
  44919. " \"default\"\n"
  44920. " (debootstrap-configuration)))\n"
  44921. msgstr ""
  44922. #. type: defvr
  44923. #: guix-git/doc/guix.texi:29969
  44924. #, no-wrap
  44925. msgid "{Scheme Variable} %default-guix-variants"
  44926. msgstr ""
  44927. #. type: defvr
  44928. #: guix-git/doc/guix.texi:29973
  44929. 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."
  44930. msgstr ""
  44931. #. type: lisp
  44932. #: guix-git/doc/guix.texi:29979
  44933. #, no-wrap
  44934. msgid ""
  44935. "(list (guix-variant\n"
  44936. " \"default\"\n"
  44937. " (file-append ganeti-instance-guix\n"
  44938. " \"/share/doc/ganeti-instance-guix/examples/dynamic.scm\")))\n"
  44939. msgstr ""
  44940. #. type: Plain text
  44941. #: guix-git/doc/guix.texi:29985
  44942. 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:"
  44943. msgstr ""
  44944. #. type: lisp
  44945. #: guix-git/doc/guix.texi:29994
  44946. #, no-wrap
  44947. msgid ""
  44948. "(ganeti-os\n"
  44949. " (name \"custom\")\n"
  44950. " (extension \".conf\")\n"
  44951. " (variants\n"
  44952. " (list (ganeti-os-variant\n"
  44953. " (name \"foo\")\n"
  44954. " (configuration (plain-file \"bar\" \"this is fine\"))))))\n"
  44955. msgstr ""
  44956. #. type: Plain text
  44957. #: guix-git/doc/guix.texi:29999
  44958. 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}."
  44959. msgstr ""
  44960. #. type: Plain text
  44961. #: guix-git/doc/guix.texi:30002
  44962. 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}."
  44963. msgstr ""
  44964. #. type: Plain text
  44965. #: guix-git/doc/guix.texi:30005
  44966. msgid "The rest of this section documents the various services that are included by @code{ganeti-service-type}."
  44967. msgstr ""
  44968. #. type: defvr
  44969. #: guix-git/doc/guix.texi:30006
  44970. #, no-wrap
  44971. msgid "{Scheme Variable} ganeti-noded-service-type"
  44972. msgstr ""
  44973. #. type: defvr
  44974. #: guix-git/doc/guix.texi:30010
  44975. 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."
  44976. msgstr ""
  44977. #. type: deftp
  44978. #: guix-git/doc/guix.texi:30012
  44979. #, no-wrap
  44980. msgid "{Data Type} ganeti-noded-configuration"
  44981. msgstr ""
  44982. #. type: deftp
  44983. #: guix-git/doc/guix.texi:30014
  44984. msgid "This is the configuration for the @code{ganeti-noded} service."
  44985. msgstr ""
  44986. #. type: table
  44987. #: guix-git/doc/guix.texi:30018 guix-git/doc/guix.texi:30068
  44988. #: guix-git/doc/guix.texi:30098 guix-git/doc/guix.texi:30125
  44989. #: guix-git/doc/guix.texi:30157 guix-git/doc/guix.texi:30210
  44990. #: guix-git/doc/guix.texi:30230 guix-git/doc/guix.texi:30256
  44991. #: guix-git/doc/guix.texi:30289
  44992. msgid "The @code{ganeti} package to use for this service."
  44993. msgstr ""
  44994. #. type: item
  44995. #: guix-git/doc/guix.texi:30019
  44996. #, no-wrap
  44997. msgid "@code{port} (default: @code{1811})"
  44998. msgstr ""
  44999. #. type: table
  45000. #: guix-git/doc/guix.texi:30021
  45001. msgid "The TCP port on which the node daemon listens for network requests."
  45002. msgstr ""
  45003. #. type: item
  45004. #: guix-git/doc/guix.texi:30022 guix-git/doc/guix.texi:30072
  45005. #: guix-git/doc/guix.texi:30164 guix-git/doc/guix.texi:30234
  45006. #, no-wrap
  45007. msgid "@code{address} (default: @code{\"0.0.0.0\"})"
  45008. msgstr ""
  45009. #. type: table
  45010. #: guix-git/doc/guix.texi:30025
  45011. msgid "The network address that the daemon will bind to. The default address means bind to all available addresses."
  45012. msgstr ""
  45013. #. type: table
  45014. #: guix-git/doc/guix.texi:30029
  45015. msgid "When this is set, it must be a specific network interface (e.g.@: @code{eth0}) that the daemon will bind to."
  45016. msgstr ""
  45017. #. type: item
  45018. #: guix-git/doc/guix.texi:30030 guix-git/doc/guix.texi:30172
  45019. #, no-wrap
  45020. msgid "@code{max-clients} (default: @code{20})"
  45021. msgstr ""
  45022. #. type: table
  45023. #: guix-git/doc/guix.texi:30034
  45024. 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."
  45025. msgstr ""
  45026. #. type: item
  45027. #: guix-git/doc/guix.texi:30035 guix-git/doc/guix.texi:30177
  45028. #, no-wrap
  45029. msgid "@code{ssl?} (default: @code{#t})"
  45030. msgstr ""
  45031. #. type: table
  45032. #: guix-git/doc/guix.texi:30039
  45033. 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}."
  45034. msgstr ""
  45035. #. type: item
  45036. #: guix-git/doc/guix.texi:30040 guix-git/doc/guix.texi:30180
  45037. #, no-wrap
  45038. msgid "@code{ssl-key} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  45039. msgstr ""
  45040. #. type: table
  45041. #: guix-git/doc/guix.texi:30042 guix-git/doc/guix.texi:30182
  45042. msgid "This can be used to provide a specific encryption key for TLS communications."
  45043. msgstr ""
  45044. #. type: item
  45045. #: guix-git/doc/guix.texi:30043 guix-git/doc/guix.texi:30183
  45046. #, no-wrap
  45047. msgid "@code{ssl-cert} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  45048. msgstr ""
  45049. #. type: table
  45050. #: guix-git/doc/guix.texi:30045 guix-git/doc/guix.texi:30185
  45051. msgid "This can be used to provide a specific certificate for TLS communications."
  45052. msgstr ""
  45053. #. type: table
  45054. #: guix-git/doc/guix.texi:30049 guix-git/doc/guix.texi:30189
  45055. 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."
  45056. msgstr ""
  45057. #. type: defvr
  45058. #: guix-git/doc/guix.texi:30053
  45059. #, no-wrap
  45060. msgid "{Scheme Variable} ganeti-confd-service-type"
  45061. msgstr ""
  45062. #. type: defvr
  45063. #: guix-git/doc/guix.texi:30059
  45064. 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."
  45065. msgstr ""
  45066. #. type: deftp
  45067. #: guix-git/doc/guix.texi:30062
  45068. #, no-wrap
  45069. msgid "{Data Type} ganeti-confd-configuration"
  45070. msgstr ""
  45071. #. type: deftp
  45072. #: guix-git/doc/guix.texi:30064
  45073. msgid "This is the configuration for the @code{ganeti-confd} service."
  45074. msgstr ""
  45075. #. type: item
  45076. #: guix-git/doc/guix.texi:30069
  45077. #, no-wrap
  45078. msgid "@code{port} (default: @code{1814})"
  45079. msgstr ""
  45080. #. type: table
  45081. #: guix-git/doc/guix.texi:30071
  45082. msgid "The UDP port on which to listen for network requests."
  45083. msgstr ""
  45084. #. type: table
  45085. #: guix-git/doc/guix.texi:30074
  45086. msgid "Network address that the daemon will bind to."
  45087. msgstr ""
  45088. #. type: table
  45089. #: guix-git/doc/guix.texi:30077 guix-git/doc/guix.texi:30106
  45090. #: guix-git/doc/guix.texi:30133 guix-git/doc/guix.texi:30213
  45091. #: guix-git/doc/guix.texi:30240 guix-git/doc/guix.texi:30266
  45092. msgid "When true, the daemon performs additional logging for debugging purposes."
  45093. msgstr ""
  45094. #. type: defvr
  45095. #: guix-git/doc/guix.texi:30081
  45096. #, no-wrap
  45097. msgid "{Scheme Variable} ganeti-wconfd-service-type"
  45098. msgstr ""
  45099. #. type: defvr
  45100. #: guix-git/doc/guix.texi:30087
  45101. 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."
  45102. msgstr ""
  45103. #. type: defvr
  45104. #: guix-git/doc/guix.texi:30090
  45105. msgid "The value of this service must be a @code{ganeti-wconfd-configuration} object."
  45106. msgstr ""
  45107. #. type: deftp
  45108. #: guix-git/doc/guix.texi:30092
  45109. #, no-wrap
  45110. msgid "{Data Type} ganeti-wconfd-configuration"
  45111. msgstr ""
  45112. #. type: deftp
  45113. #: guix-git/doc/guix.texi:30094 guix-git/doc/guix.texi:30121
  45114. msgid "This is the configuration for the @code{ganeti-wconfd} service."
  45115. msgstr ""
  45116. #. type: item
  45117. #: guix-git/doc/guix.texi:30099 guix-git/doc/guix.texi:30126
  45118. #, no-wrap
  45119. msgid "@code{no-voting?} (default: @code{#f})"
  45120. msgstr ""
  45121. #. type: table
  45122. #: guix-git/doc/guix.texi:30103
  45123. 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)."
  45124. msgstr ""
  45125. #. type: defvr
  45126. #: guix-git/doc/guix.texi:30110
  45127. #, no-wrap
  45128. msgid "{Scheme Variable} ganeti-luxid-service-type"
  45129. msgstr ""
  45130. #. type: defvr
  45131. #: guix-git/doc/guix.texi:30115
  45132. 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."
  45133. msgstr ""
  45134. #. type: defvr
  45135. #: guix-git/doc/guix.texi:30117
  45136. msgid "It takes a @code{ganeti-luxid-configuration} object."
  45137. msgstr ""
  45138. #. type: deftp
  45139. #: guix-git/doc/guix.texi:30119
  45140. #, no-wrap
  45141. msgid "{Data Type} ganeti-luxid-configuration"
  45142. msgstr ""
  45143. #. type: table
  45144. #: guix-git/doc/guix.texi:30130
  45145. 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)."
  45146. msgstr ""
  45147. #. type: defvr
  45148. #: guix-git/doc/guix.texi:30137
  45149. #, no-wrap
  45150. msgid "{Scheme Variable} ganeti-rapi-service-type"
  45151. msgstr ""
  45152. #. type: defvr
  45153. #: guix-git/doc/guix.texi:30141
  45154. 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."
  45155. msgstr ""
  45156. #. type: defvr
  45157. #: guix-git/doc/guix.texi:30147
  45158. 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."
  45159. msgstr ""
  45160. #. type: defvr
  45161. #: guix-git/doc/guix.texi:30149
  45162. msgid "The value of this service must be a @code{ganeti-rapi-configuration} object."
  45163. msgstr ""
  45164. #. type: deftp
  45165. #: guix-git/doc/guix.texi:30151
  45166. #, no-wrap
  45167. msgid "{Data Type} ganeti-rapi-configuration"
  45168. msgstr ""
  45169. #. type: deftp
  45170. #: guix-git/doc/guix.texi:30153
  45171. msgid "This is the configuration for the @code{ganeti-rapi} service."
  45172. msgstr ""
  45173. #. type: item
  45174. #: guix-git/doc/guix.texi:30158
  45175. #, no-wrap
  45176. msgid "@code{require-authentication?} (default: @code{#f})"
  45177. msgstr ""
  45178. #. type: table
  45179. #: guix-git/doc/guix.texi:30160
  45180. msgid "Whether to require authentication even for read-only operations."
  45181. msgstr ""
  45182. #. type: item
  45183. #: guix-git/doc/guix.texi:30161
  45184. #, no-wrap
  45185. msgid "@code{port} (default: @code{5080})"
  45186. msgstr ""
  45187. #. type: table
  45188. #: guix-git/doc/guix.texi:30163
  45189. msgid "The TCP port on which to listen to API requests."
  45190. msgstr ""
  45191. #. type: table
  45192. #: guix-git/doc/guix.texi:30167
  45193. msgid "The network address that the service will bind to. By default it listens on all configured addresses."
  45194. msgstr ""
  45195. #. type: table
  45196. #: guix-git/doc/guix.texi:30171
  45197. msgid "When set, it must specify a specific network interface such as @code{eth0} that the daemon will bind to."
  45198. msgstr ""
  45199. #. type: table
  45200. #: guix-git/doc/guix.texi:30176
  45201. msgid "The maximum number of simultaneous client requests to handle. Further connections are allowed, but no responses are sent until enough connections have closed."
  45202. msgstr ""
  45203. #. type: table
  45204. #: guix-git/doc/guix.texi:30179
  45205. msgid "Whether to use SSL/TLS encryption on the RAPI port."
  45206. msgstr ""
  45207. #. type: defvr
  45208. #: guix-git/doc/guix.texi:30193
  45209. #, no-wrap
  45210. msgid "{Scheme Variable} ganeti-kvmd-service-type"
  45211. msgstr ""
  45212. #. type: defvr
  45213. #: guix-git/doc/guix.texi:30201
  45214. 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."
  45215. msgstr ""
  45216. #. type: defvr
  45217. #: guix-git/doc/guix.texi:30203
  45218. msgid "It takes a @code{ganeti-kvmd-configuration} object."
  45219. msgstr ""
  45220. #. type: deftp
  45221. #: guix-git/doc/guix.texi:30205
  45222. #, no-wrap
  45223. msgid "{Data Type} ganeti-kvmd-configuration"
  45224. msgstr ""
  45225. #. type: defvr
  45226. #: guix-git/doc/guix.texi:30217
  45227. #, no-wrap
  45228. msgid "{Scheme Variable} ganeti-mond-service-type"
  45229. msgstr ""
  45230. #. type: defvr
  45231. #: guix-git/doc/guix.texi:30221
  45232. 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."
  45233. msgstr ""
  45234. #. type: defvr
  45235. #: guix-git/doc/guix.texi:30223
  45236. msgid "It takes a @code{ganeti-mond-configuration} object."
  45237. msgstr ""
  45238. #. type: deftp
  45239. #: guix-git/doc/guix.texi:30225
  45240. #, no-wrap
  45241. msgid "{Data Type} ganeti-mond-configuration"
  45242. msgstr ""
  45243. #. type: item
  45244. #: guix-git/doc/guix.texi:30231
  45245. #, no-wrap
  45246. msgid "@code{port} (default: @code{1815})"
  45247. msgstr ""
  45248. #. type: table
  45249. #: guix-git/doc/guix.texi:30233 guix-git/doc/guix.texi:30259
  45250. msgid "The port on which the daemon will listen."
  45251. msgstr ""
  45252. #. type: table
  45253. #: guix-git/doc/guix.texi:30237
  45254. msgid "The network address that the daemon will bind to. By default it binds to all available interfaces."
  45255. msgstr ""
  45256. #. type: defvr
  45257. #: guix-git/doc/guix.texi:30244
  45258. #, no-wrap
  45259. msgid "{Scheme Variable} ganeti-metad-service-type"
  45260. msgstr ""
  45261. #. type: defvr
  45262. #: guix-git/doc/guix.texi:30247
  45263. msgid "@command{ganeti-metad} is an optional daemon that can be used to provide information about the cluster to instances or OS install scripts."
  45264. msgstr ""
  45265. #. type: defvr
  45266. #: guix-git/doc/guix.texi:30249
  45267. msgid "It takes a @code{ganeti-metad-configuration} object."
  45268. msgstr ""
  45269. #. type: deftp
  45270. #: guix-git/doc/guix.texi:30251
  45271. #, no-wrap
  45272. msgid "{Data Type} ganeti-metad-configuration"
  45273. msgstr ""
  45274. #. type: item
  45275. #: guix-git/doc/guix.texi:30260
  45276. #, no-wrap
  45277. msgid "@code{address} (default: @code{#f})"
  45278. msgstr ""
  45279. #. type: table
  45280. #: guix-git/doc/guix.texi:30263
  45281. msgid "If set, the daemon will bind to this address only. If left unset, the behavior depends on the cluster configuration."
  45282. msgstr ""
  45283. #. type: defvr
  45284. #: guix-git/doc/guix.texi:30270
  45285. #, no-wrap
  45286. msgid "{Scheme Variable} ganeti-watcher-service-type"
  45287. msgstr ""
  45288. #. type: defvr
  45289. #: guix-git/doc/guix.texi:30278
  45290. 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."
  45291. msgstr ""
  45292. #. type: defvr
  45293. #: guix-git/doc/guix.texi:30280
  45294. msgid "It can be paused on all nodes with @command{gnt-cluster watcher pause}."
  45295. msgstr ""
  45296. #. type: defvr
  45297. #: guix-git/doc/guix.texi:30282
  45298. msgid "The service takes a @code{ganeti-watcher-configuration} object."
  45299. msgstr ""
  45300. #. type: deftp
  45301. #: guix-git/doc/guix.texi:30284
  45302. #, no-wrap
  45303. msgid "{Data Type} ganeti-watcher-configuration"
  45304. msgstr ""
  45305. #. type: item
  45306. #: guix-git/doc/guix.texi:30290
  45307. #, no-wrap
  45308. msgid "@code{schedule} (default: @code{'(next-second-from (next-minute (range 0 60 5)))})"
  45309. msgstr ""
  45310. #. type: table
  45311. #: guix-git/doc/guix.texi:30292
  45312. msgid "How often to run the script. The default is every five minutes."
  45313. msgstr ""
  45314. #. type: item
  45315. #: guix-git/doc/guix.texi:30293
  45316. #, no-wrap
  45317. msgid "@code{rapi-ip} (default: @code{#f})"
  45318. msgstr ""
  45319. #. type: table
  45320. #: guix-git/doc/guix.texi:30296
  45321. 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."
  45322. msgstr ""
  45323. #. type: item
  45324. #: guix-git/doc/guix.texi:30297
  45325. #, no-wrap
  45326. msgid "@code{job-age} (default: @code{(* 6 3600)})"
  45327. msgstr ""
  45328. #. type: table
  45329. #: guix-git/doc/guix.texi:30300
  45330. msgid "Archive cluster jobs older than this age, specified in seconds. The default is 6 hours. This keeps @command{gnt-job list} manageable."
  45331. msgstr ""
  45332. #. type: item
  45333. #: guix-git/doc/guix.texi:30301
  45334. #, no-wrap
  45335. msgid "@code{verify-disks?} (default: @code{#t})"
  45336. msgstr ""
  45337. #. type: table
  45338. #: guix-git/doc/guix.texi:30305
  45339. 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."
  45340. msgstr ""
  45341. #. type: table
  45342. #: guix-git/doc/guix.texi:30308
  45343. msgid "When @code{#t}, the script performs additional logging for debugging purposes."
  45344. msgstr ""
  45345. #. type: defvr
  45346. #: guix-git/doc/guix.texi:30312
  45347. #, no-wrap
  45348. msgid "{Scheme Variable} ganeti-cleaner-service-type"
  45349. msgstr ""
  45350. #. type: defvr
  45351. #: guix-git/doc/guix.texi:30320
  45352. 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."
  45353. msgstr ""
  45354. #. type: defvr
  45355. #: guix-git/doc/guix.texi:30322
  45356. msgid "It takes a @code{ganeti-cleaner-configuration} object."
  45357. msgstr ""
  45358. #. type: deftp
  45359. #: guix-git/doc/guix.texi:30324
  45360. #, no-wrap
  45361. msgid "{Data Type} ganeti-cleaner-configuration"
  45362. msgstr ""
  45363. #. type: table
  45364. #: guix-git/doc/guix.texi:30329
  45365. msgid "The @code{ganeti} package to use for the @command{gnt-cleaner} command."
  45366. msgstr ""
  45367. #. type: item
  45368. #: guix-git/doc/guix.texi:30330
  45369. #, no-wrap
  45370. msgid "@code{master-schedule} (default: @code{\"45 1 * * *\"})"
  45371. msgstr ""
  45372. #. type: table
  45373. #: guix-git/doc/guix.texi:30333
  45374. msgid "How often to run the master cleaning job. The default is once per day, at 01:45:00."
  45375. msgstr ""
  45376. #. type: item
  45377. #: guix-git/doc/guix.texi:30334
  45378. #, no-wrap
  45379. msgid "@code{node-schedule} (default: @code{\"45 2 * * *\"})"
  45380. msgstr ""
  45381. #. type: table
  45382. #: guix-git/doc/guix.texi:30337
  45383. msgid "How often to run the node cleaning job. The default is once per day, at 02:45:00."
  45384. msgstr ""
  45385. #. type: Plain text
  45386. #: guix-git/doc/guix.texi:30351
  45387. 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}."
  45388. msgstr ""
  45389. #. type: deffn
  45390. #: guix-git/doc/guix.texi:30352
  45391. #, no-wrap
  45392. msgid "{Scheme Procedure} git-daemon-service [#:config (git-daemon-configuration)]"
  45393. msgstr ""
  45394. #. type: deffn
  45395. #: guix-git/doc/guix.texi:30356
  45396. msgid "Return a service that runs @command{git daemon}, a simple TCP server to expose repositories over the Git protocol for anonymous access."
  45397. msgstr ""
  45398. #. type: deffn
  45399. #: guix-git/doc/guix.texi:30362
  45400. 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}."
  45401. msgstr ""
  45402. #. type: deftp
  45403. #: guix-git/doc/guix.texi:30365
  45404. #, no-wrap
  45405. msgid "{Data Type} git-daemon-configuration"
  45406. msgstr ""
  45407. #. type: deftp
  45408. #: guix-git/doc/guix.texi:30367
  45409. msgid "Data type representing the configuration for @code{git-daemon-service}."
  45410. msgstr ""
  45411. #. type: item
  45412. #: guix-git/doc/guix.texi:30369
  45413. #, no-wrap
  45414. msgid "@code{package} (default: @code{git})"
  45415. msgstr ""
  45416. #. type: table
  45417. #: guix-git/doc/guix.texi:30371 guix-git/doc/guix.texi:30431
  45418. msgid "Package object of the Git distributed version control system."
  45419. msgstr ""
  45420. #. type: item
  45421. #: guix-git/doc/guix.texi:30372 guix-git/doc/guix.texi:30435
  45422. #, no-wrap
  45423. msgid "@code{export-all?} (default: @code{#f})"
  45424. msgstr ""
  45425. #. type: table
  45426. #: guix-git/doc/guix.texi:30375
  45427. msgid "Whether to allow access for all Git repositories, even if they do not have the @file{git-daemon-export-ok} file."
  45428. msgstr ""
  45429. #. type: item
  45430. #: guix-git/doc/guix.texi:30376
  45431. #, no-wrap
  45432. msgid "@code{base-path} (default: @file{/srv/git})"
  45433. msgstr ""
  45434. #. type: table
  45435. #: guix-git/doc/guix.texi:30382
  45436. 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}."
  45437. msgstr ""
  45438. #. type: item
  45439. #: guix-git/doc/guix.texi:30383
  45440. #, no-wrap
  45441. msgid "@code{user-path} (default: @code{#f})"
  45442. msgstr ""
  45443. #. type: table
  45444. #: guix-git/doc/guix.texi:30391
  45445. 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}."
  45446. msgstr ""
  45447. #. type: item
  45448. #: guix-git/doc/guix.texi:30392
  45449. #, no-wrap
  45450. msgid "@code{listen} (default: @code{'()})"
  45451. msgstr ""
  45452. #. type: table
  45453. #: guix-git/doc/guix.texi:30395
  45454. msgid "Whether to listen on specific IP addresses or hostnames, defaults to all."
  45455. msgstr ""
  45456. #. type: item
  45457. #: guix-git/doc/guix.texi:30396
  45458. #, no-wrap
  45459. msgid "@code{port} (default: @code{#f})"
  45460. msgstr ""
  45461. #. type: table
  45462. #: guix-git/doc/guix.texi:30398
  45463. msgid "Whether to listen on an alternative port, which defaults to 9418."
  45464. msgstr ""
  45465. #. type: item
  45466. #: guix-git/doc/guix.texi:30399
  45467. #, no-wrap
  45468. msgid "@code{whitelist} (default: @code{'()})"
  45469. msgstr ""
  45470. #. type: table
  45471. #: guix-git/doc/guix.texi:30401
  45472. msgid "If not empty, only allow access to this list of directories."
  45473. msgstr ""
  45474. #. type: table
  45475. #: guix-git/doc/guix.texi:30405
  45476. msgid "Extra options will be passed to @command{git daemon}, please run @command{man git-daemon} for more information."
  45477. msgstr ""
  45478. #. type: Plain text
  45479. #: guix-git/doc/guix.texi:30419
  45480. 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."
  45481. msgstr ""
  45482. #. type: Plain text
  45483. #: guix-git/doc/guix.texi:30422
  45484. msgid "Guix has a separate configuration data type for serving Git repositories over HTTP."
  45485. msgstr ""
  45486. #. type: deftp
  45487. #: guix-git/doc/guix.texi:30423
  45488. #, no-wrap
  45489. msgid "{Data Type} git-http-configuration"
  45490. msgstr ""
  45491. #. type: deftp
  45492. #: guix-git/doc/guix.texi:30427
  45493. 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}."
  45494. msgstr ""
  45495. #. type: item
  45496. #: guix-git/doc/guix.texi:30429
  45497. #, no-wrap
  45498. msgid "@code{package} (default: @var{git})"
  45499. msgstr ""
  45500. #. type: item
  45501. #: guix-git/doc/guix.texi:30432
  45502. #, no-wrap
  45503. msgid "@code{git-root} (default: @file{/srv/git})"
  45504. msgstr ""
  45505. #. type: table
  45506. #: guix-git/doc/guix.texi:30434
  45507. msgid "Directory containing the Git repositories to expose to the world."
  45508. msgstr ""
  45509. #. type: table
  45510. #: guix-git/doc/guix.texi:30438
  45511. 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."
  45512. msgstr ""
  45513. #. type: item
  45514. #: guix-git/doc/guix.texi:30439
  45515. #, no-wrap
  45516. msgid "@code{uri-path} (default: @samp{/git/})"
  45517. msgstr ""
  45518. #. type: table
  45519. #: guix-git/doc/guix.texi:30444
  45520. 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."
  45521. msgstr ""
  45522. #. type: item
  45523. #: guix-git/doc/guix.texi:30445
  45524. #, no-wrap
  45525. msgid "@code{fcgiwrap-socket} (default: @code{127.0.0.1:9000})"
  45526. msgstr ""
  45527. #. type: table
  45528. #: guix-git/doc/guix.texi:30448
  45529. msgid "The socket on which the @code{fcgiwrap} daemon is listening. @xref{Web Services}."
  45530. msgstr ""
  45531. #. type: Plain text
  45532. #: guix-git/doc/guix.texi:30455
  45533. 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."
  45534. msgstr ""
  45535. #. type: deffn
  45536. #: guix-git/doc/guix.texi:30456
  45537. #, no-wrap
  45538. msgid "{Scheme Procedure} git-http-nginx-location-configuration @"
  45539. msgstr ""
  45540. #. type: deffn
  45541. #: guix-git/doc/guix.texi:30461
  45542. 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:"
  45543. msgstr ""
  45544. #. type: lisp
  45545. #: guix-git/doc/guix.texi:30478
  45546. #, no-wrap
  45547. msgid ""
  45548. "(service nginx-service-type\n"
  45549. " (nginx-configuration\n"
  45550. " (server-blocks\n"
  45551. " (list\n"
  45552. " (nginx-server-configuration\n"
  45553. " (listen '(\"443 ssl\"))\n"
  45554. " (server-name \"git.my-host.org\")\n"
  45555. " (ssl-certificate\n"
  45556. " \"/etc/letsencrypt/live/git.my-host.org/fullchain.pem\")\n"
  45557. " (ssl-certificate-key\n"
  45558. " \"/etc/letsencrypt/live/git.my-host.org/privkey.pem\")\n"
  45559. " (locations\n"
  45560. " (list\n"
  45561. " (git-http-nginx-location-configuration\n"
  45562. " (git-http-configuration (uri-path \"/\"))))))))))\n"
  45563. msgstr ""
  45564. #. type: deffn
  45565. #: guix-git/doc/guix.texi:30485
  45566. 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}."
  45567. msgstr ""
  45568. #. type: subsubheading
  45569. #: guix-git/doc/guix.texi:30487
  45570. #, no-wrap
  45571. msgid "Cgit Service"
  45572. msgstr ""
  45573. #. type: cindex
  45574. #: guix-git/doc/guix.texi:30489
  45575. #, no-wrap
  45576. msgid "Cgit service"
  45577. msgstr ""
  45578. #. type: cindex
  45579. #: guix-git/doc/guix.texi:30490
  45580. #, no-wrap
  45581. msgid "Git, web interface"
  45582. msgstr ""
  45583. #. type: Plain text
  45584. #: guix-git/doc/guix.texi:30493
  45585. msgid "@uref{https://git.zx2c4.com/cgit/, Cgit} is a web frontend for Git repositories written in C."
  45586. msgstr ""
  45587. #. type: Plain text
  45588. #: guix-git/doc/guix.texi:30496
  45589. msgid "The following example will configure the service with default values. By default, Cgit can be accessed on port 80 (@code{http://localhost:80})."
  45590. msgstr ""
  45591. #. type: lisp
  45592. #: guix-git/doc/guix.texi:30499
  45593. #, no-wrap
  45594. msgid "(service cgit-service-type)\n"
  45595. msgstr ""
  45596. #. type: Plain text
  45597. #: guix-git/doc/guix.texi:30503
  45598. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a string."
  45599. msgstr ""
  45600. #. type: Plain text
  45601. #: guix-git/doc/guix.texi:30507
  45602. msgid "Available @code{cgit-configuration} fields are:"
  45603. msgstr ""
  45604. #. type: deftypevr
  45605. #: guix-git/doc/guix.texi:30508
  45606. #, no-wrap
  45607. msgid "{@code{cgit-configuration} parameter} package package"
  45608. msgstr ""
  45609. #. type: deftypevr
  45610. #: guix-git/doc/guix.texi:30510
  45611. msgid "The CGIT package."
  45612. msgstr ""
  45613. #. type: deftypevr
  45614. #: guix-git/doc/guix.texi:30513
  45615. #, no-wrap
  45616. msgid "{@code{cgit-configuration} parameter} nginx-server-configuration-list nginx"
  45617. msgstr ""
  45618. #. type: deftypevr
  45619. #: guix-git/doc/guix.texi:30518
  45620. #, no-wrap
  45621. msgid "{@code{cgit-configuration} parameter} file-object about-filter"
  45622. msgstr ""
  45623. #. type: deftypevr
  45624. #: guix-git/doc/guix.texi:30521
  45625. msgid "Specifies a command which will be invoked to format the content of about pages (both top-level and for each repository)."
  45626. msgstr ""
  45627. #. type: deftypevr
  45628. #: guix-git/doc/guix.texi:30526
  45629. #, no-wrap
  45630. msgid "{@code{cgit-configuration} parameter} string agefile"
  45631. msgstr ""
  45632. #. type: deftypevr
  45633. #: guix-git/doc/guix.texi:30529
  45634. 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."
  45635. msgstr ""
  45636. #. type: deftypevr
  45637. #: guix-git/doc/guix.texi:30534
  45638. #, no-wrap
  45639. msgid "{@code{cgit-configuration} parameter} file-object auth-filter"
  45640. msgstr ""
  45641. #. type: deftypevr
  45642. #: guix-git/doc/guix.texi:30537
  45643. msgid "Specifies a command that will be invoked for authenticating repository access."
  45644. msgstr ""
  45645. #. type: deftypevr
  45646. #: guix-git/doc/guix.texi:30542
  45647. #, no-wrap
  45648. msgid "{@code{cgit-configuration} parameter} string branch-sort"
  45649. msgstr ""
  45650. #. type: deftypevr
  45651. #: guix-git/doc/guix.texi:30545
  45652. 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."
  45653. msgstr ""
  45654. #. type: deftypevr
  45655. #: guix-git/doc/guix.texi:30547
  45656. msgid "Defaults to @samp{\"name\"}."
  45657. msgstr ""
  45658. #. type: deftypevr
  45659. #: guix-git/doc/guix.texi:30550
  45660. #, no-wrap
  45661. msgid "{@code{cgit-configuration} parameter} string cache-root"
  45662. msgstr ""
  45663. #. type: deftypevr
  45664. #: guix-git/doc/guix.texi:30552
  45665. msgid "Path used to store the cgit cache entries."
  45666. msgstr ""
  45667. #. type: deftypevr
  45668. #: guix-git/doc/guix.texi:30554
  45669. msgid "Defaults to @samp{\"/var/cache/cgit\"}."
  45670. msgstr ""
  45671. #. type: deftypevr
  45672. #: guix-git/doc/guix.texi:30557
  45673. #, no-wrap
  45674. msgid "{@code{cgit-configuration} parameter} integer cache-static-ttl"
  45675. msgstr ""
  45676. #. type: deftypevr
  45677. #: guix-git/doc/guix.texi:30560
  45678. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed with a fixed SHA1."
  45679. msgstr ""
  45680. #. type: deftypevr
  45681. #: guix-git/doc/guix.texi:30562 guix-git/doc/guix.texi:31005
  45682. msgid "Defaults to @samp{-1}."
  45683. msgstr ""
  45684. #. type: deftypevr
  45685. #: guix-git/doc/guix.texi:30565
  45686. #, no-wrap
  45687. msgid "{@code{cgit-configuration} parameter} integer cache-dynamic-ttl"
  45688. msgstr ""
  45689. #. type: deftypevr
  45690. #: guix-git/doc/guix.texi:30568
  45691. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed without a fixed SHA1."
  45692. msgstr ""
  45693. #. type: deftypevr
  45694. #: guix-git/doc/guix.texi:30573
  45695. #, no-wrap
  45696. msgid "{@code{cgit-configuration} parameter} integer cache-repo-ttl"
  45697. msgstr ""
  45698. #. type: deftypevr
  45699. #: guix-git/doc/guix.texi:30576
  45700. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository summary page."
  45701. msgstr ""
  45702. #. type: deftypevr
  45703. #: guix-git/doc/guix.texi:30581
  45704. #, no-wrap
  45705. msgid "{@code{cgit-configuration} parameter} integer cache-root-ttl"
  45706. msgstr ""
  45707. #. type: deftypevr
  45708. #: guix-git/doc/guix.texi:30584
  45709. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository index page."
  45710. msgstr ""
  45711. #. type: deftypevr
  45712. #: guix-git/doc/guix.texi:30589
  45713. #, no-wrap
  45714. msgid "{@code{cgit-configuration} parameter} integer cache-scanrc-ttl"
  45715. msgstr ""
  45716. #. type: deftypevr
  45717. #: guix-git/doc/guix.texi:30592
  45718. msgid "Number which specifies the time-to-live, in minutes, for the result of scanning a path for Git repositories."
  45719. msgstr ""
  45720. #. type: deftypevr
  45721. #: guix-git/doc/guix.texi:30597
  45722. #, no-wrap
  45723. msgid "{@code{cgit-configuration} parameter} integer cache-about-ttl"
  45724. msgstr ""
  45725. #. type: deftypevr
  45726. #: guix-git/doc/guix.texi:30600
  45727. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository about page."
  45728. msgstr ""
  45729. #. type: deftypevr
  45730. #: guix-git/doc/guix.texi:30605
  45731. #, no-wrap
  45732. msgid "{@code{cgit-configuration} parameter} integer cache-snapshot-ttl"
  45733. msgstr ""
  45734. #. type: deftypevr
  45735. #: guix-git/doc/guix.texi:30608
  45736. msgid "Number which specifies the time-to-live, in minutes, for the cached version of snapshots."
  45737. msgstr ""
  45738. #. type: deftypevr
  45739. #: guix-git/doc/guix.texi:30613
  45740. #, no-wrap
  45741. msgid "{@code{cgit-configuration} parameter} integer cache-size"
  45742. msgstr ""
  45743. #. type: deftypevr
  45744. #: guix-git/doc/guix.texi:30616
  45745. msgid "The maximum number of entries in the cgit cache. When set to @samp{0}, caching is disabled."
  45746. msgstr ""
  45747. #. type: deftypevr
  45748. #: guix-git/doc/guix.texi:30621
  45749. #, no-wrap
  45750. msgid "{@code{cgit-configuration} parameter} boolean case-sensitive-sort?"
  45751. msgstr ""
  45752. #. type: deftypevr
  45753. #: guix-git/doc/guix.texi:30623
  45754. msgid "Sort items in the repo list case sensitively."
  45755. msgstr ""
  45756. #. type: deftypevr
  45757. #: guix-git/doc/guix.texi:30628
  45758. #, no-wrap
  45759. msgid "{@code{cgit-configuration} parameter} list clone-prefix"
  45760. msgstr ""
  45761. #. type: deftypevr
  45762. #: guix-git/doc/guix.texi:30631
  45763. msgid "List of common prefixes which, when combined with a repository URL, generates valid clone URLs for the repository."
  45764. msgstr ""
  45765. #. type: deftypevr
  45766. #: guix-git/doc/guix.texi:30636
  45767. #, no-wrap
  45768. msgid "{@code{cgit-configuration} parameter} list clone-url"
  45769. msgstr ""
  45770. #. type: deftypevr
  45771. #: guix-git/doc/guix.texi:30638
  45772. msgid "List of @code{clone-url} templates."
  45773. msgstr ""
  45774. #. type: deftypevr
  45775. #: guix-git/doc/guix.texi:30643
  45776. #, no-wrap
  45777. msgid "{@code{cgit-configuration} parameter} file-object commit-filter"
  45778. msgstr ""
  45779. #. type: deftypevr
  45780. #: guix-git/doc/guix.texi:30645
  45781. msgid "Command which will be invoked to format commit messages."
  45782. msgstr ""
  45783. #. type: deftypevr
  45784. #: guix-git/doc/guix.texi:30650
  45785. #, no-wrap
  45786. msgid "{@code{cgit-configuration} parameter} string commit-sort"
  45787. msgstr ""
  45788. #. type: deftypevr
  45789. #: guix-git/doc/guix.texi:30654 guix-git/doc/guix.texi:31212
  45790. 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."
  45791. msgstr ""
  45792. #. type: deftypevr
  45793. #: guix-git/doc/guix.texi:30656
  45794. msgid "Defaults to @samp{\"git log\"}."
  45795. msgstr ""
  45796. #. type: deftypevr
  45797. #: guix-git/doc/guix.texi:30659
  45798. #, no-wrap
  45799. msgid "{@code{cgit-configuration} parameter} file-object css"
  45800. msgstr ""
  45801. #. type: deftypevr
  45802. #: guix-git/doc/guix.texi:30661
  45803. msgid "URL which specifies the css document to include in all cgit pages."
  45804. msgstr ""
  45805. #. type: deftypevr
  45806. #: guix-git/doc/guix.texi:30663
  45807. msgid "Defaults to @samp{\"/share/cgit/cgit.css\"}."
  45808. msgstr ""
  45809. #. type: deftypevr
  45810. #: guix-git/doc/guix.texi:30666
  45811. #, no-wrap
  45812. msgid "{@code{cgit-configuration} parameter} file-object email-filter"
  45813. msgstr ""
  45814. #. type: deftypevr
  45815. #: guix-git/doc/guix.texi:30670
  45816. 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."
  45817. msgstr ""
  45818. #. type: deftypevr
  45819. #: guix-git/doc/guix.texi:30675
  45820. #, no-wrap
  45821. msgid "{@code{cgit-configuration} parameter} boolean embedded?"
  45822. msgstr ""
  45823. #. type: deftypevr
  45824. #: guix-git/doc/guix.texi:30678
  45825. msgid "Flag which, when set to @samp{#t}, will make cgit generate a HTML fragment suitable for embedding in other HTML pages."
  45826. msgstr ""
  45827. #. type: deftypevr
  45828. #: guix-git/doc/guix.texi:30683
  45829. #, no-wrap
  45830. msgid "{@code{cgit-configuration} parameter} boolean enable-commit-graph?"
  45831. msgstr ""
  45832. #. type: deftypevr
  45833. #: guix-git/doc/guix.texi:30687
  45834. 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."
  45835. msgstr ""
  45836. #. type: deftypevr
  45837. #: guix-git/doc/guix.texi:30692
  45838. #, no-wrap
  45839. msgid "{@code{cgit-configuration} parameter} boolean enable-filter-overrides?"
  45840. msgstr ""
  45841. #. type: deftypevr
  45842. #: guix-git/doc/guix.texi:30695
  45843. msgid "Flag which, when set to @samp{#t}, allows all filter settings to be overridden in repository-specific cgitrc files."
  45844. msgstr ""
  45845. #. type: deftypevr
  45846. #: guix-git/doc/guix.texi:30700
  45847. #, no-wrap
  45848. msgid "{@code{cgit-configuration} parameter} boolean enable-follow-links?"
  45849. msgstr ""
  45850. #. type: deftypevr
  45851. #: guix-git/doc/guix.texi:30703
  45852. msgid "Flag which, when set to @samp{#t}, allows users to follow a file in the log view."
  45853. msgstr ""
  45854. #. type: deftypevr
  45855. #: guix-git/doc/guix.texi:30708
  45856. #, no-wrap
  45857. msgid "{@code{cgit-configuration} parameter} boolean enable-http-clone?"
  45858. msgstr ""
  45859. #. type: deftypevr
  45860. #: guix-git/doc/guix.texi:30711
  45861. msgid "If set to @samp{#t}, cgit will act as an dumb HTTP endpoint for Git clones."
  45862. msgstr ""
  45863. #. type: deftypevr
  45864. #: guix-git/doc/guix.texi:30716
  45865. #, no-wrap
  45866. msgid "{@code{cgit-configuration} parameter} boolean enable-index-links?"
  45867. msgstr ""
  45868. #. type: deftypevr
  45869. #: guix-git/doc/guix.texi:30719
  45870. msgid "Flag which, when set to @samp{#t}, will make cgit generate extra links \"summary\", \"commit\", \"tree\" for each repo in the repository index."
  45871. msgstr ""
  45872. #. type: deftypevr
  45873. #: guix-git/doc/guix.texi:30724
  45874. #, no-wrap
  45875. msgid "{@code{cgit-configuration} parameter} boolean enable-index-owner?"
  45876. msgstr ""
  45877. #. type: deftypevr
  45878. #: guix-git/doc/guix.texi:30727
  45879. msgid "Flag which, when set to @samp{#t}, will make cgit display the owner of each repo in the repository index."
  45880. msgstr ""
  45881. #. type: deftypevr
  45882. #: guix-git/doc/guix.texi:30732
  45883. #, no-wrap
  45884. msgid "{@code{cgit-configuration} parameter} boolean enable-log-filecount?"
  45885. msgstr ""
  45886. #. type: deftypevr
  45887. #: guix-git/doc/guix.texi:30735
  45888. 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."
  45889. msgstr ""
  45890. #. type: deftypevr
  45891. #: guix-git/doc/guix.texi:30740
  45892. #, no-wrap
  45893. msgid "{@code{cgit-configuration} parameter} boolean enable-log-linecount?"
  45894. msgstr ""
  45895. #. type: deftypevr
  45896. #: guix-git/doc/guix.texi:30743
  45897. 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."
  45898. msgstr ""
  45899. #. type: deftypevr
  45900. #: guix-git/doc/guix.texi:30748
  45901. #, no-wrap
  45902. msgid "{@code{cgit-configuration} parameter} boolean enable-remote-branches?"
  45903. msgstr ""
  45904. #. type: deftypevr
  45905. #: guix-git/doc/guix.texi:30751 guix-git/doc/guix.texi:31275
  45906. msgid "Flag which, when set to @code{#t}, will make cgit display remote branches in the summary and refs views."
  45907. msgstr ""
  45908. #. type: deftypevr
  45909. #: guix-git/doc/guix.texi:30756
  45910. #, no-wrap
  45911. msgid "{@code{cgit-configuration} parameter} boolean enable-subject-links?"
  45912. msgstr ""
  45913. #. type: deftypevr
  45914. #: guix-git/doc/guix.texi:30760
  45915. 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."
  45916. msgstr ""
  45917. #. type: deftypevr
  45918. #: guix-git/doc/guix.texi:30765
  45919. #, no-wrap
  45920. msgid "{@code{cgit-configuration} parameter} boolean enable-html-serving?"
  45921. msgstr ""
  45922. #. type: deftypevr
  45923. #: guix-git/doc/guix.texi:30769
  45924. 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."
  45925. msgstr ""
  45926. #. type: deftypevr
  45927. #: guix-git/doc/guix.texi:30774
  45928. #, no-wrap
  45929. msgid "{@code{cgit-configuration} parameter} boolean enable-tree-linenumbers?"
  45930. msgstr ""
  45931. #. type: deftypevr
  45932. #: guix-git/doc/guix.texi:30777
  45933. msgid "Flag which, when set to @samp{#t}, will make cgit generate linenumber links for plaintext blobs printed in the tree view."
  45934. msgstr ""
  45935. #. type: deftypevr
  45936. #: guix-git/doc/guix.texi:30782
  45937. #, no-wrap
  45938. msgid "{@code{cgit-configuration} parameter} boolean enable-git-config?"
  45939. msgstr ""
  45940. #. type: deftypevr
  45941. #: guix-git/doc/guix.texi:30785
  45942. msgid "Flag which, when set to @samp{#f}, will allow cgit to use Git config to set any repo specific settings."
  45943. msgstr ""
  45944. #. type: deftypevr
  45945. #: guix-git/doc/guix.texi:30790
  45946. #, no-wrap
  45947. msgid "{@code{cgit-configuration} parameter} file-object favicon"
  45948. msgstr ""
  45949. #. type: deftypevr
  45950. #: guix-git/doc/guix.texi:30792
  45951. msgid "URL used as link to a shortcut icon for cgit."
  45952. msgstr ""
  45953. #. type: deftypevr
  45954. #: guix-git/doc/guix.texi:30794
  45955. msgid "Defaults to @samp{\"/favicon.ico\"}."
  45956. msgstr ""
  45957. #. type: deftypevr
  45958. #: guix-git/doc/guix.texi:30797
  45959. #, no-wrap
  45960. msgid "{@code{cgit-configuration} parameter} string footer"
  45961. msgstr ""
  45962. #. type: deftypevr
  45963. #: guix-git/doc/guix.texi:30801
  45964. 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)."
  45965. msgstr ""
  45966. #. type: deftypevr
  45967. #: guix-git/doc/guix.texi:30806
  45968. #, no-wrap
  45969. msgid "{@code{cgit-configuration} parameter} string head-include"
  45970. msgstr ""
  45971. #. type: deftypevr
  45972. #: guix-git/doc/guix.texi:30809
  45973. msgid "The content of the file specified with this option will be included verbatim in the HTML HEAD section on all pages."
  45974. msgstr ""
  45975. #. type: deftypevr
  45976. #: guix-git/doc/guix.texi:30814
  45977. #, no-wrap
  45978. msgid "{@code{cgit-configuration} parameter} string header"
  45979. msgstr ""
  45980. #. type: deftypevr
  45981. #: guix-git/doc/guix.texi:30817
  45982. msgid "The content of the file specified with this option will be included verbatim at the top of all pages."
  45983. msgstr ""
  45984. #. type: deftypevr
  45985. #: guix-git/doc/guix.texi:30822
  45986. #, no-wrap
  45987. msgid "{@code{cgit-configuration} parameter} file-object include"
  45988. msgstr ""
  45989. #. type: deftypevr
  45990. #: guix-git/doc/guix.texi:30825
  45991. msgid "Name of a configfile to include before the rest of the current config- file is parsed."
  45992. msgstr ""
  45993. #. type: deftypevr
  45994. #: guix-git/doc/guix.texi:30830
  45995. #, no-wrap
  45996. msgid "{@code{cgit-configuration} parameter} string index-header"
  45997. msgstr ""
  45998. #. type: deftypevr
  45999. #: guix-git/doc/guix.texi:30833
  46000. msgid "The content of the file specified with this option will be included verbatim above the repository index."
  46001. msgstr ""
  46002. #. type: deftypevr
  46003. #: guix-git/doc/guix.texi:30838
  46004. #, no-wrap
  46005. msgid "{@code{cgit-configuration} parameter} string index-info"
  46006. msgstr ""
  46007. #. type: deftypevr
  46008. #: guix-git/doc/guix.texi:30841
  46009. msgid "The content of the file specified with this option will be included verbatim below the heading on the repository index page."
  46010. msgstr ""
  46011. #. type: deftypevr
  46012. #: guix-git/doc/guix.texi:30846
  46013. #, no-wrap
  46014. msgid "{@code{cgit-configuration} parameter} boolean local-time?"
  46015. msgstr ""
  46016. #. type: deftypevr
  46017. #: guix-git/doc/guix.texi:30849
  46018. msgid "Flag which, if set to @samp{#t}, makes cgit print commit and tag times in the servers timezone."
  46019. msgstr ""
  46020. #. type: deftypevr
  46021. #: guix-git/doc/guix.texi:30854
  46022. #, no-wrap
  46023. msgid "{@code{cgit-configuration} parameter} file-object logo"
  46024. msgstr ""
  46025. #. type: deftypevr
  46026. #: guix-git/doc/guix.texi:30857
  46027. msgid "URL which specifies the source of an image which will be used as a logo on all cgit pages."
  46028. msgstr ""
  46029. #. type: deftypevr
  46030. #: guix-git/doc/guix.texi:30859
  46031. msgid "Defaults to @samp{\"/share/cgit/cgit.png\"}."
  46032. msgstr ""
  46033. #. type: deftypevr
  46034. #: guix-git/doc/guix.texi:30862
  46035. #, no-wrap
  46036. msgid "{@code{cgit-configuration} parameter} string logo-link"
  46037. msgstr ""
  46038. #. type: deftypevr
  46039. #: guix-git/doc/guix.texi:30864 guix-git/doc/guix.texi:31321
  46040. msgid "URL loaded when clicking on the cgit logo image."
  46041. msgstr ""
  46042. #. type: deftypevr
  46043. #: guix-git/doc/guix.texi:30869
  46044. #, no-wrap
  46045. msgid "{@code{cgit-configuration} parameter} file-object owner-filter"
  46046. msgstr ""
  46047. #. type: deftypevr
  46048. #: guix-git/doc/guix.texi:30872
  46049. msgid "Command which will be invoked to format the Owner column of the main page."
  46050. msgstr ""
  46051. #. type: deftypevr
  46052. #: guix-git/doc/guix.texi:30877
  46053. #, no-wrap
  46054. msgid "{@code{cgit-configuration} parameter} integer max-atom-items"
  46055. msgstr ""
  46056. #. type: deftypevr
  46057. #: guix-git/doc/guix.texi:30879
  46058. msgid "Number of items to display in atom feeds view."
  46059. msgstr ""
  46060. #. type: deftypevr
  46061. #: guix-git/doc/guix.texi:30884
  46062. #, no-wrap
  46063. msgid "{@code{cgit-configuration} parameter} integer max-commit-count"
  46064. msgstr ""
  46065. #. type: deftypevr
  46066. #: guix-git/doc/guix.texi:30886
  46067. msgid "Number of entries to list per page in \"log\" view."
  46068. msgstr ""
  46069. #. type: deftypevr
  46070. #: guix-git/doc/guix.texi:30891
  46071. #, no-wrap
  46072. msgid "{@code{cgit-configuration} parameter} integer max-message-length"
  46073. msgstr ""
  46074. #. type: deftypevr
  46075. #: guix-git/doc/guix.texi:30893
  46076. msgid "Number of commit message characters to display in \"log\" view."
  46077. msgstr ""
  46078. #. type: deftypevr
  46079. #: guix-git/doc/guix.texi:30895 guix-git/doc/guix.texi:30911
  46080. msgid "Defaults to @samp{80}."
  46081. msgstr ""
  46082. #. type: deftypevr
  46083. #: guix-git/doc/guix.texi:30898
  46084. #, no-wrap
  46085. msgid "{@code{cgit-configuration} parameter} integer max-repo-count"
  46086. msgstr ""
  46087. #. type: deftypevr
  46088. #: guix-git/doc/guix.texi:30901
  46089. msgid "Specifies the number of entries to list per page on the repository index page."
  46090. msgstr ""
  46091. #. type: deftypevr
  46092. #: guix-git/doc/guix.texi:30906
  46093. #, no-wrap
  46094. msgid "{@code{cgit-configuration} parameter} integer max-repodesc-length"
  46095. msgstr ""
  46096. #. type: deftypevr
  46097. #: guix-git/doc/guix.texi:30909
  46098. msgid "Specifies the maximum number of repo description characters to display on the repository index page."
  46099. msgstr ""
  46100. #. type: deftypevr
  46101. #: guix-git/doc/guix.texi:30914
  46102. #, no-wrap
  46103. msgid "{@code{cgit-configuration} parameter} integer max-blob-size"
  46104. msgstr ""
  46105. #. type: deftypevr
  46106. #: guix-git/doc/guix.texi:30916
  46107. msgid "Specifies the maximum size of a blob to display HTML for in KBytes."
  46108. msgstr ""
  46109. #. type: deftypevr
  46110. #: guix-git/doc/guix.texi:30921
  46111. #, no-wrap
  46112. msgid "{@code{cgit-configuration} parameter} string max-stats"
  46113. msgstr ""
  46114. #. type: deftypevr
  46115. #: guix-git/doc/guix.texi:30924
  46116. msgid "Maximum statistics period. Valid values are @samp{week},@samp{month}, @samp{quarter} and @samp{year}."
  46117. msgstr ""
  46118. #. type: deftypevr
  46119. #: guix-git/doc/guix.texi:30929
  46120. #, no-wrap
  46121. msgid "{@code{cgit-configuration} parameter} mimetype-alist mimetype"
  46122. msgstr ""
  46123. #. type: deftypevr
  46124. #: guix-git/doc/guix.texi:30931
  46125. msgid "Mimetype for the specified filename extension."
  46126. msgstr ""
  46127. #. type: deftypevr
  46128. #: guix-git/doc/guix.texi:30935
  46129. 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\"))}."
  46130. msgstr ""
  46131. #. type: deftypevr
  46132. #: guix-git/doc/guix.texi:30938
  46133. #, no-wrap
  46134. msgid "{@code{cgit-configuration} parameter} file-object mimetype-file"
  46135. msgstr ""
  46136. #. type: deftypevr
  46137. #: guix-git/doc/guix.texi:30940
  46138. msgid "Specifies the file to use for automatic mimetype lookup."
  46139. msgstr ""
  46140. #. type: deftypevr
  46141. #: guix-git/doc/guix.texi:30945
  46142. #, no-wrap
  46143. msgid "{@code{cgit-configuration} parameter} string module-link"
  46144. msgstr ""
  46145. #. type: deftypevr
  46146. #: guix-git/doc/guix.texi:30948
  46147. msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing."
  46148. msgstr ""
  46149. #. type: deftypevr
  46150. #: guix-git/doc/guix.texi:30953
  46151. #, no-wrap
  46152. msgid "{@code{cgit-configuration} parameter} boolean nocache?"
  46153. msgstr ""
  46154. #. type: deftypevr
  46155. #: guix-git/doc/guix.texi:30955
  46156. msgid "If set to the value @samp{#t} caching will be disabled."
  46157. msgstr ""
  46158. #. type: deftypevr
  46159. #: guix-git/doc/guix.texi:30960
  46160. #, no-wrap
  46161. msgid "{@code{cgit-configuration} parameter} boolean noplainemail?"
  46162. msgstr ""
  46163. #. type: deftypevr
  46164. #: guix-git/doc/guix.texi:30963
  46165. msgid "If set to @samp{#t} showing full author email addresses will be disabled."
  46166. msgstr ""
  46167. #. type: deftypevr
  46168. #: guix-git/doc/guix.texi:30968
  46169. #, no-wrap
  46170. msgid "{@code{cgit-configuration} parameter} boolean noheader?"
  46171. msgstr ""
  46172. #. type: deftypevr
  46173. #: guix-git/doc/guix.texi:30971
  46174. msgid "Flag which, when set to @samp{#t}, will make cgit omit the standard header on all pages."
  46175. msgstr ""
  46176. #. type: deftypevr
  46177. #: guix-git/doc/guix.texi:30976
  46178. #, no-wrap
  46179. msgid "{@code{cgit-configuration} parameter} project-list project-list"
  46180. msgstr ""
  46181. #. type: deftypevr
  46182. #: guix-git/doc/guix.texi:30980
  46183. 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."
  46184. msgstr ""
  46185. #. type: deftypevr
  46186. #: guix-git/doc/guix.texi:30985
  46187. #, no-wrap
  46188. msgid "{@code{cgit-configuration} parameter} file-object readme"
  46189. msgstr ""
  46190. #. type: deftypevr
  46191. #: guix-git/doc/guix.texi:30987
  46192. msgid "Text which will be used as default value for @code{cgit-repo-readme}."
  46193. msgstr ""
  46194. #. type: deftypevr
  46195. #: guix-git/doc/guix.texi:30992
  46196. #, no-wrap
  46197. msgid "{@code{cgit-configuration} parameter} boolean remove-suffix?"
  46198. msgstr ""
  46199. #. type: deftypevr
  46200. #: guix-git/doc/guix.texi:30996
  46201. 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."
  46202. msgstr ""
  46203. #. type: deftypevr
  46204. #: guix-git/doc/guix.texi:31001
  46205. #, no-wrap
  46206. msgid "{@code{cgit-configuration} parameter} integer renamelimit"
  46207. msgstr ""
  46208. #. type: deftypevr
  46209. #: guix-git/doc/guix.texi:31003
  46210. msgid "Maximum number of files to consider when detecting renames."
  46211. msgstr ""
  46212. #. type: deftypevr
  46213. #: guix-git/doc/guix.texi:31008
  46214. #, no-wrap
  46215. msgid "{@code{cgit-configuration} parameter} string repository-sort"
  46216. msgstr ""
  46217. #. type: deftypevr
  46218. #: guix-git/doc/guix.texi:31010
  46219. msgid "The way in which repositories in each section are sorted."
  46220. msgstr ""
  46221. #. type: deftypevr
  46222. #: guix-git/doc/guix.texi:31015
  46223. #, no-wrap
  46224. msgid "{@code{cgit-configuration} parameter} robots-list robots"
  46225. msgstr ""
  46226. #. type: deftypevr
  46227. #: guix-git/doc/guix.texi:31017
  46228. msgid "Text used as content for the @code{robots} meta-tag."
  46229. msgstr ""
  46230. #. type: deftypevr
  46231. #: guix-git/doc/guix.texi:31019
  46232. msgid "Defaults to @samp{(\"noindex\" \"nofollow\")}."
  46233. msgstr ""
  46234. #. type: deftypevr
  46235. #: guix-git/doc/guix.texi:31022
  46236. #, no-wrap
  46237. msgid "{@code{cgit-configuration} parameter} string root-desc"
  46238. msgstr ""
  46239. #. type: deftypevr
  46240. #: guix-git/doc/guix.texi:31024
  46241. msgid "Text printed below the heading on the repository index page."
  46242. msgstr ""
  46243. #. type: deftypevr
  46244. #: guix-git/doc/guix.texi:31026
  46245. msgid "Defaults to @samp{\"a fast webinterface for the git dscm\"}."
  46246. msgstr ""
  46247. #. type: deftypevr
  46248. #: guix-git/doc/guix.texi:31029
  46249. #, no-wrap
  46250. msgid "{@code{cgit-configuration} parameter} string root-readme"
  46251. msgstr ""
  46252. #. type: deftypevr
  46253. #: guix-git/doc/guix.texi:31032
  46254. msgid "The content of the file specified with this option will be included verbatim below the ``about'' link on the repository index page."
  46255. msgstr ""
  46256. #. type: deftypevr
  46257. #: guix-git/doc/guix.texi:31037
  46258. #, no-wrap
  46259. msgid "{@code{cgit-configuration} parameter} string root-title"
  46260. msgstr ""
  46261. #. type: deftypevr
  46262. #: guix-git/doc/guix.texi:31039
  46263. msgid "Text printed as heading on the repository index page."
  46264. msgstr ""
  46265. #. type: deftypevr
  46266. #: guix-git/doc/guix.texi:31044
  46267. #, no-wrap
  46268. msgid "{@code{cgit-configuration} parameter} boolean scan-hidden-path"
  46269. msgstr ""
  46270. #. type: deftypevr
  46271. #: guix-git/doc/guix.texi:31050
  46272. 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."
  46273. msgstr ""
  46274. #. type: deftypevr
  46275. #: guix-git/doc/guix.texi:31055
  46276. #, no-wrap
  46277. msgid "{@code{cgit-configuration} parameter} list snapshots"
  46278. msgstr ""
  46279. #. type: deftypevr
  46280. #: guix-git/doc/guix.texi:31058
  46281. msgid "Text which specifies the default set of snapshot formats that cgit generates links for."
  46282. msgstr ""
  46283. #. type: deftypevr
  46284. #: guix-git/doc/guix.texi:31063
  46285. #, no-wrap
  46286. msgid "{@code{cgit-configuration} parameter} repository-directory repository-directory"
  46287. msgstr ""
  46288. #. type: deftypevr
  46289. #: guix-git/doc/guix.texi:31066
  46290. msgid "Name of the directory to scan for repositories (represents @code{scan-path})."
  46291. msgstr ""
  46292. #. type: deftypevr
  46293. #: guix-git/doc/guix.texi:31068
  46294. msgid "Defaults to @samp{\"/srv/git\"}."
  46295. msgstr ""
  46296. #. type: deftypevr
  46297. #: guix-git/doc/guix.texi:31071
  46298. #, no-wrap
  46299. msgid "{@code{cgit-configuration} parameter} string section"
  46300. msgstr ""
  46301. #. type: deftypevr
  46302. #: guix-git/doc/guix.texi:31074 guix-git/doc/guix.texi:31390
  46303. msgid "The name of the current repository section - all repositories defined after this option will inherit the current section name."
  46304. msgstr ""
  46305. #. type: deftypevr
  46306. #: guix-git/doc/guix.texi:31079
  46307. #, no-wrap
  46308. msgid "{@code{cgit-configuration} parameter} string section-sort"
  46309. msgstr ""
  46310. #. type: deftypevr
  46311. #: guix-git/doc/guix.texi:31082
  46312. msgid "Flag which, when set to @samp{1}, will sort the sections on the repository listing by name."
  46313. msgstr ""
  46314. #. type: deftypevr
  46315. #: guix-git/doc/guix.texi:31087
  46316. #, no-wrap
  46317. msgid "{@code{cgit-configuration} parameter} integer section-from-path"
  46318. msgstr ""
  46319. #. type: deftypevr
  46320. #: guix-git/doc/guix.texi:31090
  46321. 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."
  46322. msgstr ""
  46323. #. type: deftypevr
  46324. #: guix-git/doc/guix.texi:31095
  46325. #, no-wrap
  46326. msgid "{@code{cgit-configuration} parameter} boolean side-by-side-diffs?"
  46327. msgstr ""
  46328. #. type: deftypevr
  46329. #: guix-git/doc/guix.texi:31098
  46330. msgid "If set to @samp{#t} shows side-by-side diffs instead of unidiffs per default."
  46331. msgstr ""
  46332. #. type: deftypevr
  46333. #: guix-git/doc/guix.texi:31103
  46334. #, no-wrap
  46335. msgid "{@code{cgit-configuration} parameter} file-object source-filter"
  46336. msgstr ""
  46337. #. type: deftypevr
  46338. #: guix-git/doc/guix.texi:31106
  46339. msgid "Specifies a command which will be invoked to format plaintext blobs in the tree view."
  46340. msgstr ""
  46341. #. type: deftypevr
  46342. #: guix-git/doc/guix.texi:31111
  46343. #, no-wrap
  46344. msgid "{@code{cgit-configuration} parameter} integer summary-branches"
  46345. msgstr ""
  46346. #. type: deftypevr
  46347. #: guix-git/doc/guix.texi:31114
  46348. msgid "Specifies the number of branches to display in the repository ``summary'' view."
  46349. msgstr ""
  46350. #. type: deftypevr
  46351. #: guix-git/doc/guix.texi:31119
  46352. #, no-wrap
  46353. msgid "{@code{cgit-configuration} parameter} integer summary-log"
  46354. msgstr ""
  46355. #. type: deftypevr
  46356. #: guix-git/doc/guix.texi:31122
  46357. msgid "Specifies the number of log entries to display in the repository ``summary'' view."
  46358. msgstr ""
  46359. #. type: deftypevr
  46360. #: guix-git/doc/guix.texi:31127
  46361. #, no-wrap
  46362. msgid "{@code{cgit-configuration} parameter} integer summary-tags"
  46363. msgstr ""
  46364. #. type: deftypevr
  46365. #: guix-git/doc/guix.texi:31130
  46366. msgid "Specifies the number of tags to display in the repository ``summary'' view."
  46367. msgstr ""
  46368. #. type: deftypevr
  46369. #: guix-git/doc/guix.texi:31135
  46370. #, no-wrap
  46371. msgid "{@code{cgit-configuration} parameter} string strict-export"
  46372. msgstr ""
  46373. #. type: deftypevr
  46374. #: guix-git/doc/guix.texi:31138
  46375. msgid "Filename which, if specified, needs to be present within the repository for cgit to allow access to that repository."
  46376. msgstr ""
  46377. #. type: deftypevr
  46378. #: guix-git/doc/guix.texi:31143
  46379. #, no-wrap
  46380. msgid "{@code{cgit-configuration} parameter} string virtual-root"
  46381. msgstr ""
  46382. #. type: deftypevr
  46383. #: guix-git/doc/guix.texi:31145
  46384. msgid "URL which, if specified, will be used as root for all cgit links."
  46385. msgstr ""
  46386. #. type: deftypevr
  46387. #: guix-git/doc/guix.texi:31147
  46388. msgid "Defaults to @samp{\"/\"}."
  46389. msgstr ""
  46390. #. type: deftypevr
  46391. #: guix-git/doc/guix.texi:31150
  46392. #, no-wrap
  46393. msgid "{@code{cgit-configuration} parameter} repository-cgit-configuration-list repositories"
  46394. msgstr ""
  46395. #. type: deftypevr
  46396. #: guix-git/doc/guix.texi:31152
  46397. msgid "A list of @dfn{cgit-repo} records to use with config."
  46398. msgstr ""
  46399. #. type: deftypevr
  46400. #: guix-git/doc/guix.texi:31156
  46401. msgid "Available @code{repository-cgit-configuration} fields are:"
  46402. msgstr ""
  46403. #. type: deftypevr
  46404. #: guix-git/doc/guix.texi:31157
  46405. #, no-wrap
  46406. msgid "{@code{repository-cgit-configuration} parameter} repo-list snapshots"
  46407. msgstr ""
  46408. #. type: deftypevr
  46409. #: guix-git/doc/guix.texi:31160
  46410. msgid "A mask of snapshot formats for this repo that cgit generates links for, restricted by the global @code{snapshots} setting."
  46411. msgstr ""
  46412. #. type: deftypevr
  46413. #: guix-git/doc/guix.texi:31165
  46414. #, no-wrap
  46415. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object source-filter"
  46416. msgstr ""
  46417. #. type: deftypevr
  46418. #: guix-git/doc/guix.texi:31167
  46419. msgid "Override the default @code{source-filter}."
  46420. msgstr ""
  46421. #. type: deftypevr
  46422. #: guix-git/doc/guix.texi:31172
  46423. #, no-wrap
  46424. msgid "{@code{repository-cgit-configuration} parameter} repo-string url"
  46425. msgstr ""
  46426. #. type: deftypevr
  46427. #: guix-git/doc/guix.texi:31174
  46428. msgid "The relative URL used to access the repository."
  46429. msgstr ""
  46430. #. type: deftypevr
  46431. #: guix-git/doc/guix.texi:31179
  46432. #, no-wrap
  46433. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object about-filter"
  46434. msgstr ""
  46435. #. type: deftypevr
  46436. #: guix-git/doc/guix.texi:31181
  46437. msgid "Override the default @code{about-filter}."
  46438. msgstr ""
  46439. #. type: deftypevr
  46440. #: guix-git/doc/guix.texi:31186
  46441. #, no-wrap
  46442. msgid "{@code{repository-cgit-configuration} parameter} repo-string branch-sort"
  46443. msgstr ""
  46444. #. type: deftypevr
  46445. #: guix-git/doc/guix.texi:31189
  46446. 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."
  46447. msgstr ""
  46448. #. type: deftypevr
  46449. #: guix-git/doc/guix.texi:31194
  46450. #, no-wrap
  46451. msgid "{@code{repository-cgit-configuration} parameter} repo-list clone-url"
  46452. msgstr ""
  46453. #. type: deftypevr
  46454. #: guix-git/doc/guix.texi:31196
  46455. msgid "A list of URLs which can be used to clone repo."
  46456. msgstr ""
  46457. #. type: deftypevr
  46458. #: guix-git/doc/guix.texi:31201
  46459. #, no-wrap
  46460. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object commit-filter"
  46461. msgstr ""
  46462. #. type: deftypevr
  46463. #: guix-git/doc/guix.texi:31203
  46464. msgid "Override the default @code{commit-filter}."
  46465. msgstr ""
  46466. #. type: deftypevr
  46467. #: guix-git/doc/guix.texi:31208
  46468. #, no-wrap
  46469. msgid "{@code{repository-cgit-configuration} parameter} repo-string commit-sort"
  46470. msgstr ""
  46471. #. type: deftypevr
  46472. #: guix-git/doc/guix.texi:31217
  46473. #, no-wrap
  46474. msgid "{@code{repository-cgit-configuration} parameter} repo-string defbranch"
  46475. msgstr ""
  46476. #. type: deftypevr
  46477. #: guix-git/doc/guix.texi:31222
  46478. 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."
  46479. msgstr ""
  46480. #. type: deftypevr
  46481. #: guix-git/doc/guix.texi:31227
  46482. #, no-wrap
  46483. msgid "{@code{repository-cgit-configuration} parameter} repo-string desc"
  46484. msgstr ""
  46485. #. type: deftypevr
  46486. #: guix-git/doc/guix.texi:31229
  46487. msgid "The value to show as repository description."
  46488. msgstr ""
  46489. #. type: deftypevr
  46490. #: guix-git/doc/guix.texi:31234
  46491. #, no-wrap
  46492. msgid "{@code{repository-cgit-configuration} parameter} repo-string homepage"
  46493. msgstr ""
  46494. #. type: deftypevr
  46495. #: guix-git/doc/guix.texi:31236
  46496. msgid "The value to show as repository homepage."
  46497. msgstr ""
  46498. #. type: deftypevr
  46499. #: guix-git/doc/guix.texi:31241
  46500. #, no-wrap
  46501. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object email-filter"
  46502. msgstr ""
  46503. #. type: deftypevr
  46504. #: guix-git/doc/guix.texi:31243
  46505. msgid "Override the default @code{email-filter}."
  46506. msgstr ""
  46507. #. type: deftypevr
  46508. #: guix-git/doc/guix.texi:31248
  46509. #, no-wrap
  46510. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-commit-graph?"
  46511. msgstr ""
  46512. #. type: deftypevr
  46513. #: guix-git/doc/guix.texi:31251
  46514. msgid "A flag which can be used to disable the global setting @code{enable-commit-graph?}."
  46515. msgstr ""
  46516. #. type: deftypevr
  46517. #: guix-git/doc/guix.texi:31256
  46518. #, no-wrap
  46519. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-filecount?"
  46520. msgstr ""
  46521. #. type: deftypevr
  46522. #: guix-git/doc/guix.texi:31259
  46523. msgid "A flag which can be used to disable the global setting @code{enable-log-filecount?}."
  46524. msgstr ""
  46525. #. type: deftypevr
  46526. #: guix-git/doc/guix.texi:31264
  46527. #, no-wrap
  46528. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-linecount?"
  46529. msgstr ""
  46530. #. type: deftypevr
  46531. #: guix-git/doc/guix.texi:31267
  46532. msgid "A flag which can be used to disable the global setting @code{enable-log-linecount?}."
  46533. msgstr ""
  46534. #. type: deftypevr
  46535. #: guix-git/doc/guix.texi:31272
  46536. #, no-wrap
  46537. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-remote-branches?"
  46538. msgstr ""
  46539. #. type: deftypevr
  46540. #: guix-git/doc/guix.texi:31280
  46541. #, no-wrap
  46542. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-subject-links?"
  46543. msgstr ""
  46544. #. type: deftypevr
  46545. #: guix-git/doc/guix.texi:31283
  46546. msgid "A flag which can be used to override the global setting @code{enable-subject-links?}."
  46547. msgstr ""
  46548. #. type: deftypevr
  46549. #: guix-git/doc/guix.texi:31288
  46550. #, no-wrap
  46551. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-html-serving?"
  46552. msgstr ""
  46553. #. type: deftypevr
  46554. #: guix-git/doc/guix.texi:31291
  46555. msgid "A flag which can be used to override the global setting @code{enable-html-serving?}."
  46556. msgstr ""
  46557. #. type: deftypevr
  46558. #: guix-git/doc/guix.texi:31296
  46559. #, no-wrap
  46560. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean hide?"
  46561. msgstr ""
  46562. #. type: deftypevr
  46563. #: guix-git/doc/guix.texi:31299
  46564. msgid "Flag which, when set to @code{#t}, hides the repository from the repository index."
  46565. msgstr ""
  46566. #. type: deftypevr
  46567. #: guix-git/doc/guix.texi:31304
  46568. #, no-wrap
  46569. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean ignore?"
  46570. msgstr ""
  46571. #. type: deftypevr
  46572. #: guix-git/doc/guix.texi:31306
  46573. msgid "Flag which, when set to @samp{#t}, ignores the repository."
  46574. msgstr ""
  46575. #. type: deftypevr
  46576. #: guix-git/doc/guix.texi:31311
  46577. #, no-wrap
  46578. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object logo"
  46579. msgstr ""
  46580. #. type: deftypevr
  46581. #: guix-git/doc/guix.texi:31314
  46582. msgid "URL which specifies the source of an image which will be used as a logo on this repo’s pages."
  46583. msgstr ""
  46584. #. type: deftypevr
  46585. #: guix-git/doc/guix.texi:31319
  46586. #, no-wrap
  46587. msgid "{@code{repository-cgit-configuration} parameter} repo-string logo-link"
  46588. msgstr ""
  46589. #. type: deftypevr
  46590. #: guix-git/doc/guix.texi:31326
  46591. #, no-wrap
  46592. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object owner-filter"
  46593. msgstr ""
  46594. #. type: deftypevr
  46595. #: guix-git/doc/guix.texi:31328
  46596. msgid "Override the default @code{owner-filter}."
  46597. msgstr ""
  46598. #. type: deftypevr
  46599. #: guix-git/doc/guix.texi:31333
  46600. #, no-wrap
  46601. msgid "{@code{repository-cgit-configuration} parameter} repo-string module-link"
  46602. msgstr ""
  46603. #. type: deftypevr
  46604. #: guix-git/doc/guix.texi:31337
  46605. 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."
  46606. msgstr ""
  46607. #. type: deftypevr
  46608. #: guix-git/doc/guix.texi:31342
  46609. #, no-wrap
  46610. msgid "{@code{repository-cgit-configuration} parameter} module-link-path module-link-path"
  46611. msgstr ""
  46612. #. type: deftypevr
  46613. #: guix-git/doc/guix.texi:31346
  46614. 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."
  46615. msgstr ""
  46616. #. type: deftypevr
  46617. #: guix-git/doc/guix.texi:31351
  46618. #, no-wrap
  46619. msgid "{@code{repository-cgit-configuration} parameter} repo-string max-stats"
  46620. msgstr ""
  46621. #. type: deftypevr
  46622. #: guix-git/doc/guix.texi:31353
  46623. msgid "Override the default maximum statistics period."
  46624. msgstr ""
  46625. #. type: deftypevr
  46626. #: guix-git/doc/guix.texi:31358
  46627. #, no-wrap
  46628. msgid "{@code{repository-cgit-configuration} parameter} repo-string name"
  46629. msgstr ""
  46630. #. type: deftypevr
  46631. #: guix-git/doc/guix.texi:31360
  46632. msgid "The value to show as repository name."
  46633. msgstr ""
  46634. #. type: deftypevr
  46635. #: guix-git/doc/guix.texi:31365
  46636. #, no-wrap
  46637. msgid "{@code{repository-cgit-configuration} parameter} repo-string owner"
  46638. msgstr ""
  46639. #. type: deftypevr
  46640. #: guix-git/doc/guix.texi:31367
  46641. msgid "A value used to identify the owner of the repository."
  46642. msgstr ""
  46643. #. type: deftypevr
  46644. #: guix-git/doc/guix.texi:31372
  46645. #, no-wrap
  46646. msgid "{@code{repository-cgit-configuration} parameter} repo-string path"
  46647. msgstr ""
  46648. #. type: deftypevr
  46649. #: guix-git/doc/guix.texi:31374
  46650. msgid "An absolute path to the repository directory."
  46651. msgstr ""
  46652. #. type: deftypevr
  46653. #: guix-git/doc/guix.texi:31379
  46654. #, no-wrap
  46655. msgid "{@code{repository-cgit-configuration} parameter} repo-string readme"
  46656. msgstr ""
  46657. #. type: deftypevr
  46658. #: guix-git/doc/guix.texi:31382
  46659. msgid "A path (relative to repo) which specifies a file to include verbatim as the ``About'' page for this repo."
  46660. msgstr ""
  46661. #. type: deftypevr
  46662. #: guix-git/doc/guix.texi:31387
  46663. #, no-wrap
  46664. msgid "{@code{repository-cgit-configuration} parameter} repo-string section"
  46665. msgstr ""
  46666. #. type: deftypevr
  46667. #: guix-git/doc/guix.texi:31395
  46668. #, no-wrap
  46669. msgid "{@code{repository-cgit-configuration} parameter} repo-list extra-options"
  46670. msgstr ""
  46671. #. type: deftypevr
  46672. #: guix-git/doc/guix.texi:31397 guix-git/doc/guix.texi:31406
  46673. msgid "Extra options will be appended to cgitrc file."
  46674. msgstr ""
  46675. #. type: deftypevr
  46676. #: guix-git/doc/guix.texi:31404
  46677. #, no-wrap
  46678. msgid "{@code{cgit-configuration} parameter} list extra-options"
  46679. msgstr ""
  46680. #. type: Plain text
  46681. #: guix-git/doc/guix.texi:31418
  46682. 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."
  46683. msgstr ""
  46684. #. type: Plain text
  46685. #: guix-git/doc/guix.texi:31420
  46686. msgid "Available @code{opaque-cgit-configuration} fields are:"
  46687. msgstr ""
  46688. #. type: deftypevr
  46689. #: guix-git/doc/guix.texi:31421
  46690. #, no-wrap
  46691. msgid "{@code{opaque-cgit-configuration} parameter} package cgit"
  46692. msgstr ""
  46693. #. type: deftypevr
  46694. #: guix-git/doc/guix.texi:31423
  46695. msgid "The cgit package."
  46696. msgstr ""
  46697. #. type: deftypevr
  46698. #: guix-git/doc/guix.texi:31425
  46699. #, no-wrap
  46700. msgid "{@code{opaque-cgit-configuration} parameter} string string"
  46701. msgstr ""
  46702. #. type: deftypevr
  46703. #: guix-git/doc/guix.texi:31427
  46704. msgid "The contents of the @code{cgitrc}, as a string."
  46705. msgstr ""
  46706. #. type: Plain text
  46707. #: guix-git/doc/guix.texi:31431
  46708. msgid "For example, if your @code{cgitrc} is just the empty string, you could instantiate a cgit service like this:"
  46709. msgstr ""
  46710. #. type: lisp
  46711. #: guix-git/doc/guix.texi:31436
  46712. #, no-wrap
  46713. msgid ""
  46714. "(service cgit-service-type\n"
  46715. " (opaque-cgit-configuration\n"
  46716. " (cgitrc \"\")))\n"
  46717. msgstr ""
  46718. #. type: subsubheading
  46719. #: guix-git/doc/guix.texi:31438
  46720. #, no-wrap
  46721. msgid "Gitolite Service"
  46722. msgstr ""
  46723. #. type: cindex
  46724. #: guix-git/doc/guix.texi:31440
  46725. #, no-wrap
  46726. msgid "Gitolite service"
  46727. msgstr ""
  46728. #. type: cindex
  46729. #: guix-git/doc/guix.texi:31441
  46730. #, no-wrap
  46731. msgid "Git, hosting"
  46732. msgstr ""
  46733. #. type: Plain text
  46734. #: guix-git/doc/guix.texi:31444
  46735. msgid "@uref{https://gitolite.com/gitolite/, Gitolite} is a tool for hosting Git repositories on a central server."
  46736. msgstr ""
  46737. #. type: Plain text
  46738. #: guix-git/doc/guix.texi:31447
  46739. msgid "Gitolite can handle multiple repositories and users, and supports flexible configuration of the permissions for the users on the repositories."
  46740. msgstr ""
  46741. #. type: Plain text
  46742. #: guix-git/doc/guix.texi:31450
  46743. msgid "The following example will configure Gitolite using the default @code{git} user, and the provided SSH public key."
  46744. msgstr ""
  46745. #. type: lisp
  46746. #: guix-git/doc/guix.texi:31457
  46747. #, no-wrap
  46748. msgid ""
  46749. "(service gitolite-service-type\n"
  46750. " (gitolite-configuration\n"
  46751. " (admin-pubkey (plain-file\n"
  46752. " \"yourname.pub\"\n"
  46753. " \"ssh-rsa AAAA... guix@@example.com\"))))\n"
  46754. msgstr ""
  46755. #. type: Plain text
  46756. #: guix-git/doc/guix.texi:31462
  46757. 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."
  46758. msgstr ""
  46759. #. type: example
  46760. #: guix-git/doc/guix.texi:31465
  46761. #, no-wrap
  46762. msgid "git clone git@@example.com:gitolite-admin\n"
  46763. msgstr ""
  46764. #. type: Plain text
  46765. #: guix-git/doc/guix.texi:31471
  46766. 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''."
  46767. msgstr ""
  46768. #. type: deftp
  46769. #: guix-git/doc/guix.texi:31472
  46770. #, no-wrap
  46771. msgid "{Data Type} gitolite-configuration"
  46772. msgstr ""
  46773. #. type: deftp
  46774. #: guix-git/doc/guix.texi:31474
  46775. msgid "Data type representing the configuration for @code{gitolite-service-type}."
  46776. msgstr ""
  46777. #. type: item
  46778. #: guix-git/doc/guix.texi:31476
  46779. #, no-wrap
  46780. msgid "@code{package} (default: @var{gitolite})"
  46781. msgstr ""
  46782. #. type: table
  46783. #: guix-git/doc/guix.texi:31478
  46784. msgid "Gitolite package to use."
  46785. msgstr ""
  46786. #. type: item
  46787. #: guix-git/doc/guix.texi:31479
  46788. #, no-wrap
  46789. msgid "@code{user} (default: @var{git})"
  46790. msgstr "@code{user} (default: @var{git})"
  46791. #. type: table
  46792. #: guix-git/doc/guix.texi:31482
  46793. msgid "User to use for Gitolite. This will be user that you use when accessing Gitolite over SSH."
  46794. msgstr ""
  46795. #. type: item
  46796. #: guix-git/doc/guix.texi:31483
  46797. #, no-wrap
  46798. msgid "@code{group} (default: @var{git})"
  46799. msgstr "@code{group} (default: @var{git})"
  46800. #. type: table
  46801. #: guix-git/doc/guix.texi:31485
  46802. msgid "Group to use for Gitolite."
  46803. msgstr ""
  46804. #. type: item
  46805. #: guix-git/doc/guix.texi:31486
  46806. #, no-wrap
  46807. msgid "@code{home-directory} (default: @var{\"/var/lib/gitolite\"})"
  46808. msgstr ""
  46809. #. type: table
  46810. #: guix-git/doc/guix.texi:31488
  46811. msgid "Directory in which to store the Gitolite configuration and repositories."
  46812. msgstr ""
  46813. #. type: item
  46814. #: guix-git/doc/guix.texi:31489
  46815. #, no-wrap
  46816. msgid "@code{rc-file} (default: @var{(gitolite-rc-file)})"
  46817. msgstr "@code{rc-file} (padrão: @var{(gitolite-rc-file)})"
  46818. #. type: table
  46819. #: guix-git/doc/guix.texi:31492
  46820. msgid "A ``file-like'' object (@pxref{G-Expressions, file-like objects}), representing the configuration for Gitolite."
  46821. msgstr ""
  46822. #. type: item
  46823. #: guix-git/doc/guix.texi:31493
  46824. #, no-wrap
  46825. msgid "@code{admin-pubkey} (default: @var{#f})"
  46826. msgstr "@code{admin-pubkey} (default: @var{#f})"
  46827. #. type: table
  46828. #: guix-git/doc/guix.texi:31497
  46829. 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."
  46830. msgstr ""
  46831. #. type: table
  46832. #: guix-git/doc/guix.texi:31499
  46833. msgid "To specify the SSH key as a string, use the @code{plain-file} function."
  46834. msgstr ""
  46835. #. type: lisp
  46836. #: guix-git/doc/guix.texi:31502
  46837. #, no-wrap
  46838. msgid "(plain-file \"yourname.pub\" \"ssh-rsa AAAA... guix@@example.com\")\n"
  46839. msgstr ""
  46840. #. type: deftp
  46841. #: guix-git/doc/guix.texi:31507
  46842. #, no-wrap
  46843. msgid "{Data Type} gitolite-rc-file"
  46844. msgstr ""
  46845. #. type: deftp
  46846. #: guix-git/doc/guix.texi:31509
  46847. msgid "Data type representing the Gitolite RC file."
  46848. msgstr ""
  46849. #. type: item
  46850. #: guix-git/doc/guix.texi:31511
  46851. #, no-wrap
  46852. msgid "@code{umask} (default: @code{#o0077})"
  46853. msgstr "@code{umask} (default: @code{#o0077})"
  46854. #. type: table
  46855. #: guix-git/doc/guix.texi:31514
  46856. msgid "This controls the permissions Gitolite sets on the repositories and their contents."
  46857. msgstr ""
  46858. #. type: table
  46859. #: guix-git/doc/guix.texi:31518
  46860. 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."
  46861. msgstr ""
  46862. #. type: item
  46863. #: guix-git/doc/guix.texi:31519
  46864. #, no-wrap
  46865. msgid "@code{git-config-keys} (default: @code{\"\"})"
  46866. msgstr ""
  46867. #. type: table
  46868. #: guix-git/doc/guix.texi:31522
  46869. msgid "Gitolite allows you to set git config values using the @samp{config} keyword. This setting allows control over the config keys to accept."
  46870. msgstr ""
  46871. #. type: item
  46872. #: guix-git/doc/guix.texi:31523
  46873. #, no-wrap
  46874. msgid "@code{roles} (default: @code{'((\"READERS\" . 1) (\"WRITERS\" . ))})"
  46875. msgstr ""
  46876. #. type: table
  46877. #: guix-git/doc/guix.texi:31525
  46878. msgid "Set the role names allowed to be used by users running the perms command."
  46879. msgstr ""
  46880. #. type: item
  46881. #: guix-git/doc/guix.texi:31526
  46882. #, no-wrap
  46883. msgid "@code{enable} (default: @code{'(\"help\" \"desc\" \"info\" \"perms\" \"writable\" \"ssh-authkeys\" \"git-config\" \"daemon\" \"gitweb\")})"
  46884. msgstr ""
  46885. #. type: table
  46886. #: guix-git/doc/guix.texi:31528
  46887. msgid "This setting controls the commands and features to enable within Gitolite."
  46888. msgstr ""
  46889. #. type: subsubheading
  46890. #: guix-git/doc/guix.texi:31536
  46891. #, no-wrap
  46892. msgid "The Battle for Wesnoth Service"
  46893. msgstr ""
  46894. #. type: cindex
  46895. #: guix-git/doc/guix.texi:31537
  46896. #, no-wrap
  46897. msgid "wesnothd"
  46898. msgstr ""
  46899. #. type: Plain text
  46900. #: guix-git/doc/guix.texi:31541
  46901. 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)."
  46902. msgstr ""
  46903. #. type: defvar
  46904. #: guix-git/doc/guix.texi:31542
  46905. #, no-wrap
  46906. msgid "{Scheme Variable} wesnothd-service-type"
  46907. msgstr ""
  46908. #. type: defvar
  46909. #: guix-git/doc/guix.texi:31546
  46910. 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:"
  46911. msgstr ""
  46912. #. type: lisp
  46913. #: guix-git/doc/guix.texi:31549
  46914. #, no-wrap
  46915. msgid "(service wesnothd-service-type)\n"
  46916. msgstr ""
  46917. #. type: deftp
  46918. #: guix-git/doc/guix.texi:31552
  46919. #, no-wrap
  46920. msgid "{Data Type} wesnothd-configuration"
  46921. msgstr ""
  46922. #. type: deftp
  46923. #: guix-git/doc/guix.texi:31554
  46924. msgid "Data type representing the configuration of @command{wesnothd}."
  46925. msgstr ""
  46926. #. type: item
  46927. #: guix-git/doc/guix.texi:31556
  46928. #, no-wrap
  46929. msgid "@code{package} (default: @code{wesnoth-server})"
  46930. msgstr ""
  46931. #. type: table
  46932. #: guix-git/doc/guix.texi:31558
  46933. msgid "The wesnoth server package to use."
  46934. msgstr ""
  46935. #. type: item
  46936. #: guix-git/doc/guix.texi:31559
  46937. #, no-wrap
  46938. msgid "@code{port} (default: @code{15000})"
  46939. msgstr "@code{porta} (default: @code{15000})"
  46940. #. type: table
  46941. #: guix-git/doc/guix.texi:31561
  46942. msgid "The port to bind the server to."
  46943. msgstr ""
  46944. #. type: cindex
  46945. #: guix-git/doc/guix.texi:31567
  46946. #, no-wrap
  46947. msgid "pam-mount"
  46948. msgstr ""
  46949. #. type: Plain text
  46950. #: guix-git/doc/guix.texi:31572
  46951. 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."
  46952. msgstr ""
  46953. #. type: defvar
  46954. #: guix-git/doc/guix.texi:31573
  46955. #, no-wrap
  46956. msgid "{Scheme Variable} pam-mount-service-type"
  46957. msgstr ""
  46958. #. type: defvar
  46959. #: guix-git/doc/guix.texi:31575
  46960. msgid "Service type for PAM Mount support."
  46961. msgstr ""
  46962. #. type: deftp
  46963. #: guix-git/doc/guix.texi:31577
  46964. #, no-wrap
  46965. msgid "{Data Type} pam-mount-configuration"
  46966. msgstr ""
  46967. #. type: deftp
  46968. #: guix-git/doc/guix.texi:31579
  46969. msgid "Data type representing the configuration of PAM Mount."
  46970. msgstr ""
  46971. #. type: code{#1}
  46972. #: guix-git/doc/guix.texi:31583
  46973. #, no-wrap
  46974. msgid "rules"
  46975. msgstr ""
  46976. #. type: table
  46977. #: guix-git/doc/guix.texi:31586
  46978. msgid "The configuration rules that will be used to generate @file{/etc/security/pam_mount.conf.xml}."
  46979. msgstr ""
  46980. #. type: table
  46981. #: guix-git/doc/guix.texi:31590
  46982. 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:"
  46983. msgstr ""
  46984. #. type: lisp
  46985. #: guix-git/doc/guix.texi:31605
  46986. #, no-wrap
  46987. msgid ""
  46988. "`((debug (@@ (enable \"0\")))\n"
  46989. " (mntoptions (@@ (allow ,(string-join\n"
  46990. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  46991. " \"encryption\" \"fsck\" \"nonempty\"\n"
  46992. " \"allow_root\" \"allow_other\")\n"
  46993. " \",\"))))\n"
  46994. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  46995. " (logout (@@ (wait \"0\")\n"
  46996. " (hup \"0\")\n"
  46997. " (term \"no\")\n"
  46998. " (kill \"no\")))\n"
  46999. " (mkmountpoint (@@ (enable \"1\")\n"
  47000. " (remove \"true\"))))\n"
  47001. msgstr ""
  47002. #. type: table
  47003. #: guix-git/doc/guix.texi:31611
  47004. 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:"
  47005. msgstr ""
  47006. #. type: lisp
  47007. #: guix-git/doc/guix.texi:31636
  47008. #, no-wrap
  47009. msgid ""
  47010. "(define pam-mount-rules\n"
  47011. "`((debug (@@ (enable \"0\")))\n"
  47012. " (volume (@@ (user \"alice\")\n"
  47013. " (fstype \"crypt\")\n"
  47014. " (path \"/dev/sda2\")\n"
  47015. " (mountpoint \"/home/alice\")))\n"
  47016. " (volume (@@ (user \"bob\")\n"
  47017. " (fstype \"auto\")\n"
  47018. " (path \"/dev/sdb3\")\n"
  47019. " (mountpoint \"/home/bob/data\")\n"
  47020. " (options \"defaults,autodefrag,compress\")))\n"
  47021. " (mntoptions (@@ (allow ,(string-join\n"
  47022. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  47023. " \"encryption\" \"fsck\" \"nonempty\"\n"
  47024. " \"allow_root\" \"allow_other\")\n"
  47025. " \",\"))))\n"
  47026. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  47027. " (logout (@@ (wait \"0\")\n"
  47028. " (hup \"0\")\n"
  47029. " (term \"no\")\n"
  47030. " (kill \"no\")))\n"
  47031. " (mkmountpoint (@@ (enable \"1\")\n"
  47032. " (remove \"true\")))))\n"
  47033. "\n"
  47034. msgstr ""
  47035. #. type: lisp
  47036. #: guix-git/doc/guix.texi:31640
  47037. #, no-wrap
  47038. msgid ""
  47039. "(service pam-mount-service-type\n"
  47040. " (pam-mount-configuration\n"
  47041. " (rules pam-mount-rules)))\n"
  47042. msgstr ""
  47043. #. type: table
  47044. #: guix-git/doc/guix.texi:31644
  47045. 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}."
  47046. msgstr ""
  47047. #. type: subsubheading
  47048. #: guix-git/doc/guix.texi:31651
  47049. #, no-wrap
  47050. msgid "Guix Build Coordinator"
  47051. msgstr ""
  47052. #. type: Plain text
  47053. #: guix-git/doc/guix.texi:31657
  47054. 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."
  47055. msgstr ""
  47056. #. type: quotation
  47057. #: guix-git/doc/guix.texi:31662
  47058. msgid "This service is considered experimental. Configuration options may be changed in a backwards-incompatible manner, and not all features have been thorougly tested."
  47059. msgstr ""
  47060. #. type: Plain text
  47061. #: guix-git/doc/guix.texi:31669
  47062. 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."
  47063. msgstr ""
  47064. #. type: Plain text
  47065. #: guix-git/doc/guix.texi:31673
  47066. 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."
  47067. msgstr ""
  47068. #. type: defvar
  47069. #: guix-git/doc/guix.texi:31674
  47070. #, no-wrap
  47071. msgid "{Scheme Variable} guix-build-coordinator-service-type"
  47072. msgstr ""
  47073. #. type: defvar
  47074. #: guix-git/doc/guix.texi:31677
  47075. msgid "Service type for the Guix Build Coordinator. Its value must be a @code{guix-build-coordinator-configuration} object."
  47076. msgstr ""
  47077. #. type: deftp
  47078. #: guix-git/doc/guix.texi:31679
  47079. #, no-wrap
  47080. msgid "{Data Type} guix-build-coordinator-configuration"
  47081. msgstr ""
  47082. #. type: deftp
  47083. #: guix-git/doc/guix.texi:31681
  47084. msgid "Data type representing the configuration of the Guix Build Coordinator."
  47085. msgstr ""
  47086. #. type: item
  47087. #: guix-git/doc/guix.texi:31683 guix-git/doc/guix.texi:31727
  47088. #: guix-git/doc/guix.texi:31853
  47089. #, no-wrap
  47090. msgid "@code{package} (default: @code{guix-build-coordinator})"
  47091. msgstr ""
  47092. #. type: table
  47093. #: guix-git/doc/guix.texi:31685 guix-git/doc/guix.texi:31729
  47094. #: guix-git/doc/guix.texi:31855
  47095. msgid "The Guix Build Coordinator package to use."
  47096. msgstr ""
  47097. #. type: item
  47098. #: guix-git/doc/guix.texi:31686
  47099. #, no-wrap
  47100. msgid "@code{user} (default: @code{\"guix-build-coordinator\"})"
  47101. msgstr ""
  47102. #. type: table
  47103. #: guix-git/doc/guix.texi:31688 guix-git/doc/guix.texi:31732
  47104. #: guix-git/doc/guix.texi:31858 guix-git/doc/guix.texi:31904
  47105. msgid "The system user to run the service as."
  47106. msgstr ""
  47107. #. type: item
  47108. #: guix-git/doc/guix.texi:31689
  47109. #, no-wrap
  47110. msgid "@code{group} (default: @code{\"guix-build-coordinator\"})"
  47111. msgstr ""
  47112. #. type: table
  47113. #: guix-git/doc/guix.texi:31691 guix-git/doc/guix.texi:31907
  47114. msgid "The system group to run the service as."
  47115. msgstr ""
  47116. #. type: item
  47117. #: guix-git/doc/guix.texi:31692
  47118. #, no-wrap
  47119. msgid "@code{database-uri-string} (default: @code{\"sqlite:///var/lib/guix-build-coordinator/guix_build_coordinator.db\"})"
  47120. msgstr ""
  47121. #. type: table
  47122. #: guix-git/doc/guix.texi:31694
  47123. msgid "The URI to use for the database."
  47124. msgstr ""
  47125. #. type: item
  47126. #: guix-git/doc/guix.texi:31695
  47127. #, no-wrap
  47128. msgid "@code{agent-communication-uri} (default: @code{\"http://0.0.0.0:8745\"})"
  47129. msgstr ""
  47130. #. type: table
  47131. #: guix-git/doc/guix.texi:31697
  47132. msgid "The URI describing how to listen to requests from agent processes."
  47133. msgstr ""
  47134. #. type: item
  47135. #: guix-git/doc/guix.texi:31698
  47136. #, no-wrap
  47137. msgid "@code{client-communication-uri} (default: @code{\"http://127.0.0.1:8746\"})"
  47138. msgstr ""
  47139. #. type: table
  47140. #: guix-git/doc/guix.texi:31702
  47141. 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."
  47142. msgstr ""
  47143. #. type: item
  47144. #: guix-git/doc/guix.texi:31703
  47145. #, no-wrap
  47146. msgid "@code{allocation-strategy} (default: @code{#~basic-build-allocation-strategy})"
  47147. msgstr ""
  47148. #. type: table
  47149. #: guix-git/doc/guix.texi:31707
  47150. 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."
  47151. msgstr ""
  47152. #. type: item
  47153. #: guix-git/doc/guix.texi:31708
  47154. #, no-wrap
  47155. msgid "@code{hooks} (default: @var{'()})"
  47156. msgstr ""
  47157. #. type: table
  47158. #: guix-git/doc/guix.texi:31711
  47159. msgid "An association list of hooks. These provide a way to execute arbitrary code upon certain events, like a build result being processed."
  47160. msgstr ""
  47161. #. type: item
  47162. #: guix-git/doc/guix.texi:31712
  47163. #, no-wrap
  47164. msgid "@code{guile} (default: @code{guile-3.0-latest})"
  47165. msgstr ""
  47166. #. type: table
  47167. #: guix-git/doc/guix.texi:31714
  47168. msgid "The Guile package with which to run the Guix Build Coordinator."
  47169. msgstr ""
  47170. #. type: defvar
  47171. #: guix-git/doc/guix.texi:31718
  47172. #, no-wrap
  47173. msgid "{Scheme Variable} guix-build-coordinator-agent-service-type"
  47174. msgstr ""
  47175. #. type: defvar
  47176. #: guix-git/doc/guix.texi:31721
  47177. msgid "Service type for a Guix Build Coordinator agent. Its value must be a @code{guix-build-coordinator-agent-configuration} object."
  47178. msgstr ""
  47179. #. type: deftp
  47180. #: guix-git/doc/guix.texi:31723
  47181. #, no-wrap
  47182. msgid "{Data Type} guix-build-coordinator-agent-configuration"
  47183. msgstr ""
  47184. #. type: deftp
  47185. #: guix-git/doc/guix.texi:31725
  47186. msgid "Data type representing the configuration a Guix Build Coordinator agent."
  47187. msgstr ""
  47188. #. type: item
  47189. #: guix-git/doc/guix.texi:31730
  47190. #, no-wrap
  47191. msgid "@code{user} (default: @code{\"guix-build-coordinator-agent\"})"
  47192. msgstr ""
  47193. #. type: item
  47194. #: guix-git/doc/guix.texi:31733
  47195. #, no-wrap
  47196. msgid "@code{coordinator} (default: @code{\"http://localhost:8745\"})"
  47197. msgstr ""
  47198. #. type: table
  47199. #: guix-git/doc/guix.texi:31735 guix-git/doc/guix.texi:31861
  47200. msgid "The URI to use when connecting to the coordinator."
  47201. msgstr ""
  47202. #. type: code{#1}
  47203. #: guix-git/doc/guix.texi:31736
  47204. #, no-wrap
  47205. msgid "authentication"
  47206. msgstr ""
  47207. #. type: table
  47208. #: guix-git/doc/guix.texi:31739
  47209. msgid "Record describing how this agent should authenticate with the coordinator. Possible record types are described below."
  47210. msgstr ""
  47211. #. type: item
  47212. #: guix-git/doc/guix.texi:31740 guix-git/doc/guix.texi:31862
  47213. #, no-wrap
  47214. msgid "@code{systems} (default: @code{#f})"
  47215. msgstr ""
  47216. #. type: table
  47217. #: guix-git/doc/guix.texi:31743
  47218. 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."
  47219. msgstr ""
  47220. #. type: item
  47221. #: guix-git/doc/guix.texi:31744
  47222. #, no-wrap
  47223. msgid "@code{max-parallel-builds} (default: @code{1})"
  47224. msgstr ""
  47225. #. type: table
  47226. #: guix-git/doc/guix.texi:31746
  47227. msgid "The number of builds to perform in parallel."
  47228. msgstr ""
  47229. #. type: item
  47230. #: guix-git/doc/guix.texi:31747
  47231. #, fuzzy, no-wrap
  47232. #| msgid "@code{max-journal-usage} (default: @code{#f})"
  47233. msgid "@code{max-1min-load-average} (default: @code{#f})"
  47234. msgstr "@code{max-journal-usage} (default: @code{#f})"
  47235. #. type: table
  47236. #: guix-git/doc/guix.texi:31751
  47237. 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."
  47238. msgstr ""
  47239. #. type: table
  47240. #: guix-git/doc/guix.texi:31755
  47241. 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."
  47242. msgstr ""
  47243. #. type: item
  47244. #: guix-git/doc/guix.texi:31756
  47245. #, no-wrap
  47246. msgid "@code{derivation-substitute-urls} (default: @code{#f})"
  47247. msgstr ""
  47248. #. type: table
  47249. #: guix-git/doc/guix.texi:31759
  47250. msgid "URLs from which to attempt to fetch substitutes for derivations, if the derivations aren't already available."
  47251. msgstr ""
  47252. #. type: item
  47253. #: guix-git/doc/guix.texi:31760
  47254. #, no-wrap
  47255. msgid "@code{non-derivation-substitute-urls} (default: @code{#f})"
  47256. msgstr ""
  47257. #. type: table
  47258. #: guix-git/doc/guix.texi:31763
  47259. msgid "URLs from which to attempt to fetch substitutes for build inputs, if the input store items aren't already available."
  47260. msgstr ""
  47261. #. type: deftp
  47262. #: guix-git/doc/guix.texi:31767
  47263. #, no-wrap
  47264. msgid "{Data Type} guix-build-coordinator-agent-password-auth"
  47265. msgstr ""
  47266. #. type: deftp
  47267. #: guix-git/doc/guix.texi:31770
  47268. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password."
  47269. msgstr ""
  47270. #. type: table
  47271. #: guix-git/doc/guix.texi:31776 guix-git/doc/guix.texi:31792
  47272. 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."
  47273. msgstr ""
  47274. #. type: table
  47275. #: guix-git/doc/guix.texi:31779
  47276. msgid "The password to use when connecting to the coordinator."
  47277. msgstr ""
  47278. #. type: deftp
  47279. #: guix-git/doc/guix.texi:31783
  47280. #, no-wrap
  47281. msgid "{Data Type} guix-build-coordinator-agent-password-file-auth"
  47282. msgstr ""
  47283. #. type: deftp
  47284. #: guix-git/doc/guix.texi:31786
  47285. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password read from a file."
  47286. msgstr ""
  47287. #. type: code{#1}
  47288. #: guix-git/doc/guix.texi:31793
  47289. #, no-wrap
  47290. msgid "password-file"
  47291. msgstr ""
  47292. #. type: table
  47293. #: guix-git/doc/guix.texi:31796
  47294. msgid "A file containing the password to use when connecting to the coordinator."
  47295. msgstr ""
  47296. #. type: deftp
  47297. #: guix-git/doc/guix.texi:31800
  47298. #, no-wrap
  47299. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth"
  47300. msgstr ""
  47301. #. type: deftp
  47302. #: guix-git/doc/guix.texi:31803
  47303. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token and agent name."
  47304. msgstr ""
  47305. #. type: code{#1}
  47306. #: guix-git/doc/guix.texi:31805 guix-git/doc/guix.texi:31822
  47307. #, no-wrap
  47308. msgid "agent-name"
  47309. msgstr ""
  47310. #. type: table
  47311. #: guix-git/doc/guix.texi:31809 guix-git/doc/guix.texi:31826
  47312. 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."
  47313. msgstr ""
  47314. #. type: code{#1}
  47315. #: guix-git/doc/guix.texi:31810
  47316. #, no-wrap
  47317. msgid "token"
  47318. msgstr ""
  47319. #. type: table
  47320. #: guix-git/doc/guix.texi:31813
  47321. msgid "Dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  47322. msgstr ""
  47323. #. type: deftp
  47324. #: guix-git/doc/guix.texi:31817
  47325. #, no-wrap
  47326. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth-with-file"
  47327. msgstr ""
  47328. #. type: deftp
  47329. #: guix-git/doc/guix.texi:31820
  47330. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token read from a file and agent name."
  47331. msgstr ""
  47332. #. type: code{#1}
  47333. #: guix-git/doc/guix.texi:31827
  47334. #, no-wrap
  47335. msgid "token-file"
  47336. msgstr ""
  47337. #. type: table
  47338. #: guix-git/doc/guix.texi:31830
  47339. msgid "File containing the dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  47340. msgstr ""
  47341. #. type: Plain text
  47342. #: guix-git/doc/guix.texi:31840
  47343. 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."
  47344. msgstr ""
  47345. #. type: defvar
  47346. #: guix-git/doc/guix.texi:31841
  47347. #, no-wrap
  47348. msgid "{Scheme Variable} guix-build-coordinator-queue-builds-service-type"
  47349. msgstr ""
  47350. #. type: defvar
  47351. #: guix-git/doc/guix.texi:31846
  47352. 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."
  47353. msgstr ""
  47354. #. type: deftp
  47355. #: guix-git/doc/guix.texi:31848
  47356. #, no-wrap
  47357. msgid "{Data Type} guix-build-coordinator-queue-builds-configuration"
  47358. msgstr ""
  47359. #. type: deftp
  47360. #: guix-git/doc/guix.texi:31851
  47361. msgid "Data type representing the options to the queue builds from guix data service script."
  47362. msgstr ""
  47363. #. type: item
  47364. #: guix-git/doc/guix.texi:31856
  47365. #, no-wrap
  47366. msgid "@code{user} (default: @code{\"guix-build-coordinator-queue-builds\"})"
  47367. msgstr ""
  47368. #. type: item
  47369. #: guix-git/doc/guix.texi:31859
  47370. #, fuzzy, no-wrap
  47371. #| msgid "@code{tor} (default: @code{tor})"
  47372. msgid "@code{coordinator} (default: @code{\"http://localhost:8746\"})"
  47373. msgstr "@code{tor} (default: @code{tor})"
  47374. #. type: table
  47375. #: guix-git/doc/guix.texi:31864
  47376. msgid "The systems for which to fetch derivations to build."
  47377. msgstr ""
  47378. #. type: item
  47379. #: guix-git/doc/guix.texi:31865
  47380. #, no-wrap
  47381. msgid "@code{systems-and-targets} (default: @code{#f})"
  47382. msgstr ""
  47383. #. type: table
  47384. #: guix-git/doc/guix.texi:31868
  47385. msgid "An association list of system and target pairs for which to fetch derivations to build."
  47386. msgstr ""
  47387. #. type: item
  47388. #: guix-git/doc/guix.texi:31869
  47389. #, no-wrap
  47390. msgid "@code{guix-data-service} (default: @code{\"https://data.guix.gnu.org\"})"
  47391. msgstr ""
  47392. #. type: table
  47393. #: guix-git/doc/guix.texi:31872
  47394. msgid "The Guix Data Service instance from which to query to find out about derivations to build."
  47395. msgstr ""
  47396. #. type: item
  47397. #: guix-git/doc/guix.texi:31873
  47398. #, no-wrap
  47399. msgid "@code{processed-commits-file} (default: @code{\"/var/cache/guix-build-coordinator-queue-builds/processed-commits\"})"
  47400. msgstr ""
  47401. #. type: table
  47402. #: guix-git/doc/guix.texi:31876
  47403. msgid "A file to record which commits have been processed, to avoid needlessly processing them again if the service is restarted."
  47404. msgstr ""
  47405. #. type: subsubheading
  47406. #: guix-git/doc/guix.texi:31880
  47407. #, no-wrap
  47408. msgid "Guix Data Service"
  47409. msgstr ""
  47410. #. type: Plain text
  47411. #: guix-git/doc/guix.texi:31884
  47412. 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."
  47413. msgstr ""
  47414. #. type: Plain text
  47415. #: guix-git/doc/guix.texi:31887
  47416. msgid "The data is stored in a PostgreSQL database, and available through a web interface."
  47417. msgstr ""
  47418. #. type: defvar
  47419. #: guix-git/doc/guix.texi:31888
  47420. #, no-wrap
  47421. msgid "{Scheme Variable} guix-data-service-type"
  47422. msgstr ""
  47423. #. type: defvar
  47424. #: guix-git/doc/guix.texi:31893
  47425. 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."
  47426. msgstr ""
  47427. #. type: deftp
  47428. #: guix-git/doc/guix.texi:31895
  47429. #, no-wrap
  47430. msgid "{Data Type} guix-data-service-configuration"
  47431. msgstr ""
  47432. #. type: deftp
  47433. #: guix-git/doc/guix.texi:31897
  47434. msgid "Data type representing the configuration of the Guix Data Service."
  47435. msgstr ""
  47436. #. type: item
  47437. #: guix-git/doc/guix.texi:31899
  47438. #, no-wrap
  47439. msgid "@code{package} (default: @code{guix-data-service})"
  47440. msgstr ""
  47441. #. type: table
  47442. #: guix-git/doc/guix.texi:31901
  47443. msgid "The Guix Data Service package to use."
  47444. msgstr ""
  47445. #. type: item
  47446. #: guix-git/doc/guix.texi:31902
  47447. #, no-wrap
  47448. msgid "@code{user} (default: @code{\"guix-data-service\"})"
  47449. msgstr ""
  47450. #. type: item
  47451. #: guix-git/doc/guix.texi:31905
  47452. #, no-wrap
  47453. msgid "@code{group} (default: @code{\"guix-data-service\"})"
  47454. msgstr ""
  47455. #. type: item
  47456. #: guix-git/doc/guix.texi:31908
  47457. #, no-wrap
  47458. msgid "@code{port} (default: @code{8765})"
  47459. msgstr ""
  47460. #. type: table
  47461. #: guix-git/doc/guix.texi:31910
  47462. msgid "The port to bind the web service to."
  47463. msgstr ""
  47464. #. type: item
  47465. #: guix-git/doc/guix.texi:31911
  47466. #, no-wrap
  47467. msgid "@code{host} (default: @code{\"127.0.0.1\"})"
  47468. msgstr ""
  47469. #. type: table
  47470. #: guix-git/doc/guix.texi:31913
  47471. msgid "The host to bind the web service to."
  47472. msgstr ""
  47473. #. type: item
  47474. #: guix-git/doc/guix.texi:31914
  47475. #, no-wrap
  47476. msgid "@code{getmail-idle-mailboxes} (default: @code{#f})"
  47477. msgstr ""
  47478. #. type: table
  47479. #: guix-git/doc/guix.texi:31917
  47480. msgid "If set, this is the list of mailboxes that the getmail service will be configured to listen to."
  47481. msgstr ""
  47482. #. type: item
  47483. #: guix-git/doc/guix.texi:31918
  47484. #, no-wrap
  47485. msgid "@code{commits-getmail-retriever-configuration} (default: @code{#f})"
  47486. msgstr ""
  47487. #. type: table
  47488. #: guix-git/doc/guix.texi:31922
  47489. 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."
  47490. msgstr ""
  47491. #. type: item
  47492. #: guix-git/doc/guix.texi:31923
  47493. #, no-wrap
  47494. msgid "@code{extra-options} (default: @var{'()})"
  47495. msgstr ""
  47496. #. type: table
  47497. #: guix-git/doc/guix.texi:31925
  47498. msgid "Extra command line options for @code{guix-data-service}."
  47499. msgstr ""
  47500. #. type: item
  47501. #: guix-git/doc/guix.texi:31926
  47502. #, no-wrap
  47503. msgid "@code{extra-process-jobs-options} (default: @var{'()})"
  47504. msgstr ""
  47505. #. type: table
  47506. #: guix-git/doc/guix.texi:31928
  47507. msgid "Extra command line options for @code{guix-data-service-process-jobs}."
  47508. msgstr ""
  47509. #. type: cindex
  47510. #: guix-git/doc/guix.texi:31935
  47511. #, no-wrap
  47512. msgid "oom"
  47513. msgstr ""
  47514. #. type: cindex
  47515. #: guix-git/doc/guix.texi:31936
  47516. #, no-wrap
  47517. msgid "out of memory killer"
  47518. msgstr ""
  47519. #. type: cindex
  47520. #: guix-git/doc/guix.texi:31937
  47521. #, no-wrap
  47522. msgid "earlyoom"
  47523. msgstr ""
  47524. #. type: cindex
  47525. #: guix-git/doc/guix.texi:31938
  47526. #, no-wrap
  47527. msgid "early out of memory daemon"
  47528. msgstr ""
  47529. #. type: subsubheading
  47530. #: guix-git/doc/guix.texi:31939
  47531. #, no-wrap
  47532. msgid "Early OOM Service"
  47533. msgstr ""
  47534. #. type: Plain text
  47535. #: guix-git/doc/guix.texi:31946
  47536. 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."
  47537. msgstr ""
  47538. #. type: deffn
  47539. #: guix-git/doc/guix.texi:31947
  47540. #, no-wrap
  47541. msgid "{Scheme Variable} earlyoom-service-type"
  47542. msgstr ""
  47543. #. type: deffn
  47544. #: guix-git/doc/guix.texi:31952
  47545. 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:"
  47546. msgstr ""
  47547. #. type: lisp
  47548. #: guix-git/doc/guix.texi:31955
  47549. #, no-wrap
  47550. msgid "(service earlyoom-service-type)\n"
  47551. msgstr ""
  47552. #. type: deftp
  47553. #: guix-git/doc/guix.texi:31958
  47554. #, no-wrap
  47555. msgid "{Data Type} earlyoom-configuration"
  47556. msgstr ""
  47557. #. type: deftp
  47558. #: guix-git/doc/guix.texi:31960
  47559. msgid "This is the configuration record for the @code{earlyoom-service-type}."
  47560. msgstr ""
  47561. #. type: item
  47562. #: guix-git/doc/guix.texi:31962
  47563. #, no-wrap
  47564. msgid "@code{earlyoom} (default: @var{earlyoom})"
  47565. msgstr ""
  47566. #. type: table
  47567. #: guix-git/doc/guix.texi:31964
  47568. msgid "The Earlyoom package to use."
  47569. msgstr ""
  47570. #. type: item
  47571. #: guix-git/doc/guix.texi:31965
  47572. #, no-wrap
  47573. msgid "@code{minimum-available-memory} (default: @code{10})"
  47574. msgstr ""
  47575. #. type: table
  47576. #: guix-git/doc/guix.texi:31967
  47577. msgid "The threshold for the minimum @emph{available} memory, in percentages."
  47578. msgstr ""
  47579. #. type: item
  47580. #: guix-git/doc/guix.texi:31968
  47581. #, no-wrap
  47582. msgid "@code{minimum-free-swap} (default: @code{10})"
  47583. msgstr ""
  47584. #. type: table
  47585. #: guix-git/doc/guix.texi:31970
  47586. msgid "The threshold for the minimum free swap memory, in percentages."
  47587. msgstr ""
  47588. #. type: item
  47589. #: guix-git/doc/guix.texi:31971
  47590. #, no-wrap
  47591. msgid "@code{prefer-regexp} (default: @code{#f})"
  47592. msgstr ""
  47593. #. type: table
  47594. #: guix-git/doc/guix.texi:31974
  47595. msgid "A regular expression (as a string) to match the names of the processes that should be preferably killed."
  47596. msgstr ""
  47597. #. type: item
  47598. #: guix-git/doc/guix.texi:31975
  47599. #, no-wrap
  47600. msgid "@code{avoid-regexp} (default: @code{#f})"
  47601. msgstr ""
  47602. #. type: table
  47603. #: guix-git/doc/guix.texi:31978
  47604. msgid "A regular expression (as a string) to match the names of the processes that should @emph{not} be killed."
  47605. msgstr ""
  47606. #. type: item
  47607. #: guix-git/doc/guix.texi:31979
  47608. #, no-wrap
  47609. msgid "@code{memory-report-interval} (default: @code{0})"
  47610. msgstr ""
  47611. #. type: table
  47612. #: guix-git/doc/guix.texi:31982
  47613. msgid "The interval in seconds at which a memory report is printed. It is disabled by default."
  47614. msgstr ""
  47615. #. type: item
  47616. #: guix-git/doc/guix.texi:31983
  47617. #, no-wrap
  47618. msgid "@code{ignore-positive-oom-score-adj?} (default: @code{#f})"
  47619. msgstr ""
  47620. #. type: table
  47621. #: guix-git/doc/guix.texi:31986
  47622. msgid "A boolean indicating whether the positive adjustments set in @file{/proc/*/oom_score_adj} should be ignored."
  47623. msgstr ""
  47624. #. type: item
  47625. #: guix-git/doc/guix.texi:31987
  47626. #, no-wrap
  47627. msgid "@code{show-debug-messages?} (default: @code{#f})"
  47628. msgstr ""
  47629. #. type: table
  47630. #: guix-git/doc/guix.texi:31990
  47631. msgid "A boolean indicating whether debug messages should be printed. The logs are saved at @file{/var/log/earlyoom.log}."
  47632. msgstr ""
  47633. #. type: item
  47634. #: guix-git/doc/guix.texi:31991
  47635. #, no-wrap
  47636. msgid "@code{send-notification-command} (default: @code{#f})"
  47637. msgstr ""
  47638. #. type: table
  47639. #: guix-git/doc/guix.texi:31994
  47640. msgid "This can be used to provide a custom command used for sending notifications."
  47641. msgstr ""
  47642. #. type: cindex
  47643. #: guix-git/doc/guix.texi:31997
  47644. #, no-wrap
  47645. msgid "modprobe"
  47646. msgstr ""
  47647. #. type: cindex
  47648. #: guix-git/doc/guix.texi:31998
  47649. #, no-wrap
  47650. msgid "kernel module loader"
  47651. msgstr ""
  47652. #. type: subsubheading
  47653. #: guix-git/doc/guix.texi:31999
  47654. #, no-wrap
  47655. msgid "Kernel Module Loader Service"
  47656. msgstr ""
  47657. #. type: Plain text
  47658. #: guix-git/doc/guix.texi:32005
  47659. 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}."
  47660. msgstr ""
  47661. #. type: deffn
  47662. #: guix-git/doc/guix.texi:32006
  47663. #, no-wrap
  47664. msgid "{Scheme Variable} kernel-module-loader-service-type"
  47665. msgstr ""
  47666. #. type: deffn
  47667. #: guix-git/doc/guix.texi:32012
  47668. 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:"
  47669. msgstr ""
  47670. #. type: lisp
  47671. #: guix-git/doc/guix.texi:32017
  47672. #, no-wrap
  47673. msgid ""
  47674. "(use-modules (gnu) (gnu services))\n"
  47675. "(use-package-modules linux)\n"
  47676. "(use-service-modules linux)\n"
  47677. "\n"
  47678. msgstr ""
  47679. #. type: lisp
  47680. #: guix-git/doc/guix.texi:32021
  47681. #, no-wrap
  47682. msgid ""
  47683. "(define ddcci-config\n"
  47684. " (plain-file \"ddcci.conf\"\n"
  47685. " \"options ddcci dyndbg delay=120\"))\n"
  47686. "\n"
  47687. msgstr ""
  47688. #. type: lisp
  47689. #: guix-git/doc/guix.texi:32031
  47690. #, no-wrap
  47691. msgid ""
  47692. "(operating-system\n"
  47693. " ...\n"
  47694. " (services (cons* (service kernel-module-loader-service-type\n"
  47695. " '(\"ddcci\" \"ddcci_backlight\"))\n"
  47696. " (simple-service 'ddcci-config etc-service-type\n"
  47697. " (list `(\"modprobe.d/ddcci.conf\"\n"
  47698. " ,ddcci-config)))\n"
  47699. " %base-services))\n"
  47700. " (kernel-loadable-modules (list ddcci-driver-linux)))\n"
  47701. msgstr ""
  47702. #. type: cindex
  47703. #: guix-git/doc/guix.texi:32034
  47704. #, fuzzy, no-wrap
  47705. #| msgid "daemon"
  47706. msgid "rasdaemon"
  47707. msgstr "daemon"
  47708. #. type: cindex
  47709. #: guix-git/doc/guix.texi:32035
  47710. #, no-wrap
  47711. msgid "Platform Reliability, Availability and Serviceability daemon"
  47712. msgstr ""
  47713. #. type: subsubheading
  47714. #: guix-git/doc/guix.texi:32036
  47715. #, fuzzy, no-wrap
  47716. #| msgid "Base Services"
  47717. msgid "Rasdaemon Service"
  47718. msgstr "Serviços base"
  47719. #. type: Plain text
  47720. #: guix-git/doc/guix.texi:32041
  47721. 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."
  47722. msgstr ""
  47723. #. type: Plain text
  47724. #: guix-git/doc/guix.texi:32044
  47725. msgid "Reliability, Availability and Serviceability is a concept used on servers meant to measure their robustness."
  47726. msgstr ""
  47727. #. type: Plain text
  47728. #: guix-git/doc/guix.texi:32047
  47729. msgid "@strong{Relability} is the probability that a system will produce correct outputs:"
  47730. msgstr ""
  47731. #. type: item
  47732. #: guix-git/doc/guix.texi:32049
  47733. #, no-wrap
  47734. msgid "Generally measured as Mean Time Between Failures (MTBF), and"
  47735. msgstr ""
  47736. #. type: item
  47737. #: guix-git/doc/guix.texi:32050
  47738. #, no-wrap
  47739. msgid "Enhanced by features that help to avoid, detect and repair hardware"
  47740. msgstr ""
  47741. #. type: itemize
  47742. #: guix-git/doc/guix.texi:32052
  47743. msgid "faults"
  47744. msgstr ""
  47745. #. type: Plain text
  47746. #: guix-git/doc/guix.texi:32056
  47747. msgid "@strong{Availability} is the probability that a system is operational at a given time:"
  47748. msgstr ""
  47749. #. type: item
  47750. #: guix-git/doc/guix.texi:32058
  47751. #, no-wrap
  47752. msgid "Generally measured as a percentage of downtime per a period of time, and"
  47753. msgstr ""
  47754. #. type: item
  47755. #: guix-git/doc/guix.texi:32059
  47756. #, no-wrap
  47757. msgid "Often uses mechanisms to detect and correct hardware faults in runtime."
  47758. msgstr ""
  47759. #. type: Plain text
  47760. #: guix-git/doc/guix.texi:32064
  47761. msgid "@strong{Serviceability} is the simplicity and speed with which a system can be repaired or maintained:"
  47762. msgstr ""
  47763. #. type: item
  47764. #: guix-git/doc/guix.texi:32066
  47765. #, no-wrap
  47766. msgid "Generally measured on Mean Time Between Repair (MTBR)."
  47767. msgstr ""
  47768. #. type: Plain text
  47769. #: guix-git/doc/guix.texi:32071
  47770. msgid "Among the monitoring measures, the most usual ones include:"
  47771. msgstr ""
  47772. #. type: item
  47773. #: guix-git/doc/guix.texi:32073
  47774. #, no-wrap
  47775. msgid "CPU – detect errors at instruction execution and at L1/L2/L3 caches;"
  47776. msgstr ""
  47777. #. type: item
  47778. #: guix-git/doc/guix.texi:32074
  47779. #, no-wrap
  47780. msgid "Memory – add error correction logic (ECC) to detect and correct errors;"
  47781. msgstr ""
  47782. #. type: item
  47783. #: guix-git/doc/guix.texi:32075
  47784. #, no-wrap
  47785. msgid "I/O – add CRC checksums for transferred data;"
  47786. msgstr ""
  47787. #. type: item
  47788. #: guix-git/doc/guix.texi:32076
  47789. #, no-wrap
  47790. msgid "Storage – RAID, journal file systems, checksums, Self-Monitoring,"
  47791. msgstr ""
  47792. #. type: itemize
  47793. #: guix-git/doc/guix.texi:32078
  47794. msgid "Analysis and Reporting Technology (SMART)."
  47795. msgstr ""
  47796. #. type: Plain text
  47797. #: guix-git/doc/guix.texi:32084
  47798. 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."
  47799. msgstr ""
  47800. #. type: Plain text
  47801. #: guix-git/doc/guix.texi:32088
  47802. 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}."
  47803. msgstr ""
  47804. #. type: defvr
  47805. #: guix-git/doc/guix.texi:32089
  47806. #, fuzzy, no-wrap
  47807. msgid "{Scheme Variable} rasdaemon-service-type"
  47808. msgstr "guix-publish-service-type"
  47809. #. type: defvr
  47810. #: guix-git/doc/guix.texi:32092
  47811. msgid "Service type for the @command{rasdaemon} service. It accepts a @code{rasdaemon-configuration} object. Instantiating like"
  47812. msgstr ""
  47813. #. type: lisp
  47814. #: guix-git/doc/guix.texi:32095
  47815. #, no-wrap
  47816. msgid "(service rasdaemon-service-type)\n"
  47817. msgstr ""
  47818. #. type: defvr
  47819. #: guix-git/doc/guix.texi:32099
  47820. msgid "will load with a default configuration, which monitors all events and logs to syslogd."
  47821. msgstr ""
  47822. #. type: deftp
  47823. #: guix-git/doc/guix.texi:32101
  47824. #, fuzzy, no-wrap
  47825. msgid "{Data Type} rasdaemon-configuration"
  47826. msgstr "build-machine {Data Type}"
  47827. #. type: deftp
  47828. #: guix-git/doc/guix.texi:32103
  47829. #, fuzzy
  47830. msgid "The data type representing the configuration of @command{rasdaemon}."
  47831. msgstr "Gerencie a configuração do sistema operacional."
  47832. #. type: item
  47833. #: guix-git/doc/guix.texi:32105
  47834. #, fuzzy, no-wrap
  47835. #| msgid "@code{remote?} (default: @code{#f})"
  47836. msgid "@code{record?} (default: @code{#f})"
  47837. msgstr "@code{remote?} (padrão: @code{#f})"
  47838. #. type: table
  47839. #: guix-git/doc/guix.texi:32110
  47840. 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}."
  47841. msgstr ""
  47842. #. type: cindex
  47843. #: guix-git/doc/guix.texi:32114
  47844. #, no-wrap
  47845. msgid "zram"
  47846. msgstr ""
  47847. #. type: cindex
  47848. #: guix-git/doc/guix.texi:32115
  47849. #, no-wrap
  47850. msgid "compressed swap"
  47851. msgstr ""
  47852. #. type: cindex
  47853. #: guix-git/doc/guix.texi:32116
  47854. #, no-wrap
  47855. msgid "Compressed RAM-based block devices"
  47856. msgstr ""
  47857. #. type: subsubheading
  47858. #: guix-git/doc/guix.texi:32117
  47859. #, no-wrap
  47860. msgid "Zram Device Service"
  47861. msgstr ""
  47862. #. type: Plain text
  47863. #: guix-git/doc/guix.texi:32123
  47864. 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."
  47865. msgstr ""
  47866. #. type: deffn
  47867. #: guix-git/doc/guix.texi:32124
  47868. #, no-wrap
  47869. msgid "{Scheme Variable} zram-device-service-type"
  47870. msgstr ""
  47871. #. type: deffn
  47872. #: guix-git/doc/guix.texi:32128
  47873. 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."
  47874. msgstr ""
  47875. #. type: deftp
  47876. #: guix-git/doc/guix.texi:32129
  47877. #, no-wrap
  47878. msgid "{Data Type} zram-device-configuration"
  47879. msgstr ""
  47880. #. type: deftp
  47881. #: guix-git/doc/guix.texi:32132
  47882. msgid "This is the data type representing the configuration for the zram-device service."
  47883. msgstr ""
  47884. #. type: item
  47885. #: guix-git/doc/guix.texi:32134
  47886. #, no-wrap
  47887. msgid "@code{size} (default @code{\"1G\"})"
  47888. msgstr ""
  47889. #. type: table
  47890. #: guix-git/doc/guix.texi:32138
  47891. 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}."
  47892. msgstr ""
  47893. #. type: item
  47894. #: guix-git/doc/guix.texi:32138
  47895. #, no-wrap
  47896. msgid "@code{compression-algorithm} (default @code{'lzo})"
  47897. msgstr ""
  47898. #. type: table
  47899. #: guix-git/doc/guix.texi:32142
  47900. 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}."
  47901. msgstr ""
  47902. #. type: item
  47903. #: guix-git/doc/guix.texi:32142
  47904. #, no-wrap
  47905. msgid "@code{memory-limit} (default @code{0})"
  47906. msgstr ""
  47907. #. type: table
  47908. #: guix-git/doc/guix.texi:32149
  47909. 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\"}."
  47910. msgstr ""
  47911. #. type: item
  47912. #: guix-git/doc/guix.texi:32149
  47913. #, no-wrap
  47914. msgid "@code{priority} (default @code{-1})"
  47915. msgstr ""
  47916. #. type: table
  47917. #: guix-git/doc/guix.texi:32154
  47918. 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."
  47919. msgstr ""
  47920. #. type: defvr
  47921. #: guix-git/doc/guix.texi:32162
  47922. #, no-wrap
  47923. msgid "{Scheme Variable} hurd-console-service-type"
  47924. msgstr ""
  47925. #. type: defvr
  47926. #: guix-git/doc/guix.texi:32164
  47927. msgid "This service starts the fancy @code{VGA} console client on the Hurd."
  47928. msgstr ""
  47929. #. type: defvr
  47930. #: guix-git/doc/guix.texi:32166
  47931. msgid "The service's value is a @code{hurd-console-configuration} record."
  47932. msgstr ""
  47933. #. type: deftp
  47934. #: guix-git/doc/guix.texi:32168
  47935. #, no-wrap
  47936. msgid "{Data Type} hurd-console-configuration"
  47937. msgstr ""
  47938. #. type: deftp
  47939. #: guix-git/doc/guix.texi:32171
  47940. msgid "This is the data type representing the configuration for the hurd-console-service."
  47941. msgstr ""
  47942. #. type: item
  47943. #: guix-git/doc/guix.texi:32173 guix-git/doc/guix.texi:32189
  47944. #, no-wrap
  47945. msgid "@code{hurd} (default: @var{hurd})"
  47946. msgstr ""
  47947. #. type: table
  47948. #: guix-git/doc/guix.texi:32175 guix-git/doc/guix.texi:32191
  47949. msgid "The Hurd package to use."
  47950. msgstr ""
  47951. #. type: defvr
  47952. #: guix-git/doc/guix.texi:32178
  47953. #, no-wrap
  47954. msgid "{Scheme Variable} hurd-getty-service-type"
  47955. msgstr ""
  47956. #. type: defvr
  47957. #: guix-git/doc/guix.texi:32180
  47958. msgid "This service starts a tty using the Hurd @code{getty} program."
  47959. msgstr ""
  47960. #. type: defvr
  47961. #: guix-git/doc/guix.texi:32182
  47962. msgid "The service's value is a @code{hurd-getty-configuration} record."
  47963. msgstr ""
  47964. #. type: deftp
  47965. #: guix-git/doc/guix.texi:32184
  47966. #, no-wrap
  47967. msgid "{Data Type} hurd-getty-configuration"
  47968. msgstr ""
  47969. #. type: deftp
  47970. #: guix-git/doc/guix.texi:32187
  47971. msgid "This is the data type representing the configuration for the hurd-getty-service."
  47972. msgstr ""
  47973. #. type: table
  47974. #: guix-git/doc/guix.texi:32194
  47975. msgid "The name of the console this Getty runs on---e.g., @code{\"tty1\"}."
  47976. msgstr ""
  47977. #. type: item
  47978. #: guix-git/doc/guix.texi:32195
  47979. #, no-wrap
  47980. msgid "@code{baud-rate} (default: @code{38400})"
  47981. msgstr ""
  47982. #. type: table
  47983. #: guix-git/doc/guix.texi:32197
  47984. msgid "An integer specifying the baud rate of the tty."
  47985. msgstr ""
  47986. #. type: cindex
  47987. #: guix-git/doc/guix.texi:32204
  47988. #, no-wrap
  47989. msgid "fingerprint"
  47990. msgstr ""
  47991. #. type: subsubheading
  47992. #: guix-git/doc/guix.texi:32205
  47993. #, no-wrap
  47994. msgid "Fingerprint Service"
  47995. msgstr ""
  47996. #. type: Plain text
  47997. #: guix-git/doc/guix.texi:32209
  47998. msgid "The @code{(gnu services authentication)} module provides a DBus service to read and identify fingerprints via a fingerprint sensor."
  47999. msgstr ""
  48000. #. type: defvr
  48001. #: guix-git/doc/guix.texi:32210
  48002. #, no-wrap
  48003. msgid "{Scheme Variable} fprintd-service-type"
  48004. msgstr ""
  48005. #. type: defvr
  48006. #: guix-git/doc/guix.texi:32213
  48007. msgid "The service type for @command{fprintd}, which provides the fingerprint reading capability."
  48008. msgstr ""
  48009. #. type: lisp
  48010. #: guix-git/doc/guix.texi:32216
  48011. #, no-wrap
  48012. msgid "(service fprintd-service-type)\n"
  48013. msgstr ""
  48014. #. type: cindex
  48015. #: guix-git/doc/guix.texi:32219
  48016. #, no-wrap
  48017. msgid "sysctl"
  48018. msgstr ""
  48019. #. type: subsubheading
  48020. #: guix-git/doc/guix.texi:32220
  48021. #, no-wrap
  48022. msgid "System Control Service"
  48023. msgstr ""
  48024. #. type: Plain text
  48025. #: guix-git/doc/guix.texi:32224
  48026. msgid "The @code{(gnu services sysctl)} provides a service to configure kernel parameters at boot."
  48027. msgstr ""
  48028. #. type: defvr
  48029. #: guix-git/doc/guix.texi:32225
  48030. #, no-wrap
  48031. msgid "{Scheme Variable} sysctl-service-type"
  48032. msgstr ""
  48033. #. type: defvr
  48034. #: guix-git/doc/guix.texi:32229
  48035. msgid "The service type for @command{sysctl}, which modifies kernel parameters under @file{/proc/sys/}. To enable IPv4 forwarding, it can be instantiated as:"
  48036. msgstr ""
  48037. #. type: lisp
  48038. #: guix-git/doc/guix.texi:32234
  48039. #, no-wrap
  48040. msgid ""
  48041. "(service sysctl-service-type\n"
  48042. " (sysctl-configuration\n"
  48043. " (settings '((\"net.ipv4.ip_forward\" . \"1\")))))\n"
  48044. msgstr ""
  48045. #. type: defvr
  48046. #: guix-git/doc/guix.texi:32241
  48047. 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}})."
  48048. msgstr ""
  48049. #. type: lisp
  48050. #: guix-git/doc/guix.texi:32248
  48051. #, no-wrap
  48052. msgid ""
  48053. "(modify-services %base-services\n"
  48054. " (sysctl-service-type config =>\n"
  48055. " (sysctl-configuration\n"
  48056. " (settings (append '((\"net.ipv4.ip_forward\" . \"1\"))\n"
  48057. " %default-sysctl-settings)))))\n"
  48058. msgstr ""
  48059. #. type: deftp
  48060. #: guix-git/doc/guix.texi:32252
  48061. #, no-wrap
  48062. msgid "{Data Type} sysctl-configuration"
  48063. msgstr ""
  48064. #. type: deftp
  48065. #: guix-git/doc/guix.texi:32254
  48066. msgid "The data type representing the configuration of @command{sysctl}."
  48067. msgstr ""
  48068. #. type: item
  48069. #: guix-git/doc/guix.texi:32256
  48070. #, no-wrap
  48071. msgid "@code{sysctl} (default: @code{(file-append procps \"/sbin/sysctl\"})"
  48072. msgstr ""
  48073. #. type: table
  48074. #: guix-git/doc/guix.texi:32258
  48075. msgid "The @command{sysctl} executable to use."
  48076. msgstr ""
  48077. #. type: item
  48078. #: guix-git/doc/guix.texi:32259
  48079. #, fuzzy, no-wrap
  48080. msgid "@code{settings} (default: @code{%default-sysctl-settings})"
  48081. msgstr "@code{options} (default: @code{#f})"
  48082. #. type: table
  48083. #: guix-git/doc/guix.texi:32261
  48084. msgid "An association list specifies kernel parameters and their values."
  48085. msgstr ""
  48086. #. type: defvr
  48087. #: guix-git/doc/guix.texi:32264
  48088. #, no-wrap
  48089. msgid "{Scheme Variable} %default-sysctl-settings"
  48090. msgstr ""
  48091. #. type: defvr
  48092. #: guix-git/doc/guix.texi:32267
  48093. msgid "An association list specifying the default @command{sysctl} parameters on Guix System."
  48094. msgstr ""
  48095. #. type: cindex
  48096. #: guix-git/doc/guix.texi:32269
  48097. #, no-wrap
  48098. msgid "pcscd"
  48099. msgstr ""
  48100. #. type: subsubheading
  48101. #: guix-git/doc/guix.texi:32270
  48102. #, no-wrap
  48103. msgid "PC/SC Smart Card Daemon Service"
  48104. msgstr ""
  48105. #. type: Plain text
  48106. #: guix-git/doc/guix.texi:32277
  48107. 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."
  48108. msgstr ""
  48109. #. type: defvr
  48110. #: guix-git/doc/guix.texi:32278
  48111. #, no-wrap
  48112. msgid "{Scheme Variable} pcscd-service-type"
  48113. msgstr ""
  48114. #. type: defvr
  48115. #: guix-git/doc/guix.texi:32282
  48116. 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:"
  48117. msgstr ""
  48118. #. type: lisp
  48119. #: guix-git/doc/guix.texi:32285
  48120. #, no-wrap
  48121. msgid "(service pcscd-service-type)\n"
  48122. msgstr ""
  48123. #. type: deftp
  48124. #: guix-git/doc/guix.texi:32288
  48125. #, no-wrap
  48126. msgid "{Data Type} pcscd-configuration"
  48127. msgstr ""
  48128. #. type: deftp
  48129. #: guix-git/doc/guix.texi:32290
  48130. msgid "The data type representing the configuration of @command{pcscd}."
  48131. msgstr ""
  48132. #. type: item
  48133. #: guix-git/doc/guix.texi:32292
  48134. #, no-wrap
  48135. msgid "@code{pcsc-lite} (default: @code{pcsc-lite})"
  48136. msgstr ""
  48137. #. type: table
  48138. #: guix-git/doc/guix.texi:32294
  48139. msgid "The pcsc-lite package that provides pcscd."
  48140. msgstr ""
  48141. #. type: item
  48142. #: guix-git/doc/guix.texi:32294
  48143. #, no-wrap
  48144. msgid "@code{usb-drivers} (default: @code{(list ccid)})"
  48145. msgstr ""
  48146. #. type: table
  48147. #: guix-git/doc/guix.texi:32297
  48148. 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."
  48149. msgstr ""
  48150. #. type: cindex
  48151. #: guix-git/doc/guix.texi:32300
  48152. #, no-wrap
  48153. msgid "lirc"
  48154. msgstr ""
  48155. #. type: subsubheading
  48156. #: guix-git/doc/guix.texi:32301
  48157. #, no-wrap
  48158. msgid "Lirc Service"
  48159. msgstr ""
  48160. #. type: Plain text
  48161. #: guix-git/doc/guix.texi:32304
  48162. msgid "The @code{(gnu services lirc)} module provides the following service."
  48163. msgstr ""
  48164. #. type: deffn
  48165. #: guix-git/doc/guix.texi:32305
  48166. #, no-wrap
  48167. msgid "{Scheme Procedure} lirc-service [#:lirc lirc] @"
  48168. msgstr ""
  48169. #. type: deffn
  48170. #: guix-git/doc/guix.texi:32310
  48171. 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."
  48172. msgstr ""
  48173. #. type: deffn
  48174. #: guix-git/doc/guix.texi:32314
  48175. msgid "Optionally, @var{device}, @var{driver} and @var{config-file} (configuration file name) may be specified. See @command{lircd} manual for details."
  48176. msgstr ""
  48177. #. type: deffn
  48178. #: guix-git/doc/guix.texi:32317
  48179. msgid "Finally, @var{extra-options} is a list of additional command-line options passed to @command{lircd}."
  48180. msgstr ""
  48181. #. type: cindex
  48182. #: guix-git/doc/guix.texi:32319
  48183. #, no-wrap
  48184. msgid "spice"
  48185. msgstr "spice"
  48186. #. type: subsubheading
  48187. #: guix-git/doc/guix.texi:32320
  48188. #, no-wrap
  48189. msgid "Spice Service"
  48190. msgstr ""
  48191. #. type: Plain text
  48192. #: guix-git/doc/guix.texi:32323
  48193. msgid "The @code{(gnu services spice)} module provides the following service."
  48194. msgstr ""
  48195. #. type: deffn
  48196. #: guix-git/doc/guix.texi:32324
  48197. #, no-wrap
  48198. msgid "{Scheme Procedure} spice-vdagent-service [#:spice-vdagent]"
  48199. msgstr ""
  48200. #. type: deffn
  48201. #: guix-git/doc/guix.texi:32328
  48202. 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."
  48203. msgstr ""
  48204. #. type: cindex
  48205. #: guix-git/doc/guix.texi:32330
  48206. #, no-wrap
  48207. msgid "inputattach"
  48208. msgstr ""
  48209. #. type: subsubheading
  48210. #: guix-git/doc/guix.texi:32331
  48211. #, no-wrap
  48212. msgid "inputattach Service"
  48213. msgstr ""
  48214. #. type: cindex
  48215. #: guix-git/doc/guix.texi:32333
  48216. #, no-wrap
  48217. msgid "tablet input, for Xorg"
  48218. msgstr ""
  48219. #. type: cindex
  48220. #: guix-git/doc/guix.texi:32334
  48221. #, no-wrap
  48222. msgid "touchscreen input, for Xorg"
  48223. msgstr ""
  48224. #. type: Plain text
  48225. #: guix-git/doc/guix.texi:32338
  48226. 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."
  48227. msgstr ""
  48228. #. type: deffn
  48229. #: guix-git/doc/guix.texi:32339
  48230. #, no-wrap
  48231. msgid "{Scheme Variable} inputattach-service-type"
  48232. msgstr ""
  48233. #. type: deffn
  48234. #: guix-git/doc/guix.texi:32342
  48235. msgid "Type of a service that runs @command{inputattach} on a device and dispatches events from it."
  48236. msgstr ""
  48237. #. type: deftp
  48238. #: guix-git/doc/guix.texi:32344
  48239. #, no-wrap
  48240. msgid "{Data Type} inputattach-configuration"
  48241. msgstr ""
  48242. #. type: item
  48243. #: guix-git/doc/guix.texi:32346
  48244. #, no-wrap
  48245. msgid "@code{device-type} (default: @code{\"wacom\"})"
  48246. msgstr ""
  48247. #. type: table
  48248. #: guix-git/doc/guix.texi:32349
  48249. 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."
  48250. msgstr ""
  48251. #. type: item
  48252. #: guix-git/doc/guix.texi:32350
  48253. #, no-wrap
  48254. msgid "@code{device} (default: @code{\"/dev/ttyS0\"})"
  48255. msgstr "@code{device} (padrão: @code{\"/dev/ttyS0\"})"
  48256. #. type: table
  48257. #: guix-git/doc/guix.texi:32352
  48258. msgid "The device file to connect to the device."
  48259. msgstr ""
  48260. #. type: table
  48261. #: guix-git/doc/guix.texi:32356
  48262. msgid "Baud rate to use for the serial connection. Should be a number or @code{#f}."
  48263. msgstr ""
  48264. #. type: item
  48265. #: guix-git/doc/guix.texi:32357
  48266. #, no-wrap
  48267. msgid "@code{log-file} (default: @code{#f})"
  48268. msgstr "@code{log-file} (default: @code{#f})"
  48269. #. type: table
  48270. #: guix-git/doc/guix.texi:32359
  48271. msgid "If true, this must be the name of a file to log messages to."
  48272. msgstr ""
  48273. #. type: subsubheading
  48274. #: guix-git/doc/guix.texi:32362
  48275. #, no-wrap
  48276. msgid "Dictionary Service"
  48277. msgstr ""
  48278. #. type: cindex
  48279. #: guix-git/doc/guix.texi:32363
  48280. #, no-wrap
  48281. msgid "dictionary"
  48282. msgstr "dicionário"
  48283. #. type: Plain text
  48284. #: guix-git/doc/guix.texi:32365
  48285. msgid "The @code{(gnu services dict)} module provides the following service:"
  48286. msgstr ""
  48287. #. type: defvr
  48288. #: guix-git/doc/guix.texi:32366
  48289. #, no-wrap
  48290. msgid "{Scheme Variable} dicod-service-type"
  48291. msgstr ""
  48292. #. type: defvr
  48293. #: guix-git/doc/guix.texi:32369
  48294. 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})."
  48295. msgstr ""
  48296. #. type: deffn
  48297. #: guix-git/doc/guix.texi:32371
  48298. #, no-wrap
  48299. msgid "{Scheme Procedure} dicod-service [#:config (dicod-configuration)]"
  48300. msgstr ""
  48301. #. type: deffn
  48302. #: guix-git/doc/guix.texi:32374
  48303. msgid "Return a service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual})."
  48304. msgstr ""
  48305. #. type: deffn
  48306. #: guix-git/doc/guix.texi:32378
  48307. 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."
  48308. msgstr ""
  48309. #. type: deffn
  48310. #: guix-git/doc/guix.texi:32382
  48311. 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})."
  48312. msgstr ""
  48313. #. type: deftp
  48314. #: guix-git/doc/guix.texi:32384
  48315. #, no-wrap
  48316. msgid "{Data Type} dicod-configuration"
  48317. msgstr ""
  48318. #. type: deftp
  48319. #: guix-git/doc/guix.texi:32386
  48320. msgid "Data type representing the configuration of dicod."
  48321. msgstr ""
  48322. #. type: item
  48323. #: guix-git/doc/guix.texi:32388
  48324. #, no-wrap
  48325. msgid "@code{dico} (default: @var{dico})"
  48326. msgstr ""
  48327. #. type: table
  48328. #: guix-git/doc/guix.texi:32390
  48329. msgid "Package object of the GNU Dico dictionary server."
  48330. msgstr ""
  48331. #. type: item
  48332. #: guix-git/doc/guix.texi:32391
  48333. #, no-wrap
  48334. msgid "@code{interfaces} (default: @var{'(\"localhost\")})"
  48335. msgstr ""
  48336. #. type: table
  48337. #: guix-git/doc/guix.texi:32395
  48338. 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})."
  48339. msgstr ""
  48340. #. type: item
  48341. #: guix-git/doc/guix.texi:32396
  48342. #, no-wrap
  48343. msgid "@code{handlers} (default: @var{'()})"
  48344. msgstr ""
  48345. #. type: table
  48346. #: guix-git/doc/guix.texi:32398
  48347. msgid "List of @code{<dicod-handler>} objects denoting handlers (module instances)."
  48348. msgstr ""
  48349. #. type: item
  48350. #: guix-git/doc/guix.texi:32399
  48351. #, no-wrap
  48352. msgid "@code{databases} (default: @var{(list %dicod-database:gcide)})"
  48353. msgstr ""
  48354. #. type: table
  48355. #: guix-git/doc/guix.texi:32401
  48356. msgid "List of @code{<dicod-database>} objects denoting dictionaries to be served."
  48357. msgstr ""
  48358. #. type: deftp
  48359. #: guix-git/doc/guix.texi:32404
  48360. #, no-wrap
  48361. msgid "{Data Type} dicod-handler"
  48362. msgstr ""
  48363. #. type: deftp
  48364. #: guix-git/doc/guix.texi:32406
  48365. msgid "Data type representing a dictionary handler (module instance)."
  48366. msgstr ""
  48367. #. type: table
  48368. #: guix-git/doc/guix.texi:32410
  48369. msgid "Name of the handler (module instance)."
  48370. msgstr ""
  48371. #. type: item
  48372. #: guix-git/doc/guix.texi:32411
  48373. #, no-wrap
  48374. msgid "@code{module} (default: @var{#f})"
  48375. msgstr ""
  48376. #. type: table
  48377. #: guix-git/doc/guix.texi:32415
  48378. 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})."
  48379. msgstr ""
  48380. #. type: table
  48381. #: guix-git/doc/guix.texi:32418
  48382. msgid "List of strings or gexps representing the arguments for the module handler"
  48383. msgstr ""
  48384. #. type: deftp
  48385. #: guix-git/doc/guix.texi:32421
  48386. #, no-wrap
  48387. msgid "{Data Type} dicod-database"
  48388. msgstr ""
  48389. #. type: deftp
  48390. #: guix-git/doc/guix.texi:32423
  48391. msgid "Data type representing a dictionary database."
  48392. msgstr ""
  48393. #. type: table
  48394. #: guix-git/doc/guix.texi:32427
  48395. msgid "Name of the database, will be used in DICT commands."
  48396. msgstr ""
  48397. #. type: code{#1}
  48398. #: guix-git/doc/guix.texi:32428
  48399. #, no-wrap
  48400. msgid "handler"
  48401. msgstr ""
  48402. #. type: table
  48403. #: guix-git/doc/guix.texi:32431
  48404. msgid "Name of the dicod handler (module instance) used by this database (@pxref{Handlers,,, dico, GNU Dico Manual})."
  48405. msgstr ""
  48406. #. type: item
  48407. #: guix-git/doc/guix.texi:32432
  48408. #, no-wrap
  48409. msgid "@code{complex?} (default: @var{#f})"
  48410. msgstr ""
  48411. #. type: table
  48412. #: guix-git/doc/guix.texi:32435
  48413. msgid "Whether the database configuration complex. The complex configuration will need a corresponding @code{<dicod-handler>} object, otherwise not."
  48414. msgstr ""
  48415. #. type: table
  48416. #: guix-git/doc/guix.texi:32439
  48417. msgid "List of strings or gexps representing the arguments for the database (@pxref{Databases,,, dico, GNU Dico Manual})."
  48418. msgstr ""
  48419. #. type: defvr
  48420. #: guix-git/doc/guix.texi:32442
  48421. #, no-wrap
  48422. msgid "{Scheme Variable} %dicod-database:gcide"
  48423. msgstr ""
  48424. #. type: defvr
  48425. #: guix-git/doc/guix.texi:32445
  48426. msgid "A @code{<dicod-database>} object serving the GNU Collaborative International Dictionary of English using the @code{gcide} package."
  48427. msgstr ""
  48428. #. type: Plain text
  48429. #: guix-git/doc/guix.texi:32448
  48430. msgid "The following is an example @code{dicod-service} configuration."
  48431. msgstr ""
  48432. #. type: lisp
  48433. #: guix-git/doc/guix.texi:32463
  48434. #, no-wrap
  48435. msgid ""
  48436. "(dicod-service #:config\n"
  48437. " (dicod-configuration\n"
  48438. " (handlers (list (dicod-handler\n"
  48439. " (name \"wordnet\")\n"
  48440. " (module \"dictorg\")\n"
  48441. " (options\n"
  48442. " (list #~(string-append \"dbdir=\" #$wordnet))))))\n"
  48443. " (databases (list (dicod-database\n"
  48444. " (name \"wordnet\")\n"
  48445. " (complex? #t)\n"
  48446. " (handler \"wordnet\")\n"
  48447. " (options '(\"database=wn\")))\n"
  48448. " %dicod-database:gcide))))\n"
  48449. msgstr ""
  48450. #. type: cindex
  48451. #: guix-git/doc/guix.texi:32465
  48452. #, no-wrap
  48453. msgid "Docker"
  48454. msgstr ""
  48455. #. type: subsubheading
  48456. #: guix-git/doc/guix.texi:32466
  48457. #, no-wrap
  48458. msgid "Docker Service"
  48459. msgstr ""
  48460. #. type: Plain text
  48461. #: guix-git/doc/guix.texi:32469
  48462. msgid "The @code{(gnu services docker)} module provides the following services."
  48463. msgstr ""
  48464. #. type: defvr
  48465. #: guix-git/doc/guix.texi:32470
  48466. #, no-wrap
  48467. msgid "{Scheme Variable} docker-service-type"
  48468. msgstr ""
  48469. #. type: defvr
  48470. #: guix-git/doc/guix.texi:32475
  48471. 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."
  48472. msgstr ""
  48473. #. type: deftp
  48474. #: guix-git/doc/guix.texi:32478
  48475. #, no-wrap
  48476. msgid "{Data Type} docker-configuration"
  48477. msgstr ""
  48478. #. type: deftp
  48479. #: guix-git/doc/guix.texi:32480
  48480. msgid "This is the data type representing the configuration of Docker and Containerd."
  48481. msgstr ""
  48482. #. type: item
  48483. #: guix-git/doc/guix.texi:32483
  48484. #, fuzzy, no-wrap
  48485. #| msgid "@code{tor} (default: @code{tor})"
  48486. msgid "@code{docker} (default: @code{docker})"
  48487. msgstr "@code{tor} (default: @code{tor})"
  48488. #. type: table
  48489. #: guix-git/doc/guix.texi:32485
  48490. msgid "The Docker daemon package to use."
  48491. msgstr ""
  48492. #. type: item
  48493. #: guix-git/doc/guix.texi:32486
  48494. #, fuzzy, no-wrap
  48495. #| msgid "@code{tor} (default: @code{tor})"
  48496. msgid "@code{docker-cli} (default: @code{docker-cli})"
  48497. msgstr "@code{tor} (default: @code{tor})"
  48498. #. type: table
  48499. #: guix-git/doc/guix.texi:32488
  48500. msgid "The Docker client package to use."
  48501. msgstr ""
  48502. #. type: item
  48503. #: guix-git/doc/guix.texi:32489
  48504. #, no-wrap
  48505. msgid "@code{containerd} (default: @var{containerd})"
  48506. msgstr ""
  48507. #. type: table
  48508. #: guix-git/doc/guix.texi:32491
  48509. msgid "The Containerd package to use."
  48510. msgstr ""
  48511. #. type: item
  48512. #: guix-git/doc/guix.texi:32492
  48513. #, no-wrap
  48514. msgid "@code{proxy} (default @var{docker-libnetwork-cmd-proxy})"
  48515. msgstr ""
  48516. #. type: table
  48517. #: guix-git/doc/guix.texi:32494
  48518. msgid "The Docker user-land networking proxy package to use."
  48519. msgstr ""
  48520. #. type: item
  48521. #: guix-git/doc/guix.texi:32495
  48522. #, no-wrap
  48523. msgid "@code{enable-proxy?} (default @code{#t})"
  48524. msgstr ""
  48525. #. type: table
  48526. #: guix-git/doc/guix.texi:32497
  48527. msgid "Enable or disable the use of the Docker user-land networking proxy."
  48528. msgstr ""
  48529. #. type: item
  48530. #: guix-git/doc/guix.texi:32498
  48531. #, no-wrap
  48532. msgid "@code{debug?} (default @code{#f})"
  48533. msgstr ""
  48534. #. type: table
  48535. #: guix-git/doc/guix.texi:32500
  48536. msgid "Enable or disable debug output."
  48537. msgstr ""
  48538. #. type: item
  48539. #: guix-git/doc/guix.texi:32501
  48540. #, no-wrap
  48541. msgid "@code{enable-iptables?} (default @code{#t})"
  48542. msgstr ""
  48543. #. type: table
  48544. #: guix-git/doc/guix.texi:32503
  48545. msgid "Enable or disable the addition of iptables rules."
  48546. msgstr ""
  48547. #. type: cindex
  48548. #: guix-git/doc/guix.texi:32507
  48549. #, no-wrap
  48550. msgid "Singularity, container service"
  48551. msgstr ""
  48552. #. type: defvr
  48553. #: guix-git/doc/guix.texi:32508
  48554. #, no-wrap
  48555. msgid "{Scheme Variable} singularity-service-type"
  48556. msgstr ""
  48557. #. type: defvr
  48558. #: guix-git/doc/guix.texi:32513
  48559. 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."
  48560. msgstr ""
  48561. #. type: defvr
  48562. #: guix-git/doc/guix.texi:32517
  48563. 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."
  48564. msgstr ""
  48565. #. type: cindex
  48566. #: guix-git/doc/guix.texi:32519
  48567. #, no-wrap
  48568. msgid "Audit"
  48569. msgstr ""
  48570. #. type: subsubheading
  48571. #: guix-git/doc/guix.texi:32520
  48572. #, no-wrap
  48573. msgid "Auditd Service"
  48574. msgstr ""
  48575. #. type: Plain text
  48576. #: guix-git/doc/guix.texi:32523
  48577. msgid "The @code{(gnu services auditd)} module provides the following service."
  48578. msgstr ""
  48579. #. type: defvr
  48580. #: guix-git/doc/guix.texi:32524
  48581. #, no-wrap
  48582. msgid "{Scheme Variable} auditd-service-type"
  48583. msgstr ""
  48584. #. type: defvr
  48585. #: guix-git/doc/guix.texi:32529
  48586. 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."
  48587. msgstr ""
  48588. #. type: defvr
  48589. #: guix-git/doc/guix.texi:32531
  48590. msgid "Examples of things that can be tracked:"
  48591. msgstr ""
  48592. #. type: enumerate
  48593. #: guix-git/doc/guix.texi:32535
  48594. msgid "File accesses"
  48595. msgstr ""
  48596. #. type: enumerate
  48597. #: guix-git/doc/guix.texi:32537
  48598. msgid "System calls"
  48599. msgstr ""
  48600. #. type: enumerate
  48601. #: guix-git/doc/guix.texi:32539
  48602. msgid "Invoked commands"
  48603. msgstr ""
  48604. #. type: enumerate
  48605. #: guix-git/doc/guix.texi:32541
  48606. msgid "Failed login attempts"
  48607. msgstr ""
  48608. #. type: enumerate
  48609. #: guix-git/doc/guix.texi:32543
  48610. msgid "Firewall filtering"
  48611. msgstr ""
  48612. #. type: enumerate
  48613. #: guix-git/doc/guix.texi:32545
  48614. msgid "Network access"
  48615. msgstr ""
  48616. #. type: defvr
  48617. #: guix-git/doc/guix.texi:32556
  48618. 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}."
  48619. msgstr ""
  48620. #. type: deftp
  48621. #: guix-git/doc/guix.texi:32559
  48622. #, no-wrap
  48623. msgid "{Data Type} auditd-configuration"
  48624. msgstr ""
  48625. #. type: deftp
  48626. #: guix-git/doc/guix.texi:32561
  48627. msgid "This is the data type representing the configuration of auditd."
  48628. msgstr ""
  48629. #. type: item
  48630. #: guix-git/doc/guix.texi:32564
  48631. #, no-wrap
  48632. msgid "@code{audit} (default: @code{audit})"
  48633. msgstr ""
  48634. #. type: table
  48635. #: guix-git/doc/guix.texi:32566
  48636. msgid "The audit package to use."
  48637. msgstr ""
  48638. #. type: item
  48639. #: guix-git/doc/guix.texi:32567
  48640. #, no-wrap
  48641. msgid "@code{configuration-directory} (default: @code{%default-auditd-configuration-directory})"
  48642. msgstr ""
  48643. #. type: table
  48644. #: guix-git/doc/guix.texi:32571
  48645. 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."
  48646. msgstr ""
  48647. #. type: cindex
  48648. #: guix-git/doc/guix.texi:32575
  48649. #, no-wrap
  48650. msgid "rshiny"
  48651. msgstr ""
  48652. #. type: subsubheading
  48653. #: guix-git/doc/guix.texi:32576
  48654. #, no-wrap
  48655. msgid "R-Shiny service"
  48656. msgstr ""
  48657. #. type: Plain text
  48658. #: guix-git/doc/guix.texi:32579
  48659. msgid "The @code{(gnu services science)} module provides the following service."
  48660. msgstr ""
  48661. #. type: defvr
  48662. #: guix-git/doc/guix.texi:32580
  48663. #, no-wrap
  48664. msgid "{Scheme Variable} rshiny-service-type"
  48665. msgstr ""
  48666. #. type: defvr
  48667. #: guix-git/doc/guix.texi:32585
  48668. 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}."
  48669. msgstr ""
  48670. #. type: deftp
  48671. #: guix-git/doc/guix.texi:32586
  48672. #, no-wrap
  48673. msgid "{Data Type} rshiny-configuration"
  48674. msgstr ""
  48675. #. type: deftp
  48676. #: guix-git/doc/guix.texi:32588
  48677. msgid "This is the data type representing the configuration of rshiny."
  48678. msgstr ""
  48679. #. type: item
  48680. #: guix-git/doc/guix.texi:32591
  48681. #, no-wrap
  48682. msgid "@code{package} (default: @code{r-shiny})"
  48683. msgstr ""
  48684. #. type: table
  48685. #: guix-git/doc/guix.texi:32593
  48686. msgid "The package to use."
  48687. msgstr ""
  48688. #. type: item
  48689. #: guix-git/doc/guix.texi:32594
  48690. #, no-wrap
  48691. msgid "@code{binary} (defaunlt @code{\"rshiny\"})"
  48692. msgstr ""
  48693. #. type: table
  48694. #: guix-git/doc/guix.texi:32597
  48695. msgid "The name of the binary or shell script located at @code{package/bin/} to run when the service is run."
  48696. msgstr ""
  48697. #. type: table
  48698. #: guix-git/doc/guix.texi:32599
  48699. msgid "The common way to create this file is as follows:"
  48700. msgstr ""
  48701. #. type: lisp
  48702. #: guix-git/doc/guix.texi:32617
  48703. #, no-wrap
  48704. msgid ""
  48705. "@dots{}\n"
  48706. "(let* ((out (assoc-ref %outputs \"out\"))\n"
  48707. " (targetdir (string-append out \"/share/\" ,name))\n"
  48708. " (app (string-append out \"/bin/\" ,name))\n"
  48709. " (Rbin (string-append (assoc-ref %build-inputs \"r-min\")\n"
  48710. " \"/bin/Rscript\")))\n"
  48711. " ;; @dots{}\n"
  48712. " (mkdir-p (string-append out \"/bin\"))\n"
  48713. " (call-with-output-file app\n"
  48714. " (lambda (port)\n"
  48715. " (format port\n"
  48716. "\"#!~a\n"
  48717. "library(shiny)\n"
  48718. "setwd(\\\"~a\\\")\n"
  48719. "runApp(launch.browser=0, port=4202)~%\\n\"\n"
  48720. " Rbin targetdir))))\n"
  48721. msgstr ""
  48722. #. type: cindex
  48723. #: guix-git/doc/guix.texi:32623
  48724. #, no-wrap
  48725. msgid "Nix"
  48726. msgstr ""
  48727. #. type: subsubheading
  48728. #: guix-git/doc/guix.texi:32624
  48729. #, no-wrap
  48730. msgid "Nix service"
  48731. msgstr ""
  48732. #. type: Plain text
  48733. #: guix-git/doc/guix.texi:32627
  48734. msgid "The @code{(gnu services nix)} module provides the following service."
  48735. msgstr ""
  48736. #. type: defvr
  48737. #: guix-git/doc/guix.texi:32628
  48738. #, no-wrap
  48739. msgid "{Scheme Variable} nix-service-type"
  48740. msgstr ""
  48741. #. type: defvr
  48742. #: guix-git/doc/guix.texi:32633
  48743. 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:"
  48744. msgstr ""
  48745. #. type: lisp
  48746. #: guix-git/doc/guix.texi:32638
  48747. #, no-wrap
  48748. msgid ""
  48749. "(use-modules (gnu))\n"
  48750. "(use-service-modules nix)\n"
  48751. "(use-package-modules package-management)\n"
  48752. "\n"
  48753. msgstr ""
  48754. #. type: lisp
  48755. #: guix-git/doc/guix.texi:32643
  48756. #, no-wrap
  48757. msgid ""
  48758. "(operating-system\n"
  48759. " ;; @dots{}\n"
  48760. " (packages (append (list nix)\n"
  48761. " %base-packages))\n"
  48762. "\n"
  48763. msgstr ""
  48764. #. type: lisp
  48765. #: guix-git/doc/guix.texi:32646
  48766. #, no-wrap
  48767. msgid ""
  48768. " (services (append (list (service nix-service-type))\n"
  48769. " %base-services)))\n"
  48770. msgstr ""
  48771. #. type: defvr
  48772. #: guix-git/doc/guix.texi:32649
  48773. msgid "After @command{guix system reconfigure} configure Nix for your user:"
  48774. msgstr ""
  48775. #. type: item
  48776. #: guix-git/doc/guix.texi:32651
  48777. #, no-wrap
  48778. msgid "Add a Nix channel and update it. See"
  48779. msgstr ""
  48780. #. type: itemize
  48781. #: guix-git/doc/guix.texi:32653
  48782. msgid "@url{https://nixos.org/nix/manual/, Nix Package Manager Guide}."
  48783. msgstr ""
  48784. #. type: item
  48785. #: guix-git/doc/guix.texi:32654
  48786. #, no-wrap
  48787. msgid "Create a symlink to your profile and activate Nix profile:"
  48788. msgstr ""
  48789. #. type: example
  48790. #: guix-git/doc/guix.texi:32660
  48791. #, no-wrap
  48792. msgid ""
  48793. "$ ln -s \"/nix/var/nix/profiles/per-user/$USER/profile\" ~/.nix-profile\n"
  48794. "$ source /run/current-system/profile/etc/profile.d/nix.sh\n"
  48795. msgstr ""
  48796. #. type: deftp
  48797. #: guix-git/doc/guix.texi:32664
  48798. #, no-wrap
  48799. msgid "{Data Type} nix-configuration"
  48800. msgstr ""
  48801. #. type: deftp
  48802. #: guix-git/doc/guix.texi:32666
  48803. msgid "This data type represents the configuration of the Nix daemon."
  48804. msgstr ""
  48805. #. type: item
  48806. #: guix-git/doc/guix.texi:32668
  48807. #, no-wrap
  48808. msgid "@code{nix} (default: @code{nix})"
  48809. msgstr ""
  48810. #. type: table
  48811. #: guix-git/doc/guix.texi:32670
  48812. msgid "The Nix package to use."
  48813. msgstr ""
  48814. #. type: item
  48815. #: guix-git/doc/guix.texi:32671
  48816. #, no-wrap
  48817. msgid "@code{sandbox} (default: @code{#t})"
  48818. msgstr ""
  48819. #. type: table
  48820. #: guix-git/doc/guix.texi:32673
  48821. msgid "Specifies whether builds are sandboxed by default."
  48822. msgstr ""
  48823. #. type: item
  48824. #: guix-git/doc/guix.texi:32674
  48825. #, no-wrap
  48826. msgid "@code{build-sandbox-items} (default: @code{'()})"
  48827. msgstr ""
  48828. #. type: table
  48829. #: guix-git/doc/guix.texi:32677
  48830. msgid "This is a list of strings or objects appended to the @code{build-sandbox-items} field of the configuration file."
  48831. msgstr ""
  48832. #. type: table
  48833. #: guix-git/doc/guix.texi:32685
  48834. msgid "Extra command line options for @code{nix-service-type}."
  48835. msgstr ""
  48836. #. type: cindex
  48837. #: guix-git/doc/guix.texi:32691
  48838. #, no-wrap
  48839. msgid "setuid programs"
  48840. msgstr ""
  48841. #. type: Plain text
  48842. #: guix-git/doc/guix.texi:32701
  48843. 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)."
  48844. msgstr ""
  48845. #. type: Plain text
  48846. #: guix-git/doc/guix.texi:32708
  48847. 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."
  48848. msgstr ""
  48849. #. type: Plain text
  48850. #: guix-git/doc/guix.texi:32715
  48851. 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{passwd} program, which is part of the Shadow package, with a setuid root can be designated like this:"
  48852. msgstr ""
  48853. #. type: example
  48854. #: guix-git/doc/guix.texi:32719
  48855. #, no-wrap
  48856. msgid ""
  48857. "(setuid-program\n"
  48858. " (program (file-append #$shadow \"/bin/passwd\")))\n"
  48859. msgstr ""
  48860. #. type: deftp
  48861. #: guix-git/doc/guix.texi:32721
  48862. #, fuzzy, no-wrap
  48863. #| msgid "{Data Type} build-machine"
  48864. msgid "{Data Type} setuid-program"
  48865. msgstr "build-machine {Data Type}"
  48866. #. type: deftp
  48867. #: guix-git/doc/guix.texi:32723
  48868. msgid "This data type represents a program with a setuid or setgid bit set."
  48869. msgstr ""
  48870. #. type: code{#1}
  48871. #: guix-git/doc/guix.texi:32725
  48872. #, no-wrap
  48873. msgid "program"
  48874. msgstr ""
  48875. #. type: table
  48876. #: guix-git/doc/guix.texi:32727
  48877. msgid "A file-like object having its setuid and/or setgid bit set."
  48878. msgstr ""
  48879. #. type: item
  48880. #: guix-git/doc/guix.texi:32728
  48881. #, fuzzy, no-wrap
  48882. #| msgid "@code{shared?} (default: @code{#t})"
  48883. msgid "@code{setuid?} (default: @code{#t})"
  48884. msgstr "@code{shared?} (padrão: @code{#t})"
  48885. #. type: table
  48886. #: guix-git/doc/guix.texi:32730
  48887. msgid "Whether to set user setuid bit."
  48888. msgstr ""
  48889. #. type: item
  48890. #: guix-git/doc/guix.texi:32731
  48891. #, fuzzy, no-wrap
  48892. #| msgid "@code{id} (default: @code{#f})"
  48893. msgid "@code{setgid?} (default: @code{#f})"
  48894. msgstr "@code{id} (default: @code{#f})"
  48895. #. type: table
  48896. #: guix-git/doc/guix.texi:32733
  48897. msgid "Whether to set group setgid bit."
  48898. msgstr ""
  48899. #. type: item
  48900. #: guix-git/doc/guix.texi:32734
  48901. #, fuzzy, no-wrap
  48902. #| msgid "@code{users} (default: @code{#f})"
  48903. msgid "@code{user} (default: @code{0})"
  48904. msgstr "@code{users} (default: @code{#f})"
  48905. #. type: table
  48906. #: guix-git/doc/guix.texi:32737
  48907. msgid "UID (integer) or user name (string) for the user owner of the program, defaults to root."
  48908. msgstr ""
  48909. #. type: item
  48910. #: guix-git/doc/guix.texi:32738
  48911. #, fuzzy, no-wrap
  48912. #| msgid "@code{hangup?} (default: @code{#f})"
  48913. msgid "@code{group} (default: @code{0})"
  48914. msgstr "@code{hangup?} (padrão: @code{#f})"
  48915. #. type: table
  48916. #: guix-git/doc/guix.texi:32741
  48917. msgid "GID (integer) goup name (string) for the group owner of the program, defaults to root."
  48918. msgstr ""
  48919. #. type: Plain text
  48920. #: guix-git/doc/guix.texi:32747
  48921. msgid "A default set of setuid programs is defined by the @code{%setuid-programs} variable of the @code{(gnu system)} module."
  48922. msgstr ""
  48923. #. type: defvr
  48924. #: guix-git/doc/guix.texi:32748
  48925. #, no-wrap
  48926. msgid "{Scheme Variable} %setuid-programs"
  48927. msgstr ""
  48928. #. type: defvr
  48929. #: guix-git/doc/guix.texi:32751
  48930. msgid "A list of @code{<setuid-program>} denoting common programs that are setuid-root."
  48931. msgstr ""
  48932. #. type: defvr
  48933. #: guix-git/doc/guix.texi:32754
  48934. msgid "The list includes commands such as @command{passwd}, @command{ping}, @command{su}, and @command{sudo}."
  48935. msgstr ""
  48936. #. type: Plain text
  48937. #: guix-git/doc/guix.texi:32760
  48938. 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."
  48939. msgstr ""
  48940. #. type: cindex
  48941. #: guix-git/doc/guix.texi:32764
  48942. #, no-wrap
  48943. msgid "HTTPS, certificates"
  48944. msgstr ""
  48945. #. type: cindex
  48946. #: guix-git/doc/guix.texi:32765
  48947. #, no-wrap
  48948. msgid "X.509 certificates"
  48949. msgstr "Certificados X.509"
  48950. #. type: cindex
  48951. #: guix-git/doc/guix.texi:32766
  48952. #, no-wrap
  48953. msgid "TLS"
  48954. msgstr ""
  48955. #. type: Plain text
  48956. #: guix-git/doc/guix.texi:32773
  48957. 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."
  48958. msgstr ""
  48959. #. type: Plain text
  48960. #: guix-git/doc/guix.texi:32777
  48961. 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."
  48962. msgstr ""
  48963. #. type: Plain text
  48964. #: guix-git/doc/guix.texi:32781
  48965. 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."
  48966. msgstr ""
  48967. #. type: Plain text
  48968. #: guix-git/doc/guix.texi:32788
  48969. 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."
  48970. msgstr ""
  48971. #. type: Plain text
  48972. #: guix-git/doc/guix.texi:32793
  48973. 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."
  48974. msgstr ""
  48975. #. type: Plain text
  48976. #: guix-git/doc/guix.texi:32803
  48977. 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:"
  48978. msgstr ""
  48979. #. type: example
  48980. #: guix-git/doc/guix.texi:32809
  48981. #, no-wrap
  48982. msgid ""
  48983. "guix install nss-certs\n"
  48984. "export SSL_CERT_DIR=\"$HOME/.guix-profile/etc/ssl/certs\"\n"
  48985. "export SSL_CERT_FILE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  48986. "export GIT_SSL_CAINFO=\"$SSL_CERT_FILE\"\n"
  48987. msgstr ""
  48988. #. type: Plain text
  48989. #: guix-git/doc/guix.texi:32814
  48990. 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:"
  48991. msgstr ""
  48992. #. type: example
  48993. #: guix-git/doc/guix.texi:32818
  48994. #, no-wrap
  48995. msgid ""
  48996. "guix install nss-certs\n"
  48997. "export CURL_CA_BUNDLE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  48998. msgstr ""
  48999. #. type: Plain text
  49000. #: guix-git/doc/guix.texi:32822
  49001. msgid "For other applications you may want to look up the required environment variable in the relevant documentation."
  49002. msgstr ""
  49003. #. type: cindex
  49004. #: guix-git/doc/guix.texi:32827
  49005. #, no-wrap
  49006. msgid "name service switch"
  49007. msgstr ""
  49008. #. type: cindex
  49009. #: guix-git/doc/guix.texi:32828
  49010. #, no-wrap
  49011. msgid "NSS"
  49012. msgstr ""
  49013. #. type: Plain text
  49014. #: guix-git/doc/guix.texi:32837
  49015. 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})."
  49016. msgstr ""
  49017. #. type: Plain text
  49018. #: guix-git/doc/guix.texi:32844
  49019. 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}})."
  49020. msgstr ""
  49021. #. type: cindex
  49022. #: guix-git/doc/guix.texi:32845
  49023. #, no-wrap
  49024. msgid "nss-mdns"
  49025. msgstr ""
  49026. #. type: cindex
  49027. #: guix-git/doc/guix.texi:32846
  49028. #, no-wrap
  49029. msgid ".local, host name lookup"
  49030. msgstr ""
  49031. #. type: Plain text
  49032. #: guix-git/doc/guix.texi:32851
  49033. 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}:"
  49034. msgstr ""
  49035. #. type: lisp
  49036. #: guix-git/doc/guix.texi:32855
  49037. #, no-wrap
  49038. msgid ""
  49039. "(name-service-switch\n"
  49040. " (hosts (list %files ;first, check /etc/hosts\n"
  49041. "\n"
  49042. msgstr ""
  49043. #. type: lisp
  49044. #: guix-git/doc/guix.texi:32860
  49045. #, no-wrap
  49046. msgid ""
  49047. " ;; If the above did not succeed, try\n"
  49048. " ;; with 'mdns_minimal'.\n"
  49049. " (name-service\n"
  49050. " (name \"mdns_minimal\")\n"
  49051. "\n"
  49052. msgstr ""
  49053. #. type: lisp
  49054. #: guix-git/doc/guix.texi:32866
  49055. #, no-wrap
  49056. msgid ""
  49057. " ;; 'mdns_minimal' is authoritative for\n"
  49058. " ;; '.local'. When it returns \"not found\",\n"
  49059. " ;; no need to try the next methods.\n"
  49060. " (reaction (lookup-specification\n"
  49061. " (not-found => return))))\n"
  49062. "\n"
  49063. msgstr ""
  49064. #. type: lisp
  49065. #: guix-git/doc/guix.texi:32870
  49066. #, no-wrap
  49067. msgid ""
  49068. " ;; Then fall back to DNS.\n"
  49069. " (name-service\n"
  49070. " (name \"dns\"))\n"
  49071. "\n"
  49072. msgstr ""
  49073. #. type: lisp
  49074. #: guix-git/doc/guix.texi:32874
  49075. #, no-wrap
  49076. msgid ""
  49077. " ;; Finally, try with the \"full\" 'mdns'.\n"
  49078. " (name-service\n"
  49079. " (name \"mdns\")))))\n"
  49080. msgstr ""
  49081. #. type: Plain text
  49082. #: guix-git/doc/guix.texi:32879
  49083. 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."
  49084. msgstr ""
  49085. #. type: Plain text
  49086. #: guix-git/doc/guix.texi:32887
  49087. 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}})."
  49088. msgstr ""
  49089. #. type: Plain text
  49090. #: guix-git/doc/guix.texi:32890
  49091. msgid "For convenience, the following variables provide typical NSS configurations."
  49092. msgstr ""
  49093. #. type: defvr
  49094. #: guix-git/doc/guix.texi:32891
  49095. #, no-wrap
  49096. msgid "{Scheme Variable} %default-nss"
  49097. msgstr ""
  49098. #. type: defvr
  49099. #: guix-git/doc/guix.texi:32894
  49100. msgid "This is the default name service switch configuration, a @code{name-service-switch} object."
  49101. msgstr ""
  49102. #. type: defvr
  49103. #: guix-git/doc/guix.texi:32896
  49104. #, no-wrap
  49105. msgid "{Scheme Variable} %mdns-host-lookup-nss"
  49106. msgstr ""
  49107. #. type: defvr
  49108. #: guix-git/doc/guix.texi:32899
  49109. 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}."
  49110. msgstr ""
  49111. #. type: Plain text
  49112. #: guix-git/doc/guix.texi:32909
  49113. 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}."
  49114. msgstr ""
  49115. #. type: deftp
  49116. #: guix-git/doc/guix.texi:32910
  49117. #, no-wrap
  49118. msgid "{Data Type} name-service-switch"
  49119. msgstr ""
  49120. #. type: deftp
  49121. #: guix-git/doc/guix.texi:32915
  49122. 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."
  49123. msgstr ""
  49124. #. type: item
  49125. #: guix-git/doc/guix.texi:32917
  49126. #, no-wrap
  49127. msgid "aliases"
  49128. msgstr ""
  49129. #. type: itemx
  49130. #: guix-git/doc/guix.texi:32918
  49131. #, no-wrap
  49132. msgid "ethers"
  49133. msgstr ""
  49134. #. type: itemx
  49135. #: guix-git/doc/guix.texi:32920
  49136. #, no-wrap
  49137. msgid "gshadow"
  49138. msgstr ""
  49139. #. type: itemx
  49140. #: guix-git/doc/guix.texi:32921
  49141. #, no-wrap
  49142. msgid "hosts"
  49143. msgstr ""
  49144. #. type: itemx
  49145. #: guix-git/doc/guix.texi:32922
  49146. #, no-wrap
  49147. msgid "initgroups"
  49148. msgstr ""
  49149. #. type: itemx
  49150. #: guix-git/doc/guix.texi:32923
  49151. #, no-wrap
  49152. msgid "netgroup"
  49153. msgstr ""
  49154. #. type: itemx
  49155. #: guix-git/doc/guix.texi:32924
  49156. #, no-wrap
  49157. msgid "networks"
  49158. msgstr ""
  49159. #. type: itemx
  49160. #: guix-git/doc/guix.texi:32927
  49161. #, no-wrap
  49162. msgid "rpc"
  49163. msgstr ""
  49164. #. type: itemx
  49165. #: guix-git/doc/guix.texi:32929
  49166. #, no-wrap
  49167. msgid "shadow"
  49168. msgstr ""
  49169. #. type: table
  49170. #: guix-git/doc/guix.texi:32932
  49171. msgid "The system databases handled by the NSS@. Each of these fields must be a list of @code{<name-service>} objects (see below)."
  49172. msgstr ""
  49173. #. type: deftp
  49174. #: guix-git/doc/guix.texi:32935
  49175. #, no-wrap
  49176. msgid "{Data Type} name-service"
  49177. msgstr ""
  49178. #. type: deftp
  49179. #: guix-git/doc/guix.texi:32939
  49180. msgid "This is the data type representing an actual name service and the associated lookup action."
  49181. msgstr ""
  49182. #. type: table
  49183. #: guix-git/doc/guix.texi:32944
  49184. msgid "A string denoting the name service (@pxref{Services in the NSS configuration,,, libc, The GNU C Library Reference Manual})."
  49185. msgstr ""
  49186. #. type: table
  49187. #: guix-git/doc/guix.texi:32949
  49188. 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}})."
  49189. msgstr ""
  49190. #. type: item
  49191. #: guix-git/doc/guix.texi:32950
  49192. #, no-wrap
  49193. msgid "reaction"
  49194. msgstr ""
  49195. #. type: table
  49196. #: guix-git/doc/guix.texi:32954
  49197. 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:"
  49198. msgstr ""
  49199. #. type: lisp
  49200. #: guix-git/doc/guix.texi:32958
  49201. #, no-wrap
  49202. msgid ""
  49203. "(lookup-specification (unavailable => continue)\n"
  49204. " (success => return))\n"
  49205. msgstr ""
  49206. #. type: Plain text
  49207. #: guix-git/doc/guix.texi:32972
  49208. 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."
  49209. msgstr ""
  49210. #. type: Plain text
  49211. #: guix-git/doc/guix.texi:32981
  49212. 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:"
  49213. msgstr ""
  49214. #. type: lisp
  49215. #: guix-git/doc/guix.texi:32986
  49216. #, no-wrap
  49217. msgid ""
  49218. "(operating-system\n"
  49219. " ;; @dots{}\n"
  49220. " (initrd-modules (cons \"megaraid_sas\" %base-initrd-modules)))\n"
  49221. msgstr ""
  49222. #. type: defvr
  49223. #: guix-git/doc/guix.texi:32988
  49224. #, no-wrap
  49225. msgid "{Scheme Variable} %base-initrd-modules"
  49226. msgstr ""
  49227. #. type: defvr
  49228. #: guix-git/doc/guix.texi:32990
  49229. msgid "This is the list of kernel modules included in the initrd by default."
  49230. msgstr ""
  49231. #. type: Plain text
  49232. #: guix-git/doc/guix.texi:32998
  49233. 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."
  49234. msgstr ""
  49235. #. type: Plain text
  49236. #: guix-git/doc/guix.texi:33003
  49237. 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:"
  49238. msgstr ""
  49239. #. type: lisp
  49240. #: guix-git/doc/guix.texi:33011
  49241. #, no-wrap
  49242. msgid ""
  49243. "(initrd (lambda (file-systems . rest)\n"
  49244. " ;; Create a standard initrd but set up networking\n"
  49245. " ;; with the parameters QEMU expects by default.\n"
  49246. " (apply base-initrd file-systems\n"
  49247. " #:qemu-networking? #t\n"
  49248. " rest)))\n"
  49249. msgstr ""
  49250. #. type: Plain text
  49251. #: guix-git/doc/guix.texi:33016
  49252. 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."
  49253. msgstr ""
  49254. #. type: Plain text
  49255. #: guix-git/doc/guix.texi:33023
  49256. 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."
  49257. msgstr ""
  49258. #. type: Plain text
  49259. #: guix-git/doc/guix.texi:33028
  49260. 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:"
  49261. msgstr ""
  49262. #. type: item
  49263. #: guix-git/doc/guix.texi:33030
  49264. #, no-wrap
  49265. msgid "--load=@var{boot}"
  49266. msgstr ""
  49267. #. type: table
  49268. #: guix-git/doc/guix.texi:33033
  49269. msgid "Tell the initial RAM disk to load @var{boot}, a file containing a Scheme program, once it has mounted the root file system."
  49270. msgstr ""
  49271. #. type: table
  49272. #: guix-git/doc/guix.texi:33037
  49273. 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."
  49274. msgstr ""
  49275. #. type: item
  49276. #: guix-git/doc/guix.texi:33038
  49277. #, no-wrap
  49278. msgid "--root=@var{root}"
  49279. msgstr ""
  49280. #. type: table
  49281. #: guix-git/doc/guix.texi:33043
  49282. 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."
  49283. msgstr ""
  49284. #. type: table
  49285. #: guix-git/doc/guix.texi:33047
  49286. msgid "Have @file{/run/booted-system} and @file{/run/current-system} point to @var{system}."
  49287. msgstr ""
  49288. #. type: item
  49289. #: guix-git/doc/guix.texi:33048
  49290. #, no-wrap
  49291. msgid "modprobe.blacklist=@var{modules}@dots{}"
  49292. msgstr ""
  49293. #. type: cindex
  49294. #: guix-git/doc/guix.texi:33049
  49295. #, no-wrap
  49296. msgid "module, black-listing"
  49297. msgstr ""
  49298. #. type: cindex
  49299. #: guix-git/doc/guix.texi:33050
  49300. #, no-wrap
  49301. msgid "black list, of kernel modules"
  49302. msgstr ""
  49303. #. type: table
  49304. #: guix-git/doc/guix.texi:33055
  49305. 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}."
  49306. msgstr ""
  49307. #. type: item
  49308. #: guix-git/doc/guix.texi:33056
  49309. #, no-wrap
  49310. msgid "--repl"
  49311. msgstr ""
  49312. #. type: table
  49313. #: guix-git/doc/guix.texi:33062
  49314. 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."
  49315. msgstr ""
  49316. #. type: Plain text
  49317. #: guix-git/doc/guix.texi:33068
  49318. 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."
  49319. msgstr ""
  49320. #. type: deffn
  49321. #: guix-git/doc/guix.texi:33071
  49322. #, no-wrap
  49323. msgid "{Scheme Procedure} raw-initrd @var{file-systems} @"
  49324. msgstr ""
  49325. #. type: deffn
  49326. #: guix-git/doc/guix.texi:33085
  49327. 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."
  49328. msgstr ""
  49329. #. type: deffn
  49330. #: guix-git/doc/guix.texi:33091 guix-git/doc/guix.texi:33115
  49331. 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."
  49332. msgstr ""
  49333. #. type: deffn
  49334. #: guix-git/doc/guix.texi:33095
  49335. 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."
  49336. msgstr ""
  49337. #. type: deffn
  49338. #: guix-git/doc/guix.texi:33098
  49339. msgid "When @var{volatile-root?} is true, the root file system is writable but any changes to it are lost."
  49340. msgstr ""
  49341. #. type: deffn
  49342. #: guix-git/doc/guix.texi:33100
  49343. #, no-wrap
  49344. msgid "{Scheme Procedure} base-initrd @var{file-systems} @"
  49345. msgstr ""
  49346. #. type: deffn
  49347. #: guix-git/doc/guix.texi:33109
  49348. 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."
  49349. msgstr ""
  49350. #. type: deffn
  49351. #: guix-git/doc/guix.texi:33117
  49352. msgid "@var{qemu-networking?} and @var{volatile-root?} behaves as in @code{raw-initrd}."
  49353. msgstr ""
  49354. #. type: deffn
  49355. #: guix-git/doc/guix.texi:33122
  49356. 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."
  49357. msgstr ""
  49358. #. type: Plain text
  49359. #: guix-git/doc/guix.texi:33129
  49360. 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."
  49361. msgstr ""
  49362. #. type: deffn
  49363. #: guix-git/doc/guix.texi:33130
  49364. #, no-wrap
  49365. msgid "{Scheme Procedure} expression->initrd @var{exp} @"
  49366. msgstr ""
  49367. #. type: deffn
  49368. #: guix-git/doc/guix.texi:33136
  49369. 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."
  49370. msgstr ""
  49371. #. type: cindex
  49372. #: guix-git/doc/guix.texi:33142
  49373. #, no-wrap
  49374. msgid "boot loader"
  49375. msgstr ""
  49376. #. type: Plain text
  49377. #: guix-git/doc/guix.texi:33149
  49378. 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."
  49379. msgstr ""
  49380. #. type: Plain text
  49381. #: guix-git/doc/guix.texi:33154
  49382. 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."
  49383. msgstr ""
  49384. #. type: deftp
  49385. #: guix-git/doc/guix.texi:33155
  49386. #, no-wrap
  49387. msgid "{Data Type} bootloader-configuration"
  49388. msgstr ""
  49389. #. type: deftp
  49390. #: guix-git/doc/guix.texi:33157
  49391. msgid "The type of a bootloader configuration declaration."
  49392. msgstr ""
  49393. #. type: cindex
  49394. #: guix-git/doc/guix.texi:33161
  49395. #, no-wrap
  49396. msgid "EFI, bootloader"
  49397. msgstr ""
  49398. #. type: cindex
  49399. #: guix-git/doc/guix.texi:33162
  49400. #, no-wrap
  49401. msgid "UEFI, bootloader"
  49402. msgstr ""
  49403. #. type: cindex
  49404. #: guix-git/doc/guix.texi:33163
  49405. #, no-wrap
  49406. msgid "BIOS, bootloader"
  49407. msgstr ""
  49408. #. type: table
  49409. #: guix-git/doc/guix.texi:33168
  49410. 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."
  49411. msgstr ""
  49412. #. type: cindex
  49413. #: guix-git/doc/guix.texi:33169
  49414. #, no-wrap
  49415. msgid "ARM, bootloaders"
  49416. msgstr ""
  49417. #. type: cindex
  49418. #: guix-git/doc/guix.texi:33170
  49419. #, no-wrap
  49420. msgid "AArch64, bootloaders"
  49421. msgstr ""
  49422. #. type: table
  49423. #: guix-git/doc/guix.texi:33175
  49424. 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}."
  49425. msgstr ""
  49426. #. type: table
  49427. #: guix-git/doc/guix.texi:33181
  49428. 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."
  49429. msgstr ""
  49430. #. type: table
  49431. #: guix-git/doc/guix.texi:33185
  49432. msgid "@code{grub-bootloader} allows you to boot in particular Intel-based machines in ``legacy'' BIOS mode."
  49433. msgstr ""
  49434. #. type: vindex
  49435. #: guix-git/doc/guix.texi:33186
  49436. #, no-wrap
  49437. msgid "grub-efi-netboot-bootloader"
  49438. msgstr ""
  49439. #. type: table
  49440. #: guix-git/doc/guix.texi:33190
  49441. 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."
  49442. msgstr ""
  49443. #. type: table
  49444. #: guix-git/doc/guix.texi:33196
  49445. msgid "The installation of the @code{grub-efi-netboot-bootloader} generates the content of the TFTP root directory at @code{target} (@pxref{Bootloader Configuration, @code{target}}), to be served by a TFTP server. You may want to mount your TFTP server directory onto @code{target} to move the required files to the TFTP server automatically."
  49446. msgstr ""
  49447. #. type: table
  49448. #: guix-git/doc/guix.texi:33205
  49449. 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}."
  49450. msgstr ""
  49451. #. type: table
  49452. #: guix-git/doc/guix.texi:33213
  49453. msgid "Two symlinks are created to make this possible. The first symlink is @code{target}@file{/efi/Guix/boot/grub/grub.cfg} pointing to @file{../../../boot/grub/grub.cfg}, where @code{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 @code{target}@file{/gnu/store} and points to @file{../gnu/store}. This link is leaving the served TFTP root directory."
  49454. msgstr ""
  49455. #. type: table
  49456. #: guix-git/doc/guix.texi:33218
  49457. 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{target} directory—usually @file{/boot}—from that same root file system for your Guix system. In this constellation the symlinks will work."
  49458. msgstr ""
  49459. #. type: table
  49460. #: guix-git/doc/guix.texi:33222
  49461. 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 at @code{target}."
  49462. msgstr ""
  49463. #. type: table
  49464. #: guix-git/doc/guix.texi:33227
  49465. 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."
  49466. msgstr ""
  49467. #. type: table
  49468. #: guix-git/doc/guix.texi:33232
  49469. 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}."
  49470. msgstr ""
  49471. #. type: table
  49472. #: guix-git/doc/guix.texi:33236
  49473. msgid "This is a string denoting the target onto which to install the bootloader."
  49474. msgstr ""
  49475. #. type: table
  49476. #: guix-git/doc/guix.texi:33245
  49477. msgid "The interpretation depends on the bootloader in question. For @code{grub-bootloader}, for example, it should be a device name 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}, it should be the mount point of the EFI file system, usually @file{/boot/efi}. For @code{grub-efi-netboot-bootloader}, @code{target} should be the mount point corresponding to the TFTP root directory of your TFTP server."
  49478. msgstr ""
  49479. #. type: item
  49480. #: guix-git/doc/guix.texi:33246
  49481. #, no-wrap
  49482. msgid "@code{menu-entries} (default: @code{()})"
  49483. msgstr ""
  49484. #. type: table
  49485. #: guix-git/doc/guix.texi:33250
  49486. 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."
  49487. msgstr ""
  49488. #. type: item
  49489. #: guix-git/doc/guix.texi:33251
  49490. #, no-wrap
  49491. msgid "@code{default-entry} (default: @code{0})"
  49492. msgstr ""
  49493. #. type: table
  49494. #: guix-git/doc/guix.texi:33254
  49495. msgid "The index of the default boot menu entry. Index 0 is for the entry of the current system."
  49496. msgstr ""
  49497. #. type: item
  49498. #: guix-git/doc/guix.texi:33255
  49499. #, no-wrap
  49500. msgid "@code{timeout} (default: @code{5})"
  49501. msgstr ""
  49502. #. type: table
  49503. #: guix-git/doc/guix.texi:33258
  49504. msgid "The number of seconds to wait for keyboard input before booting. Set to 0 to boot immediately, and to -1 to wait indefinitely."
  49505. msgstr ""
  49506. #. type: cindex
  49507. #: guix-git/doc/guix.texi:33259
  49508. #, no-wrap
  49509. msgid "keyboard layout, for the bootloader"
  49510. msgstr "disposição do teclado, para o gerenciador de boot"
  49511. #. type: table
  49512. #: guix-git/doc/guix.texi:33263
  49513. msgid "If this is @code{#f}, the bootloader's menu (if any) uses the default keyboard layout, usually US@tie{}English (``qwerty'')."
  49514. msgstr ""
  49515. #. type: table
  49516. #: guix-git/doc/guix.texi:33266
  49517. msgid "Otherwise, this must be a @code{keyboard-layout} object (@pxref{Keyboard Layout})."
  49518. msgstr ""
  49519. #. type: quotation
  49520. #: guix-git/doc/guix.texi:33270
  49521. msgid "This option is currently ignored by bootloaders other than @code{grub} and @code{grub-efi}."
  49522. msgstr ""
  49523. #. type: item
  49524. #: guix-git/doc/guix.texi:33272
  49525. #, no-wrap
  49526. msgid "@code{theme} (default: @var{#f})"
  49527. msgstr ""
  49528. #. type: table
  49529. #: guix-git/doc/guix.texi:33276
  49530. 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."
  49531. msgstr ""
  49532. #. type: item
  49533. #: guix-git/doc/guix.texi:33277
  49534. #, no-wrap
  49535. msgid "@code{terminal-outputs} (default: @code{'(gfxterm)})"
  49536. msgstr ""
  49537. #. type: table
  49538. #: guix-git/doc/guix.texi:33284
  49539. 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})."
  49540. msgstr ""
  49541. #. type: item
  49542. #: guix-git/doc/guix.texi:33285
  49543. #, no-wrap
  49544. msgid "@code{terminal-inputs} (default: @code{'()})"
  49545. msgstr ""
  49546. #. type: table
  49547. #: guix-git/doc/guix.texi:33293
  49548. 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})."
  49549. msgstr ""
  49550. #. type: item
  49551. #: guix-git/doc/guix.texi:33294
  49552. #, no-wrap
  49553. msgid "@code{serial-unit} (default: @code{#f})"
  49554. msgstr ""
  49555. #. type: table
  49556. #: guix-git/doc/guix.texi:33298
  49557. 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})."
  49558. msgstr ""
  49559. #. type: item
  49560. #: guix-git/doc/guix.texi:33299
  49561. #, no-wrap
  49562. msgid "@code{serial-speed} (default: @code{#f})"
  49563. msgstr ""
  49564. #. type: table
  49565. #: guix-git/doc/guix.texi:33303
  49566. 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})."
  49567. msgstr ""
  49568. #. type: cindex
  49569. #: guix-git/doc/guix.texi:33307
  49570. #, no-wrap
  49571. msgid "dual boot"
  49572. msgstr ""
  49573. #. type: cindex
  49574. #: guix-git/doc/guix.texi:33308
  49575. #, no-wrap
  49576. msgid "boot menu"
  49577. msgstr ""
  49578. #. type: Plain text
  49579. #: guix-git/doc/guix.texi:33314
  49580. 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:"
  49581. msgstr ""
  49582. #. type: lisp
  49583. #: guix-git/doc/guix.texi:33321
  49584. #, no-wrap
  49585. msgid ""
  49586. "(menu-entry\n"
  49587. " (label \"The Other Distro\")\n"
  49588. " (linux \"/boot/old/vmlinux-2.6.32\")\n"
  49589. " (linux-arguments '(\"root=/dev/sda2\"))\n"
  49590. " (initrd \"/boot/old/initrd\"))\n"
  49591. msgstr ""
  49592. #. type: Plain text
  49593. #: guix-git/doc/guix.texi:33324
  49594. msgid "Details below."
  49595. msgstr ""
  49596. #. type: deftp
  49597. #: guix-git/doc/guix.texi:33325
  49598. #, no-wrap
  49599. msgid "{Data Type} menu-entry"
  49600. msgstr ""
  49601. #. type: deftp
  49602. #: guix-git/doc/guix.texi:33327
  49603. msgid "The type of an entry in the bootloader menu."
  49604. msgstr ""
  49605. #. type: table
  49606. #: guix-git/doc/guix.texi:33332
  49607. msgid "The label to show in the menu---e.g., @code{\"GNU\"}."
  49608. msgstr ""
  49609. #. type: item
  49610. #: guix-git/doc/guix.texi:33333
  49611. #, no-wrap
  49612. msgid "@code{linux} (default: @code{#f})"
  49613. msgstr ""
  49614. #. type: table
  49615. #: guix-git/doc/guix.texi:33335
  49616. msgid "The Linux kernel image to boot, for example:"
  49617. msgstr ""
  49618. #. type: lisp
  49619. #: guix-git/doc/guix.texi:33338
  49620. #, no-wrap
  49621. msgid "(file-append linux-libre \"/bzImage\")\n"
  49622. msgstr ""
  49623. #. type: table
  49624. #: guix-git/doc/guix.texi:33343
  49625. 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:"
  49626. msgstr ""
  49627. #. type: example
  49628. #: guix-git/doc/guix.texi:33346
  49629. #, no-wrap
  49630. msgid "\"(hd0,msdos1)/boot/vmlinuz\"\n"
  49631. msgstr ""
  49632. #. type: table
  49633. #: guix-git/doc/guix.texi:33350
  49634. msgid "If the device is specified explicitly as above, then the @code{device} field is ignored entirely."
  49635. msgstr ""
  49636. #. type: item
  49637. #: guix-git/doc/guix.texi:33351
  49638. #, no-wrap
  49639. msgid "@code{linux-arguments} (default: @code{()})"
  49640. msgstr ""
  49641. #. type: table
  49642. #: guix-git/doc/guix.texi:33354
  49643. msgid "The list of extra Linux kernel command-line arguments---e.g., @code{(\"console=ttyS0\")}."
  49644. msgstr ""
  49645. #. type: item
  49646. #: guix-git/doc/guix.texi:33355
  49647. #, no-wrap
  49648. msgid "@code{initrd} (default: @code{#f})"
  49649. msgstr ""
  49650. #. type: table
  49651. #: guix-git/doc/guix.texi:33358
  49652. msgid "A G-Expression or string denoting the file name of the initial RAM disk to use (@pxref{G-Expressions})."
  49653. msgstr ""
  49654. #. type: item
  49655. #: guix-git/doc/guix.texi:33359
  49656. #, no-wrap
  49657. msgid "@code{device} (default: @code{#f})"
  49658. msgstr "@code{device} (default: @code{#f})"
  49659. #. type: table
  49660. #: guix-git/doc/guix.texi:33362
  49661. 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})."
  49662. msgstr ""
  49663. #. type: table
  49664. #: guix-git/doc/guix.texi:33368
  49665. 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}."
  49666. msgstr ""
  49667. #. type: item
  49668. #: guix-git/doc/guix.texi:33369
  49669. #, no-wrap
  49670. msgid "@code{multiboot-kernel} (default: @code{#f})"
  49671. msgstr ""
  49672. #. type: table
  49673. #: guix-git/doc/guix.texi:33373
  49674. 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:"
  49675. msgstr ""
  49676. #. type: lisp
  49677. #: guix-git/doc/guix.texi:33376
  49678. #, no-wrap
  49679. msgid "(file-append mach \"/boot/gnumach\")\n"
  49680. msgstr ""
  49681. #. type: item
  49682. #: guix-git/doc/guix.texi:33378
  49683. #, no-wrap
  49684. msgid "@code{multiboot-arguments} (default: @code{()})"
  49685. msgstr ""
  49686. #. type: table
  49687. #: guix-git/doc/guix.texi:33380
  49688. msgid "The list of extra command-line arguments for the multiboot-kernel."
  49689. msgstr ""
  49690. #. type: item
  49691. #: guix-git/doc/guix.texi:33381
  49692. #, no-wrap
  49693. msgid "@code{multiboot-modules} (default: @code{()})"
  49694. msgstr ""
  49695. #. type: table
  49696. #: guix-git/doc/guix.texi:33383
  49697. msgid "The list of commands for loading Multiboot modules. For example:"
  49698. msgstr ""
  49699. #. type: lisp
  49700. #: guix-git/doc/guix.texi:33389
  49701. #, no-wrap
  49702. msgid ""
  49703. "(list (list (file-append hurd \"/hurd/ext2fs.static\") \"ext2fs\"\n"
  49704. " @dots{})\n"
  49705. " (list (file-append libc \"/lib/ld.so.1\") \"exec\"\n"
  49706. " @dots{}))\n"
  49707. msgstr ""
  49708. #. type: cindex
  49709. #: guix-git/doc/guix.texi:33394 guix-git/doc/guix.texi:33453
  49710. #, no-wrap
  49711. msgid "HDPI"
  49712. msgstr ""
  49713. #. type: cindex
  49714. #: guix-git/doc/guix.texi:33395 guix-git/doc/guix.texi:33454
  49715. #, no-wrap
  49716. msgid "HiDPI"
  49717. msgstr ""
  49718. #. type: cindex
  49719. #: guix-git/doc/guix.texi:33396 guix-git/doc/guix.texi:33455
  49720. #, no-wrap
  49721. msgid "resolution"
  49722. msgstr ""
  49723. #. type: Plain text
  49724. #: guix-git/doc/guix.texi:33400
  49725. msgid "For now only GRUB has theme support. GRUB themes are created using the @code{grub-theme} form, which is not fully documented yet."
  49726. msgstr ""
  49727. #. type: deftp
  49728. #: guix-git/doc/guix.texi:33401
  49729. #, no-wrap
  49730. msgid "{Data Type} grub-theme"
  49731. msgstr ""
  49732. #. type: deftp
  49733. #: guix-git/doc/guix.texi:33403
  49734. msgid "Data type representing the configuration of the GRUB theme."
  49735. msgstr ""
  49736. #. type: item
  49737. #: guix-git/doc/guix.texi:33405
  49738. #, no-wrap
  49739. msgid "@code{gfxmode} (default: @code{'(\"auto\")})"
  49740. msgstr ""
  49741. #. type: table
  49742. #: guix-git/doc/guix.texi:33408
  49743. msgid "The GRUB @code{gfxmode} to set (a list of screen resolution strings, @pxref{gfxmode,,, grub, GNU GRUB manual})."
  49744. msgstr ""
  49745. #. type: deffn
  49746. #: guix-git/doc/guix.texi:33411
  49747. #, no-wrap
  49748. msgid "{Scheme Procedure} grub-theme"
  49749. msgstr ""
  49750. #. type: deffn
  49751. #: guix-git/doc/guix.texi:33415
  49752. msgid "Return the default GRUB theme used by the operating system if no @code{theme} field is specified in @code{bootloader-configuration} record."
  49753. msgstr ""
  49754. #. type: deffn
  49755. #: guix-git/doc/guix.texi:33418
  49756. msgid "It comes with a fancy background image displaying the GNU and Guix logos."
  49757. msgstr ""
  49758. #. type: Plain text
  49759. #: guix-git/doc/guix.texi:33422
  49760. msgid "For example, to override the default resolution, you may use something like"
  49761. msgstr ""
  49762. #. type: lisp
  49763. #: guix-git/doc/guix.texi:33430
  49764. #, no-wrap
  49765. msgid ""
  49766. "(bootloader\n"
  49767. " (bootloader-configuration\n"
  49768. " ;; @dots{}\n"
  49769. " (theme (grub-theme\n"
  49770. " (inherit (grub-theme))\n"
  49771. " (gfxmode '(\"1024x786x32\" \"auto\"))))))\n"
  49772. msgstr ""
  49773. #. type: section
  49774. #: guix-git/doc/guix.texi:33433
  49775. #, no-wrap
  49776. msgid "Invoking @code{guix system}"
  49777. msgstr "Invocando @code{guix system}"
  49778. #. type: Plain text
  49779. #: guix-git/doc/guix.texi:33438
  49780. 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:"
  49781. msgstr ""
  49782. #. type: example
  49783. #: guix-git/doc/guix.texi:33441
  49784. #, no-wrap
  49785. msgid "guix system @var{options}@dots{} @var{action} @var{file}\n"
  49786. msgstr ""
  49787. #. type: Plain text
  49788. #: guix-git/doc/guix.texi:33447
  49789. 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:"
  49790. msgstr ""
  49791. #. type: item
  49792. #: guix-git/doc/guix.texi:33449
  49793. #, no-wrap
  49794. msgid "search"
  49795. msgstr "pesquisa"
  49796. #. type: table
  49797. #: guix-git/doc/guix.texi:33452
  49798. msgid "Display available service type definitions that match the given regular expressions, sorted by relevance:"
  49799. msgstr ""
  49800. #. type: example
  49801. #: guix-git/doc/guix.texi:33474
  49802. #, no-wrap
  49803. msgid ""
  49804. "$ guix system search console\n"
  49805. "name: console-fonts\n"
  49806. "location: gnu/services/base.scm:806:2\n"
  49807. "extends: shepherd-root\n"
  49808. "description: Install the given fonts on the specified ttys (fonts are per\n"
  49809. "+ virtual console on GNU/Linux). The value of this service is a list of\n"
  49810. "+ tty/font pairs. The font can be the name of a font provided by the `kbd'\n"
  49811. "+ package or any valid argument to `setfont', as in this example:\n"
  49812. "+\n"
  49813. "+ '((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  49814. "+ (\"tty2\" . (file-append\n"
  49815. "+ font-tamzen\n"
  49816. "+ \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  49817. "+ (\"tty3\" . (file-append\n"
  49818. "+ font-terminus\n"
  49819. "+ \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  49820. "relevance: 9\n"
  49821. "\n"
  49822. msgstr ""
  49823. #. type: example
  49824. #: guix-git/doc/guix.texi:33480
  49825. #, no-wrap
  49826. msgid ""
  49827. "name: mingetty\n"
  49828. "location: gnu/services/base.scm:1190:2\n"
  49829. "extends: shepherd-root\n"
  49830. "description: Provide console login using the `mingetty' program.\n"
  49831. "relevance: 2\n"
  49832. "\n"
  49833. msgstr ""
  49834. #. type: example
  49835. #: guix-git/doc/guix.texi:33487
  49836. #, no-wrap
  49837. msgid ""
  49838. "name: login\n"
  49839. "location: gnu/services/base.scm:860:2\n"
  49840. "extends: pam\n"
  49841. "description: Provide a console log-in service as specified by its\n"
  49842. "+ configuration value, a `login-configuration' object.\n"
  49843. "relevance: 2\n"
  49844. "\n"
  49845. msgstr ""
  49846. #. type: example
  49847. #: guix-git/doc/guix.texi:33489
  49848. #, no-wrap
  49849. msgid "@dots{}\n"
  49850. msgstr ""
  49851. #. type: table
  49852. #: guix-git/doc/guix.texi:33494
  49853. 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})."
  49854. msgstr ""
  49855. #. type: item
  49856. #: guix-git/doc/guix.texi:33495
  49857. #, no-wrap
  49858. msgid "reconfigure"
  49859. msgstr ""
  49860. #. type: table
  49861. #: guix-git/doc/guix.texi:33500
  49862. 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.}."
  49863. msgstr ""
  49864. #. type: quotation
  49865. #: guix-git/doc/guix.texi:33508
  49866. 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."
  49867. msgstr ""
  49868. #. type: table
  49869. #: guix-git/doc/guix.texi:33516
  49870. 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})."
  49871. msgstr ""
  49872. #. type: table
  49873. #: guix-git/doc/guix.texi:33522
  49874. 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})."
  49875. msgstr ""
  49876. #. type: table
  49877. #: guix-git/doc/guix.texi:33527
  49878. 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."
  49879. msgstr ""
  49880. #. type: cindex
  49881. #: guix-git/doc/guix.texi:33528 guix-git/doc/guix.texi:33853
  49882. #: guix-git/doc/guix.texi:34805
  49883. #, no-wrap
  49884. msgid "provenance tracking, of the operating system"
  49885. msgstr ""
  49886. #. type: table
  49887. #: guix-git/doc/guix.texi:33533
  49888. 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:"
  49889. msgstr ""
  49890. #. type: example
  49891. #: guix-git/doc/guix.texi:33536
  49892. #, no-wrap
  49893. msgid "guix system describe\n"
  49894. msgstr ""
  49895. #. type: table
  49896. #: guix-git/doc/guix.texi:33542
  49897. 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:"
  49898. msgstr ""
  49899. #. type: example
  49900. #: guix-git/doc/guix.texi:33548
  49901. #, no-wrap
  49902. msgid ""
  49903. "guix time-machine \\\n"
  49904. " -C /var/guix/profiles/system-@var{n}-link/channels.scm -- \\\n"
  49905. " system reconfigure \\\n"
  49906. " /var/guix/profiles/system-@var{n}-link/configuration.scm\n"
  49907. msgstr ""
  49908. #. type: table
  49909. #: guix-git/doc/guix.texi:33554
  49910. 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."
  49911. msgstr ""
  49912. #. type: table
  49913. #: guix-git/doc/guix.texi:33560
  49914. 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}."
  49915. msgstr ""
  49916. #. type: item
  49917. #: guix-git/doc/guix.texi:33561
  49918. #, no-wrap
  49919. msgid "switch-generation"
  49920. msgstr ""
  49921. #. type: table
  49922. #: guix-git/doc/guix.texi:33570
  49923. 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."
  49924. msgstr ""
  49925. #. type: table
  49926. #: guix-git/doc/guix.texi:33574
  49927. msgid "The bootloader itself is not being reinstalled when using this command. Thus, the installed bootloader is used with an updated configuration file."
  49928. msgstr ""
  49929. #. type: table
  49930. #: guix-git/doc/guix.texi:33578
  49931. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to system generation 7:"
  49932. msgstr ""
  49933. #. type: example
  49934. #: guix-git/doc/guix.texi:33581
  49935. #, no-wrap
  49936. msgid "guix system switch-generation 7\n"
  49937. msgstr ""
  49938. #. type: table
  49939. #: guix-git/doc/guix.texi:33589
  49940. 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:"
  49941. msgstr ""
  49942. #. type: example
  49943. #: guix-git/doc/guix.texi:33592
  49944. #, no-wrap
  49945. msgid "guix system switch-generation -- -1\n"
  49946. msgstr ""
  49947. #. type: table
  49948. #: guix-git/doc/guix.texi:33600
  49949. 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."
  49950. msgstr ""
  49951. #. type: table
  49952. #: guix-git/doc/guix.texi:33602
  49953. msgid "This action will fail if the specified generation does not exist."
  49954. msgstr ""
  49955. #. type: item
  49956. #: guix-git/doc/guix.texi:33603
  49957. #, no-wrap
  49958. msgid "roll-back"
  49959. msgstr ""
  49960. #. type: table
  49961. #: guix-git/doc/guix.texi:33609
  49962. 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}."
  49963. msgstr ""
  49964. #. type: table
  49965. #: guix-git/doc/guix.texi:33613
  49966. msgid "Currently, as with @command{switch-generation}, you must reboot after running this action to actually start using the preceding system generation."
  49967. msgstr ""
  49968. #. type: item
  49969. #: guix-git/doc/guix.texi:33614
  49970. #, no-wrap
  49971. msgid "delete-generations"
  49972. msgstr ""
  49973. #. type: cindex
  49974. #: guix-git/doc/guix.texi:33615
  49975. #, no-wrap
  49976. msgid "deleting system generations"
  49977. msgstr ""
  49978. #. type: cindex
  49979. #: guix-git/doc/guix.texi:33616
  49980. #, no-wrap
  49981. msgid "saving space"
  49982. msgstr ""
  49983. #. type: table
  49984. #: guix-git/doc/guix.texi:33620
  49985. msgid "Delete system generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  49986. msgstr ""
  49987. #. type: table
  49988. #: guix-git/doc/guix.texi:33624
  49989. 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:"
  49990. msgstr ""
  49991. #. type: example
  49992. #: guix-git/doc/guix.texi:33627
  49993. #, no-wrap
  49994. msgid "guix system delete-generations\n"
  49995. msgstr ""
  49996. #. type: table
  49997. #: guix-git/doc/guix.texi:33631
  49998. msgid "You can also select the generations you want to delete. The example below deletes all the system generations that are more than two month old:"
  49999. msgstr ""
  50000. #. type: example
  50001. #: guix-git/doc/guix.texi:33634
  50002. #, no-wrap
  50003. msgid "guix system delete-generations 2m\n"
  50004. msgstr ""
  50005. #. type: table
  50006. #: guix-git/doc/guix.texi:33639
  50007. 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."
  50008. msgstr ""
  50009. #. type: table
  50010. #: guix-git/doc/guix.texi:33644
  50011. 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."
  50012. msgstr ""
  50013. #. type: item
  50014. #: guix-git/doc/guix.texi:33645
  50015. #, no-wrap
  50016. msgid "init"
  50017. msgstr ""
  50018. #. type: table
  50019. #: guix-git/doc/guix.texi:33649
  50020. 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:"
  50021. msgstr ""
  50022. #. type: example
  50023. #: guix-git/doc/guix.texi:33652
  50024. #, no-wrap
  50025. msgid "guix system init my-os-config.scm /mnt\n"
  50026. msgstr ""
  50027. #. type: table
  50028. #: guix-git/doc/guix.texi:33659
  50029. 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."
  50030. msgstr ""
  50031. #. type: table
  50032. #: guix-git/doc/guix.texi:33663
  50033. msgid "This command also installs bootloader on the target specified in @file{my-os-config}, unless the @option{--no-bootloader} option was passed."
  50034. msgstr ""
  50035. #. type: item
  50036. #: guix-git/doc/guix.texi:33664
  50037. #, no-wrap
  50038. msgid "vm"
  50039. msgstr ""
  50040. #. type: cindex
  50041. #: guix-git/doc/guix.texi:33665 guix-git/doc/guix.texi:34226
  50042. #, no-wrap
  50043. msgid "virtual machine"
  50044. msgstr ""
  50045. #. type: cindex
  50046. #: guix-git/doc/guix.texi:33666
  50047. #, no-wrap
  50048. msgid "VM"
  50049. msgstr ""
  50050. #. type: anchor{#1}
  50051. #: guix-git/doc/guix.texi:33670
  50052. msgid "guix system vm"
  50053. msgstr "guix system vm"
  50054. #. type: table
  50055. #: guix-git/doc/guix.texi:33670
  50056. msgid "Build a virtual machine that contains the operating system declared in @var{file}, and return a script to run that virtual machine (VM)."
  50057. msgstr ""
  50058. #. type: quotation
  50059. #: guix-git/doc/guix.texi:33678
  50060. 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})."
  50061. msgstr ""
  50062. #. type: table
  50063. #: guix-git/doc/guix.texi:33683
  50064. 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:"
  50065. msgstr ""
  50066. #. type: example
  50067. #: guix-git/doc/guix.texi:33686
  50068. #, no-wrap
  50069. msgid "$ /gnu/store/@dots{}-run-vm.sh -m 1024 -smp 2 -nic user,model=virtio-net-pci\n"
  50070. msgstr ""
  50071. #. type: table
  50072. #: guix-git/doc/guix.texi:33689
  50073. msgid "The VM shares its store with the host system."
  50074. msgstr ""
  50075. #. type: table
  50076. #: guix-git/doc/guix.texi:33694
  50077. 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."
  50078. msgstr ""
  50079. #. type: table
  50080. #: guix-git/doc/guix.texi:33698
  50081. 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:"
  50082. msgstr ""
  50083. #. type: example
  50084. #: guix-git/doc/guix.texi:33702
  50085. #, no-wrap
  50086. msgid ""
  50087. "guix system vm my-config.scm \\\n"
  50088. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  50089. msgstr ""
  50090. #. type: table
  50091. #: guix-git/doc/guix.texi:33707
  50092. 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."
  50093. msgstr ""
  50094. #. type: table
  50095. #: guix-git/doc/guix.texi:33713
  50096. 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. The @option{--image-size} option can be used to specify the size of the image."
  50097. msgstr ""
  50098. #. type: cindex
  50099. #: guix-git/doc/guix.texi:33714
  50100. #, no-wrap
  50101. msgid "System images, creation in various formats"
  50102. msgstr ""
  50103. #. type: cindex
  50104. #: guix-git/doc/guix.texi:33715
  50105. #, no-wrap
  50106. msgid "Creating system images in various formats"
  50107. msgstr ""
  50108. #. type: item
  50109. #: guix-git/doc/guix.texi:33716
  50110. #, no-wrap
  50111. msgid "image"
  50112. msgstr ""
  50113. #. type: itemx
  50114. #: guix-git/doc/guix.texi:33717
  50115. #, no-wrap
  50116. msgid "docker-image"
  50117. msgstr ""
  50118. #. type: table
  50119. #: guix-git/doc/guix.texi:33725
  50120. msgid "Return a virtual machine, disk image, or Docker image of the operating system declared in @var{file} that stands alone. By default, @command{guix system} estimates the size of the image needed to store the system, but you can use the @option{--image-size} option to specify a value. Docker images are built to contain exactly what they need, so the @option{--image-size} option is ignored in the case of @code{docker-image}."
  50121. msgstr ""
  50122. #. type: cindex
  50123. #: guix-git/doc/guix.texi:33726
  50124. #, no-wrap
  50125. msgid "image, creating disk images"
  50126. msgstr ""
  50127. #. type: table
  50128. #: guix-git/doc/guix.texi:33738
  50129. 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:"
  50130. msgstr ""
  50131. #. type: example
  50132. #: guix-git/doc/guix.texi:33746
  50133. #, no-wrap
  50134. msgid ""
  50135. "image=$(guix system image --image-type=qcow2 \\\n"
  50136. " gnu/system/examples/lightweight-desktop.tmpl)\n"
  50137. "cp $image /tmp/my-image.qcow2\n"
  50138. "chmod +w /tmp/my-image.qcow2\n"
  50139. "qemu-system-x86_64 -enable-kvm -hda /tmp/my-image.qcow2 -m 1000 \\\n"
  50140. " -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin\n"
  50141. msgstr ""
  50142. #. type: table
  50143. #: guix-git/doc/guix.texi:33752
  50144. 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:"
  50145. msgstr ""
  50146. #. type: example
  50147. #: guix-git/doc/guix.texi:33755
  50148. #, no-wrap
  50149. msgid "# dd if=$(guix system image my-os.scm) of=/dev/sdc status=progress\n"
  50150. msgstr ""
  50151. #. type: table
  50152. #: guix-git/doc/guix.texi:33759
  50153. msgid "The @code{--list-image-types} command lists all the available image types."
  50154. msgstr ""
  50155. #. type: cindex
  50156. #: guix-git/doc/guix.texi:33760
  50157. #, no-wrap
  50158. msgid "creating virtual machine images"
  50159. msgstr ""
  50160. #. type: table
  50161. #: guix-git/doc/guix.texi:33769
  50162. 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)."
  50163. msgstr ""
  50164. #. type: cindex
  50165. #: guix-git/doc/guix.texi:33770
  50166. #, no-wrap
  50167. msgid "docker-image, creating docker images"
  50168. msgstr ""
  50169. #. type: table
  50170. #: guix-git/doc/guix.texi:33776
  50171. msgid "When using @code{docker-image}, 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:"
  50172. msgstr ""
  50173. #. type: example
  50174. #: guix-git/doc/guix.texi:33781
  50175. #, no-wrap
  50176. msgid ""
  50177. "image_id=\"$(docker load < guix-system-docker-image.tar.gz)\"\n"
  50178. "container_id=\"$(docker create $image_id)\"\n"
  50179. "docker start $container_id\n"
  50180. msgstr ""
  50181. #. type: table
  50182. #: guix-git/doc/guix.texi:33788
  50183. 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}:"
  50184. msgstr ""
  50185. #. type: example
  50186. #: guix-git/doc/guix.texi:33791
  50187. #, no-wrap
  50188. msgid "docker exec -ti $container_id /run/current-system/profile/bin/bash --login\n"
  50189. msgstr ""
  50190. #. type: table
  50191. #: guix-git/doc/guix.texi:33798
  50192. 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}."
  50193. msgstr ""
  50194. #. type: table
  50195. #: guix-git/doc/guix.texi:33802
  50196. 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."
  50197. msgstr ""
  50198. #. type: table
  50199. #: guix-git/doc/guix.texi:33810
  50200. 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."
  50201. msgstr ""
  50202. #. type: table
  50203. #: guix-git/doc/guix.texi:33814
  50204. 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."
  50205. msgstr ""
  50206. #. type: table
  50207. #: guix-git/doc/guix.texi:33818
  50208. 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:"
  50209. msgstr ""
  50210. #. type: example
  50211. #: guix-git/doc/guix.texi:33822
  50212. #, no-wrap
  50213. msgid ""
  50214. "guix system container my-config.scm \\\n"
  50215. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  50216. msgstr ""
  50217. #. type: quotation
  50218. #: guix-git/doc/guix.texi:33826
  50219. msgid "This option requires Linux-libre 3.19 or newer."
  50220. msgstr ""
  50221. #. type: Plain text
  50222. #: guix-git/doc/guix.texi:33833
  50223. 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:"
  50224. msgstr ""
  50225. #. type: table
  50226. #: guix-git/doc/guix.texi:33842
  50227. 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})."
  50228. msgstr ""
  50229. #. type: table
  50230. #: guix-git/doc/guix.texi:33847
  50231. msgid "Attempt to build for @var{system} instead of the host system type. This works as per @command{guix build} (@pxref{Invoking guix build})."
  50232. msgstr ""
  50233. #. type: table
  50234. #: guix-git/doc/guix.texi:33852
  50235. msgid "Return the derivation file name of the given operating system without building anything."
  50236. msgstr ""
  50237. #. type: table
  50238. #: guix-git/doc/guix.texi:33861
  50239. 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:"
  50240. msgstr ""
  50241. #. type: example
  50242. #: guix-git/doc/guix.texi:33864
  50243. #, no-wrap
  50244. msgid "guix system image -t qcow2 --save-provenance config.scm\n"
  50245. msgstr ""
  50246. #. type: table
  50247. #: guix-git/doc/guix.texi:33871
  50248. 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."
  50249. msgstr ""
  50250. #. type: item
  50251. #: guix-git/doc/guix.texi:33872
  50252. #, no-wrap
  50253. msgid "--image-type=@var{type}"
  50254. msgstr ""
  50255. #. type: table
  50256. #: guix-git/doc/guix.texi:33875
  50257. msgid "For the @code{image} action, create an image with given @var{type}."
  50258. msgstr ""
  50259. #. type: table
  50260. #: guix-git/doc/guix.texi:33878
  50261. msgid "When this option is omitted, @command{guix system} uses the @code{efi-raw} image type."
  50262. msgstr ""
  50263. #. type: cindex
  50264. #: guix-git/doc/guix.texi:33879
  50265. #, no-wrap
  50266. msgid "ISO-9660 format"
  50267. msgstr ""
  50268. #. type: cindex
  50269. #: guix-git/doc/guix.texi:33880
  50270. #, no-wrap
  50271. msgid "CD image format"
  50272. msgstr ""
  50273. #. type: cindex
  50274. #: guix-git/doc/guix.texi:33881
  50275. #, no-wrap
  50276. msgid "DVD image format"
  50277. msgstr ""
  50278. #. type: table
  50279. #: guix-git/doc/guix.texi:33884
  50280. msgid "@option{--image-type=iso9660} produces an ISO-9660 image, suitable for burning on CDs and DVDs."
  50281. msgstr ""
  50282. #. type: item
  50283. #: guix-git/doc/guix.texi:33885
  50284. #, no-wrap
  50285. msgid "--image-size=@var{size}"
  50286. msgstr ""
  50287. #. type: table
  50288. #: guix-git/doc/guix.texi:33890
  50289. 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})."
  50290. msgstr ""
  50291. #. type: table
  50292. #: guix-git/doc/guix.texi:33894
  50293. 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}."
  50294. msgstr ""
  50295. #. type: table
  50296. #: guix-git/doc/guix.texi:33899
  50297. msgid "For the @code{container} action, allow containers to access the host network, that is, do not create a network namespace."
  50298. msgstr ""
  50299. #. type: item
  50300. #: guix-git/doc/guix.texi:33905
  50301. #, no-wrap
  50302. msgid "--skip-checks"
  50303. msgstr ""
  50304. #. type: table
  50305. #: guix-git/doc/guix.texi:33907
  50306. msgid "Skip pre-installation safety checks."
  50307. msgstr ""
  50308. #. type: table
  50309. #: guix-git/doc/guix.texi:33914
  50310. 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."
  50311. msgstr ""
  50312. #. type: table
  50313. #: guix-git/doc/guix.texi:33917
  50314. msgid "Instruct @command{guix system reconfigure} to allow system downgrades."
  50315. msgstr ""
  50316. #. type: table
  50317. #: guix-git/doc/guix.texi:33925
  50318. 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."
  50319. msgstr ""
  50320. #. type: cindex
  50321. #: guix-git/doc/guix.texi:33931
  50322. #, no-wrap
  50323. msgid "on-error"
  50324. msgstr ""
  50325. #. type: cindex
  50326. #: guix-git/doc/guix.texi:33932
  50327. #, no-wrap
  50328. msgid "on-error strategy"
  50329. msgstr ""
  50330. #. type: cindex
  50331. #: guix-git/doc/guix.texi:33933
  50332. #, no-wrap
  50333. msgid "error strategy"
  50334. msgstr ""
  50335. #. type: item
  50336. #: guix-git/doc/guix.texi:33934
  50337. #, no-wrap
  50338. msgid "--on-error=@var{strategy}"
  50339. msgstr ""
  50340. #. type: table
  50341. #: guix-git/doc/guix.texi:33937
  50342. msgid "Apply @var{strategy} when an error occurs when reading @var{file}. @var{strategy} may be one of the following:"
  50343. msgstr ""
  50344. #. type: item
  50345. #: guix-git/doc/guix.texi:33939
  50346. #, no-wrap
  50347. msgid "nothing-special"
  50348. msgstr ""
  50349. #. type: table
  50350. #: guix-git/doc/guix.texi:33941
  50351. msgid "Report the error concisely and exit. This is the default strategy."
  50352. msgstr ""
  50353. #. type: item
  50354. #: guix-git/doc/guix.texi:33942
  50355. #, no-wrap
  50356. msgid "backtrace"
  50357. msgstr ""
  50358. #. type: table
  50359. #: guix-git/doc/guix.texi:33944
  50360. msgid "Likewise, but also display a backtrace."
  50361. msgstr ""
  50362. #. type: item
  50363. #: guix-git/doc/guix.texi:33945
  50364. #, no-wrap
  50365. msgid "debug"
  50366. msgstr "depuração"
  50367. #. type: table
  50368. #: guix-git/doc/guix.texi:33951
  50369. 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."
  50370. msgstr ""
  50371. #. type: Plain text
  50372. #: guix-git/doc/guix.texi:33958
  50373. 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:"
  50374. msgstr ""
  50375. #. type: item
  50376. #: guix-git/doc/guix.texi:33961
  50377. #, no-wrap
  50378. msgid "describe"
  50379. msgstr ""
  50380. #. type: table
  50381. #: guix-git/doc/guix.texi:33964
  50382. msgid "Describe the current system generation: its file name, the kernel and bootloader used, etc., as well as provenance information when available."
  50383. msgstr ""
  50384. #. type: item
  50385. #: guix-git/doc/guix.texi:33965
  50386. #, no-wrap
  50387. msgid "list-generations"
  50388. msgstr ""
  50389. #. type: table
  50390. #: guix-git/doc/guix.texi:33970
  50391. 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})."
  50392. msgstr ""
  50393. #. type: table
  50394. #: guix-git/doc/guix.texi:33975
  50395. 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:"
  50396. msgstr ""
  50397. #. type: example
  50398. #: guix-git/doc/guix.texi:33978
  50399. #, no-wrap
  50400. msgid "$ guix system list-generations 10d\n"
  50401. msgstr "$ guix system list-generations 10d\n"
  50402. #. type: Plain text
  50403. #: guix-git/doc/guix.texi:33985
  50404. 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:"
  50405. msgstr ""
  50406. #. type: anchor{#1}
  50407. #: guix-git/doc/guix.texi:33987
  50408. msgid "system-extension-graph"
  50409. msgstr "system-extension-graph"
  50410. #. type: item
  50411. #: guix-git/doc/guix.texi:33989
  50412. #, no-wrap
  50413. msgid "extension-graph"
  50414. msgstr "extension-graph"
  50415. #. type: table
  50416. #: guix-git/doc/guix.texi:33996
  50417. 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}}):"
  50418. msgstr ""
  50419. #. type: table
  50420. #: guix-git/doc/guix.texi:33998
  50421. msgid "The command:"
  50422. msgstr "O comando:"
  50423. #. type: example
  50424. #: guix-git/doc/guix.texi:34001
  50425. #, no-wrap
  50426. msgid "$ guix system extension-graph @var{file} | xdot -\n"
  50427. msgstr ""
  50428. #. type: table
  50429. #: guix-git/doc/guix.texi:34004
  50430. msgid "shows the extension relations among services."
  50431. msgstr ""
  50432. #. type: anchor{#1}
  50433. #: guix-git/doc/guix.texi:34006
  50434. msgid "system-shepherd-graph"
  50435. msgstr "system-shepherd-graph"
  50436. #. type: item
  50437. #: guix-git/doc/guix.texi:34006
  50438. #, no-wrap
  50439. msgid "shepherd-graph"
  50440. msgstr "shepherd-graph"
  50441. #. type: table
  50442. #: guix-git/doc/guix.texi:34011
  50443. 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."
  50444. msgstr ""
  50445. #. type: table
  50446. #: guix-git/doc/guix.texi:34014
  50447. msgid "Again, the default output format is Dot/Graphviz, but you can pass @option{--graph-backend} to select a different one."
  50448. msgstr ""
  50449. #. type: section
  50450. #: guix-git/doc/guix.texi:34018
  50451. #, no-wrap
  50452. msgid "Invoking @code{guix deploy}"
  50453. msgstr ""
  50454. #. type: Plain text
  50455. #: guix-git/doc/guix.texi:34026
  50456. 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''."
  50457. msgstr ""
  50458. #. type: quotation
  50459. #: guix-git/doc/guix.texi:34031
  50460. 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}!"
  50461. msgstr ""
  50462. #. type: example
  50463. #: guix-git/doc/guix.texi:34035
  50464. #, no-wrap
  50465. msgid "guix deploy @var{file}\n"
  50466. msgstr ""
  50467. #. type: Plain text
  50468. #: guix-git/doc/guix.texi:34039
  50469. 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:"
  50470. msgstr ""
  50471. #. type: lisp
  50472. #: guix-git/doc/guix.texi:34046
  50473. #, no-wrap
  50474. msgid ""
  50475. ";; This is a Guix deployment of a \"bare bones\" setup, with\n"
  50476. ";; no X11 display server, to a machine with an SSH daemon\n"
  50477. ";; listening on localhost:2222. A configuration such as this\n"
  50478. ";; may be appropriate for virtual machine with ports\n"
  50479. ";; forwarded to the host's loopback interface.\n"
  50480. "\n"
  50481. msgstr ""
  50482. #. type: lisp
  50483. #: guix-git/doc/guix.texi:34049
  50484. #, no-wrap
  50485. msgid ""
  50486. "(use-service-modules networking ssh)\n"
  50487. "(use-package-modules bootloaders)\n"
  50488. "\n"
  50489. msgstr ""
  50490. #. type: lisp
  50491. #: guix-git/doc/guix.texi:34070
  50492. #, no-wrap
  50493. msgid ""
  50494. "(define %system\n"
  50495. " (operating-system\n"
  50496. " (host-name \"gnu-deployed\")\n"
  50497. " (timezone \"Etc/UTC\")\n"
  50498. " (bootloader (bootloader-configuration\n"
  50499. " (bootloader grub-bootloader)\n"
  50500. " (target \"/dev/vda\")\n"
  50501. " (terminal-outputs '(console))))\n"
  50502. " (file-systems (cons (file-system\n"
  50503. " (mount-point \"/\")\n"
  50504. " (device \"/dev/vda1\")\n"
  50505. " (type \"ext4\"))\n"
  50506. " %base-file-systems))\n"
  50507. " (services\n"
  50508. " (append (list (service dhcp-client-service-type)\n"
  50509. " (service openssh-service-type\n"
  50510. " (openssh-configuration\n"
  50511. " (permit-root-login #t)\n"
  50512. " (allow-empty-passwords? #t))))\n"
  50513. " %base-services))))\n"
  50514. "\n"
  50515. msgstr ""
  50516. #. type: lisp
  50517. #: guix-git/doc/guix.texi:34080
  50518. #, no-wrap
  50519. msgid ""
  50520. "(list (machine\n"
  50521. " (operating-system %system)\n"
  50522. " (environment managed-host-environment-type)\n"
  50523. " (configuration (machine-ssh-configuration\n"
  50524. " (host-name \"localhost\")\n"
  50525. " (system \"x86_64-linux\")\n"
  50526. " (user \"alice\")\n"
  50527. " (identity \"./id_rsa\")\n"
  50528. " (port 2222)))))\n"
  50529. msgstr ""
  50530. #. type: Plain text
  50531. #: guix-git/doc/guix.texi:34093
  50532. 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."
  50533. msgstr ""
  50534. #. type: Plain text
  50535. #: guix-git/doc/guix.texi:34098
  50536. 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:"
  50537. msgstr ""
  50538. #. type: Plain text
  50539. #: guix-git/doc/guix.texi:34106
  50540. msgid "Each target machine must authorize the key of the master machine so that it accepts store items it receives from the coordinator:"
  50541. msgstr ""
  50542. #. type: example
  50543. #: guix-git/doc/guix.texi:34109
  50544. #, no-wrap
  50545. msgid "# guix archive --authorize < coordinator-public-key.txt\n"
  50546. msgstr ""
  50547. #. type: Plain text
  50548. #: guix-git/doc/guix.texi:34120
  50549. 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:"
  50550. msgstr ""
  50551. #. type: lisp
  50552. #: guix-git/doc/guix.texi:34124
  50553. #, no-wrap
  50554. msgid ""
  50555. "(use-modules ...\n"
  50556. " (gnu system)) ;for %sudoers-specification\n"
  50557. "\n"
  50558. msgstr ""
  50559. #. type: lisp
  50560. #: guix-git/doc/guix.texi:34126
  50561. #, no-wrap
  50562. msgid ""
  50563. "(define %user \"username\")\n"
  50564. "\n"
  50565. msgstr ""
  50566. #. type: lisp
  50567. #: guix-git/doc/guix.texi:34134
  50568. #, no-wrap
  50569. msgid ""
  50570. "(operating-system\n"
  50571. " ...\n"
  50572. " (sudoers-file\n"
  50573. " (plain-file \"sudoers\"\n"
  50574. " (string-append (plain-file-content %sudoers-specification)\n"
  50575. " (format #f \"~a ALL = NOPASSWD: ALL~%\"\n"
  50576. " %user)))))\n"
  50577. "\n"
  50578. msgstr ""
  50579. #. type: Plain text
  50580. #: guix-git/doc/guix.texi:34139
  50581. msgid "For more information regarding the format of the @file{sudoers} file, consult @command{man sudoers}."
  50582. msgstr ""
  50583. #. type: deftp
  50584. #: guix-git/doc/guix.texi:34140
  50585. #, no-wrap
  50586. msgid "{Data Type} machine"
  50587. msgstr ""
  50588. #. type: deftp
  50589. #: guix-git/doc/guix.texi:34143
  50590. msgid "This is the data type representing a single machine in a heterogeneous Guix deployment."
  50591. msgstr ""
  50592. #. type: table
  50593. #: guix-git/doc/guix.texi:34147
  50594. msgid "The object of the operating system configuration to deploy."
  50595. msgstr ""
  50596. #. type: code{#1}
  50597. #: guix-git/doc/guix.texi:34148
  50598. #, no-wrap
  50599. msgid "environment"
  50600. msgstr ""
  50601. #. type: table
  50602. #: guix-git/doc/guix.texi:34150
  50603. msgid "An @code{environment-type} describing how the machine should be provisioned."
  50604. msgstr ""
  50605. #. type: item
  50606. #: guix-git/doc/guix.texi:34151
  50607. #, no-wrap
  50608. msgid "@code{configuration} (default: @code{#f})"
  50609. msgstr ""
  50610. #. type: table
  50611. #: guix-git/doc/guix.texi:34156
  50612. 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."
  50613. msgstr ""
  50614. #. type: deftp
  50615. #: guix-git/doc/guix.texi:34159
  50616. #, no-wrap
  50617. msgid "{Data Type} machine-ssh-configuration"
  50618. msgstr ""
  50619. #. type: deftp
  50620. #: guix-git/doc/guix.texi:34162
  50621. msgid "This is the data type representing the SSH client parameters for a machine with an @code{environment} of @code{managed-host-environment-type}."
  50622. msgstr ""
  50623. #. type: item
  50624. #: guix-git/doc/guix.texi:34165
  50625. #, no-wrap
  50626. msgid "@code{build-locally?} (default: @code{#t})"
  50627. msgstr ""
  50628. #. type: table
  50629. #: guix-git/doc/guix.texi:34167
  50630. msgid "If false, system derivations will be built on the machine being deployed to."
  50631. msgstr ""
  50632. #. type: code{#1}
  50633. #: guix-git/doc/guix.texi:34167
  50634. #, no-wrap
  50635. msgid "system"
  50636. msgstr "system"
  50637. #. type: table
  50638. #: guix-git/doc/guix.texi:34170
  50639. msgid "The system type describing the architecture of the machine being deployed to---e.g., @code{\"x86_64-linux\"}."
  50640. msgstr ""
  50641. #. type: item
  50642. #: guix-git/doc/guix.texi:34170
  50643. #, no-wrap
  50644. msgid "@code{authorize?} (default: @code{#t})"
  50645. msgstr ""
  50646. #. type: table
  50647. #: guix-git/doc/guix.texi:34173
  50648. msgid "If true, the coordinator's signing key will be added to the remote's ACL keyring."
  50649. msgstr ""
  50650. #. type: item
  50651. #: guix-git/doc/guix.texi:34174
  50652. #, no-wrap
  50653. msgid "@code{user} (default: @code{\"root\"})"
  50654. msgstr ""
  50655. #. type: item
  50656. #: guix-git/doc/guix.texi:34175
  50657. #, no-wrap
  50658. msgid "@code{identity} (default: @code{#f})"
  50659. msgstr ""
  50660. #. type: table
  50661. #: guix-git/doc/guix.texi:34178
  50662. msgid "If specified, the path to the SSH private key to use to authenticate with the remote host."
  50663. msgstr ""
  50664. #. type: item
  50665. #: guix-git/doc/guix.texi:34179
  50666. #, no-wrap
  50667. msgid "@code{host-key} (default: @code{#f})"
  50668. msgstr ""
  50669. #. type: table
  50670. #: guix-git/doc/guix.texi:34181
  50671. msgid "This should be the SSH host key of the machine, which looks like this:"
  50672. msgstr ""
  50673. #. type: example
  50674. #: guix-git/doc/guix.texi:34184
  50675. #, no-wrap
  50676. msgid "ssh-ed25519 AAAAC3Nz@dots{} root@@example.org\n"
  50677. msgstr ""
  50678. #. type: table
  50679. #: guix-git/doc/guix.texi:34189
  50680. 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."
  50681. msgstr ""
  50682. #. type: item
  50683. #: guix-git/doc/guix.texi:34190
  50684. #, no-wrap
  50685. msgid "@code{allow-downgrades?} (default: @code{#f})"
  50686. msgstr ""
  50687. #. type: table
  50688. #: guix-git/doc/guix.texi:34192
  50689. msgid "Whether to allow potential downgrades."
  50690. msgstr ""
  50691. #. type: table
  50692. #: guix-git/doc/guix.texi:34200
  50693. 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."
  50694. msgstr ""
  50695. #. type: deftp
  50696. #: guix-git/doc/guix.texi:34203
  50697. #, no-wrap
  50698. msgid "{Data Type} digital-ocean-configuration"
  50699. msgstr ""
  50700. #. type: deftp
  50701. #: guix-git/doc/guix.texi:34206
  50702. 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}."
  50703. msgstr ""
  50704. #. type: code{#1}
  50705. #: guix-git/doc/guix.texi:34208
  50706. #, no-wrap
  50707. msgid "ssh-key"
  50708. msgstr ""
  50709. #. type: table
  50710. #: guix-git/doc/guix.texi:34211
  50711. msgid "The path to the SSH private key to use to authenticate with the remote host. In the future, this field may not exist."
  50712. msgstr ""
  50713. #. type: code{#1}
  50714. #: guix-git/doc/guix.texi:34211
  50715. #, no-wrap
  50716. msgid "tags"
  50717. msgstr ""
  50718. #. type: table
  50719. #: guix-git/doc/guix.texi:34214
  50720. 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."
  50721. msgstr ""
  50722. #. type: code{#1}
  50723. #: guix-git/doc/guix.texi:34214
  50724. #, no-wrap
  50725. msgid "region"
  50726. msgstr ""
  50727. #. type: table
  50728. #: guix-git/doc/guix.texi:34216
  50729. msgid "A Digital Ocean region slug, such as @code{\"nyc3\"}."
  50730. msgstr ""
  50731. #. type: table
  50732. #: guix-git/doc/guix.texi:34218
  50733. msgid "A Digital Ocean size slug, such as @code{\"s-1vcpu-1gb\"}"
  50734. msgstr ""
  50735. #. type: code{#1}
  50736. #: guix-git/doc/guix.texi:34218
  50737. #, no-wrap
  50738. msgid "enable-ipv6?"
  50739. msgstr ""
  50740. #. type: table
  50741. #: guix-git/doc/guix.texi:34220
  50742. msgid "Whether or not the droplet should be created with IPv6 networking."
  50743. msgstr ""
  50744. #. type: section
  50745. #: guix-git/doc/guix.texi:34224
  50746. #, no-wrap
  50747. msgid "Running Guix in a Virtual Machine"
  50748. msgstr "Usando o Guix em uma Máquina Virtual"
  50749. #. type: Plain text
  50750. #: guix-git/doc/guix.texi:34232
  50751. 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)."
  50752. msgstr ""
  50753. #. type: Plain text
  50754. #: guix-git/doc/guix.texi:34239
  50755. 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})."
  50756. msgstr ""
  50757. #. type: Plain text
  50758. #: guix-git/doc/guix.texi:34242
  50759. msgid "Instead of using this pre-built image, one can also build their own image using @command{guix system image} (@pxref{Invoking guix system})."
  50760. msgstr ""
  50761. #. type: cindex
  50762. #: guix-git/doc/guix.texi:34243
  50763. #, no-wrap
  50764. msgid "QEMU"
  50765. msgstr ""
  50766. #. type: Plain text
  50767. #: guix-git/doc/guix.texi:34250
  50768. 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:"
  50769. msgstr ""
  50770. #. type: example
  50771. #: guix-git/doc/guix.texi:34257
  50772. #, no-wrap
  50773. msgid ""
  50774. "$ qemu-system-x86_64 \\\n"
  50775. " -nic user,model=virtio-net-pci \\\n"
  50776. " -enable-kvm -m 1024 \\\n"
  50777. " -device virtio-blk,drive=myhd \\\n"
  50778. " -drive if=none,file=/tmp/qemu-image,id=myhd\n"
  50779. msgstr ""
  50780. #. type: Plain text
  50781. #: guix-git/doc/guix.texi:34260
  50782. msgid "Here is what each of these options means:"
  50783. msgstr ""
  50784. #. type: item
  50785. #: guix-git/doc/guix.texi:34262
  50786. #, no-wrap
  50787. msgid "qemu-system-x86_64"
  50788. msgstr ""
  50789. #. type: table
  50790. #: guix-git/doc/guix.texi:34265
  50791. msgid "This specifies the hardware platform to emulate. This should match the host."
  50792. msgstr ""
  50793. #. type: item
  50794. #: guix-git/doc/guix.texi:34266
  50795. #, no-wrap
  50796. msgid "-nic user,model=virtio-net-pci"
  50797. msgstr ""
  50798. #. type: table
  50799. #: guix-git/doc/guix.texi:34274
  50800. 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}."
  50801. msgstr ""
  50802. #. type: item
  50803. #: guix-git/doc/guix.texi:34275
  50804. #, no-wrap
  50805. msgid "-enable-kvm"
  50806. msgstr ""
  50807. #. type: table
  50808. #: guix-git/doc/guix.texi:34279
  50809. msgid "If your system has hardware virtualization extensions, enabling the virtual machine support (KVM) of the Linux kernel will make things run faster."
  50810. msgstr ""
  50811. #. type: item
  50812. #: guix-git/doc/guix.texi:34281
  50813. #, no-wrap
  50814. msgid "-m 1024"
  50815. msgstr ""
  50816. #. type: table
  50817. #: guix-git/doc/guix.texi:34284
  50818. msgid "RAM available to the guest OS, in mebibytes. Defaults to 128@tie{}MiB, which may be insufficient for some operations."
  50819. msgstr ""
  50820. #. type: item
  50821. #: guix-git/doc/guix.texi:34285
  50822. #, no-wrap
  50823. msgid "-device virtio-blk,drive=myhd"
  50824. msgstr ""
  50825. #. type: table
  50826. #: guix-git/doc/guix.texi:34290
  50827. 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."
  50828. msgstr ""
  50829. #. type: item
  50830. #: guix-git/doc/guix.texi:34291
  50831. #, no-wrap
  50832. msgid "-drive if=none,file=/tmp/qemu-image,id=myhd"
  50833. msgstr ""
  50834. #. type: table
  50835. #: guix-git/doc/guix.texi:34294
  50836. msgid "Use our QCOW image, the @file{/tmp/qemu-image} file, as the backing store of the ``myhd'' drive."
  50837. msgstr ""
  50838. #. type: Plain text
  50839. #: guix-git/doc/guix.texi:34304
  50840. 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}."
  50841. msgstr ""
  50842. #. type: subsection
  50843. #: guix-git/doc/guix.texi:34305
  50844. #, no-wrap
  50845. msgid "Connecting Through SSH"
  50846. msgstr ""
  50847. #. type: Plain text
  50848. #: guix-git/doc/guix.texi:34313
  50849. 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"
  50850. msgstr ""
  50851. #. type: example
  50852. #: guix-git/doc/guix.texi:34316
  50853. #, no-wrap
  50854. msgid "$(guix system vm config.scm) -nic user,model=virtio-net-pci,hostfwd=tcp::10022-:22\n"
  50855. msgstr ""
  50856. #. type: Plain text
  50857. #: guix-git/doc/guix.texi:34319
  50858. msgid "To connect to the VM you can run"
  50859. msgstr ""
  50860. #. type: example
  50861. #: guix-git/doc/guix.texi:34322
  50862. #, no-wrap
  50863. msgid "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022 localhost\n"
  50864. msgstr ""
  50865. #. type: Plain text
  50866. #: guix-git/doc/guix.texi:34329
  50867. 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."
  50868. msgstr ""
  50869. #. type: quotation
  50870. #: guix-git/doc/guix.texi:34335
  50871. 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."
  50872. msgstr ""
  50873. #. type: subsection
  50874. #: guix-git/doc/guix.texi:34337
  50875. #, no-wrap
  50876. msgid "Using @command{virt-viewer} with Spice"
  50877. msgstr ""
  50878. #. type: Plain text
  50879. #: guix-git/doc/guix.texi:34343
  50880. 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."
  50881. msgstr ""
  50882. #. type: Plain text
  50883. #: guix-git/doc/guix.texi:34346
  50884. 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}:"
  50885. msgstr ""
  50886. #. type: example
  50887. #: guix-git/doc/guix.texi:34352
  50888. #, no-wrap
  50889. msgid ""
  50890. "-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5\n"
  50891. "-chardev spicevmc,name=vdagent,id=vdagent\n"
  50892. "-device virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,\n"
  50893. "name=com.redhat.spice.0\n"
  50894. msgstr ""
  50895. #. type: Plain text
  50896. #: guix-git/doc/guix.texi:34356
  50897. msgid "You'll also need to add the @code{(spice-vdagent-service)} to your system definition (@pxref{Miscellaneous Services, Spice service})."
  50898. msgstr ""
  50899. #. type: Plain text
  50900. #: guix-git/doc/guix.texi:34363
  50901. 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?"
  50902. msgstr ""
  50903. #. type: cindex
  50904. #: guix-git/doc/guix.texi:34375
  50905. #, no-wrap
  50906. msgid "daemons"
  50907. msgstr ""
  50908. #. type: Plain text
  50909. #: guix-git/doc/guix.texi:34388
  50910. 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."
  50911. msgstr ""
  50912. #. type: cindex
  50913. #: guix-git/doc/guix.texi:34389
  50914. #, no-wrap
  50915. msgid "service extensions"
  50916. msgstr ""
  50917. #. type: Plain text
  50918. #: guix-git/doc/guix.texi:34401
  50919. 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})."
  50920. msgstr ""
  50921. #. type: Plain text
  50922. #: guix-git/doc/guix.texi:34405
  50923. 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:"
  50924. msgstr ""
  50925. #. type: Plain text
  50926. #: guix-git/doc/guix.texi:34407
  50927. msgid "@image{images/service-graph,,5in,Typical service extension graph.}"
  50928. msgstr ""
  50929. #. type: cindex
  50930. #: guix-git/doc/guix.texi:34408
  50931. #, no-wrap
  50932. msgid "system service"
  50933. msgstr ""
  50934. #. type: Plain text
  50935. #: guix-git/doc/guix.texi:34416
  50936. 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."
  50937. msgstr ""
  50938. #. type: cindex
  50939. #: guix-git/doc/guix.texi:34417
  50940. #, no-wrap
  50941. msgid "service types"
  50942. msgstr ""
  50943. #. type: Plain text
  50944. #: guix-git/doc/guix.texi:34423
  50945. 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."
  50946. msgstr ""
  50947. #. type: Plain text
  50948. #: guix-git/doc/guix.texi:34426
  50949. msgid "The following section describes the programming interface for service types and services."
  50950. msgstr ""
  50951. #. type: Plain text
  50952. #: guix-git/doc/guix.texi:34433
  50953. 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}):"
  50954. msgstr ""
  50955. #. type: lisp
  50956. #: guix-git/doc/guix.texi:34443
  50957. #, no-wrap
  50958. msgid ""
  50959. "(define guix-service-type\n"
  50960. " (service-type\n"
  50961. " (name 'guix)\n"
  50962. " (extensions\n"
  50963. " (list (service-extension shepherd-root-service-type guix-shepherd-service)\n"
  50964. " (service-extension account-service-type guix-accounts)\n"
  50965. " (service-extension activation-service-type guix-activation)))\n"
  50966. " (default-value (guix-configuration))))\n"
  50967. msgstr ""
  50968. #. type: Plain text
  50969. #: guix-git/doc/guix.texi:34447
  50970. msgid "It defines three things:"
  50971. msgstr ""
  50972. #. type: enumerate
  50973. #: guix-git/doc/guix.texi:34451
  50974. msgid "A name, whose sole purpose is to make inspection and debugging easier."
  50975. msgstr ""
  50976. #. type: enumerate
  50977. #: guix-git/doc/guix.texi:34456
  50978. 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."
  50979. msgstr ""
  50980. #. type: enumerate
  50981. #: guix-git/doc/guix.texi:34459
  50982. msgid "Every service type has at least one service extension. The only exception is the @dfn{boot service type}, which is the ultimate service."
  50983. msgstr ""
  50984. #. type: enumerate
  50985. #: guix-git/doc/guix.texi:34462
  50986. msgid "Optionally, a default value for instances of this type."
  50987. msgstr ""
  50988. #. type: Plain text
  50989. #: guix-git/doc/guix.texi:34465
  50990. msgid "In this example, @code{guix-service-type} extends three services:"
  50991. msgstr ""
  50992. #. type: item
  50993. #: guix-git/doc/guix.texi:34467
  50994. #, no-wrap
  50995. msgid "shepherd-root-service-type"
  50996. msgstr ""
  50997. #. type: table
  50998. #: guix-git/doc/guix.texi:34472
  50999. 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})."
  51000. msgstr ""
  51001. #. type: item
  51002. #: guix-git/doc/guix.texi:34473
  51003. #, no-wrap
  51004. msgid "account-service-type"
  51005. msgstr ""
  51006. #. type: table
  51007. #: guix-git/doc/guix.texi:34478
  51008. 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})."
  51009. msgstr ""
  51010. #. type: item
  51011. #: guix-git/doc/guix.texi:34479
  51012. #, no-wrap
  51013. msgid "activation-service-type"
  51014. msgstr ""
  51015. #. type: table
  51016. #: guix-git/doc/guix.texi:34483
  51017. 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."
  51018. msgstr ""
  51019. #. type: Plain text
  51020. #: guix-git/doc/guix.texi:34486
  51021. msgid "A service of this type is instantiated like this:"
  51022. msgstr ""
  51023. #. type: lisp
  51024. #: guix-git/doc/guix.texi:34492
  51025. #, no-wrap
  51026. msgid ""
  51027. "(service guix-service-type\n"
  51028. " (guix-configuration\n"
  51029. " (build-accounts 5)\n"
  51030. " (extra-options '(\"--gc-keep-derivations\"))))\n"
  51031. msgstr ""
  51032. #. type: Plain text
  51033. #: guix-git/doc/guix.texi:34500
  51034. 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:"
  51035. msgstr ""
  51036. #. type: lisp
  51037. #: guix-git/doc/guix.texi:34503
  51038. #, no-wrap
  51039. msgid "(service guix-service-type)\n"
  51040. msgstr ""
  51041. #. type: Plain text
  51042. #: guix-git/doc/guix.texi:34507
  51043. msgid "@code{guix-service-type} is quite simple because it extends other services but is not extensible itself."
  51044. msgstr ""
  51045. #. type: Plain text
  51046. #: guix-git/doc/guix.texi:34511
  51047. msgid "The service type for an @emph{extensible} service looks like this:"
  51048. msgstr ""
  51049. #. type: lisp
  51050. #: guix-git/doc/guix.texi:34518
  51051. #, no-wrap
  51052. msgid ""
  51053. "(define udev-service-type\n"
  51054. " (service-type (name 'udev)\n"
  51055. " (extensions\n"
  51056. " (list (service-extension shepherd-root-service-type\n"
  51057. " udev-shepherd-service)))\n"
  51058. "\n"
  51059. msgstr ""
  51060. #. type: lisp
  51061. #: guix-git/doc/guix.texi:34526
  51062. #, no-wrap
  51063. msgid ""
  51064. " (compose concatenate) ;concatenate the list of rules\n"
  51065. " (extend (lambda (config rules)\n"
  51066. " (match config\n"
  51067. " (($ <udev-configuration> udev initial-rules)\n"
  51068. " (udev-configuration\n"
  51069. " (udev udev) ;the udev package to use\n"
  51070. " (rules (append initial-rules rules)))))))))\n"
  51071. msgstr ""
  51072. #. type: Plain text
  51073. #: guix-git/doc/guix.texi:34532
  51074. 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:"
  51075. msgstr ""
  51076. #. type: item
  51077. #: guix-git/doc/guix.texi:34534
  51078. #, no-wrap
  51079. msgid "compose"
  51080. msgstr ""
  51081. #. type: table
  51082. #: guix-git/doc/guix.texi:34537
  51083. msgid "This is the procedure to @dfn{compose} the list of extensions to services of this type."
  51084. msgstr ""
  51085. #. type: table
  51086. #: guix-git/doc/guix.texi:34540
  51087. msgid "Services can extend the udev service by passing it lists of rules; we compose those extensions simply by concatenating them."
  51088. msgstr ""
  51089. #. type: item
  51090. #: guix-git/doc/guix.texi:34541
  51091. #, no-wrap
  51092. msgid "extend"
  51093. msgstr ""
  51094. #. type: table
  51095. #: guix-git/doc/guix.texi:34544
  51096. msgid "This procedure defines how the value of the service is @dfn{extended} with the composition of the extensions."
  51097. msgstr ""
  51098. #. type: table
  51099. #: guix-git/doc/guix.texi:34549
  51100. 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."
  51101. msgstr ""
  51102. #. type: table
  51103. #: guix-git/doc/guix.texi:34555
  51104. 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})."
  51105. msgstr ""
  51106. #. type: Plain text
  51107. #: guix-git/doc/guix.texi:34560
  51108. 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."
  51109. msgstr ""
  51110. #. type: Plain text
  51111. #: guix-git/doc/guix.texi:34563
  51112. msgid "Still here? The next section provides a reference of the programming interface for services."
  51113. msgstr ""
  51114. #. type: Plain text
  51115. #: guix-git/doc/guix.texi:34571
  51116. 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."
  51117. msgstr ""
  51118. #. type: deffn
  51119. #: guix-git/doc/guix.texi:34572
  51120. #, no-wrap
  51121. msgid "{Scheme Procedure} service @var{type} [@var{value}]"
  51122. msgstr ""
  51123. #. type: deffn
  51124. #: guix-git/doc/guix.texi:34576
  51125. 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."
  51126. msgstr ""
  51127. #. type: deffn
  51128. #: guix-git/doc/guix.texi:34580
  51129. 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."
  51130. msgstr ""
  51131. #. type: deffn
  51132. #: guix-git/doc/guix.texi:34582
  51133. msgid "For instance, this:"
  51134. msgstr ""
  51135. #. type: lisp
  51136. #: guix-git/doc/guix.texi:34585
  51137. #, no-wrap
  51138. msgid "(service openssh-service-type)\n"
  51139. msgstr ""
  51140. #. type: deffn
  51141. #: guix-git/doc/guix.texi:34589
  51142. msgid "is equivalent to this:"
  51143. msgstr ""
  51144. #. type: lisp
  51145. #: guix-git/doc/guix.texi:34593
  51146. #, no-wrap
  51147. msgid ""
  51148. "(service openssh-service-type\n"
  51149. " (openssh-configuration))\n"
  51150. msgstr ""
  51151. #. type: deffn
  51152. #: guix-git/doc/guix.texi:34597
  51153. msgid "In both cases the result is an instance of @code{openssh-service-type} with the default configuration."
  51154. msgstr ""
  51155. #. type: deffn
  51156. #: guix-git/doc/guix.texi:34599
  51157. #, no-wrap
  51158. msgid "{Scheme Procedure} service? @var{obj}"
  51159. msgstr ""
  51160. #. type: deffn
  51161. #: guix-git/doc/guix.texi:34601
  51162. msgid "Return true if @var{obj} is a service."
  51163. msgstr ""
  51164. #. type: deffn
  51165. #: guix-git/doc/guix.texi:34603
  51166. #, no-wrap
  51167. msgid "{Scheme Procedure} service-kind @var{service}"
  51168. msgstr ""
  51169. #. type: deffn
  51170. #: guix-git/doc/guix.texi:34605
  51171. msgid "Return the type of @var{service}---i.e., a @code{<service-type>} object."
  51172. msgstr ""
  51173. #. type: deffn
  51174. #: guix-git/doc/guix.texi:34607
  51175. #, no-wrap
  51176. msgid "{Scheme Procedure} service-value @var{service}"
  51177. msgstr ""
  51178. #. type: deffn
  51179. #: guix-git/doc/guix.texi:34610
  51180. msgid "Return the value associated with @var{service}. It represents its parameters."
  51181. msgstr ""
  51182. #. type: Plain text
  51183. #: guix-git/doc/guix.texi:34613
  51184. msgid "Here is an example of how a service is created and manipulated:"
  51185. msgstr ""
  51186. #. type: lisp
  51187. #: guix-git/doc/guix.texi:34622
  51188. #, no-wrap
  51189. msgid ""
  51190. "(define s\n"
  51191. " (service nginx-service-type\n"
  51192. " (nginx-configuration\n"
  51193. " (nginx nginx)\n"
  51194. " (log-directory log-directory)\n"
  51195. " (run-directory run-directory)\n"
  51196. " (file config-file))))\n"
  51197. "\n"
  51198. msgstr ""
  51199. #. type: lisp
  51200. #: guix-git/doc/guix.texi:34625
  51201. #, no-wrap
  51202. msgid ""
  51203. "(service? s)\n"
  51204. "@result{} #t\n"
  51205. "\n"
  51206. msgstr ""
  51207. #. type: lisp
  51208. #: guix-git/doc/guix.texi:34628
  51209. #, no-wrap
  51210. msgid ""
  51211. "(eq? (service-kind s) nginx-service-type)\n"
  51212. "@result{} #t\n"
  51213. msgstr ""
  51214. #. type: Plain text
  51215. #: guix-git/doc/guix.texi:34638
  51216. 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."
  51217. msgstr ""
  51218. #. type: deffn
  51219. #: guix-git/doc/guix.texi:34639
  51220. #, no-wrap
  51221. msgid "{Scheme Syntax} modify-services @var{services} @"
  51222. msgstr ""
  51223. #. type: deffn
  51224. #: guix-git/doc/guix.texi:34641
  51225. msgid "(@var{type} @var{variable} => @var{body}) @dots{}"
  51226. msgstr ""
  51227. #. type: deffn
  51228. #: guix-git/doc/guix.texi:34644
  51229. msgid "Modify the services listed in @var{services} according to the given clauses. Each clause has the form:"
  51230. msgstr ""
  51231. #. type: example
  51232. #: guix-git/doc/guix.texi:34647
  51233. #, no-wrap
  51234. msgid "(@var{type} @var{variable} => @var{body})\n"
  51235. msgstr ""
  51236. #. type: deffn
  51237. #: guix-git/doc/guix.texi:34654
  51238. 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}."
  51239. msgstr ""
  51240. #. type: deffn
  51241. #: guix-git/doc/guix.texi:34661
  51242. 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."
  51243. msgstr ""
  51244. #. type: deffn
  51245. #: guix-git/doc/guix.texi:34663
  51246. msgid "@xref{Using the Configuration System}, for example usage."
  51247. msgstr ""
  51248. #. type: Plain text
  51249. #: guix-git/doc/guix.texi:34670
  51250. 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."
  51251. msgstr ""
  51252. #. type: deftp
  51253. #: guix-git/doc/guix.texi:34671
  51254. #, no-wrap
  51255. msgid "{Data Type} service-type"
  51256. msgstr ""
  51257. #. type: cindex
  51258. #: guix-git/doc/guix.texi:34672
  51259. #, no-wrap
  51260. msgid "service type"
  51261. msgstr ""
  51262. #. type: deftp
  51263. #: guix-git/doc/guix.texi:34675
  51264. msgid "This is the representation of a @dfn{service type} (@pxref{Service Types and Services})."
  51265. msgstr ""
  51266. #. type: table
  51267. #: guix-git/doc/guix.texi:34679
  51268. msgid "This is a symbol, used only to simplify inspection and debugging."
  51269. msgstr ""
  51270. #. type: code{#1}
  51271. #: guix-git/doc/guix.texi:34680
  51272. #, no-wrap
  51273. msgid "extensions"
  51274. msgstr ""
  51275. #. type: table
  51276. #: guix-git/doc/guix.texi:34682
  51277. msgid "A non-empty list of @code{<service-extension>} objects (see below)."
  51278. msgstr ""
  51279. #. type: item
  51280. #: guix-git/doc/guix.texi:34683
  51281. #, no-wrap
  51282. msgid "@code{compose} (default: @code{#f})"
  51283. msgstr "@code{compose} (default: @code{#f})"
  51284. #. type: table
  51285. #: guix-git/doc/guix.texi:34687
  51286. 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."
  51287. msgstr ""
  51288. #. type: table
  51289. #: guix-git/doc/guix.texi:34691
  51290. 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."
  51291. msgstr ""
  51292. #. type: item
  51293. #: guix-git/doc/guix.texi:34692
  51294. #, no-wrap
  51295. msgid "@code{extend} (default: @code{#f})"
  51296. msgstr "@code{extend} (default: @code{#f})"
  51297. #. type: table
  51298. #: guix-git/doc/guix.texi:34694
  51299. msgid "If this is @code{#f}, services of this type cannot be extended."
  51300. msgstr ""
  51301. #. type: table
  51302. #: guix-git/doc/guix.texi:34700
  51303. 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."
  51304. msgstr ""
  51305. #. type: table
  51306. #: guix-git/doc/guix.texi:34706
  51307. 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})."
  51308. msgstr ""
  51309. #. type: item
  51310. #: guix-git/doc/guix.texi:34707
  51311. #, no-wrap
  51312. msgid "@code{default-value} (default: @code{&no-default-value})"
  51313. msgstr ""
  51314. #. type: table
  51315. #: guix-git/doc/guix.texi:34710
  51316. msgid "The default value associated for instances of this service type. This allows users to use the @code{service} form without its second argument:"
  51317. msgstr ""
  51318. #. type: lisp
  51319. #: guix-git/doc/guix.texi:34713
  51320. #, no-wrap
  51321. msgid "(service @var{type})\n"
  51322. msgstr ""
  51323. #. type: table
  51324. #: guix-git/doc/guix.texi:34717
  51325. msgid "The returned service in this case has the default value specified by @var{type}."
  51326. msgstr ""
  51327. #. type: deftp
  51328. #: guix-git/doc/guix.texi:34720
  51329. msgid "@xref{Service Types and Services}, for examples."
  51330. msgstr ""
  51331. #. type: deffn
  51332. #: guix-git/doc/guix.texi:34722
  51333. #, no-wrap
  51334. msgid "{Scheme Procedure} service-extension @var{target-type} @"
  51335. msgstr ""
  51336. #. type: deffn
  51337. #: guix-git/doc/guix.texi:34728
  51338. 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."
  51339. msgstr ""
  51340. #. type: deffn
  51341. #: guix-git/doc/guix.texi:34730
  51342. #, no-wrap
  51343. msgid "{Scheme Procedure} service-extension? @var{obj}"
  51344. msgstr ""
  51345. #. type: deffn
  51346. #: guix-git/doc/guix.texi:34732
  51347. msgid "Return true if @var{obj} is a service extension."
  51348. msgstr ""
  51349. #. type: Plain text
  51350. #: guix-git/doc/guix.texi:34738
  51351. 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."
  51352. msgstr ""
  51353. #. type: deffn
  51354. #: guix-git/doc/guix.texi:34739
  51355. #, no-wrap
  51356. msgid "{Scheme Procedure} simple-service @var{name} @var{target} @var{value}"
  51357. msgstr ""
  51358. #. type: deffn
  51359. #: guix-git/doc/guix.texi:34743
  51360. 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."
  51361. msgstr ""
  51362. #. type: deffn
  51363. #: guix-git/doc/guix.texi:34746
  51364. msgid "For example, this extends mcron (@pxref{Scheduled Job Execution}) with an additional job:"
  51365. msgstr ""
  51366. #. type: lisp
  51367. #: guix-git/doc/guix.texi:34750
  51368. #, no-wrap
  51369. msgid ""
  51370. "(simple-service 'my-mcron-job mcron-service-type\n"
  51371. " #~(job '(next-hour (3)) \"guix gc -F 2G\"))\n"
  51372. msgstr ""
  51373. #. type: Plain text
  51374. #: guix-git/doc/guix.texi:34760
  51375. 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."
  51376. msgstr ""
  51377. #. type: deffn
  51378. #: guix-git/doc/guix.texi:34761
  51379. #, no-wrap
  51380. msgid "{Scheme Procedure} fold-services @var{services} @"
  51381. msgstr ""
  51382. #. type: deffn
  51383. #: guix-git/doc/guix.texi:34765
  51384. 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."
  51385. msgstr ""
  51386. #. type: Plain text
  51387. #: guix-git/doc/guix.texi:34769
  51388. msgid "Lastly, the @code{(gnu services)} module also defines several essential service types, some of which are listed below."
  51389. msgstr ""
  51390. #. type: defvr
  51391. #: guix-git/doc/guix.texi:34770
  51392. #, no-wrap
  51393. msgid "{Scheme Variable} system-service-type"
  51394. msgstr ""
  51395. #. type: defvr
  51396. #: guix-git/doc/guix.texi:34773
  51397. msgid "This is the root of the service graph. It produces the system directory as returned by the @command{guix system build} command."
  51398. msgstr ""
  51399. #. type: defvr
  51400. #: guix-git/doc/guix.texi:34775
  51401. #, no-wrap
  51402. msgid "{Scheme Variable} boot-service-type"
  51403. msgstr ""
  51404. #. type: defvr
  51405. #: guix-git/doc/guix.texi:34778
  51406. 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."
  51407. msgstr ""
  51408. #. type: defvr
  51409. #: guix-git/doc/guix.texi:34780
  51410. #, no-wrap
  51411. msgid "{Scheme Variable} etc-service-type"
  51412. msgstr ""
  51413. #. type: defvr
  51414. #: guix-git/doc/guix.texi:34784
  51415. 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:"
  51416. msgstr ""
  51417. #. type: lisp
  51418. #: guix-git/doc/guix.texi:34787
  51419. #, no-wrap
  51420. msgid "(list `(\"issue\" ,(plain-file \"issue\" \"Welcome!\\n\")))\n"
  51421. msgstr ""
  51422. #. type: defvr
  51423. #: guix-git/doc/guix.texi:34791
  51424. msgid "In this example, the effect would be to add an @file{/etc/issue} file pointing to the given file."
  51425. msgstr ""
  51426. #. type: defvr
  51427. #: guix-git/doc/guix.texi:34793
  51428. #, no-wrap
  51429. msgid "{Scheme Variable} setuid-program-service-type"
  51430. msgstr ""
  51431. #. type: defvr
  51432. #: guix-git/doc/guix.texi:34797
  51433. 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})."
  51434. msgstr ""
  51435. #. type: defvr
  51436. #: guix-git/doc/guix.texi:34799
  51437. #, no-wrap
  51438. msgid "{Scheme Variable} profile-service-type"
  51439. msgstr ""
  51440. #. type: defvr
  51441. #: guix-git/doc/guix.texi:34803
  51442. 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."
  51443. msgstr ""
  51444. #. type: anchor{#1}
  51445. #: guix-git/doc/guix.texi:34807
  51446. msgid "provenance-service-type"
  51447. msgstr ""
  51448. #. type: defvr
  51449. #: guix-git/doc/guix.texi:34807
  51450. #, no-wrap
  51451. msgid "{Scheme Variable} provenance-service-type"
  51452. msgstr ""
  51453. #. type: defvr
  51454. #: guix-git/doc/guix.texi:34811
  51455. 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}:"
  51456. msgstr ""
  51457. #. type: item
  51458. #: guix-git/doc/guix.texi:34813
  51459. #, no-wrap
  51460. msgid "channels.scm"
  51461. msgstr ""
  51462. #. type: table
  51463. #: guix-git/doc/guix.texi:34818
  51464. 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})."
  51465. msgstr ""
  51466. #. type: item
  51467. #: guix-git/doc/guix.texi:34819
  51468. #, no-wrap
  51469. msgid "configuration.scm"
  51470. msgstr ""
  51471. #. type: table
  51472. #: guix-git/doc/guix.texi:34824
  51473. 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."
  51474. msgstr ""
  51475. #. type: item
  51476. #: guix-git/doc/guix.texi:34825
  51477. #, no-wrap
  51478. msgid "provenance"
  51479. msgstr ""
  51480. #. type: table
  51481. #: guix-git/doc/guix.texi:34828
  51482. msgid "This contains the same information as the two other files but in a format that is more readily processable."
  51483. msgstr ""
  51484. #. type: defvr
  51485. #: guix-git/doc/guix.texi:34832
  51486. msgid "In general, these two pieces of information (channels and configuration file) are enough to reproduce the operating system ``from source''."
  51487. msgstr ""
  51488. #. type: quotation
  51489. #: guix-git/doc/guix.texi:34833
  51490. #, no-wrap
  51491. msgid "Caveats"
  51492. msgstr ""
  51493. #. type: quotation
  51494. #: guix-git/doc/guix.texi:34840
  51495. 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."
  51496. msgstr ""
  51497. #. type: quotation
  51498. #: guix-git/doc/guix.texi:34848
  51499. 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."
  51500. msgstr ""
  51501. #. type: defvr
  51502. #: guix-git/doc/guix.texi:34853
  51503. 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}."
  51504. msgstr ""
  51505. #. type: defvr
  51506. #: guix-git/doc/guix.texi:34855
  51507. #, fuzzy, no-wrap
  51508. msgid "{Scheme Variable} linux-loadable-module-service-type"
  51509. msgstr "guix-publish-service-type"
  51510. #. type: defvr
  51511. #: guix-git/doc/guix.texi:34859
  51512. msgid "Type of the service that collects lists of packages containing kernel-loadable modules, and adds them to the set of kernel-loadable modules."
  51513. msgstr ""
  51514. #. type: defvr
  51515. #: guix-git/doc/guix.texi:34862
  51516. msgid "This service type is intended to be extended by other service types, such as below:"
  51517. msgstr ""
  51518. #. type: lisp
  51519. #: guix-git/doc/guix.texi:34868
  51520. #, no-wrap
  51521. msgid ""
  51522. "(simple-service 'installing-module\n"
  51523. " linux-loadable-module-service-type\n"
  51524. " (list module-to-install-1\n"
  51525. " module-to-install-2))\n"
  51526. msgstr ""
  51527. #. type: defvr
  51528. #: guix-git/doc/guix.texi:34872
  51529. 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."
  51530. msgstr ""
  51531. #. type: cindex
  51532. #: guix-git/doc/guix.texi:34877
  51533. #, no-wrap
  51534. msgid "shepherd services"
  51535. msgstr ""
  51536. #. type: cindex
  51537. #: guix-git/doc/guix.texi:34878
  51538. #, no-wrap
  51539. msgid "PID 1"
  51540. msgstr ""
  51541. #. type: cindex
  51542. #: guix-git/doc/guix.texi:34879
  51543. #, no-wrap
  51544. msgid "init system"
  51545. msgstr ""
  51546. #. type: Plain text
  51547. #: guix-git/doc/guix.texi:34885
  51548. 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})."
  51549. msgstr ""
  51550. #. type: Plain text
  51551. #: guix-git/doc/guix.texi:34891
  51552. 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:"
  51553. msgstr ""
  51554. #. type: Plain text
  51555. #: guix-git/doc/guix.texi:34893
  51556. msgid "@image{images/shepherd-graph,,5in,Typical shepherd service graph.}"
  51557. msgstr ""
  51558. #. type: Plain text
  51559. #: guix-git/doc/guix.texi:34897
  51560. 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}})."
  51561. msgstr ""
  51562. #. type: Plain text
  51563. #: guix-git/doc/guix.texi:34901
  51564. 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."
  51565. msgstr ""
  51566. #. type: deftp
  51567. #: guix-git/doc/guix.texi:34902
  51568. #, no-wrap
  51569. msgid "{Data Type} shepherd-service"
  51570. msgstr ""
  51571. #. type: deftp
  51572. #: guix-git/doc/guix.texi:34904
  51573. msgid "The data type representing a service managed by the Shepherd."
  51574. msgstr ""
  51575. #. type: code{#1}
  51576. #: guix-git/doc/guix.texi:34906
  51577. #, no-wrap
  51578. msgid "provision"
  51579. msgstr ""
  51580. #. type: table
  51581. #: guix-git/doc/guix.texi:34908
  51582. msgid "This is a list of symbols denoting what the service provides."
  51583. msgstr ""
  51584. #. type: table
  51585. #: guix-git/doc/guix.texi:34913
  51586. 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."
  51587. msgstr ""
  51588. #. type: item
  51589. #: guix-git/doc/guix.texi:34914
  51590. #, no-wrap
  51591. msgid "@code{requirement} (default: @code{'()})"
  51592. msgstr ""
  51593. #. type: table
  51594. #: guix-git/doc/guix.texi:34916
  51595. msgid "List of symbols denoting the Shepherd services this one depends on."
  51596. msgstr ""
  51597. #. type: cindex
  51598. #: guix-git/doc/guix.texi:34917
  51599. #, no-wrap
  51600. msgid "one-shot services, for the Shepherd"
  51601. msgstr ""
  51602. #. type: table
  51603. #: guix-git/doc/guix.texi:34922
  51604. 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."
  51605. msgstr ""
  51606. #. type: item
  51607. #: guix-git/doc/guix.texi:34923
  51608. #, no-wrap
  51609. msgid "@code{respawn?} (default: @code{#t})"
  51610. msgstr "@code{respawn?} (padrão: @code{#t})"
  51611. #. type: table
  51612. #: guix-git/doc/guix.texi:34926
  51613. msgid "Whether to restart the service when it stops, for instance when the underlying process dies."
  51614. msgstr ""
  51615. #. type: code{#1}
  51616. #: guix-git/doc/guix.texi:34927
  51617. #, no-wrap
  51618. msgid "start"
  51619. msgstr "iniciar"
  51620. #. type: itemx
  51621. #: guix-git/doc/guix.texi:34928
  51622. #, no-wrap
  51623. msgid "@code{stop} (default: @code{#~(const #f)})"
  51624. msgstr ""
  51625. #. type: table
  51626. #: guix-git/doc/guix.texi:34934
  51627. 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})."
  51628. msgstr ""
  51629. #. type: item
  51630. #: guix-git/doc/guix.texi:34935
  51631. #, no-wrap
  51632. msgid "@code{actions} (default: @code{'()})"
  51633. msgstr ""
  51634. #. type: cindex
  51635. #: guix-git/doc/guix.texi:34936
  51636. #, no-wrap
  51637. msgid "actions, of Shepherd services"
  51638. msgstr ""
  51639. #. type: table
  51640. #: guix-git/doc/guix.texi:34941
  51641. 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:"
  51642. msgstr ""
  51643. #. type: example
  51644. #: guix-git/doc/guix.texi:34944
  51645. #, no-wrap
  51646. msgid "herd @var{action} @var{service} [@var{arguments}@dots{}]\n"
  51647. msgstr ""
  51648. #. type: item
  51649. #: guix-git/doc/guix.texi:34946
  51650. #, no-wrap
  51651. msgid "@code{auto-start?} (default: @code{#t})"
  51652. msgstr ""
  51653. #. type: table
  51654. #: guix-git/doc/guix.texi:34949
  51655. 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}."
  51656. msgstr ""
  51657. #. type: table
  51658. #: guix-git/doc/guix.texi:34952
  51659. msgid "A documentation string, as shown when running:"
  51660. msgstr ""
  51661. #. type: example
  51662. #: guix-git/doc/guix.texi:34955
  51663. #, no-wrap
  51664. msgid "herd doc @var{service-name}\n"
  51665. msgstr ""
  51666. #. type: table
  51667. #: guix-git/doc/guix.texi:34959
  51668. msgid "where @var{service-name} is one of the symbols in @code{provision} (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual})."
  51669. msgstr ""
  51670. #. type: item
  51671. #: guix-git/doc/guix.texi:34960
  51672. #, no-wrap
  51673. msgid "@code{modules} (default: @code{%default-modules})"
  51674. msgstr ""
  51675. #. type: table
  51676. #: guix-git/doc/guix.texi:34963
  51677. msgid "This is the list of modules that must be in scope when @code{start} and @code{stop} are evaluated."
  51678. msgstr ""
  51679. #. type: Plain text
  51680. #: guix-git/doc/guix.texi:34971
  51681. 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}):"
  51682. msgstr ""
  51683. #. type: example
  51684. #: guix-git/doc/guix.texi:34983
  51685. #, no-wrap
  51686. msgid ""
  51687. "(let ((config (plain-file \"syslogd.conf\" \"@dots{}\")))\n"
  51688. " (shepherd-service\n"
  51689. " (documentation \"Run the syslog daemon (syslogd).\")\n"
  51690. " (provision '(syslogd))\n"
  51691. " (requirement '(user-processes))\n"
  51692. " (start #~(make-forkexec-constructor\n"
  51693. " (list #$(file-append inetutils \"/libexec/syslogd\")\n"
  51694. " \"--rcfile\" #$config)\n"
  51695. " #:pid-file \"/var/run/syslog.pid\"))\n"
  51696. " (stop #~(make-kill-destructor))))\n"
  51697. msgstr ""
  51698. #. type: Plain text
  51699. #: guix-git/doc/guix.texi:34998
  51700. 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})."
  51701. msgstr ""
  51702. #. type: deftp
  51703. #: guix-git/doc/guix.texi:34999
  51704. #, no-wrap
  51705. msgid "{Data Type} shepherd-action"
  51706. msgstr ""
  51707. #. type: deftp
  51708. #: guix-git/doc/guix.texi:35002
  51709. msgid "This is the data type that defines additional actions implemented by a Shepherd service (see above)."
  51710. msgstr ""
  51711. #. type: table
  51712. #: guix-git/doc/guix.texi:35006
  51713. msgid "Symbol naming the action."
  51714. msgstr ""
  51715. #. type: table
  51716. #: guix-git/doc/guix.texi:35009
  51717. msgid "This is a documentation string for the action. It can be viewed by running:"
  51718. msgstr ""
  51719. #. type: example
  51720. #: guix-git/doc/guix.texi:35012
  51721. #, no-wrap
  51722. msgid "herd doc @var{service} action @var{action}\n"
  51723. msgstr ""
  51724. #. type: item
  51725. #: guix-git/doc/guix.texi:35014
  51726. #, no-wrap
  51727. msgid "procedure"
  51728. msgstr ""
  51729. #. type: table
  51730. #: guix-git/doc/guix.texi:35018
  51731. 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})."
  51732. msgstr ""
  51733. #. type: deftp
  51734. #: guix-git/doc/guix.texi:35022
  51735. msgid "The following example defines an action called @code{say-hello} that kindly greets the user:"
  51736. msgstr ""
  51737. #. type: lisp
  51738. #: guix-git/doc/guix.texi:35031
  51739. #, no-wrap
  51740. msgid ""
  51741. "(shepherd-action\n"
  51742. " (name 'say-hello)\n"
  51743. " (documentation \"Say hi!\")\n"
  51744. " (procedure #~(lambda (running . args)\n"
  51745. " (format #t \"Hello, friend! arguments: ~s\\n\"\n"
  51746. " args)\n"
  51747. " #t)))\n"
  51748. msgstr ""
  51749. #. type: deftp
  51750. #: guix-git/doc/guix.texi:35034
  51751. msgid "Assuming this action is added to the @code{example} service, then you can do:"
  51752. msgstr ""
  51753. #. type: example
  51754. #: guix-git/doc/guix.texi:35040
  51755. #, no-wrap
  51756. msgid ""
  51757. "# herd say-hello example\n"
  51758. "Hello, friend! arguments: ()\n"
  51759. "# herd say-hello example a b c\n"
  51760. "Hello, friend! arguments: (\"a\" \"b\" \"c\")\n"
  51761. msgstr ""
  51762. #. type: deftp
  51763. #: guix-git/doc/guix.texi:35045
  51764. 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."
  51765. msgstr ""
  51766. #. type: defvr
  51767. #: guix-git/doc/guix.texi:35047
  51768. #, no-wrap
  51769. msgid "{Scheme Variable} shepherd-root-service-type"
  51770. msgstr ""
  51771. #. type: defvr
  51772. #: guix-git/doc/guix.texi:35049
  51773. msgid "The service type for the Shepherd ``root service''---i.e., PID@tie{}1."
  51774. msgstr ""
  51775. #. type: defvr
  51776. #: guix-git/doc/guix.texi:35054
  51777. 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."
  51778. msgstr ""
  51779. #. type: deftp
  51780. #: guix-git/doc/guix.texi:35056
  51781. #, no-wrap
  51782. msgid "{Data Type} shepherd-configuration"
  51783. msgstr ""
  51784. #. type: deftp
  51785. #: guix-git/doc/guix.texi:35058
  51786. msgid "This data type represents the Shepherd's configuration."
  51787. msgstr ""
  51788. #. type: item
  51789. #: guix-git/doc/guix.texi:35060
  51790. #, no-wrap
  51791. msgid "shepherd (default: @code{shepherd})"
  51792. msgstr ""
  51793. #. type: table
  51794. #: guix-git/doc/guix.texi:35062
  51795. msgid "The Shepherd package to use."
  51796. msgstr ""
  51797. #. type: item
  51798. #: guix-git/doc/guix.texi:35063
  51799. #, no-wrap
  51800. msgid "services (default: @code{'()})"
  51801. msgstr ""
  51802. #. type: table
  51803. #: guix-git/doc/guix.texi:35067
  51804. msgid "A list of @code{<shepherd-service>} to start. You should probably use the service extension mechanism instead (@pxref{Shepherd Services})."
  51805. msgstr ""
  51806. #. type: Plain text
  51807. #: guix-git/doc/guix.texi:35072
  51808. msgid "The following example specifies the Shepherd package for the operating system:"
  51809. msgstr ""
  51810. #. type: lisp
  51811. #: guix-git/doc/guix.texi:35087
  51812. #, no-wrap
  51813. msgid ""
  51814. "(operating-system\n"
  51815. " ;; ...\n"
  51816. " (services (append (list openssh-service-type))\n"
  51817. " ;; ...\n"
  51818. " %desktop-services)\n"
  51819. " ;; ...\n"
  51820. " ;; Use own Shepherd package.\n"
  51821. " (essential-services\n"
  51822. " (modify-services (operating-system-default-essential-services\n"
  51823. " this-operating-system)\n"
  51824. " (shepherd-root-service-type config => (shepherd-configuration\n"
  51825. " (inherit config)\n"
  51826. " (shepherd my-shepherd))))))\n"
  51827. msgstr ""
  51828. #. type: defvr
  51829. #: guix-git/doc/guix.texi:35089
  51830. #, no-wrap
  51831. msgid "{Scheme Variable} %shepherd-root-service"
  51832. msgstr ""
  51833. #. type: defvr
  51834. #: guix-git/doc/guix.texi:35091
  51835. msgid "This service represents PID@tie{}1."
  51836. msgstr ""
  51837. #. type: cindex
  51838. #: guix-git/doc/guix.texi:35097
  51839. #, no-wrap
  51840. msgid "documentation, searching for"
  51841. msgstr ""
  51842. #. type: cindex
  51843. #: guix-git/doc/guix.texi:35098
  51844. #, no-wrap
  51845. msgid "searching for documentation"
  51846. msgstr ""
  51847. #. type: cindex
  51848. #: guix-git/doc/guix.texi:35099
  51849. #, no-wrap
  51850. msgid "Info, documentation format"
  51851. msgstr ""
  51852. #. type: cindex
  51853. #: guix-git/doc/guix.texi:35100
  51854. #, no-wrap
  51855. msgid "man pages"
  51856. msgstr ""
  51857. #. type: cindex
  51858. #: guix-git/doc/guix.texi:35101
  51859. #, no-wrap
  51860. msgid "manual pages"
  51861. msgstr ""
  51862. #. type: Plain text
  51863. #: guix-git/doc/guix.texi:35108
  51864. 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}."
  51865. msgstr ""
  51866. #. type: Plain text
  51867. #: guix-git/doc/guix.texi:35112
  51868. 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:"
  51869. msgstr ""
  51870. #. type: example
  51871. #: guix-git/doc/guix.texi:35120
  51872. #, no-wrap
  51873. msgid ""
  51874. "$ info -k TLS\n"
  51875. "\"(emacs)Network Security\" -- STARTTLS\n"
  51876. "\"(emacs)Network Security\" -- TLS\n"
  51877. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_flags\n"
  51878. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_function\n"
  51879. "@dots{}\n"
  51880. msgstr ""
  51881. #. type: Plain text
  51882. #: guix-git/doc/guix.texi:35124
  51883. msgid "The command below searches for the same keyword in man pages:"
  51884. msgstr ""
  51885. #. type: example
  51886. #: guix-git/doc/guix.texi:35130
  51887. #, no-wrap
  51888. msgid ""
  51889. "$ man -k TLS\n"
  51890. "SSL (7) - OpenSSL SSL/TLS library\n"
  51891. "certtool (1) - GnuTLS certificate tool\n"
  51892. "@dots {}\n"
  51893. msgstr ""
  51894. "$ man -k TLS\n"
  51895. "SSL (7) - OpenSSL SSL/TLS library\n"
  51896. "certtool (1) - GnuTLS certificate tool\n"
  51897. "@dots {}\n"
  51898. #. type: Plain text
  51899. #: guix-git/doc/guix.texi:35136
  51900. 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."
  51901. msgstr ""
  51902. #. type: Plain text
  51903. #: guix-git/doc/guix.texi:35139
  51904. msgid "Once you have these results, you can view the relevant documentation by running, say:"
  51905. msgstr ""
  51906. #. type: example
  51907. #: guix-git/doc/guix.texi:35142
  51908. #, no-wrap
  51909. msgid "$ info \"(gnutls)Core TLS API\"\n"
  51910. msgstr ""
  51911. #. type: Plain text
  51912. #: guix-git/doc/guix.texi:35146
  51913. msgid "or:"
  51914. msgstr ""
  51915. #. type: example
  51916. #: guix-git/doc/guix.texi:35149
  51917. #, no-wrap
  51918. msgid "$ man certtool\n"
  51919. msgstr ""
  51920. #. type: Plain text
  51921. #: guix-git/doc/guix.texi:35157
  51922. 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."
  51923. msgstr ""
  51924. #. type: cindex
  51925. #: guix-git/doc/guix.texi:35161
  51926. #, no-wrap
  51927. msgid "debugging files"
  51928. msgstr ""
  51929. #. type: Plain text
  51930. #: guix-git/doc/guix.texi:35167
  51931. 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."
  51932. msgstr ""
  51933. #. type: Plain text
  51934. #: guix-git/doc/guix.texi:35171
  51935. 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."
  51936. msgstr ""
  51937. #. type: Plain text
  51938. #: guix-git/doc/guix.texi:35187
  51939. 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})."
  51940. msgstr ""
  51941. #. type: Plain text
  51942. #: guix-git/doc/guix.texi:35194
  51943. 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})."
  51944. msgstr ""
  51945. #. type: Plain text
  51946. #: guix-git/doc/guix.texi:35202
  51947. 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:"
  51948. msgstr ""
  51949. #. type: example
  51950. #: guix-git/doc/guix.texi:35205
  51951. #, no-wrap
  51952. msgid "guix install glibc:debug guile:debug\n"
  51953. msgstr ""
  51954. #. type: Plain text
  51955. #: guix-git/doc/guix.texi:35211
  51956. 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}):"
  51957. msgstr ""
  51958. #. type: example
  51959. #: guix-git/doc/guix.texi:35214
  51960. #, no-wrap
  51961. msgid "(gdb) set debug-file-directory ~/.guix-profile/lib/debug\n"
  51962. msgstr ""
  51963. #. type: Plain text
  51964. #: guix-git/doc/guix.texi:35218
  51965. msgid "From there on, GDB will pick up debugging information from the @file{.debug} files under @file{~/.guix-profile/lib/debug}."
  51966. msgstr ""
  51967. #. type: Plain text
  51968. #: guix-git/doc/guix.texi:35225
  51969. 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})."
  51970. msgstr ""
  51971. #. type: Plain text
  51972. #: guix-git/doc/guix.texi:35233
  51973. 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})."
  51974. msgstr ""
  51975. #. type: Plain text
  51976. #: guix-git/doc/guix.texi:35235
  51977. msgid "Read on for how to deal with packages lacking a @code{debug} output."
  51978. msgstr ""
  51979. #. type: Plain text
  51980. #: guix-git/doc/guix.texi:35247
  51981. 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."
  51982. msgstr ""
  51983. #. type: Plain text
  51984. #: guix-git/doc/guix.texi:35252
  51985. 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:"
  51986. msgstr ""
  51987. #. type: example
  51988. #: guix-git/doc/guix.texi:35263
  51989. #, no-wrap
  51990. msgid ""
  51991. "(gdb) bt\n"
  51992. "#0 0x00007ffff5f92190 in g_getenv ()\n"
  51993. " from /gnu/store/@dots{}-glib-2.62.6/lib/libglib-2.0.so.0\n"
  51994. "#1 0x00007ffff608a7d6 in gobject_init_ctor ()\n"
  51995. " from /gnu/store/@dots{}-glib-2.62.6/lib/libgobject-2.0.so.0\n"
  51996. "#2 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=1, argv=argv@@entry=0x7fffffffcfd8, \n"
  51997. " env=env@@entry=0x7fffffffcfe8) at dl-init.c:72\n"
  51998. "#3 0x00007ffff7fe2866 in call_init (env=0x7fffffffcfe8, argv=0x7fffffffcfd8, argc=1, l=<optimized out>)\n"
  51999. " at dl-init.c:118\n"
  52000. msgstr ""
  52001. #. type: Plain text
  52002. #: guix-git/doc/guix.texi:35267
  52003. msgid "To address that, you install Inkscape linked against a variant GLib that contains debug info:"
  52004. msgstr ""
  52005. #. type: Plain text
  52006. #: guix-git/doc/guix.texi:35273
  52007. msgid "This time, debugging will be a whole lot nicer:"
  52008. msgstr ""
  52009. #. type: example
  52010. #: guix-git/doc/guix.texi:35291
  52011. #, no-wrap
  52012. msgid ""
  52013. "$ gdb --args sh -c 'exec inkscape'\n"
  52014. "@dots{}\n"
  52015. "(gdb) b g_getenv\n"
  52016. "Function \"g_getenv\" not defined.\n"
  52017. "Make breakpoint pending on future shared library load? (y or [n]) y\n"
  52018. "Breakpoint 1 (g_getenv) pending.\n"
  52019. "(gdb) r\n"
  52020. "Starting program: /gnu/store/@dots{}-profile/bin/sh -c exec\\ inkscape\n"
  52021. "@dots{}\n"
  52022. "(gdb) bt\n"
  52023. "#0 g_getenv (variable=variable@@entry=0x7ffff60c7a2e \"GOBJECT_DEBUG\") at ../glib-2.62.6/glib/genviron.c:252\n"
  52024. "#1 0x00007ffff608a7d6 in gobject_init () at ../glib-2.62.6/gobject/gtype.c:4380\n"
  52025. "#2 gobject_init_ctor () at ../glib-2.62.6/gobject/gtype.c:4493\n"
  52026. "#3 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=3, argv=argv@@entry=0x7fffffffd088, \n"
  52027. " env=env@@entry=0x7fffffffd0a8) at dl-init.c:72\n"
  52028. "@dots{}\n"
  52029. msgstr ""
  52030. #. type: Plain text
  52031. #: guix-git/doc/guix.texi:35294
  52032. msgid "Much better!"
  52033. msgstr ""
  52034. #. type: Plain text
  52035. #: guix-git/doc/guix.texi:35298
  52036. 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."
  52037. msgstr ""
  52038. #. type: cindex
  52039. #: guix-git/doc/guix.texi:35302
  52040. #, no-wrap
  52041. msgid "security updates"
  52042. msgstr ""
  52043. #. type: Plain text
  52044. #: guix-git/doc/guix.texi:35311
  52045. 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:"
  52046. msgstr ""
  52047. #. type: smallexample
  52048. #: guix-git/doc/guix.texi:35318
  52049. #, no-wrap
  52050. msgid ""
  52051. "$ guix lint -c cve\n"
  52052. "gnu/packages/base.scm:652:2: glibc@@2.21: probably vulnerable to CVE-2015-1781, CVE-2015-7547\n"
  52053. "gnu/packages/gcc.scm:334:2: gcc@@4.9.3: probably vulnerable to CVE-2015-5276\n"
  52054. "gnu/packages/image.scm:312:2: openjpeg@@2.1.0: probably vulnerable to CVE-2016-1923, CVE-2016-1924\n"
  52055. "@dots{}\n"
  52056. msgstr ""
  52057. #. type: Plain text
  52058. #: guix-git/doc/guix.texi:35321
  52059. msgid "@xref{Invoking guix lint}, for more information."
  52060. msgstr ""
  52061. #. type: Plain text
  52062. #: guix-git/doc/guix.texi:35330
  52063. 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."
  52064. msgstr ""
  52065. #. type: cindex
  52066. #: guix-git/doc/guix.texi:35331
  52067. #, no-wrap
  52068. msgid "grafts"
  52069. msgstr ""
  52070. #. type: Plain text
  52071. #: guix-git/doc/guix.texi:35339
  52072. 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."
  52073. msgstr ""
  52074. #. type: cindex
  52075. #: guix-git/doc/guix.texi:35340
  52076. #, no-wrap
  52077. msgid "replacements of packages, for grafts"
  52078. msgstr ""
  52079. #. type: Plain text
  52080. #: guix-git/doc/guix.texi:35346
  52081. 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:"
  52082. msgstr ""
  52083. #. type: lisp
  52084. #: guix-git/doc/guix.texi:35353
  52085. #, no-wrap
  52086. msgid ""
  52087. "(define bash\n"
  52088. " (package\n"
  52089. " (name \"bash\")\n"
  52090. " ;; @dots{}\n"
  52091. " (replacement bash-fixed)))\n"
  52092. msgstr ""
  52093. #. type: Plain text
  52094. #: guix-git/doc/guix.texi:35363
  52095. 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."
  52096. msgstr ""
  52097. #. type: Plain text
  52098. #: guix-git/doc/guix.texi:35371
  52099. 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."
  52100. msgstr ""
  52101. #. type: Plain text
  52102. #: guix-git/doc/guix.texi:35375
  52103. msgid "The @option{--no-grafts} command-line option allows you to forcefully avoid grafting (@pxref{Common Build Options, @option{--no-grafts}}). Thus, the command:"
  52104. msgstr ""
  52105. #. type: example
  52106. #: guix-git/doc/guix.texi:35378
  52107. #, no-wrap
  52108. msgid "guix build bash --no-grafts\n"
  52109. msgstr ""
  52110. #. type: Plain text
  52111. #: guix-git/doc/guix.texi:35382
  52112. msgid "returns the store file name of the original Bash, whereas:"
  52113. msgstr ""
  52114. #. type: example
  52115. #: guix-git/doc/guix.texi:35385
  52116. #, no-wrap
  52117. msgid "guix build bash\n"
  52118. msgstr ""
  52119. #. type: Plain text
  52120. #: guix-git/doc/guix.texi:35390
  52121. msgid "returns the store file name of the ``fixed'', replacement Bash. This allows you to distinguish between the two variants of Bash."
  52122. msgstr ""
  52123. #. type: Plain text
  52124. #: guix-git/doc/guix.texi:35393
  52125. msgid "To verify which Bash your whole profile refers to, you can run (@pxref{Invoking guix gc}):"
  52126. msgstr ""
  52127. #. type: example
  52128. #: guix-git/doc/guix.texi:35396
  52129. #, no-wrap
  52130. msgid "guix gc -R $(readlink -f ~/.guix-profile) | grep bash\n"
  52131. msgstr ""
  52132. #. type: Plain text
  52133. #: guix-git/doc/guix.texi:35401
  52134. msgid "@dots{} and compare the store file names that you get with those above. Likewise for a complete Guix system generation:"
  52135. msgstr ""
  52136. #. type: example
  52137. #: guix-git/doc/guix.texi:35404
  52138. #, no-wrap
  52139. msgid "guix gc -R $(guix system build my-config.scm) | grep bash\n"
  52140. msgstr ""
  52141. #. type: Plain text
  52142. #: guix-git/doc/guix.texi:35408
  52143. msgid "Lastly, to check which Bash running processes are using, you can use the @command{lsof} command:"
  52144. msgstr ""
  52145. #. type: example
  52146. #: guix-git/doc/guix.texi:35411
  52147. #, no-wrap
  52148. msgid "lsof | grep /gnu/store/.*bash\n"
  52149. msgstr ""
  52150. #. type: cindex
  52151. #: guix-git/doc/guix.texi:35419
  52152. #, no-wrap
  52153. msgid "bootstrapping"
  52154. msgstr ""
  52155. #. type: Plain text
  52156. #: guix-git/doc/guix.texi:35426
  52157. 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?"
  52158. msgstr ""
  52159. #. type: Plain text
  52160. #: guix-git/doc/guix.texi:35434
  52161. 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."
  52162. msgstr ""
  52163. #. type: cindex
  52164. #: guix-git/doc/guix.texi:35435 guix-git/doc/guix.texi:35647
  52165. #, no-wrap
  52166. msgid "bootstrap binaries"
  52167. msgstr ""
  52168. #. type: Plain text
  52169. #: guix-git/doc/guix.texi:35445
  52170. 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}."
  52171. msgstr ""
  52172. #. type: Plain text
  52173. #: guix-git/doc/guix.texi:35449
  52174. msgid "These bootstrap binaries are ``taken for granted'', though we can also re-create them if needed (@pxref{Preparing to Use the Bootstrap Binaries})."
  52175. msgstr ""
  52176. #. type: section
  52177. #: guix-git/doc/guix.texi:35456
  52178. #, no-wrap
  52179. msgid "The Reduced Binary Seed Bootstrap"
  52180. msgstr ""
  52181. #. type: Plain text
  52182. #: guix-git/doc/guix.texi:35463
  52183. 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.''"
  52184. msgstr ""
  52185. #. type: Plain text
  52186. #: guix-git/doc/guix.texi:35469
  52187. 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."
  52188. msgstr ""
  52189. #. type: Plain text
  52190. #: guix-git/doc/guix.texi:35474
  52191. 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.}."
  52192. msgstr ""
  52193. #. type: Plain text
  52194. #: guix-git/doc/guix.texi:35480
  52195. 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)."
  52196. msgstr ""
  52197. #. type: Plain text
  52198. #: guix-git/doc/guix.texi:35485
  52199. 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."
  52200. msgstr ""
  52201. #. type: Plain text
  52202. #: guix-git/doc/guix.texi:35493
  52203. 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."
  52204. msgstr ""
  52205. #. type: Plain text
  52206. #: guix-git/doc/guix.texi:35503
  52207. 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."
  52208. msgstr ""
  52209. #. type: Plain text
  52210. #: guix-git/doc/guix.texi:35507
  52211. 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."
  52212. msgstr ""
  52213. #. type: Plain text
  52214. #: guix-git/doc/guix.texi:35510
  52215. msgid "@image{images/gcc-core-mesboot0-graph,6in,,Dependency graph of gcc-core-mesboot0}"
  52216. msgstr ""
  52217. #. type: Plain text
  52218. #: guix-git/doc/guix.texi:35517
  52219. 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.}."
  52220. msgstr ""
  52221. #. type: Plain text
  52222. #: guix-git/doc/guix.texi:35520
  52223. 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}."
  52224. msgstr ""
  52225. #. type: Plain text
  52226. #: guix-git/doc/guix.texi:35525
  52227. 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."
  52228. msgstr ""
  52229. #. type: Plain text
  52230. #: guix-git/doc/guix.texi:35529
  52231. 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}."
  52232. msgstr ""
  52233. #. type: Plain text
  52234. #: guix-git/doc/guix.texi:35536
  52235. msgid "@image{images/bootstrap-graph,6in,,Dependency graph of the early bootstrap derivations}"
  52236. msgstr ""
  52237. #. type: Plain text
  52238. #: guix-git/doc/guix.texi:35541
  52239. 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:"
  52240. msgstr ""
  52241. #. type: example
  52242. #: guix-git/doc/guix.texi:35546
  52243. #, no-wrap
  52244. msgid ""
  52245. "guix graph -t derivation \\\n"
  52246. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-gcc)' \\\n"
  52247. " | dot -Tps > gcc.ps\n"
  52248. msgstr ""
  52249. #. type: Plain text
  52250. #: guix-git/doc/guix.texi:35549
  52251. msgid "or, for the further Reduced Binary Seed bootstrap"
  52252. msgstr ""
  52253. #. type: example
  52254. #: guix-git/doc/guix.texi:35554
  52255. #, no-wrap
  52256. msgid ""
  52257. "guix graph -t derivation \\\n"
  52258. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-mes)' \\\n"
  52259. " | dot -Tps > mes.ps\n"
  52260. msgstr ""
  52261. #. type: Plain text
  52262. #: guix-git/doc/guix.texi:35563
  52263. 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})."
  52264. msgstr ""
  52265. #. type: Plain text
  52266. #: guix-git/doc/guix.texi:35572
  52267. 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."
  52268. msgstr ""
  52269. #. type: Plain text
  52270. #: guix-git/doc/guix.texi:35584
  52271. 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})."
  52272. msgstr ""
  52273. #. type: Plain text
  52274. #: guix-git/doc/guix.texi:35589
  52275. 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."
  52276. msgstr ""
  52277. #. type: unnumberedsec
  52278. #: guix-git/doc/guix.texi:35590
  52279. #, no-wrap
  52280. msgid "Building the Build Tools"
  52281. msgstr ""
  52282. #. type: Plain text
  52283. #: guix-git/doc/guix.texi:35599
  52284. 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."
  52285. msgstr ""
  52286. #. type: Plain text
  52287. #: guix-git/doc/guix.texi:35606
  52288. 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:"
  52289. msgstr ""
  52290. #. type: example
  52291. #: guix-git/doc/guix.texi:35611
  52292. #, no-wrap
  52293. msgid ""
  52294. "guix graph -t bag \\\n"
  52295. " -e '(@@@@ (gnu packages commencement)\n"
  52296. " glibc-final-with-bootstrap-bash)' | xdot -\n"
  52297. msgstr ""
  52298. #. type: Plain text
  52299. #: guix-git/doc/guix.texi:35618
  52300. 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."
  52301. msgstr ""
  52302. #. type: Plain text
  52303. #: guix-git/doc/guix.texi:35620
  52304. msgid "@image{images/bootstrap-packages,6in,,Dependency graph of the early packages}"
  52305. msgstr ""
  52306. #. type: Plain text
  52307. #: guix-git/doc/guix.texi:35626
  52308. 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."
  52309. msgstr ""
  52310. #. type: Plain text
  52311. #: guix-git/doc/guix.texi:35631
  52312. 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."
  52313. msgstr ""
  52314. #. type: Plain text
  52315. #: guix-git/doc/guix.texi:35637
  52316. 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."
  52317. msgstr ""
  52318. #. type: Plain text
  52319. #: guix-git/doc/guix.texi:35643
  52320. 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}})."
  52321. msgstr ""
  52322. #. type: unnumberedsec
  52323. #: guix-git/doc/guix.texi:35645
  52324. #, no-wrap
  52325. msgid "Building the Bootstrap Binaries"
  52326. msgstr ""
  52327. #. type: Plain text
  52328. #: guix-git/doc/guix.texi:35652
  52329. 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."
  52330. msgstr ""
  52331. #. type: Plain text
  52332. #: guix-git/doc/guix.texi:35658
  52333. 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):"
  52334. msgstr ""
  52335. #. type: example
  52336. #: guix-git/doc/guix.texi:35661
  52337. #, no-wrap
  52338. msgid "guix build bootstrap-tarballs\n"
  52339. msgstr ""
  52340. #. type: Plain text
  52341. #: guix-git/doc/guix.texi:35666
  52342. 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."
  52343. msgstr ""
  52344. #. type: Plain text
  52345. #: guix-git/doc/guix.texi:35672
  52346. 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."
  52347. msgstr ""
  52348. #. type: unnumberedsec
  52349. #: guix-git/doc/guix.texi:35673
  52350. #, no-wrap
  52351. msgid "Reducing the Set of Bootstrap Binaries"
  52352. msgstr ""
  52353. #. type: Plain text
  52354. #: guix-git/doc/guix.texi:35681
  52355. 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}."
  52356. msgstr ""
  52357. #. type: Plain text
  52358. #: guix-git/doc/guix.texi:35687
  52359. 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."
  52360. msgstr ""
  52361. #. type: Plain text
  52362. #: guix-git/doc/guix.texi:35693
  52363. 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."
  52364. msgstr ""
  52365. #. type: Plain text
  52366. #: guix-git/doc/guix.texi:35702
  52367. 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."
  52368. msgstr ""
  52369. #. type: Plain text
  52370. #: guix-git/doc/guix.texi:35705
  52371. 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!"
  52372. msgstr ""
  52373. #. type: chapter
  52374. #: guix-git/doc/guix.texi:35707
  52375. #, no-wrap
  52376. msgid "Porting to a New Platform"
  52377. msgstr "Portando para uma nova plataforma"
  52378. #. type: Plain text
  52379. #: guix-git/doc/guix.texi:35716
  52380. 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."
  52381. msgstr ""
  52382. #. type: Plain text
  52383. #: guix-git/doc/guix.texi:35721
  52384. 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:"
  52385. msgstr ""
  52386. #. type: example
  52387. #: guix-git/doc/guix.texi:35724
  52388. #, no-wrap
  52389. msgid "guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs\n"
  52390. msgstr ""
  52391. #. type: Plain text
  52392. #: guix-git/doc/guix.texi:35731
  52393. 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."
  52394. msgstr ""
  52395. #. type: Plain text
  52396. #: guix-git/doc/guix.texi:35740
  52397. 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."
  52398. msgstr ""
  52399. #. type: Plain text
  52400. #: guix-git/doc/guix.texi:35749
  52401. 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."
  52402. msgstr ""
  52403. #. type: include
  52404. #: guix-git/doc/guix.texi:35751
  52405. #, no-wrap
  52406. msgid "contributing.texi"
  52407. msgstr "contributing.pt_BR.texi"
  52408. #. type: Plain text
  52409. #: guix-git/doc/guix.texi:35764
  52410. 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."
  52411. msgstr ""
  52412. #. type: Plain text
  52413. #: guix-git/doc/guix.texi:35767
  52414. msgid "The Nix-based software distributions, Nixpkgs and NixOS, have also been an inspiration for Guix."
  52415. msgstr "As distribuições de software baseadas em Nix, Nixpkgs e NixOS, também foram uma inspiração para o Guix."
  52416. #. type: Plain text
  52417. #: guix-git/doc/guix.texi:35773
  52418. 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!"
  52419. 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!"
  52420. #. type: cindex
  52421. #: guix-git/doc/guix.texi:35778
  52422. #, no-wrap
  52423. msgid "license, GNU Free Documentation License"
  52424. msgstr "licença, Licença de Documentação Livre GNU"
  52425. #. type: include
  52426. #: guix-git/doc/guix.texi:35779
  52427. #, no-wrap
  52428. msgid "fdl-1.3.texi"
  52429. msgstr "fdl-1.3.texi"