guix-manual.pt_BR.po 2.0 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) YEAR the authors of Guix (msgids)
  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-04-06 13:33+0200\n"
  11. "PO-Revision-Date: 2021-05-03 22:22+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.1\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:168
  26. #, no-wrap
  27. msgid "Contributing"
  28. msgstr "Contribuindo"
  29. #. type: Plain text
  30. #: guix-git/doc/contributing.texi:9
  31. 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})."
  32. 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})."
  33. #. type: cindex
  34. #: guix-git/doc/contributing.texi:10
  35. #, no-wrap
  36. msgid "code of conduct, of contributors"
  37. msgstr "código de conduta, de contribuidores"
  38. #. type: cindex
  39. #: guix-git/doc/contributing.texi:11
  40. #, no-wrap
  41. msgid "contributor covenant"
  42. msgstr "acordo de contribuição"
  43. #. type: Plain text
  44. #: guix-git/doc/contributing.texi:17
  45. 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."
  46. 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."
  47. #. type: Plain text
  48. #: guix-git/doc/contributing.texi:21
  49. 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."
  50. 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."
  51. #. type: section
  52. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:34
  53. #: guix-git/doc/contributing.texi:35
  54. #, no-wrap
  55. msgid "Building from Git"
  56. msgstr "Compilando do git"
  57. #. type: menuentry
  58. #: guix-git/doc/contributing.texi:32
  59. msgid "The latest and greatest."
  60. msgstr "A mais recente e melhor."
  61. #. type: section
  62. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:160
  63. #: guix-git/doc/contributing.texi:161
  64. #, no-wrap
  65. msgid "Running Guix Before It Is Installed"
  66. msgstr "Executando guix antes dele ser instalado"
  67. #. type: menuentry
  68. #: guix-git/doc/contributing.texi:32
  69. msgid "Hacker tricks."
  70. msgstr "Truques de hacker."
  71. #. type: section
  72. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:234
  73. #: guix-git/doc/contributing.texi:235
  74. #, no-wrap
  75. msgid "The Perfect Setup"
  76. msgstr "A configuração perfeita"
  77. #. type: menuentry
  78. #: guix-git/doc/contributing.texi:32
  79. msgid "The right tools."
  80. msgstr "As ferramentas certas."
  81. #. type: section
  82. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:325
  83. #: guix-git/doc/contributing.texi:326
  84. #, no-wrap
  85. msgid "Packaging Guidelines"
  86. msgstr "Diretrizes de empacotamento"
  87. #. type: menuentry
  88. #: guix-git/doc/contributing.texi:32
  89. msgid "Growing the distribution."
  90. msgstr "Crescendo a distribuição."
  91. #. type: section
  92. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:873
  93. #: guix-git/doc/contributing.texi:874
  94. #, no-wrap
  95. msgid "Coding Style"
  96. msgstr "Estilo de código"
  97. #. type: menuentry
  98. #: guix-git/doc/contributing.texi:32
  99. msgid "Hygiene of the contributor."
  100. msgstr "Limpeza do contribuidor."
  101. #. type: section
  102. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:972
  103. #: guix-git/doc/contributing.texi:973
  104. #, no-wrap
  105. msgid "Submitting Patches"
  106. msgstr "Enviando patches"
  107. #. type: menuentry
  108. #: guix-git/doc/contributing.texi:32
  109. msgid "Share your work."
  110. msgstr "Compartilhe seu trabalho."
  111. #. type: section
  112. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:1198
  113. #: guix-git/doc/contributing.texi:1199
  114. #, no-wrap
  115. msgid "Tracking Bugs and Patches"
  116. msgstr ""
  117. #. type: menuentry
  118. #: guix-git/doc/contributing.texi:32
  119. msgid "Using Debbugs."
  120. msgstr ""
  121. #. type: section
  122. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:1249
  123. #: guix-git/doc/contributing.texi:1250
  124. #, no-wrap
  125. msgid "Commit Access"
  126. msgstr ""
  127. #. type: menuentry
  128. #: guix-git/doc/contributing.texi:32
  129. msgid "Pushing to the official repository."
  130. msgstr ""
  131. #. type: section
  132. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:1396
  133. #: guix-git/doc/contributing.texi:1397
  134. #, no-wrap
  135. msgid "Updating the Guix Package"
  136. msgstr ""
  137. #. type: menuentry
  138. #: guix-git/doc/contributing.texi:32
  139. msgid "Updating the Guix package definition."
  140. msgstr ""
  141. #. type: Plain text
  142. #: guix-git/doc/contributing.texi:39
  143. msgid "If you want to hack Guix itself, it is recommended to use the latest version from the Git repository:"
  144. msgstr "Se você quiser hackear o próprio Guix, é recomendado usar a versão mais recente do repositório Git:"
  145. #. type: example
  146. #: guix-git/doc/contributing.texi:42
  147. #, no-wrap
  148. msgid "git clone https://git.savannah.gnu.org/git/guix.git\n"
  149. msgstr "git clone https://git.savannah.gnu.org/git/guix.git\n"
  150. #. type: cindex
  151. #: guix-git/doc/contributing.texi:44
  152. #, no-wrap
  153. msgid "authentication, of a Guix checkout"
  154. msgstr ""
  155. #. type: Plain text
  156. #: guix-git/doc/contributing.texi:49
  157. 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}):"
  158. msgstr ""
  159. #. type: example
  160. #: guix-git/doc/contributing.texi:56
  161. #, no-wrap
  162. msgid ""
  163. "git fetch origin keyring:keyring\n"
  164. "guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad \\\n"
  165. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\"\n"
  166. msgstr ""
  167. #. type: Plain text
  168. #: guix-git/doc/contributing.texi:61
  169. msgid "This command completes with exit code zero on success; it prints an error message and exits with a non-zero code otherwise."
  170. msgstr ""
  171. #. type: Plain text
  172. #: guix-git/doc/contributing.texi:68
  173. 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."
  174. msgstr ""
  175. #. type: Plain text
  176. #: guix-git/doc/contributing.texi:73
  177. 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:"
  178. 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:"
  179. #. type: example
  180. #: guix-git/doc/contributing.texi:76
  181. #, no-wrap
  182. msgid "guix environment guix --pure\n"
  183. msgstr ""
  184. #. type: Plain text
  185. #: guix-git/doc/contributing.texi:79
  186. msgid "@xref{Invoking guix environment}, for more information on that command."
  187. msgstr ""
  188. #. type: Plain text
  189. #: guix-git/doc/contributing.texi:83
  190. 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})."
  191. msgstr ""
  192. #. type: item
  193. #: guix-git/doc/contributing.texi:85
  194. #, no-wrap
  195. msgid "@url{https://gnu.org/software/autoconf/, GNU Autoconf};"
  196. msgstr ""
  197. #. type: item
  198. #: guix-git/doc/contributing.texi:86
  199. #, no-wrap
  200. msgid "@url{https://gnu.org/software/automake/, GNU Automake};"
  201. msgstr ""
  202. #. type: item
  203. #: guix-git/doc/contributing.texi:87
  204. #, no-wrap
  205. msgid "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  206. msgstr ""
  207. #. type: item
  208. #: guix-git/doc/contributing.texi:88
  209. #, no-wrap
  210. msgid "@url{https://gnu.org/software/texinfo/, GNU Texinfo};"
  211. msgstr ""
  212. #. type: item
  213. #: guix-git/doc/contributing.texi:89
  214. #, no-wrap
  215. msgid "@url{https://www.graphviz.org/, Graphviz};"
  216. msgstr ""
  217. #. type: item
  218. #: guix-git/doc/contributing.texi:90
  219. #, no-wrap
  220. msgid "@url{https://www.gnu.org/software/help2man/, GNU Help2man (optional)}."
  221. msgstr ""
  222. #. type: Plain text
  223. #: guix-git/doc/contributing.texi:95
  224. msgid "On Guix, extra dependencies can be added by instead running @command{guix environment} with @option{--ad-hoc}:"
  225. msgstr ""
  226. #. type: example
  227. #: guix-git/doc/contributing.texi:98
  228. #, no-wrap
  229. msgid "guix environment guix --pure --ad-hoc help2man git strace\n"
  230. msgstr ""
  231. #. type: Plain text
  232. #: guix-git/doc/contributing.texi:102
  233. msgid "Run @command{./bootstrap} to generate the build system infrastructure using Autoconf and Automake. If you get an error like this one:"
  234. 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:"
  235. #. type: example
  236. #: guix-git/doc/contributing.texi:105
  237. #, no-wrap
  238. msgid "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  239. msgstr "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  240. #. type: Plain text
  241. #: guix-git/doc/contributing.texi:114
  242. 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:"
  243. 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:"
  244. #. type: example
  245. #: guix-git/doc/contributing.texi:117
  246. #, no-wrap
  247. msgid "export ACLOCAL_PATH=/usr/share/aclocal\n"
  248. msgstr "export ACLOCAL_PATH=/usr/share/aclocal\n"
  249. #. type: Plain text
  250. #: guix-git/doc/contributing.texi:121
  251. msgid "@xref{Macro Search Path,,, automake, The GNU Automake Manual}, for more information."
  252. msgstr "@xref{Macro Search Path,,, automake, The GNU Automake Manual}, para mais informações."
  253. #. type: Plain text
  254. #: guix-git/doc/contributing.texi:128
  255. 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}."
  256. msgstr ""
  257. #. type: Plain text
  258. #: guix-git/doc/contributing.texi:133
  259. #, fuzzy
  260. #| msgid "Finally, you have to invoke @code{make check} to run 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}."
  261. 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}."
  262. 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}."
  263. #. type: Plain text
  264. #: guix-git/doc/contributing.texi:136
  265. msgid "From there on, you can authenticate all the commits included in your checkout by running:"
  266. msgstr ""
  267. #. type: example
  268. #: guix-git/doc/contributing.texi:139
  269. #, no-wrap
  270. msgid "make authenticate\n"
  271. msgstr ""
  272. #. type: Plain text
  273. #: guix-git/doc/contributing.texi:142
  274. msgid "The first run takes a couple of minutes, but subsequent runs are faster."
  275. msgstr ""
  276. #. type: Plain text
  277. #: guix-git/doc/contributing.texi:148
  278. 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:"
  279. msgstr ""
  280. #. type: example
  281. #: guix-git/doc/contributing.texi:151
  282. #, no-wrap
  283. msgid "make authenticate GUIX_GIT_KEYRING=myremote/keyring\n"
  284. msgstr ""
  285. #. type: quotation
  286. #: guix-git/doc/contributing.texi:153 guix-git/doc/contributing.texi:1316
  287. #: guix-git/doc/guix.texi:565 guix-git/doc/guix.texi:614
  288. #: guix-git/doc/guix.texi:1764 guix-git/doc/guix.texi:2011
  289. #: guix-git/doc/guix.texi:2195 guix-git/doc/guix.texi:2416
  290. #: guix-git/doc/guix.texi:2617 guix-git/doc/guix.texi:3734
  291. #: guix-git/doc/guix.texi:4470 guix-git/doc/guix.texi:4484
  292. #: guix-git/doc/guix.texi:4566 guix-git/doc/guix.texi:4796
  293. #: guix-git/doc/guix.texi:5646 guix-git/doc/guix.texi:5892
  294. #: guix-git/doc/guix.texi:6013 guix-git/doc/guix.texi:6065
  295. #: guix-git/doc/guix.texi:8752 guix-git/doc/guix.texi:8822
  296. #: guix-git/doc/guix.texi:10487 guix-git/doc/guix.texi:10527
  297. #: guix-git/doc/guix.texi:10800 guix-git/doc/guix.texi:10812
  298. #: guix-git/doc/guix.texi:13027 guix-git/doc/guix.texi:13654
  299. #: guix-git/doc/guix.texi:14437 guix-git/doc/guix.texi:15412
  300. #: guix-git/doc/guix.texi:17728 guix-git/doc/guix.texi:17877
  301. #: guix-git/doc/guix.texi:25473 guix-git/doc/guix.texi:29082
  302. #: guix-git/doc/guix.texi:31039 guix-git/doc/guix.texi:32532
  303. #: guix-git/doc/guix.texi:32766 guix-git/doc/guix.texi:32936
  304. #: guix-git/doc/guix.texi:33089 guix-git/doc/guix.texi:33191
  305. #: guix-git/doc/guix.texi:33292
  306. #, no-wrap
  307. msgid "Note"
  308. msgstr "Nota"
  309. #. type: quotation
  310. #: guix-git/doc/contributing.texi:157
  311. 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."
  312. msgstr ""
  313. #. type: Plain text
  314. #: guix-git/doc/contributing.texi:167
  315. 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."
  316. 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''."
  317. #. type: Plain text
  318. #: guix-git/doc/contributing.texi:178
  319. 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):"
  320. msgstr ""
  321. #. type: example
  322. #: guix-git/doc/contributing.texi:181
  323. #, no-wrap
  324. msgid "$ ./pre-inst-env guix build hello\n"
  325. msgstr ""
  326. #. type: Plain text
  327. #: guix-git/doc/contributing.texi:185
  328. msgid "Similarly, an example for a Guile session using the Guix modules:"
  329. msgstr ""
  330. #. type: example
  331. #: guix-git/doc/contributing.texi:188
  332. #, no-wrap
  333. msgid ""
  334. "$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'\n"
  335. "\n"
  336. msgstr ""
  337. "$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'\n"
  338. "\n"
  339. #. type: example
  340. #: guix-git/doc/contributing.texi:190
  341. #, no-wrap
  342. msgid ";;; (\"x86_64-linux\")\n"
  343. msgstr ";;; (\"x86_64-linux\")\n"
  344. #. type: cindex
  345. #: guix-git/doc/contributing.texi:193
  346. #, no-wrap
  347. msgid "REPL"
  348. msgstr "REPL"
  349. #. type: cindex
  350. #: guix-git/doc/contributing.texi:194
  351. #, no-wrap
  352. msgid "read-eval-print loop"
  353. msgstr "read-eval-print loop"
  354. #. type: Plain text
  355. #: guix-git/doc/contributing.texi:197
  356. msgid "@dots{} and for a REPL (@pxref{Using Guile Interactively,,, guile, Guile Reference Manual}):"
  357. msgstr "@dots{} e para um REPL (@pxref{Usando o Guile interativamente,,, guile, Manual de referência do Guile}):"
  358. #. type: example
  359. #: guix-git/doc/contributing.texi:212
  360. #, no-wrap
  361. msgid ""
  362. "$ ./pre-inst-env guile\n"
  363. "scheme@@(guile-user)> ,use(guix)\n"
  364. "scheme@@(guile-user)> ,use(gnu)\n"
  365. "scheme@@(guile-user)> (define snakes\n"
  366. " (fold-packages\n"
  367. " (lambda (package lst)\n"
  368. " (if (string-prefix? \"python\"\n"
  369. " (package-name package))\n"
  370. " (cons package lst)\n"
  371. " lst))\n"
  372. " '()))\n"
  373. "scheme@@(guile-user)> (length snakes)\n"
  374. "$1 = 361\n"
  375. msgstr ""
  376. "$ ./pre-inst-env guile\n"
  377. "scheme@@(guile-user)> ,use(guix)\n"
  378. "scheme@@(guile-user)> ,use(gnu)\n"
  379. "scheme@@(guile-user)> (define snakes\n"
  380. " (fold-packages\n"
  381. " (lambda (package lst)\n"
  382. " (if (string-prefix? \"python\"\n"
  383. " (package-name package))\n"
  384. " (cons package lst)\n"
  385. " lst))\n"
  386. " '()))\n"
  387. "scheme@@(guile-user)> (length snakes)\n"
  388. "$1 = 361\n"
  389. #. type: Plain text
  390. #: guix-git/doc/contributing.texi:220
  391. 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.}:"
  392. msgstr ""
  393. #. type: example
  394. #: guix-git/doc/contributing.texi:223
  395. #, no-wrap
  396. msgid "$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild\n"
  397. msgstr ""
  398. #. type: Plain text
  399. #: guix-git/doc/contributing.texi:227
  400. 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}."
  401. 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}."
  402. #. type: Plain text
  403. #: guix-git/doc/contributing.texi:232
  404. 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."
  405. 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."
  406. #. type: Plain text
  407. #: guix-git/doc/contributing.texi:242
  408. 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:"
  409. msgstr ""
  410. #. type: example
  411. #: guix-git/doc/contributing.texi:245
  412. #, no-wrap
  413. msgid "guix package -i emacs guile emacs-geiser\n"
  414. msgstr "guix package -i emacs guile emacs-geiser\n"
  415. #. type: Plain text
  416. #: guix-git/doc/contributing.texi:254
  417. 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:"
  418. 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:"
  419. #. type: lisp
  420. #: guix-git/doc/contributing.texi:259
  421. #, no-wrap
  422. msgid ""
  423. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  424. "(with-eval-after-load 'geiser-guile\n"
  425. " (add-to-list 'geiser-guile-load-path \"~/src/guix\"))\n"
  426. msgstr ""
  427. ";; @r{Presumindo que o checkout do Guix está em ~/src/guix.}\n"
  428. "(with-eval-after-load 'geiser-guile\n"
  429. " (add-to-list 'geiser-guile-load-path \"~/src/guix\"))\n"
  430. #. type: Plain text
  431. #: guix-git/doc/contributing.texi:267
  432. 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."
  433. msgstr ""
  434. #. type: cindex
  435. #: guix-git/doc/contributing.texi:268
  436. #, no-wrap
  437. msgid "code snippets"
  438. msgstr "trechos de código"
  439. #. type: cindex
  440. #: guix-git/doc/contributing.texi:269
  441. #, no-wrap
  442. msgid "templates"
  443. msgstr "modelos"
  444. #. type: cindex
  445. #: guix-git/doc/contributing.texi:270
  446. #, no-wrap
  447. msgid "reducing boilerplate"
  448. msgstr "reduzindo boilerplate"
  449. #. type: Plain text
  450. #: guix-git/doc/contributing.texi:277
  451. 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."
  452. msgstr ""
  453. #. type: lisp
  454. #: guix-git/doc/contributing.texi:282
  455. #, no-wrap
  456. msgid ""
  457. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  458. "(with-eval-after-load 'yasnippet\n"
  459. " (add-to-list 'yas-snippet-dirs \"~/src/guix/etc/snippets\"))\n"
  460. msgstr ""
  461. ";; @r{Presumindo que o checkout do Guix está em ~/src/guix.}\n"
  462. "(with-eval-after-load 'yasnippet\n"
  463. " (add-to-list 'yas-snippet-dirs \"~/src/guix/etc/snippets\"))\n"
  464. #. type: Plain text
  465. #: guix-git/doc/contributing.texi:290
  466. 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."
  467. 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."
  468. #. type: Plain text
  469. #: guix-git/doc/contributing.texi:296
  470. 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."
  471. 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."
  472. #. type: cindex
  473. #: guix-git/doc/contributing.texi:297
  474. #, no-wrap
  475. msgid "insert or update copyright"
  476. msgstr ""
  477. #. type: code{#1}
  478. #: guix-git/doc/contributing.texi:298
  479. #, no-wrap
  480. msgid "M-x guix-copyright"
  481. msgstr ""
  482. #. type: code{#1}
  483. #: guix-git/doc/contributing.texi:299
  484. #, no-wrap
  485. msgid "M-x copyright-update"
  486. msgstr ""
  487. #. type: Plain text
  488. #: guix-git/doc/contributing.texi:303
  489. 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."
  490. msgstr ""
  491. #. type: lisp
  492. #: guix-git/doc/contributing.texi:309
  493. #, no-wrap
  494. msgid ""
  495. "(setq user-full-name \"Alice Doe\")\n"
  496. "(setq user-mail-address \"alice@@mail.org\")\n"
  497. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  498. "(load-file \"~/src/guix/etc/copyright.el\")\n"
  499. msgstr ""
  500. #. type: Plain text
  501. #: guix-git/doc/contributing.texi:312
  502. msgid "To insert a copyright at the current line invoke @code{M-x guix-copyright}."
  503. msgstr ""
  504. #. type: Plain text
  505. #: guix-git/doc/contributing.texi:314
  506. msgid "To update a copyright you need to specify a @code{copyright-names-regexp}."
  507. msgstr ""
  508. #. type: lisp
  509. #: guix-git/doc/contributing.texi:318
  510. #, no-wrap
  511. msgid ""
  512. "(setq copyright-names-regexp\n"
  513. " (format \"%s <%s>\" user-full-name user-mail-address))\n"
  514. msgstr ""
  515. #. type: Plain text
  516. #: guix-git/doc/contributing.texi:324
  517. 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."
  518. msgstr ""
  519. #. type: cindex
  520. #: guix-git/doc/contributing.texi:328
  521. #, no-wrap
  522. msgid "packages, creating"
  523. msgstr "pacotes, criação"
  524. #. type: Plain text
  525. #: guix-git/doc/contributing.texi:332
  526. 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."
  527. 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."
  528. #. type: Plain text
  529. #: guix-git/doc/contributing.texi:340
  530. 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."
  531. 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."
  532. #. type: Plain text
  533. #: guix-git/doc/contributing.texi:349
  534. 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}."
  535. 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}."
  536. #. type: Plain text
  537. #: guix-git/doc/contributing.texi:355
  538. 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}):"
  539. 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}):"
  540. #. type: example
  541. #: guix-git/doc/contributing.texi:358
  542. #, no-wrap
  543. msgid "./pre-inst-env guix build gnew --keep-failed\n"
  544. msgstr "./pre-inst-env guix build gnew --keep-failed\n"
  545. #. type: Plain text
  546. #: guix-git/doc/contributing.texi:364
  547. 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."
  548. 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."
  549. #. type: Plain text
  550. #: guix-git/doc/contributing.texi:369
  551. 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:"
  552. 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:"
  553. #. type: example
  554. #: guix-git/doc/contributing.texi:372
  555. #, no-wrap
  556. msgid "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  557. msgstr "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  558. #. type: Plain text
  559. #: guix-git/doc/contributing.texi:379
  560. 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{@value{SUBSTITUTE-URL}, our continuous integration system}."
  561. msgstr ""
  562. #. type: cindex
  563. #: guix-git/doc/contributing.texi:380
  564. #, no-wrap
  565. msgid "substituter"
  566. msgstr "substituidor"
  567. #. type: Plain text
  568. #: guix-git/doc/contributing.texi:387
  569. 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."
  570. 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."
  571. #. type: subsection
  572. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:403
  573. #: guix-git/doc/contributing.texi:404
  574. #, no-wrap
  575. msgid "Software Freedom"
  576. msgstr "Liberdade de software"
  577. #. type: menuentry
  578. #: guix-git/doc/contributing.texi:401
  579. msgid "What may go into the distribution."
  580. msgstr "O que pode ir na distribuição."
  581. #. type: subsection
  582. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:431
  583. #: guix-git/doc/contributing.texi:432
  584. #, no-wrap
  585. msgid "Package Naming"
  586. msgstr "Nomeando um pacote"
  587. #. type: menuentry
  588. #: guix-git/doc/contributing.texi:401
  589. msgid "What's in a name?"
  590. msgstr "Que há em um nome?"
  591. #. type: subsection
  592. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:464
  593. #: guix-git/doc/contributing.texi:465
  594. #, no-wrap
  595. msgid "Version Numbers"
  596. msgstr "Números de versão"
  597. #. type: menuentry
  598. #: guix-git/doc/contributing.texi:401
  599. msgid "When the name is not enough."
  600. msgstr "Quando o nome não é suficiente."
  601. #. type: subsection
  602. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:555
  603. #: guix-git/doc/contributing.texi:556
  604. #, no-wrap
  605. msgid "Synopses and Descriptions"
  606. msgstr "Sinopses e descrições"
  607. #. type: menuentry
  608. #: guix-git/doc/contributing.texi:401
  609. msgid "Helping users find the right package."
  610. msgstr "Ajudando usuários a localizar o pacote certo."
  611. #. type: subsection
  612. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:634
  613. #: guix-git/doc/contributing.texi:635
  614. #, no-wrap
  615. msgid "Snippets versus Phases"
  616. msgstr ""
  617. #. type: menuentry
  618. #: guix-git/doc/contributing.texi:401
  619. msgid "Whether to use a snippet, or a build phase."
  620. msgstr ""
  621. #. type: subsection
  622. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:649
  623. #: guix-git/doc/contributing.texi:650 guix-git/doc/guix.texi:1946
  624. #, no-wrap
  625. msgid "Emacs Packages"
  626. msgstr ""
  627. #. type: menuentry
  628. #: guix-git/doc/contributing.texi:401
  629. msgid "Your Elisp fix."
  630. msgstr ""
  631. #. type: subsection
  632. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:689
  633. #: guix-git/doc/contributing.texi:690
  634. #, no-wrap
  635. msgid "Python Modules"
  636. msgstr "Módulos Python"
  637. #. type: menuentry
  638. #: guix-git/doc/contributing.texi:401
  639. msgid "A touch of British comedy."
  640. msgstr "Um toque de comédia britânica."
  641. #. type: subsection
  642. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:765
  643. #: guix-git/doc/contributing.texi:766
  644. #, no-wrap
  645. msgid "Perl Modules"
  646. msgstr "Módulos Perl"
  647. #. type: menuentry
  648. #: guix-git/doc/contributing.texi:401
  649. msgid "Little pearls."
  650. msgstr "Pequenas pérolas."
  651. #. type: subsection
  652. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:781
  653. #: guix-git/doc/contributing.texi:782
  654. #, no-wrap
  655. msgid "Java Packages"
  656. msgstr "Pacotes Java"
  657. #. type: menuentry
  658. #: guix-git/doc/contributing.texi:401
  659. msgid "Coffee break."
  660. msgstr "Parada para o café."
  661. #. type: subsection
  662. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:801
  663. #: guix-git/doc/contributing.texi:802
  664. #, no-wrap
  665. msgid "Rust Crates"
  666. msgstr ""
  667. #. type: menuentry
  668. #: guix-git/doc/contributing.texi:401
  669. msgid "Beware of oxidation."
  670. msgstr ""
  671. #. type: subsection
  672. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:835
  673. #: guix-git/doc/contributing.texi:836
  674. #, no-wrap
  675. msgid "Fonts"
  676. msgstr "Fontes"
  677. #. type: menuentry
  678. #: guix-git/doc/contributing.texi:401
  679. msgid "Fond of fonts."
  680. msgstr "Vício em fontes."
  681. #. type: cindex
  682. #: guix-git/doc/contributing.texi:407
  683. #, no-wrap
  684. msgid "free software"
  685. msgstr "software livre"
  686. #. type: Plain text
  687. #: guix-git/doc/contributing.texi:415
  688. 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."
  689. msgstr ""
  690. #. type: Plain text
  691. #: guix-git/doc/contributing.texi:421
  692. 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."
  693. msgstr ""
  694. #. type: Plain text
  695. #: guix-git/doc/contributing.texi:429
  696. 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."
  697. 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."
  698. #. type: cindex
  699. #: guix-git/doc/contributing.texi:434
  700. #, no-wrap
  701. msgid "package name"
  702. msgstr "nome de pacote"
  703. #. type: Plain text
  704. #: guix-git/doc/contributing.texi:442
  705. #, fuzzy
  706. #| msgid "A package has actually 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}."
  707. 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}."
  708. 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}."
  709. #. type: Plain text
  710. #: guix-git/doc/contributing.texi:447
  711. 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}."
  712. 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}."
  713. #. type: Plain text
  714. #: guix-git/doc/contributing.texi:455
  715. 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."
  716. msgstr ""
  717. #. type: Plain text
  718. #: guix-git/doc/contributing.texi:460
  719. 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."
  720. 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."
  721. #. type: Plain text
  722. #: guix-git/doc/contributing.texi:462
  723. msgid "Font package names are handled differently, @pxref{Fonts}."
  724. msgstr "Nomes de pacote de fontes são lidados de forma diferente. @xref{Fontes}."
  725. #. type: cindex
  726. #: guix-git/doc/contributing.texi:467
  727. #, no-wrap
  728. msgid "package version"
  729. msgstr "versão de pacote"
  730. #. type: Plain text
  731. #: guix-git/doc/contributing.texi:476
  732. 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."
  733. 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."
  734. #. type: Plain text
  735. #: guix-git/doc/contributing.texi:479
  736. msgid "The name inside the package definition is the same for all versions of a package and does not contain any version number."
  737. 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."
  738. #. type: Plain text
  739. #: guix-git/doc/contributing.texi:481
  740. msgid "For instance, the versions 2.24.20 and 3.9.12 of GTK+ may be packaged as follows:"
  741. msgstr "Por exemplo, as versões 2.24.20 e 3.9.12 do GTK podem ser empacotados da seguinte forma:"
  742. #. type: lisp
  743. #: guix-git/doc/contributing.texi:493
  744. #, no-wrap
  745. msgid ""
  746. "(define-public gtk+\n"
  747. " (package\n"
  748. " (name \"gtk+\")\n"
  749. " (version \"3.9.12\")\n"
  750. " ...))\n"
  751. "(define-public gtk+-2\n"
  752. " (package\n"
  753. " (name \"gtk+\")\n"
  754. " (version \"2.24.20\")\n"
  755. " ...))\n"
  756. msgstr ""
  757. "(define-public gtk+\n"
  758. " (package\n"
  759. " (name \"gtk+\")\n"
  760. " (version \"3.9.12\")\n"
  761. " ...))\n"
  762. "(define-public gtk+-2\n"
  763. " (package\n"
  764. " (name \"gtk+\")\n"
  765. " (version \"2.24.20\")\n"
  766. " ...))\n"
  767. #. type: Plain text
  768. #: guix-git/doc/contributing.texi:495
  769. msgid "If we also wanted GTK+ 3.8.2, this would be packaged as"
  770. msgstr "Se também quiséssemos GTK 3.8.2, este seria empacotado como"
  771. #. type: lisp
  772. #: guix-git/doc/contributing.texi:501
  773. #, no-wrap
  774. msgid ""
  775. "(define-public gtk+-3.8\n"
  776. " (package\n"
  777. " (name \"gtk+\")\n"
  778. " (version \"3.8.2\")\n"
  779. " ...))\n"
  780. msgstr ""
  781. "(define-public gtk+-3.8\n"
  782. " (package\n"
  783. " (name \"gtk+\")\n"
  784. " (version \"3.8.2\")\n"
  785. " ...))\n"
  786. #. type: cindex
  787. #: guix-git/doc/contributing.texi:505
  788. #, no-wrap
  789. msgid "version number, for VCS snapshots"
  790. msgstr "número de versão, para snapshots de VCS"
  791. #. type: Plain text
  792. #: guix-git/doc/contributing.texi:511
  793. 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?"
  794. 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}?"
  795. #. type: Plain text
  796. #: guix-git/doc/contributing.texi:519
  797. 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:"
  798. 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:"
  799. #. type: example
  800. #: guix-git/doc/contributing.texi:528
  801. #, no-wrap
  802. msgid ""
  803. "2.0.11-3.cabba9e\n"
  804. " ^ ^ ^\n"
  805. " | | `-- upstream commit ID\n"
  806. " | |\n"
  807. " | `--- Guix package revision\n"
  808. " |\n"
  809. "latest upstream version\n"
  810. msgstr ""
  811. "2.0.11-3.cabba9e\n"
  812. " ^ ^ ^\n"
  813. " | | `-- ID do commit do upstream\n"
  814. " | |\n"
  815. " | `--- revisão do pacote do Guix\n"
  816. " |\n"
  817. "versão mais recente do upstream\n"
  818. #. type: Plain text
  819. #: guix-git/doc/contributing.texi:537
  820. 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). 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:"
  821. msgstr ""
  822. #. type: lisp
  823. #: guix-git/doc/contributing.texi:553
  824. #, no-wrap
  825. msgid ""
  826. "(define my-package\n"
  827. " (let ((commit \"c3f29bc928d5900971f65965feaae59e1272a3f7\")\n"
  828. " (revision \"1\")) ;Guix package revision\n"
  829. " (package\n"
  830. " (version (git-version \"0.9\" revision commit))\n"
  831. " (source (origin\n"
  832. " (method git-fetch)\n"
  833. " (uri (git-reference\n"
  834. " (url \"git://example.org/my-package.git\")\n"
  835. " (commit commit)))\n"
  836. " (sha256 (base32 \"1mbikn@dots{}\"))\n"
  837. " (file-name (git-file-name name version))))\n"
  838. " ;; @dots{}\n"
  839. " )))\n"
  840. msgstr ""
  841. "(define meu-pacote\n"
  842. " (let ((commit \"c3f29bc928d5900971f65965feaae59e1272a3f7\")\n"
  843. " (revision \"1\")) ;revisão do pacote do Guix\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/meu-pacote.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. #. type: cindex
  856. #: guix-git/doc/contributing.texi:558
  857. #, no-wrap
  858. msgid "package description"
  859. msgstr "descrição do pacote"
  860. #. type: cindex
  861. #: guix-git/doc/contributing.texi:559
  862. #, no-wrap
  863. msgid "package synopsis"
  864. msgstr "sinopse do pacote"
  865. #. type: Plain text
  866. #: guix-git/doc/contributing.texi:566
  867. 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."
  868. 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."
  869. #. type: Plain text
  870. #: guix-git/doc/contributing.texi:574
  871. 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''."
  872. 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''."
  873. #. type: Plain text
  874. #: guix-git/doc/contributing.texi:584
  875. 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."
  876. 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."
  877. #. type: Plain text
  878. #: guix-git/doc/contributing.texi:592
  879. 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."
  880. 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."
  881. #. type: cindex
  882. #: guix-git/doc/contributing.texi:593
  883. #, no-wrap
  884. msgid "Texinfo markup, in package descriptions"
  885. msgstr "Marcação Texinfo, em descrições de pacote"
  886. #. type: Plain text
  887. #: guix-git/doc/contributing.texi:602
  888. 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."
  889. 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."
  890. #. type: Plain text
  891. #: guix-git/doc/contributing.texi:608
  892. 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."
  893. msgstr ""
  894. #. type: Plain text
  895. #: guix-git/doc/contributing.texi:613
  896. 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:"
  897. 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:"
  898. #. type: lisp
  899. #: guix-git/doc/contributing.texi:619
  900. #, no-wrap
  901. msgid ""
  902. "(package\n"
  903. " ;; @dots{}\n"
  904. " (synopsis \"This is translatable\")\n"
  905. " (description (string-append \"This is \" \"*not*\" \" translatable.\")))\n"
  906. msgstr ""
  907. "(package\n"
  908. " ;; @dots{}\n"
  909. " (synopsis \"Isso é traduzível\")\n"
  910. " (description (string-append \"Isso \" \"*não*\" \" é traduzível.\")))\n"
  911. #. type: Plain text
  912. #: guix-git/doc/contributing.texi:627
  913. 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}):"
  914. 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}):"
  915. #. type: lisp
  916. #: guix-git/doc/contributing.texi:632
  917. #, no-wrap
  918. msgid ""
  919. ";; TRANSLATORS: \"X11 resize-and-rotate\" should not be translated.\n"
  920. "(description \"ARandR is designed to provide a simple visual front end\n"
  921. "for the X11 resize-and-rotate (RandR) extension. @dots{}\")\n"
  922. msgstr ""
  923. ";; TRANSLATORS: \"X11 resize-and-rotate\" should not be translated.\n"
  924. "(description \"ARandR is designed to provide a simple visual front end\n"
  925. "for the X11 resize-and-rotate (RandR) extension. @dots{}\")\n"
  926. #. type: cindex
  927. #: guix-git/doc/contributing.texi:637
  928. #, no-wrap
  929. msgid "snippets, when to use"
  930. msgstr ""
  931. #. type: Plain text
  932. #: guix-git/doc/contributing.texi:648
  933. 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})."
  934. msgstr ""
  935. #. type: cindex
  936. #: guix-git/doc/contributing.texi:652
  937. #, no-wrap
  938. msgid "emacs, packaging"
  939. msgstr ""
  940. #. type: cindex
  941. #: guix-git/doc/contributing.texi:653
  942. #, no-wrap
  943. msgid "elisp, packaging"
  944. msgstr ""
  945. #. type: Plain text
  946. #: guix-git/doc/contributing.texi:665
  947. 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."
  948. msgstr ""
  949. #. type: Plain text
  950. #: guix-git/doc/contributing.texi:670
  951. 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}."
  952. msgstr ""
  953. #. type: Plain text
  954. #: guix-git/doc/contributing.texi:679
  955. 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:"
  956. msgstr ""
  957. #. type: lisp
  958. #: guix-git/doc/contributing.texi:682
  959. #, no-wrap
  960. msgid "#:include (cons \"^snippets/\" %default-include))\n"
  961. msgstr ""
  962. #. type: Plain text
  963. #: guix-git/doc/contributing.texi:688
  964. 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."
  965. msgstr ""
  966. #. type: cindex
  967. #: guix-git/doc/contributing.texi:692
  968. #, no-wrap
  969. msgid "python"
  970. msgstr "python"
  971. #. type: Plain text
  972. #: guix-git/doc/contributing.texi:698
  973. 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}."
  974. 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}."
  975. #. type: Plain text
  976. #: guix-git/doc/contributing.texi:705
  977. 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."
  978. msgstr ""
  979. #. type: Plain text
  980. #: guix-git/doc/contributing.texi:711
  981. 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."
  982. 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."
  983. #. type: subsubsection
  984. #: guix-git/doc/contributing.texi:712
  985. #, no-wrap
  986. msgid "Specifying Dependencies"
  987. msgstr "Especificando dependências"
  988. #. type: cindex
  989. #: guix-git/doc/contributing.texi:713
  990. #, no-wrap
  991. msgid "inputs, for Python packages"
  992. msgstr "entradas, para pacotes Python"
  993. #. type: Plain text
  994. #: guix-git/doc/contributing.texi:718
  995. 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}."
  996. 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}."
  997. #. type: Plain text
  998. #: guix-git/doc/contributing.texi:724
  999. 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."
  1000. 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."
  1001. #. type: itemize
  1002. #: guix-git/doc/contributing.texi:732
  1003. 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."
  1004. 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."
  1005. #. type: itemize
  1006. #: guix-git/doc/contributing.texi:738
  1007. 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."
  1008. 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}."
  1009. #. type: itemize
  1010. #: guix-git/doc/contributing.texi:746
  1011. 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."
  1012. 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."
  1013. #. type: itemize
  1014. #: guix-git/doc/contributing.texi:750
  1015. 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}."
  1016. 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}."
  1017. #. type: itemize
  1018. #: guix-git/doc/contributing.texi:755
  1019. 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."
  1020. 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."
  1021. #. type: itemize
  1022. #: guix-git/doc/contributing.texi:761
  1023. 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}})."
  1024. 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}})."
  1025. #. type: cindex
  1026. #: guix-git/doc/contributing.texi:768
  1027. #, no-wrap
  1028. msgid "perl"
  1029. msgstr "perl"
  1030. #. type: Plain text
  1031. #: guix-git/doc/contributing.texi:779
  1032. 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}."
  1033. 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}."
  1034. #. type: cindex
  1035. #: guix-git/doc/contributing.texi:784
  1036. #, no-wrap
  1037. msgid "java"
  1038. msgstr "java"
  1039. #. type: Plain text
  1040. #: guix-git/doc/contributing.texi:787
  1041. msgid "Java programs standing for themselves are named as any other package, using the lowercase upstream name."
  1042. msgstr "Os programas Java próprios são nomeados como qualquer outro pacote, usando o nome do upstream em letras minúsculas."
  1043. #. type: Plain text
  1044. #: guix-git/doc/contributing.texi:793
  1045. 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}."
  1046. 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}."
  1047. #. type: Plain text
  1048. #: guix-git/doc/contributing.texi:799
  1049. 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}."
  1050. 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}."
  1051. #. type: cindex
  1052. #: guix-git/doc/contributing.texi:804
  1053. #, no-wrap
  1054. msgid "rust"
  1055. msgstr ""
  1056. #. type: Plain text
  1057. #: guix-git/doc/contributing.texi:807
  1058. msgid "Rust programs standing for themselves are named as any other package, using the lowercase upstream name."
  1059. msgstr ""
  1060. #. type: Plain text
  1061. #: guix-git/doc/contributing.texi:811
  1062. 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."
  1063. msgstr ""
  1064. #. type: Plain text
  1065. #: guix-git/doc/contributing.texi:817
  1066. 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}."
  1067. msgstr ""
  1068. #. type: Plain text
  1069. #: guix-git/doc/contributing.texi:827
  1070. 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."
  1071. msgstr ""
  1072. #. type: Plain text
  1073. #: guix-git/doc/contributing.texi:833
  1074. 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."
  1075. msgstr ""
  1076. #. type: cindex
  1077. #: guix-git/doc/contributing.texi:838 guix-git/doc/guix.texi:1881
  1078. #, no-wrap
  1079. msgid "fonts"
  1080. msgstr "fontes"
  1081. #. type: Plain text
  1082. #: guix-git/doc/contributing.texi:844
  1083. 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."
  1084. 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."
  1085. #. type: Plain text
  1086. #: guix-git/doc/contributing.texi:848
  1087. 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."
  1088. 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."
  1089. #. type: Plain text
  1090. #: guix-git/doc/contributing.texi:856
  1091. 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}."
  1092. 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}."
  1093. #. type: Plain text
  1094. #: guix-git/doc/contributing.texi:865
  1095. 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}."
  1096. 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}."
  1097. #. type: Plain text
  1098. #: guix-git/doc/contributing.texi:871
  1099. 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."
  1100. 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."
  1101. #. type: Plain text
  1102. #: guix-git/doc/contributing.texi:879
  1103. 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."
  1104. 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."
  1105. #. type: subsection
  1106. #: guix-git/doc/contributing.texi:885 guix-git/doc/contributing.texi:887
  1107. #: guix-git/doc/contributing.texi:888
  1108. #, no-wrap
  1109. msgid "Programming Paradigm"
  1110. msgstr "Paradigma de programação"
  1111. #. type: menuentry
  1112. #: guix-git/doc/contributing.texi:885
  1113. msgid "How to compose your elements."
  1114. msgstr "Como compor seus elementos."
  1115. #. type: subsection
  1116. #: guix-git/doc/contributing.texi:885 guix-git/doc/contributing.texi:894
  1117. #: guix-git/doc/contributing.texi:895
  1118. #, no-wrap
  1119. msgid "Modules"
  1120. msgstr "Módulos"
  1121. #. type: menuentry
  1122. #: guix-git/doc/contributing.texi:885
  1123. msgid "Where to store your code?"
  1124. msgstr "Onde armazenar seu código?"
  1125. #. type: subsection
  1126. #: guix-git/doc/contributing.texi:885 guix-git/doc/contributing.texi:905
  1127. #: guix-git/doc/contributing.texi:906
  1128. #, no-wrap
  1129. msgid "Data Types and Pattern Matching"
  1130. msgstr "Tipos de dados e correspondência de padrão"
  1131. #. type: menuentry
  1132. #: guix-git/doc/contributing.texi:885
  1133. msgid "Implementing data structures."
  1134. msgstr "Implementação de estruturas de dados."
  1135. #. type: subsection
  1136. #: guix-git/doc/contributing.texi:885 guix-git/doc/contributing.texi:920
  1137. #: guix-git/doc/contributing.texi:921
  1138. #, no-wrap
  1139. msgid "Formatting Code"
  1140. msgstr "Formatação de código"
  1141. #. type: menuentry
  1142. #: guix-git/doc/contributing.texi:885
  1143. msgid "Writing conventions."
  1144. msgstr "Convenções de escrita."
  1145. #. type: Plain text
  1146. #: guix-git/doc/contributing.texi:893
  1147. 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."
  1148. 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}."
  1149. #. type: Plain text
  1150. #: guix-git/doc/contributing.texi:901
  1151. 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."
  1152. 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."
  1153. #. type: Plain text
  1154. #: guix-git/doc/contributing.texi:904
  1155. msgid "Modules that deal with the broader GNU system should be in the @code{(gnu @dots{})} name space rather than @code{(guix @dots{})}."
  1156. 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{})}."
  1157. #. type: Plain text
  1158. #: guix-git/doc/contributing.texi:913
  1159. 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."
  1160. 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."
  1161. #. type: Plain text
  1162. #: guix-git/doc/contributing.texi:919
  1163. 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})."
  1164. msgstr ""
  1165. #. type: cindex
  1166. #: guix-git/doc/contributing.texi:923
  1167. #, no-wrap
  1168. msgid "formatting code"
  1169. msgstr "formatação de código"
  1170. #. type: cindex
  1171. #: guix-git/doc/contributing.texi:924
  1172. #, no-wrap
  1173. msgid "coding style"
  1174. msgstr "estilo de codificação"
  1175. #. type: Plain text
  1176. #: guix-git/doc/contributing.texi:931
  1177. 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."
  1178. msgstr ""
  1179. #. type: Plain text
  1180. #: guix-git/doc/contributing.texi:938
  1181. 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})."
  1182. 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})."
  1183. #. type: cindex
  1184. #: guix-git/doc/contributing.texi:939
  1185. #, no-wrap
  1186. msgid "indentation, of code"
  1187. msgstr "recuo, de código"
  1188. #. type: cindex
  1189. #: guix-git/doc/contributing.texi:940
  1190. #, no-wrap
  1191. msgid "formatting, of code"
  1192. msgstr "formatação, de código"
  1193. #. type: Plain text
  1194. #: guix-git/doc/contributing.texi:943
  1195. 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:"
  1196. 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:"
  1197. #. type: example
  1198. #: guix-git/doc/contributing.texi:946
  1199. #, no-wrap
  1200. msgid "./etc/indent-code.el gnu/packages/@var{file}.scm @var{package}\n"
  1201. msgstr "./etc/indent-code.el gnu/packages/@var{arquivo}.scm @var{pacote}\n"
  1202. #. type: Plain text
  1203. #: guix-git/doc/contributing.texi:952
  1204. 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:"
  1205. 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:"
  1206. #. type: example
  1207. #: guix-git/doc/contributing.texi:955
  1208. #, no-wrap
  1209. msgid "./etc/indent-code.el gnu/services/@var{file}.scm\n"
  1210. msgstr "./etc/indent-code.el gnu/services/@var{arquivo}.scm\n"
  1211. #. type: cindex
  1212. #: guix-git/doc/contributing.texi:957
  1213. #, no-wrap
  1214. msgid "Vim, Scheme code editing"
  1215. msgstr "Vim, edição de código Scheme"
  1216. #. type: Plain text
  1217. #: guix-git/doc/contributing.texi:963
  1218. 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."
  1219. 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."
  1220. #. type: Plain text
  1221. #: guix-git/doc/contributing.texi:967
  1222. 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."
  1223. 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{})}."
  1224. #. type: Plain text
  1225. #: guix-git/doc/contributing.texi:970
  1226. msgid "Procedures should not have more than four positional parameters. Use keyword parameters for procedures that take more than four parameters."
  1227. 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."
  1228. #. type: Plain text
  1229. #: guix-git/doc/contributing.texi:981
  1230. 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})."
  1231. msgstr ""
  1232. #. type: Plain text
  1233. #: guix-git/doc/contributing.texi:988
  1234. 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})."
  1235. msgstr ""
  1236. #. type: Plain text
  1237. #: guix-git/doc/contributing.texi:992
  1238. msgid "Please write commit logs in the ChangeLog format (@pxref{Change Logs,,, standards, GNU Coding Standards}); you can check the commit history for examples."
  1239. 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."
  1240. #. type: Plain text
  1241. #: guix-git/doc/contributing.texi:995
  1242. msgid "Before submitting a patch that adds or modifies a package definition, please run through this check list:"
  1243. msgstr "Antes de enviar um patch que adicione ou modifique uma definição de pacote, execute esta lista de verificação:"
  1244. #. type: enumerate
  1245. #: guix-git/doc/contributing.texi:1002
  1246. 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."
  1247. 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}."
  1248. #. type: enumerate
  1249. #: guix-git/doc/contributing.texi:1006
  1250. msgid "Take some time to provide an adequate synopsis and description for the package. @xref{Synopses and Descriptions}, for some guidelines."
  1251. msgstr "Reserve algum tempo para fornecer uma sinopse e descrição adequadas para o pacote. @xref{Sinopses e descrições}, para algumas diretrizes."
  1252. #. type: enumerate
  1253. #: guix-git/doc/contributing.texi:1011
  1254. 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})."
  1255. 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})."
  1256. #. type: enumerate
  1257. #: guix-git/doc/contributing.texi:1015
  1258. msgid "Make sure the package builds on your platform, using @code{guix build @var{package}}."
  1259. msgstr "Certifique-se de que o pacote compila em sua plataforma, usando @code{guix build @var{pacote}}."
  1260. #. type: enumerate
  1261. #: guix-git/doc/contributing.texi:1022
  1262. 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:"
  1263. 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}:"
  1264. #. type: lisp
  1265. #: guix-git/doc/contributing.texi:1027
  1266. #, no-wrap
  1267. msgid ""
  1268. "(service qemu-binfmt-service-type\n"
  1269. " (qemu-binfmt-configuration\n"
  1270. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))\n"
  1271. msgstr ""
  1272. #. type: enumerate
  1273. #: guix-git/doc/contributing.texi:1030
  1274. msgid "Then reconfigure your system."
  1275. msgstr "Então, reconfigure seu sistema."
  1276. #. type: enumerate
  1277. #: guix-git/doc/contributing.texi:1035
  1278. 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:"
  1279. 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:"
  1280. #. type: example
  1281. #: guix-git/doc/contributing.texi:1038
  1282. #, no-wrap
  1283. msgid ""
  1284. "guix build --system=armhf-linux --rounds=2 hello\n"
  1285. "guix build --system=aarch64-linux --rounds=2 hello\n"
  1286. msgstr ""
  1287. #. type: cindex
  1288. #: guix-git/doc/contributing.texi:1041
  1289. #, no-wrap
  1290. msgid "bundling"
  1291. msgstr "incorporando"
  1292. #. type: enumerate
  1293. #: guix-git/doc/contributing.texi:1044
  1294. msgid "Make sure the package does not use bundled copies of software already available as separate packages."
  1295. msgstr "Verifique se o pacote não usa cópias de software já disponíveis como pacotes separados."
  1296. #. type: enumerate
  1297. #: guix-git/doc/contributing.texi:1053
  1298. 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."
  1299. 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."
  1300. #. type: enumerate
  1301. #: guix-git/doc/contributing.texi:1062
  1302. 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."
  1303. msgstr ""
  1304. #. type: enumerate
  1305. #: guix-git/doc/contributing.texi:1067
  1306. 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})."
  1307. 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})."
  1308. #. type: cindex
  1309. #: guix-git/doc/contributing.texi:1069
  1310. #, no-wrap
  1311. msgid "branching strategy"
  1312. msgstr "estratégia de ramificação"
  1313. #. type: cindex
  1314. #: guix-git/doc/contributing.texi:1070
  1315. #, no-wrap
  1316. msgid "rebuild scheduling strategy"
  1317. msgstr "estratégia de agendamento de recompilação"
  1318. #. type: enumerate
  1319. #: guix-git/doc/contributing.texi:1073
  1320. msgid "Depending on the number of dependent packages and thus the amount of rebuilding induced, commits go to different branches, along these lines:"
  1321. 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:"
  1322. #. type: item
  1323. #: guix-git/doc/contributing.texi:1075
  1324. #, no-wrap
  1325. msgid "300 dependent packages or less"
  1326. msgstr "300 pacotes dependentes ou menos"
  1327. #. type: table
  1328. #: guix-git/doc/contributing.texi:1077
  1329. msgid "@code{master} branch (non-disruptive changes)."
  1330. msgstr "Ramo @code{master} (alterações não disruptivas)."
  1331. #. type: item
  1332. #: guix-git/doc/contributing.texi:1078
  1333. #, no-wrap
  1334. msgid "between 300 and 1,800 dependent packages"
  1335. msgstr ""
  1336. #. type: table
  1337. #: guix-git/doc/contributing.texi:1083
  1338. 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})."
  1339. msgstr ""
  1340. #. type: item
  1341. #: guix-git/doc/contributing.texi:1084
  1342. #, no-wrap
  1343. msgid "more than 1,800 dependent packages"
  1344. msgstr ""
  1345. #. type: table
  1346. #: guix-git/doc/contributing.texi:1088
  1347. 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."
  1348. msgstr ""
  1349. #. type: enumerate
  1350. #: guix-git/doc/contributing.texi:1095
  1351. msgid "All these branches are @uref{@value{SUBSTITUTE-URL}, 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."
  1352. msgstr ""
  1353. #. type: enumerate
  1354. #: guix-git/doc/contributing.texi:1104
  1355. 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."
  1356. msgstr ""
  1357. #. type: cindex
  1358. #: guix-git/doc/contributing.texi:1106
  1359. #, no-wrap
  1360. msgid "determinism, of build processes"
  1361. msgstr "determinismo, de processos de compilação"
  1362. #. type: cindex
  1363. #: guix-git/doc/contributing.texi:1107
  1364. #, no-wrap
  1365. msgid "reproducible builds, checking"
  1366. msgstr "compilações reproduzíveis, verificação"
  1367. #. type: enumerate
  1368. #: guix-git/doc/contributing.texi:1111
  1369. 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."
  1370. 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."
  1371. #. type: enumerate
  1372. #: guix-git/doc/contributing.texi:1114
  1373. 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}):"
  1374. msgstr "Uma maneira simples de fazer isso é compilar o mesmo pacote várias vezes seguidas em sua máquina (@pxref{Invocando guix build}):"
  1375. #. type: example
  1376. #: guix-git/doc/contributing.texi:1117
  1377. #, no-wrap
  1378. msgid "guix build --rounds=2 my-package\n"
  1379. msgstr "guix build --rounds=2 meu-pacote\n"
  1380. #. type: enumerate
  1381. #: guix-git/doc/contributing.texi:1121
  1382. msgid "This is enough to catch a class of common non-determinism issues, such as timestamps or randomly-generated output in the build result."
  1383. 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."
  1384. #. type: enumerate
  1385. #: guix-git/doc/contributing.texi:1131
  1386. 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."
  1387. 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}."
  1388. #. type: enumerate
  1389. #: guix-git/doc/contributing.texi:1137
  1390. 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."
  1391. 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."
  1392. #. type: enumerate
  1393. #: guix-git/doc/contributing.texi:1141
  1394. msgid "Verify that your patch contains only one set of related changes. Bundling unrelated changes together makes reviewing harder and slower."
  1395. 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."
  1396. #. type: enumerate
  1397. #: guix-git/doc/contributing.texi:1144
  1398. msgid "Examples of unrelated changes include the addition of several packages, or a package update along with fixes to that package."
  1399. 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."
  1400. #. type: enumerate
  1401. #: guix-git/doc/contributing.texi:1149
  1402. 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})."
  1403. 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})."
  1404. #. type: enumerate
  1405. #: guix-git/doc/contributing.texi:1157
  1406. 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."
  1407. 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."
  1408. #. type: enumerate
  1409. #: guix-git/doc/contributing.texi:1161
  1410. msgid "Check if Guix builds (@pxref{Building from Git}) and address the warnings, especially those about use of undefined symbols."
  1411. msgstr ""
  1412. #. type: enumerate
  1413. #: guix-git/doc/contributing.texi:1164
  1414. msgid "Make sure your changes do not break Guix and simulate a @code{guix pull} with:"
  1415. msgstr ""
  1416. #. type: example
  1417. #: guix-git/doc/contributing.texi:1166
  1418. #, no-wrap
  1419. msgid "guix pull --url=/path/to/your/checkout --profile=/tmp/guix.master\n"
  1420. msgstr ""
  1421. #. type: Plain text
  1422. #: guix-git/doc/contributing.texi:1179
  1423. 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."
  1424. msgstr ""
  1425. #. type: Plain text
  1426. #: guix-git/doc/contributing.texi:1182
  1427. msgid "When a bug is resolved, please close the thread by sending an email to @email{@var{NNN}-done@@debbugs.gnu.org}."
  1428. msgstr "Quando um erro for resolvido, feche o tópico enviando um e-mail para @email{@var{NNN}-done@@debbugs.gnu.org}."
  1429. #. type: anchor{#1}
  1430. #: guix-git/doc/contributing.texi:1183 guix-git/doc/contributing.texi:1185
  1431. #, no-wrap
  1432. msgid "Sending a Patch Series"
  1433. msgstr "Enviando uma série de patches"
  1434. #. type: cindex
  1435. #: guix-git/doc/contributing.texi:1185
  1436. #, no-wrap
  1437. msgid "patch series"
  1438. msgstr "série de patches"
  1439. #. type: code{#1}
  1440. #: guix-git/doc/contributing.texi:1186
  1441. #, no-wrap
  1442. msgid "git send-email"
  1443. msgstr "git send-email"
  1444. #. type: code{#1}
  1445. #: guix-git/doc/contributing.texi:1187
  1446. #, no-wrap
  1447. msgid "git-send-email"
  1448. msgstr "git-send-email"
  1449. #. type: Plain text
  1450. #: guix-git/doc/contributing.texi:1197
  1451. 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}."
  1452. msgstr ""
  1453. #. type: cindex
  1454. #: guix-git/doc/contributing.texi:1201
  1455. #, no-wrap
  1456. msgid "bug reports, tracking"
  1457. msgstr ""
  1458. #. type: cindex
  1459. #: guix-git/doc/contributing.texi:1202
  1460. #, no-wrap
  1461. msgid "patch submissions, tracking"
  1462. msgstr ""
  1463. #. type: cindex
  1464. #: guix-git/doc/contributing.texi:1203
  1465. #, no-wrap
  1466. msgid "issue tracking"
  1467. msgstr ""
  1468. #. type: cindex
  1469. #: guix-git/doc/contributing.texi:1204
  1470. #, no-wrap
  1471. msgid "Debbugs, issue tracking system"
  1472. msgstr ""
  1473. #. type: Plain text
  1474. #: guix-git/doc/contributing.texi:1211
  1475. 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})."
  1476. msgstr ""
  1477. #. type: Plain text
  1478. #: guix-git/doc/contributing.texi:1214
  1479. msgid "A web interface (actually @emph{two} web interfaces!) are available to browse issues:"
  1480. msgstr ""
  1481. #. type: itemize
  1482. #: guix-git/doc/contributing.texi:1223
  1483. 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;"
  1484. msgstr ""
  1485. #. type: itemize
  1486. #: guix-git/doc/contributing.texi:1225
  1487. msgid "@url{https://bugs.gnu.org/guix} lists bug reports;"
  1488. msgstr ""
  1489. #. type: itemize
  1490. #: guix-git/doc/contributing.texi:1227
  1491. msgid "@url{https://bugs.gnu.org/guix-patches} lists patch submissions."
  1492. msgstr ""
  1493. #. type: Plain text
  1494. #: guix-git/doc/contributing.texi:1232
  1495. 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}}."
  1496. msgstr ""
  1497. #. type: Plain text
  1498. #: guix-git/doc/contributing.texi:1235
  1499. msgid "If you use Emacs, you may find it more convenient to interact with issues using @file{debbugs.el}, which you can install with:"
  1500. msgstr ""
  1501. #. type: example
  1502. #: guix-git/doc/contributing.texi:1238
  1503. #, no-wrap
  1504. msgid "guix install emacs-debbugs\n"
  1505. msgstr ""
  1506. #. type: Plain text
  1507. #: guix-git/doc/contributing.texi:1241
  1508. msgid "For example, to list all open issues on @code{guix-patches}, hit:"
  1509. msgstr ""
  1510. #. type: example
  1511. #: guix-git/doc/contributing.texi:1244
  1512. #, no-wrap
  1513. msgid "@kbd{C-u} @kbd{M-x} debbugs-gnu @kbd{RET} @kbd{RET} guix-patches @kbd{RET} n y\n"
  1514. msgstr ""
  1515. #. type: Plain text
  1516. #: guix-git/doc/contributing.texi:1248
  1517. msgid "@xref{Top,,, debbugs-ug, Debbugs User Guide}, for more information on this nifty tool!"
  1518. msgstr ""
  1519. #. type: cindex
  1520. #: guix-git/doc/contributing.texi:1252
  1521. #, no-wrap
  1522. msgid "commit access, for developers"
  1523. msgstr ""
  1524. #. type: Plain text
  1525. #: guix-git/doc/contributing.texi:1256
  1526. msgid "For frequent contributors, having write access to the repository is convenient. When you deem it necessary, consider applying for commit access by following these steps:"
  1527. msgstr ""
  1528. #. type: enumerate
  1529. #: guix-git/doc/contributing.texi:1265
  1530. 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."
  1531. msgstr ""
  1532. #. type: enumerate
  1533. #: guix-git/doc/contributing.texi:1271
  1534. 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''."
  1535. msgstr ""
  1536. #. type: enumerate
  1537. #: guix-git/doc/contributing.texi:1278
  1538. 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."
  1539. msgstr ""
  1540. #. type: enumerate
  1541. #: guix-git/doc/contributing.texi:1284
  1542. 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}):"
  1543. msgstr ""
  1544. #. type: example
  1545. #: guix-git/doc/contributing.texi:1287
  1546. #, no-wrap
  1547. msgid "digest-algo sha512\n"
  1548. msgstr ""
  1549. #. type: enumerate
  1550. #: guix-git/doc/contributing.texi:1292
  1551. msgid "Maintainers ultimately decide whether to grant you commit access, usually following your referrals' recommendation."
  1552. msgstr ""
  1553. #. type: cindex
  1554. #: guix-git/doc/contributing.texi:1294
  1555. #, no-wrap
  1556. msgid "OpenPGP, signed commits"
  1557. msgstr ""
  1558. #. type: enumerate
  1559. #: guix-git/doc/contributing.texi:1299
  1560. 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."
  1561. msgstr ""
  1562. #. type: quotation
  1563. #: guix-git/doc/contributing.texi:1300
  1564. #, no-wrap
  1565. msgid "Important"
  1566. msgstr ""
  1567. #. type: quotation
  1568. #: guix-git/doc/contributing.texi:1302
  1569. msgid "Before you can push for the first time, maintainers must:"
  1570. msgstr ""
  1571. #. type: enumerate
  1572. #: guix-git/doc/contributing.texi:1306
  1573. msgid "add your OpenPGP key to the @code{keyring} branch;"
  1574. msgstr ""
  1575. #. type: enumerate
  1576. #: guix-git/doc/contributing.texi:1309
  1577. msgid "add your OpenPGP fingerprint to the @file{.guix-authorizations} file of the branch(es) you will commit to."
  1578. msgstr ""
  1579. #. type: enumerate
  1580. #: guix-git/doc/contributing.texi:1314
  1581. msgid "Make sure to read the rest of this section and... profit!"
  1582. msgstr ""
  1583. #. type: quotation
  1584. #: guix-git/doc/contributing.texi:1320
  1585. 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!"
  1586. msgstr ""
  1587. #. type: quotation
  1588. #: guix-git/doc/contributing.texi:1324
  1589. 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!"
  1590. msgstr ""
  1591. #. type: Plain text
  1592. #: guix-git/doc/contributing.texi:1329
  1593. 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})."
  1594. msgstr ""
  1595. #. type: Plain text
  1596. #: guix-git/doc/contributing.texi:1334
  1597. 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})."
  1598. msgstr ""
  1599. #. type: Plain text
  1600. #: guix-git/doc/contributing.texi:1343
  1601. 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}."
  1602. msgstr ""
  1603. #. type: Plain text
  1604. #: guix-git/doc/contributing.texi:1349
  1605. 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:"
  1606. msgstr ""
  1607. #. type: example
  1608. #: guix-git/doc/contributing.texi:1353
  1609. #, no-wrap
  1610. msgid ""
  1611. "git config commit.gpgsign true\n"
  1612. "git config user.signingkey CABBA6EA1DC0FF33\n"
  1613. msgstr ""
  1614. #. type: Plain text
  1615. #: guix-git/doc/contributing.texi:1358
  1616. msgid "You can prevent yourself from accidentally pushing unsigned commits to Savannah by using the pre-push Git hook called located at @file{etc/git/pre-push}:"
  1617. msgstr ""
  1618. #. type: example
  1619. #: guix-git/doc/contributing.texi:1361
  1620. #, no-wrap
  1621. msgid "cp etc/git/pre-push .git/hooks/pre-push\n"
  1622. msgstr ""
  1623. #. type: Plain text
  1624. #: guix-git/doc/contributing.texi:1367
  1625. 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."
  1626. msgstr ""
  1627. #. type: Plain text
  1628. #: guix-git/doc/contributing.texi:1371
  1629. 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:"
  1630. msgstr ""
  1631. #. type: example
  1632. #: guix-git/doc/contributing.texi:1374
  1633. #, no-wrap
  1634. msgid "make check-channel-news\n"
  1635. msgstr ""
  1636. #. type: Plain text
  1637. #: guix-git/doc/contributing.texi:1380
  1638. 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."
  1639. msgstr ""
  1640. #. type: Plain text
  1641. #: guix-git/doc/contributing.texi:1383
  1642. msgid "That last part is subject to being adjusted, allowing individuals to commit directly on non-controversial changes on parts they’re familiar with."
  1643. msgstr ""
  1644. #. type: Plain text
  1645. #: guix-git/doc/contributing.texi:1389
  1646. 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."
  1647. msgstr ""
  1648. #. type: Plain text
  1649. #: guix-git/doc/contributing.texi:1395
  1650. 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!"
  1651. msgstr ""
  1652. #. type: cindex
  1653. #: guix-git/doc/contributing.texi:1399
  1654. #, no-wrap
  1655. msgid "update-guix-package, updating the guix package"
  1656. msgstr ""
  1657. #. type: Plain text
  1658. #: guix-git/doc/contributing.texi:1405
  1659. 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:"
  1660. msgstr ""
  1661. #. type: example
  1662. #: guix-git/doc/contributing.texi:1408
  1663. #, no-wrap
  1664. msgid "make update-guix-package\n"
  1665. msgstr ""
  1666. #. type: Plain text
  1667. #: guix-git/doc/contributing.texi:1415
  1668. 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."
  1669. msgstr ""
  1670. #. type: Plain text
  1671. #: guix-git/doc/contributing.texi:1419
  1672. 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:"
  1673. msgstr ""
  1674. #. type: example
  1675. #: guix-git/doc/contributing.texi:1422
  1676. #, no-wrap
  1677. msgid "./pre-inst-env guix build guix\n"
  1678. msgstr ""
  1679. #. type: Plain text
  1680. #: guix-git/doc/contributing.texi:1427
  1681. 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."
  1682. msgstr ""
  1683. #. type: Plain text
  1684. #: guix-git/doc/contributing.texi:1431
  1685. 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."
  1686. msgstr ""
  1687. #. type: Plain text
  1688. #: guix-git/doc/guix.texi:7
  1689. msgid "@documentencoding UTF-8"
  1690. msgstr ""
  1691. "@documentencoding UTF-8\n"
  1692. "@documentlanguage pt_BR\n"
  1693. "@frenchspacing on"
  1694. #. type: title
  1695. #: guix-git/doc/guix.texi:7 guix-git/doc/guix.texi:118
  1696. #, no-wrap
  1697. msgid "GNU Guix Reference Manual"
  1698. msgstr "Manual de referência do GNU Guix"
  1699. #. type: include
  1700. #: guix-git/doc/guix.texi:10
  1701. #, no-wrap
  1702. msgid "version.texi"
  1703. msgstr "version-pt_BR.texi"
  1704. #. type: copying
  1705. #: guix-git/doc/guix.texi:91
  1706. 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 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 Christopher 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 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 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@*"
  1707. msgstr ""
  1708. #. type: copying
  1709. #: guix-git/doc/guix.texi:98
  1710. 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''."
  1711. 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''."
  1712. #. type: dircategory
  1713. #: guix-git/doc/guix.texi:100
  1714. #, no-wrap
  1715. msgid "System administration"
  1716. msgstr "Administração do sistema"
  1717. #. type: menuentry
  1718. #: guix-git/doc/guix.texi:108
  1719. msgid "Guix: (guix)"
  1720. msgstr "Guix: (guix)"
  1721. #. type: menuentry
  1722. #: guix-git/doc/guix.texi:108
  1723. msgid "Manage installed software and system configuration."
  1724. msgstr "Gerencie softwares instalados e configuração do sistema."
  1725. #. type: menuentry
  1726. #: guix-git/doc/guix.texi:108
  1727. msgid "guix package: (guix)Invoking guix package"
  1728. msgstr "guix package: (guix)Invocando guix package"
  1729. #. type: menuentry
  1730. #: guix-git/doc/guix.texi:108
  1731. msgid "Installing, removing, and upgrading packages."
  1732. msgstr "Instalando, removendo e atualizando pacotes."
  1733. #. type: menuentry
  1734. #: guix-git/doc/guix.texi:108
  1735. msgid "guix gc: (guix)Invoking guix gc"
  1736. msgstr "guix gc: (guix)Invocando guix gc"
  1737. #. type: menuentry
  1738. #: guix-git/doc/guix.texi:108
  1739. msgid "Reclaiming unused disk space."
  1740. msgstr "Recuperando espaço em disco não utilizado."
  1741. #. type: menuentry
  1742. #: guix-git/doc/guix.texi:108
  1743. msgid "guix pull: (guix)Invoking guix pull"
  1744. msgstr "guix pull: (guix)Invocando guix pull"
  1745. #. type: menuentry
  1746. #: guix-git/doc/guix.texi:108
  1747. msgid "Update the list of available packages."
  1748. msgstr "Atualize a lista de pacotes disponíveis."
  1749. #. type: menuentry
  1750. #: guix-git/doc/guix.texi:108
  1751. msgid "guix system: (guix)Invoking guix system"
  1752. msgstr "guix system: (guix)Invocando guix system"
  1753. #. type: menuentry
  1754. #: guix-git/doc/guix.texi:108
  1755. msgid "Manage the operating system configuration."
  1756. msgstr "Gerencie a configuração do sistema operacional."
  1757. #. type: menuentry
  1758. #: guix-git/doc/guix.texi:108
  1759. msgid "guix deploy: (guix)Invoking guix deploy"
  1760. msgstr ""
  1761. #. type: menuentry
  1762. #: guix-git/doc/guix.texi:108
  1763. msgid "Manage operating system configurations for remote hosts."
  1764. msgstr ""
  1765. #. type: dircategory
  1766. #: guix-git/doc/guix.texi:110
  1767. #, no-wrap
  1768. msgid "Software development"
  1769. msgstr "Desenvolvimento de software"
  1770. #. type: menuentry
  1771. #: guix-git/doc/guix.texi:115
  1772. msgid "guix environment: (guix)Invoking guix environment"
  1773. msgstr "guix environment: (guix)Invocando guix environment"
  1774. #. type: menuentry
  1775. #: guix-git/doc/guix.texi:115
  1776. msgid "Building development environments with Guix."
  1777. msgstr "Compilando ambientes de desenvolvimento com Guix."
  1778. #. type: menuentry
  1779. #: guix-git/doc/guix.texi:115
  1780. msgid "guix build: (guix)Invoking guix build"
  1781. msgstr "guix build: (guix)Invocando guix build"
  1782. #. type: menuentry
  1783. #: guix-git/doc/guix.texi:115
  1784. msgid "Building packages."
  1785. msgstr "Compilando pacotes."
  1786. #. type: menuentry
  1787. #: guix-git/doc/guix.texi:115
  1788. msgid "guix pack: (guix)Invoking guix pack"
  1789. msgstr "guix pack: (guix)Invocando guix pack"
  1790. #. type: menuentry
  1791. #: guix-git/doc/guix.texi:115
  1792. msgid "Creating binary bundles."
  1793. msgstr "Criando pacotes de binários."
  1794. #. type: subtitle
  1795. #: guix-git/doc/guix.texi:119
  1796. #, no-wrap
  1797. msgid "Using the GNU Guix Functional Package Manager"
  1798. msgstr "Usando o Gerenciador de Pacotes Funcional GNU Guix"
  1799. #. type: author
  1800. #: guix-git/doc/guix.texi:120
  1801. #, no-wrap
  1802. msgid "The GNU Guix Developers"
  1803. msgstr "Os desenvolvedores do GNU Guix"
  1804. #. type: titlepage
  1805. #: guix-git/doc/guix.texi:126
  1806. msgid "Edition @value{EDITION} @* @value{UPDATED} @*"
  1807. msgstr "Edição @value{EDITION} @* @value{UPDATED} @*"
  1808. #. type: node
  1809. #: guix-git/doc/guix.texi:133
  1810. #, no-wrap
  1811. msgid "Top"
  1812. msgstr "Top"
  1813. #. type: top
  1814. #: guix-git/doc/guix.texi:134
  1815. #, no-wrap
  1816. msgid "GNU Guix"
  1817. msgstr "GNU Guix"
  1818. #. type: Plain text
  1819. #: guix-git/doc/guix.texi:138
  1820. msgid "This document describes GNU Guix version @value{VERSION}, a functional package management tool written for the GNU system."
  1821. msgstr "Esse documento descreve Guix versão @value{VERSION}, uma ferramenta de gerenciamento de pacotes funcional escrita para o sistema GNU."
  1822. #. You can replace the following paragraph with information on
  1823. #. type: Plain text
  1824. #: guix-git/doc/guix.texi:150
  1825. 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}."
  1826. msgstr ""
  1827. #. type: chapter
  1828. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:178
  1829. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:380
  1830. #, no-wrap
  1831. msgid "Introduction"
  1832. msgstr "Introdução"
  1833. #. type: menuentry
  1834. #: guix-git/doc/guix.texi:168
  1835. msgid "What is Guix about?"
  1836. msgstr "Sobre o que é o Guix?"
  1837. #. type: chapter
  1838. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:183
  1839. #: guix-git/doc/guix.texi:560 guix-git/doc/guix.texi:561
  1840. #, no-wrap
  1841. msgid "Installation"
  1842. msgstr "Instalação"
  1843. #. type: menuentry
  1844. #: guix-git/doc/guix.texi:168
  1845. msgid "Installing Guix."
  1846. msgstr "Instalando o Guix."
  1847. #. type: chapter
  1848. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:199
  1849. #: guix-git/doc/guix.texi:2000 guix-git/doc/guix.texi:2001
  1850. #, no-wrap
  1851. msgid "System Installation"
  1852. msgstr "Instalação do sistema"
  1853. #. type: menuentry
  1854. #: guix-git/doc/guix.texi:168
  1855. msgid "Installing the whole operating system."
  1856. msgstr "Instalando todo o sistema operacional."
  1857. #. type: chapter
  1858. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:2717
  1859. #: guix-git/doc/guix.texi:2718
  1860. #, no-wrap
  1861. msgid "Getting Started"
  1862. msgstr ""
  1863. #. type: menuentry
  1864. #: guix-git/doc/guix.texi:168
  1865. msgid "Your first steps."
  1866. msgstr ""
  1867. #. type: chapter
  1868. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:216
  1869. #: guix-git/doc/guix.texi:2925 guix-git/doc/guix.texi:2926
  1870. #, no-wrap
  1871. msgid "Package Management"
  1872. msgstr "Gerenciamento de pacote"
  1873. #. type: menuentry
  1874. #: guix-git/doc/guix.texi:168
  1875. msgid "Package installation, upgrade, etc."
  1876. msgstr "Instalação de pacote, atualização, etc."
  1877. #. type: chapter
  1878. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:239
  1879. #: guix-git/doc/guix.texi:4975 guix-git/doc/guix.texi:4976
  1880. #, no-wrap
  1881. msgid "Channels"
  1882. msgstr "Canais"
  1883. #. type: menuentry
  1884. #: guix-git/doc/guix.texi:168
  1885. msgid "Customizing the package collection."
  1886. msgstr "Personalizando a coleção de pacotes."
  1887. #. type: chapter
  1888. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:253
  1889. #: guix-git/doc/guix.texi:5503 guix-git/doc/guix.texi:5504
  1890. #, no-wrap
  1891. msgid "Development"
  1892. msgstr "Desenvolvimento"
  1893. #. type: menuentry
  1894. #: guix-git/doc/guix.texi:168
  1895. msgid "Guix-aided software development."
  1896. msgstr "Desenvolvimento de software auxiliado pelo Guix."
  1897. #. type: chapter
  1898. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:260
  1899. #: guix-git/doc/guix.texi:6329 guix-git/doc/guix.texi:6330
  1900. #, no-wrap
  1901. msgid "Programming Interface"
  1902. msgstr "Interface de programação"
  1903. #. type: menuentry
  1904. #: guix-git/doc/guix.texi:168
  1905. msgid "Using Guix in Scheme."
  1906. msgstr "Usando o Guix no Scheme."
  1907. #. type: chapter
  1908. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:279
  1909. #: guix-git/doc/guix.texi:10125 guix-git/doc/guix.texi:10126
  1910. #, no-wrap
  1911. msgid "Utilities"
  1912. msgstr "Utilitários"
  1913. #. type: menuentry
  1914. #: guix-git/doc/guix.texi:168
  1915. msgid "Package management commands."
  1916. msgstr "Comandos de gerenciamento de pacote."
  1917. #. type: chapter
  1918. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:304
  1919. #: guix-git/doc/guix.texi:13305 guix-git/doc/guix.texi:13306
  1920. #, no-wrap
  1921. msgid "System Configuration"
  1922. msgstr "Configuração do sistema"
  1923. #. type: menuentry
  1924. #: guix-git/doc/guix.texi:168
  1925. msgid "Configuring the operating system."
  1926. msgstr "Configurando o sistema operacional."
  1927. #. type: chapter
  1928. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:34336
  1929. #: guix-git/doc/guix.texi:34337
  1930. #, no-wrap
  1931. msgid "Documentation"
  1932. msgstr "Documentação"
  1933. #. type: menuentry
  1934. #: guix-git/doc/guix.texi:168
  1935. msgid "Browsing software user manuals."
  1936. msgstr "Navegando por manuais do usuário do software."
  1937. #. type: chapter
  1938. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:366
  1939. #: guix-git/doc/guix.texi:34400 guix-git/doc/guix.texi:34401
  1940. #, no-wrap
  1941. msgid "Installing Debugging Files"
  1942. msgstr "Instalando arquivos de depuração"
  1943. #. type: menuentry
  1944. #: guix-git/doc/guix.texi:168
  1945. msgid "Feeding the debugger."
  1946. msgstr "Alimentando o depurador."
  1947. #. type: chapter
  1948. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:34541
  1949. #: guix-git/doc/guix.texi:34542
  1950. #, no-wrap
  1951. msgid "Security Updates"
  1952. msgstr "Atualizações de segurança"
  1953. #. type: menuentry
  1954. #: guix-git/doc/guix.texi:168
  1955. msgid "Deploying security fixes quickly."
  1956. msgstr "Implementando correções de segurança rapidamente."
  1957. #. type: chapter
  1958. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:371
  1959. #: guix-git/doc/guix.texi:34656 guix-git/doc/guix.texi:34657
  1960. #, no-wrap
  1961. msgid "Bootstrapping"
  1962. msgstr "Inicializando"
  1963. #. type: menuentry
  1964. #: guix-git/doc/guix.texi:168
  1965. msgid "GNU/Linux built from scratch."
  1966. msgstr "GNU/Linux compilado do zero."
  1967. #. type: node
  1968. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:34948
  1969. #, no-wrap
  1970. msgid "Porting"
  1971. msgstr "Portando"
  1972. #. type: menuentry
  1973. #: guix-git/doc/guix.texi:168
  1974. msgid "Targeting another platform or kernel."
  1975. msgstr "Objetivando outra plataforma ou kernel."
  1976. #. type: menuentry
  1977. #: guix-git/doc/guix.texi:168
  1978. msgid "Your help needed!"
  1979. msgstr "Sua ajuda é necessária!"
  1980. #. type: chapter
  1981. #: guix-git/doc/guix.texi:173 guix-git/doc/guix.texi:34996
  1982. #: guix-git/doc/guix.texi:34997
  1983. #, no-wrap
  1984. msgid "Acknowledgments"
  1985. msgstr "Agradecimentos"
  1986. #. type: menuentry
  1987. #: guix-git/doc/guix.texi:173
  1988. msgid "Thanks!"
  1989. msgstr "Obrigado!"
  1990. #. type: appendix
  1991. #: guix-git/doc/guix.texi:173 guix-git/doc/guix.texi:35018
  1992. #: guix-git/doc/guix.texi:35019
  1993. #, no-wrap
  1994. msgid "GNU Free Documentation License"
  1995. msgstr "Licença de Documentação Livre GNU"
  1996. #. type: menuentry
  1997. #: guix-git/doc/guix.texi:173
  1998. msgid "The license of this manual."
  1999. msgstr "A licença deste manual."
  2000. #. type: unnumbered
  2001. #: guix-git/doc/guix.texi:173 guix-git/doc/guix.texi:35024
  2002. #: guix-git/doc/guix.texi:35025
  2003. #, no-wrap
  2004. msgid "Concept Index"
  2005. msgstr "Índice de conceitos"
  2006. #. type: menuentry
  2007. #: guix-git/doc/guix.texi:173
  2008. msgid "Concepts."
  2009. msgstr "Conceitos."
  2010. #. type: unnumbered
  2011. #: guix-git/doc/guix.texi:173 guix-git/doc/guix.texi:35028
  2012. #: guix-git/doc/guix.texi:35029
  2013. #, no-wrap
  2014. msgid "Programming Index"
  2015. msgstr "Índice de programação"
  2016. #. type: menuentry
  2017. #: guix-git/doc/guix.texi:173
  2018. msgid "Data types, functions, and variables."
  2019. msgstr "Tipos de dados, funções e variáveis."
  2020. #. type: menuentry
  2021. #: guix-git/doc/guix.texi:176
  2022. msgid "--- The Detailed Node Listing ---"
  2023. msgstr "--- A listagem detalhada de nós ---"
  2024. #. type: section
  2025. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:406
  2026. #: guix-git/doc/guix.texi:408 guix-git/doc/guix.texi:409
  2027. #, no-wrap
  2028. msgid "Managing Software the Guix Way"
  2029. msgstr "Gerenciando software do jeito do Guix"
  2030. #. type: menuentry
  2031. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:406
  2032. msgid "What's special."
  2033. msgstr "O que há de especial."
  2034. #. type: section
  2035. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:406
  2036. #: guix-git/doc/guix.texi:463 guix-git/doc/guix.texi:464
  2037. #, no-wrap
  2038. msgid "GNU Distribution"
  2039. msgstr "Distribuição GNU"
  2040. #. type: menuentry
  2041. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:406
  2042. msgid "The packages and tools."
  2043. msgstr "Os pacotes e as ferramentas."
  2044. #. type: section
  2045. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2046. #: guix-git/doc/guix.texi:602 guix-git/doc/guix.texi:603
  2047. #, no-wrap
  2048. msgid "Binary Installation"
  2049. msgstr "Instalação de binários"
  2050. #. type: menuentry
  2051. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2052. msgid "Getting Guix running in no time!"
  2053. msgstr "Faça o Guix funcionar rapidamente!"
  2054. #. type: section
  2055. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2056. #: guix-git/doc/guix.texi:820 guix-git/doc/guix.texi:821
  2057. #, no-wrap
  2058. msgid "Requirements"
  2059. msgstr "Requisitos"
  2060. #. type: menuentry
  2061. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2062. msgid "Software needed to build and run Guix."
  2063. msgstr "Software necessário para compilar e executar o Guix."
  2064. #. type: section
  2065. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2066. #: guix-git/doc/guix.texi:909 guix-git/doc/guix.texi:910
  2067. #, no-wrap
  2068. msgid "Running the Test Suite"
  2069. msgstr "Executando a suíte de testes"
  2070. #. type: menuentry
  2071. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2072. msgid "Testing Guix."
  2073. msgstr "Testando o Guix."
  2074. #. type: section
  2075. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:193
  2076. #: guix-git/doc/guix.texi:600 guix-git/doc/guix.texi:1006
  2077. #: guix-git/doc/guix.texi:1007
  2078. #, no-wrap
  2079. msgid "Setting Up the Daemon"
  2080. msgstr "Configurando o daemon"
  2081. #. type: menuentry
  2082. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2083. msgid "Preparing the build daemon's environment."
  2084. msgstr "Preparando o ambiente do daemon de compilação."
  2085. #. type: node
  2086. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2087. #: guix-git/doc/guix.texi:1476
  2088. #, no-wrap
  2089. msgid "Invoking guix-daemon"
  2090. msgstr "Invocando guix-daemon"
  2091. #. type: menuentry
  2092. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2093. msgid "Running the build daemon."
  2094. msgstr "Executando o daemon de compilação."
  2095. #. type: section
  2096. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2097. #: guix-git/doc/guix.texi:1778 guix-git/doc/guix.texi:1779
  2098. #, no-wrap
  2099. msgid "Application Setup"
  2100. msgstr "Configuração de aplicativo"
  2101. #. type: menuentry
  2102. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2103. msgid "Application-specific setup."
  2104. msgstr "Configuração específica de aplicativo."
  2105. #. type: section
  2106. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2107. #: guix-git/doc/guix.texi:1963 guix-git/doc/guix.texi:1964
  2108. #, no-wrap
  2109. msgid "Upgrading Guix"
  2110. msgstr ""
  2111. #. type: menuentry
  2112. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2113. msgid "Upgrading Guix and its build daemon."
  2114. msgstr ""
  2115. #. type: subsection
  2116. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2117. #: guix-git/doc/guix.texi:1028 guix-git/doc/guix.texi:1029
  2118. #, no-wrap
  2119. msgid "Build Environment Setup"
  2120. msgstr "Configuração do ambiente de compilação"
  2121. #. type: menuentry
  2122. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2123. msgid "Preparing the isolated build environment."
  2124. msgstr "Preparando o ambiente de compilação isolado."
  2125. #. type: node
  2126. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2127. #: guix-git/doc/guix.texi:1147
  2128. #, no-wrap
  2129. msgid "Daemon Offload Setup"
  2130. msgstr "Configuração de descarregamento de daemon"
  2131. #. type: menuentry
  2132. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2133. msgid "Offloading builds to remote machines."
  2134. msgstr "Descarregando compilações para máquinas remotas."
  2135. #. type: subsection
  2136. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2137. #: guix-git/doc/guix.texi:1385 guix-git/doc/guix.texi:1386
  2138. #, no-wrap
  2139. msgid "SELinux Support"
  2140. msgstr "Suporte a SELinux"
  2141. #. type: menuentry
  2142. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2143. msgid "Using an SELinux policy for the daemon."
  2144. msgstr "Usando um política SELinux para o daemon."
  2145. #. type: section
  2146. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:1421
  2147. #: guix-git/doc/guix.texi:2034 guix-git/doc/guix.texi:2036
  2148. #: guix-git/doc/guix.texi:2037
  2149. #, no-wrap
  2150. msgid "Limitations"
  2151. msgstr "Limitações"
  2152. #. type: menuentry
  2153. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2154. msgid "What you can expect."
  2155. msgstr "O que você pode esperar."
  2156. #. type: section
  2157. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2158. #: guix-git/doc/guix.texi:2062 guix-git/doc/guix.texi:2063
  2159. #, no-wrap
  2160. msgid "Hardware Considerations"
  2161. msgstr "Considerações de hardware"
  2162. #. type: menuentry
  2163. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2164. msgid "Supported hardware."
  2165. msgstr "Hardware suportado."
  2166. #. type: section
  2167. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2168. #: guix-git/doc/guix.texi:2097 guix-git/doc/guix.texi:2098
  2169. #, no-wrap
  2170. msgid "USB Stick and DVD Installation"
  2171. msgstr "Instalação em um pendrive e em DVD"
  2172. #. type: menuentry
  2173. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2174. msgid "Preparing the installation medium."
  2175. msgstr "Preparando a mídia de instalação."
  2176. #. type: section
  2177. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2178. #: guix-git/doc/guix.texi:2178 guix-git/doc/guix.texi:2179
  2179. #, no-wrap
  2180. msgid "Preparing for Installation"
  2181. msgstr "Preparando para instalação"
  2182. #. type: menuentry
  2183. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2184. msgid "Networking, partitioning, etc."
  2185. msgstr "Rede, particionamento, etc."
  2186. #. type: section
  2187. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2188. #: guix-git/doc/guix.texi:2201 guix-git/doc/guix.texi:2202
  2189. #, no-wrap
  2190. msgid "Guided Graphical Installation"
  2191. msgstr "Instalação gráfica guiada"
  2192. #. type: menuentry
  2193. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2194. msgid "Easy graphical installation."
  2195. msgstr "Instalação gráfica fácil."
  2196. #. type: section
  2197. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:211
  2198. #: guix-git/doc/guix.texi:2034 guix-git/doc/guix.texi:2232
  2199. #: guix-git/doc/guix.texi:2233
  2200. #, no-wrap
  2201. msgid "Manual Installation"
  2202. msgstr "Instalação manual"
  2203. #. type: menuentry
  2204. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2205. msgid "Manual installation for wizards."
  2206. msgstr "Instalação manual para magos."
  2207. #. type: section
  2208. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2209. #: guix-git/doc/guix.texi:2600 guix-git/doc/guix.texi:2601
  2210. #, no-wrap
  2211. msgid "After System Installation"
  2212. msgstr "Após a instalação do sistema"
  2213. #. type: menuentry
  2214. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2215. msgid "When installation succeeded."
  2216. msgstr "Quando a instalação conclui com sucesso."
  2217. #. type: node
  2218. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2219. #: guix-git/doc/guix.texi:2634
  2220. #, no-wrap
  2221. msgid "Installing Guix in a VM"
  2222. msgstr "Instalando Guix em um VM"
  2223. #. type: menuentry
  2224. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2225. msgid "Guix System playground."
  2226. msgstr "Parque de diversões do Guix System."
  2227. #. type: section
  2228. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2229. #: guix-git/doc/guix.texi:2685 guix-git/doc/guix.texi:2686
  2230. #, no-wrap
  2231. msgid "Building the Installation Image"
  2232. msgstr "Compilando a imagem de instalação"
  2233. #. type: menuentry
  2234. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2235. msgid "How this comes to be."
  2236. msgstr "Como isso vem a ser."
  2237. #. type: node
  2238. #: guix-git/doc/guix.texi:214 guix-git/doc/guix.texi:2250
  2239. #: guix-git/doc/guix.texi:2252
  2240. #, no-wrap
  2241. msgid "Keyboard Layout and Networking and Partitioning"
  2242. msgstr "Disposição de teclado e rede e particionamento"
  2243. #. type: menuentry
  2244. #: guix-git/doc/guix.texi:214 guix-git/doc/guix.texi:2250
  2245. msgid "Initial setup."
  2246. msgstr "Configuração inicial."
  2247. #. type: subsection
  2248. #: guix-git/doc/guix.texi:214 guix-git/doc/guix.texi:2250
  2249. #: guix-git/doc/guix.texi:2512 guix-git/doc/guix.texi:2513
  2250. #, no-wrap
  2251. msgid "Proceeding with the Installation"
  2252. msgstr "Prosseguindo com a instalação"
  2253. #. type: menuentry
  2254. #: guix-git/doc/guix.texi:214 guix-git/doc/guix.texi:2250
  2255. msgid "Installing."
  2256. msgstr "Instalando."
  2257. #. type: section
  2258. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2259. #: guix-git/doc/guix.texi:2959 guix-git/doc/guix.texi:2960
  2260. #, no-wrap
  2261. msgid "Features"
  2262. msgstr "Recursos"
  2263. #. type: menuentry
  2264. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2265. msgid "How Guix will make your life brighter."
  2266. msgstr "Como o Guix vai iluminar a sua vida."
  2267. #. type: node
  2268. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2269. #: guix-git/doc/guix.texi:3049
  2270. #, no-wrap
  2271. msgid "Invoking guix package"
  2272. msgstr "Invocando guix package"
  2273. #. type: menuentry
  2274. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2275. msgid "Package installation, removal, etc."
  2276. msgstr "Instalação de pacote, remoção, etc."
  2277. #. type: section
  2278. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:229
  2279. #: guix-git/doc/guix.texi:2957 guix-git/doc/guix.texi:3665
  2280. #: guix-git/doc/guix.texi:3666
  2281. #, no-wrap
  2282. msgid "Substitutes"
  2283. msgstr "Substitutos"
  2284. #. type: menuentry
  2285. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2286. msgid "Downloading pre-built binaries."
  2287. msgstr "Baixando binários pré-compilados."
  2288. #. type: section
  2289. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2290. #: guix-git/doc/guix.texi:3996 guix-git/doc/guix.texi:3997
  2291. #, no-wrap
  2292. msgid "Packages with Multiple Outputs"
  2293. msgstr "Pacotes com múltiplas saídas"
  2294. #. type: menuentry
  2295. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2296. msgid "Single source package, multiple outputs."
  2297. msgstr "Um único pacote de fontes, várias saídas."
  2298. #. type: node
  2299. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2300. #: guix-git/doc/guix.texi:4050
  2301. #, no-wrap
  2302. msgid "Invoking guix gc"
  2303. msgstr "Invocando guix gc"
  2304. #. type: menuentry
  2305. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2306. msgid "Running the garbage collector."
  2307. msgstr "Executando o coletor de lixo."
  2308. #. type: node
  2309. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2310. #: guix-git/doc/guix.texi:4260
  2311. #, no-wrap
  2312. msgid "Invoking guix pull"
  2313. msgstr "Invocando guix pull"
  2314. #. type: menuentry
  2315. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2316. msgid "Fetching the latest Guix and distribution."
  2317. msgstr "Obtendo o Guix mais recente e distribuição."
  2318. #. type: node
  2319. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2320. #: guix-git/doc/guix.texi:4507
  2321. #, no-wrap
  2322. msgid "Invoking guix time-machine"
  2323. msgstr ""
  2324. #. type: menuentry
  2325. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2326. msgid "Running an older revision of Guix."
  2327. msgstr ""
  2328. #. type: section
  2329. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2330. #: guix-git/doc/guix.texi:4562 guix-git/doc/guix.texi:4563
  2331. #, no-wrap
  2332. msgid "Inferiors"
  2333. msgstr "Inferiores"
  2334. #. type: menuentry
  2335. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2336. msgid "Interacting with another revision of Guix."
  2337. msgstr "Interagindo com outra revisão do Guix."
  2338. #. type: node
  2339. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2340. #: guix-git/doc/guix.texi:4690
  2341. #, no-wrap
  2342. msgid "Invoking guix describe"
  2343. msgstr "Invocando guix describe"
  2344. #. type: menuentry
  2345. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2346. msgid "Display information about your Guix revision."
  2347. msgstr "Exibe informações sobre sua revisão do Guix."
  2348. #. type: node
  2349. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2350. #: guix-git/doc/guix.texi:4785
  2351. #, no-wrap
  2352. msgid "Invoking guix archive"
  2353. msgstr "Invocando guix archive"
  2354. #. type: menuentry
  2355. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2356. msgid "Exporting and importing store files."
  2357. msgstr "Exportando e importando arquivos de armazenamento."
  2358. #. type: subsection
  2359. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2360. #: guix-git/doc/guix.texi:3691 guix-git/doc/guix.texi:3692
  2361. #, no-wrap
  2362. msgid "Official Substitute Server"
  2363. msgstr "Servidor substituto oficial"
  2364. #. type: menuentry
  2365. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2366. msgid "One particular source of substitutes."
  2367. msgstr "Uma fonte específica de substitutos."
  2368. #. type: subsection
  2369. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2370. #: guix-git/doc/guix.texi:3720 guix-git/doc/guix.texi:3721
  2371. #, no-wrap
  2372. msgid "Substitute Server Authorization"
  2373. msgstr "Autorização de servidor substituto"
  2374. #. type: menuentry
  2375. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2376. msgid "How to enable or disable substitutes."
  2377. msgstr "Como habilitar ou desabilitar substitutos."
  2378. #. type: subsection
  2379. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2380. #: guix-git/doc/guix.texi:3789 guix-git/doc/guix.texi:3790
  2381. #, no-wrap
  2382. msgid "Getting Substitutes from Other Servers"
  2383. msgstr ""
  2384. #. type: menuentry
  2385. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2386. msgid "Substitute diversity."
  2387. msgstr ""
  2388. #. type: subsection
  2389. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2390. #: guix-git/doc/guix.texi:3891 guix-git/doc/guix.texi:3892
  2391. #, no-wrap
  2392. msgid "Substitute Authentication"
  2393. msgstr "Autenticação de substituto"
  2394. #. type: menuentry
  2395. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2396. msgid "How Guix verifies substitutes."
  2397. msgstr "Como Guix verifica substitutos."
  2398. #. type: subsection
  2399. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2400. #: guix-git/doc/guix.texi:3926 guix-git/doc/guix.texi:3927
  2401. #, no-wrap
  2402. msgid "Proxy Settings"
  2403. msgstr "Configurações de proxy"
  2404. #. type: menuentry
  2405. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2406. msgid "How to get substitutes via proxy."
  2407. msgstr "Como obter substitutos via proxy."
  2408. #. type: subsection
  2409. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2410. #: guix-git/doc/guix.texi:3938 guix-git/doc/guix.texi:3939
  2411. #, no-wrap
  2412. msgid "Substitution Failure"
  2413. msgstr "Falha na substituição"
  2414. #. type: menuentry
  2415. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2416. msgid "What happens when substitution fails."
  2417. msgstr "O que acontece quando a substituição falha."
  2418. #. type: subsection
  2419. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2420. #: guix-git/doc/guix.texi:3966 guix-git/doc/guix.texi:3967
  2421. #, no-wrap
  2422. msgid "On Trusting Binaries"
  2423. msgstr "Confiança em binários"
  2424. #. type: menuentry
  2425. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2426. msgid "How can you trust that binary blob?"
  2427. msgstr "Como você pode confiar naquele blob binário?"
  2428. #. type: section
  2429. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2430. #: guix-git/doc/guix.texi:5008 guix-git/doc/guix.texi:5009
  2431. #, no-wrap
  2432. msgid "Specifying Additional Channels"
  2433. msgstr ""
  2434. #. type: menuentry
  2435. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2436. msgid "Extending the package collection."
  2437. msgstr ""
  2438. #. type: section
  2439. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2440. #: guix-git/doc/guix.texi:5058 guix-git/doc/guix.texi:5059
  2441. #, no-wrap
  2442. msgid "Using a Custom Guix Channel"
  2443. msgstr ""
  2444. #. type: menuentry
  2445. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2446. msgid "Using a customized Guix."
  2447. msgstr ""
  2448. #. type: section
  2449. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2450. #: guix-git/doc/guix.texi:5080 guix-git/doc/guix.texi:5081
  2451. #, no-wrap
  2452. msgid "Replicating Guix"
  2453. msgstr ""
  2454. #. type: menuentry
  2455. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2456. msgid "Running the @emph{exact same} Guix."
  2457. msgstr ""
  2458. #. type: section
  2459. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2460. #: guix-git/doc/guix.texi:5121 guix-git/doc/guix.texi:5122
  2461. #, no-wrap
  2462. msgid "Channel Authentication"
  2463. msgstr ""
  2464. #. type: menuentry
  2465. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2466. msgid "How Guix verifies what it fetches."
  2467. msgstr ""
  2468. #. type: section
  2469. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2470. #: guix-git/doc/guix.texi:5161 guix-git/doc/guix.texi:5162
  2471. #, no-wrap
  2472. msgid "Channels with Substitutes"
  2473. msgstr ""
  2474. #. type: menuentry
  2475. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2476. msgid "Using channels with available substitutes."
  2477. msgstr ""
  2478. #. type: section
  2479. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2480. #: guix-git/doc/guix.texi:5186 guix-git/doc/guix.texi:5187
  2481. #, no-wrap
  2482. msgid "Creating a Channel"
  2483. msgstr ""
  2484. #. type: menuentry
  2485. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2486. msgid "How to write your custom channel."
  2487. msgstr ""
  2488. #. type: section
  2489. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2490. #: guix-git/doc/guix.texi:5253 guix-git/doc/guix.texi:5254
  2491. #, no-wrap
  2492. msgid "Package Modules in a Sub-directory"
  2493. msgstr ""
  2494. #. type: menuentry
  2495. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2496. msgid "Specifying the channel's package modules location."
  2497. msgstr ""
  2498. #. type: section
  2499. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2500. #: guix-git/doc/guix.texi:5267 guix-git/doc/guix.texi:5268
  2501. #, no-wrap
  2502. msgid "Declaring Channel Dependencies"
  2503. msgstr ""
  2504. #. type: menuentry
  2505. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2506. msgid "How to depend on other channels."
  2507. msgstr ""
  2508. #. type: section
  2509. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2510. #: guix-git/doc/guix.texi:5309 guix-git/doc/guix.texi:5310
  2511. #, no-wrap
  2512. msgid "Specifying Channel Authorizations"
  2513. msgstr ""
  2514. #. type: menuentry
  2515. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2516. msgid "Defining channel authors authorizations."
  2517. msgstr ""
  2518. #. type: section
  2519. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2520. #: guix-git/doc/guix.texi:5410 guix-git/doc/guix.texi:5411
  2521. #, no-wrap
  2522. msgid "Primary URL"
  2523. msgstr ""
  2524. #. type: menuentry
  2525. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2526. msgid "Distinguishing mirror to original."
  2527. msgstr ""
  2528. #. type: section
  2529. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2530. #: guix-git/doc/guix.texi:5433 guix-git/doc/guix.texi:5434
  2531. #, no-wrap
  2532. msgid "Writing Channel News"
  2533. msgstr ""
  2534. #. type: menuentry
  2535. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2536. msgid "Communicating information to channel's users."
  2537. msgstr ""
  2538. #. type: node
  2539. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2540. #: guix-git/doc/guix.texi:5524
  2541. #, no-wrap
  2542. msgid "Invoking guix environment"
  2543. msgstr "Invocando guix environment"
  2544. #. type: menuentry
  2545. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2546. msgid "Setting up development environments."
  2547. msgstr "Configurando ambientes de desenvolvimento."
  2548. #. type: node
  2549. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2550. #: guix-git/doc/guix.texi:5884
  2551. #, no-wrap
  2552. msgid "Invoking guix pack"
  2553. msgstr "Invocando guix pack"
  2554. #. type: menuentry
  2555. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2556. msgid "Creating software bundles."
  2557. msgstr "Criando pacotes de software."
  2558. #. type: section
  2559. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2560. #: guix-git/doc/guix.texi:6241 guix-git/doc/guix.texi:6242
  2561. #, no-wrap
  2562. msgid "The GCC toolchain"
  2563. msgstr ""
  2564. #. type: menuentry
  2565. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2566. msgid "Working with languages supported by GCC."
  2567. msgstr ""
  2568. #. type: node
  2569. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2570. #: guix-git/doc/guix.texi:6267
  2571. #, no-wrap
  2572. msgid "Invoking guix git authenticate"
  2573. msgstr ""
  2574. #. type: menuentry
  2575. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2576. msgid "Authenticating Git repositories."
  2577. msgstr ""
  2578. #. type: section
  2579. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2580. #: guix-git/doc/guix.texi:6371 guix-git/doc/guix.texi:6372
  2581. #, no-wrap
  2582. msgid "Package Modules"
  2583. msgstr "Módulos de pacote"
  2584. #. type: menuentry
  2585. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2586. msgid "Packages from the programmer's viewpoint."
  2587. msgstr "Pacotes do ponto de vista do programador."
  2588. #. type: section
  2589. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:274
  2590. #: guix-git/doc/guix.texi:6369 guix-git/doc/guix.texi:6433
  2591. #: guix-git/doc/guix.texi:6434
  2592. #, no-wrap
  2593. msgid "Defining Packages"
  2594. msgstr "Definindo pacotes"
  2595. #. type: menuentry
  2596. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2597. msgid "Defining new packages."
  2598. msgstr "Definindo novos pacotes."
  2599. #. type: section
  2600. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2601. #: guix-git/doc/guix.texi:7001 guix-git/doc/guix.texi:7002
  2602. #, no-wrap
  2603. msgid "Defining Package Variants"
  2604. msgstr ""
  2605. #. type: menuentry
  2606. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2607. msgid "Customizing packages."
  2608. msgstr ""
  2609. #. type: section
  2610. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2611. #: guix-git/doc/guix.texi:7233 guix-git/doc/guix.texi:7234
  2612. #, no-wrap
  2613. msgid "Build Systems"
  2614. msgstr "Sistemas de compilação"
  2615. #. type: menuentry
  2616. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2617. msgid "Specifying how packages are built."
  2618. msgstr "Especificando como pacotes são compilados."
  2619. #. type: subsection
  2620. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2621. #: guix-git/doc/guix.texi:8249 guix-git/doc/guix.texi:8250
  2622. #: guix-git/doc/guix.texi:8653
  2623. #, no-wrap
  2624. msgid "Build Phases"
  2625. msgstr ""
  2626. #. type: menuentry
  2627. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2628. msgid "Phases of the build process of a package."
  2629. msgstr ""
  2630. #. type: section
  2631. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2632. #: guix-git/doc/guix.texi:8443 guix-git/doc/guix.texi:8444
  2633. #, no-wrap
  2634. msgid "Build Utilities"
  2635. msgstr ""
  2636. #. type: menuentry
  2637. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2638. msgid "Helpers for your package definitions and more."
  2639. msgstr ""
  2640. #. type: section
  2641. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2642. #: guix-git/doc/guix.texi:8730 guix-git/doc/guix.texi:8731
  2643. #, no-wrap
  2644. msgid "The Store"
  2645. msgstr "O armazenamento"
  2646. #. type: menuentry
  2647. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2648. msgid "Manipulating the package store."
  2649. msgstr "Manipulação de armazenamento de pacote."
  2650. #. type: section
  2651. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2652. #: guix-git/doc/guix.texi:8883 guix-git/doc/guix.texi:8884
  2653. #, no-wrap
  2654. msgid "Derivations"
  2655. msgstr "Derivações"
  2656. #. type: menuentry
  2657. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2658. msgid "Low-level interface to package derivations."
  2659. msgstr "Interface de baixo nível para derivações de pacotes."
  2660. #. type: section
  2661. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2662. #: guix-git/doc/guix.texi:9077 guix-git/doc/guix.texi:9078
  2663. #, no-wrap
  2664. msgid "The Store Monad"
  2665. msgstr "O armazenamento mônada"
  2666. #. type: menuentry
  2667. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2668. msgid "Purely functional interface to the store."
  2669. msgstr "Interface puramente funcional para o armazenamento."
  2670. #. type: section
  2671. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2672. #: guix-git/doc/guix.texi:9396 guix-git/doc/guix.texi:9397
  2673. #, no-wrap
  2674. msgid "G-Expressions"
  2675. msgstr "Expressões-G"
  2676. #. type: menuentry
  2677. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2678. msgid "Manipulating build expressions."
  2679. msgstr "Manipulação de expressões de compilação."
  2680. #. type: node
  2681. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2682. #: guix-git/doc/guix.texi:10025
  2683. #, no-wrap
  2684. msgid "Invoking guix repl"
  2685. msgstr "Invocando guix repl"
  2686. #. type: menuentry
  2687. #: guix-git/doc/guix.texi:272
  2688. msgid "Programming Guix in Guile."
  2689. msgstr ""
  2690. #. type: node
  2691. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:6636
  2692. #: guix-git/doc/guix.texi:6639
  2693. #, no-wrap
  2694. msgid "package Reference"
  2695. msgstr "Referência do package"
  2696. #. type: menuentry
  2697. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:6636
  2698. msgid "The package data type."
  2699. msgstr "O tipo de dados package."
  2700. #. type: node
  2701. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:6636
  2702. #: guix-git/doc/guix.texi:6810
  2703. #, no-wrap
  2704. msgid "origin Reference"
  2705. msgstr "Referência do origin"
  2706. #. type: menuentry
  2707. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:6636
  2708. msgid "The origin data type."
  2709. msgstr "O tipo de dados origin."
  2710. #. type: node
  2711. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2712. #: guix-git/doc/guix.texi:10151
  2713. #, no-wrap
  2714. msgid "Invoking guix build"
  2715. msgstr "Invocando guix build"
  2716. #. type: menuentry
  2717. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2718. msgid "Building packages from the command line."
  2719. msgstr "Compilando pacotes a partir da linha de comando."
  2720. #. type: node
  2721. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2722. #: guix-git/doc/guix.texi:10987
  2723. #, no-wrap
  2724. msgid "Invoking guix edit"
  2725. msgstr "Invocando guix edit"
  2726. #. type: menuentry
  2727. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2728. msgid "Editing package definitions."
  2729. msgstr "Editando definições de pacote."
  2730. #. type: node
  2731. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2732. #: guix-git/doc/guix.texi:11017
  2733. #, no-wrap
  2734. msgid "Invoking guix download"
  2735. msgstr "Invocando guix download"
  2736. #. type: menuentry
  2737. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2738. msgid "Downloading a file and printing its hash."
  2739. msgstr "Baixando um arquivo e imprimindo seu hash."
  2740. #. type: node
  2741. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2742. #: guix-git/doc/guix.texi:11075
  2743. #, no-wrap
  2744. msgid "Invoking guix hash"
  2745. msgstr "Invocando guix hash"
  2746. #. type: menuentry
  2747. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2748. msgid "Computing the cryptographic hash of a file."
  2749. msgstr "Computando a hash criptográfica de um arquivo."
  2750. #. type: node
  2751. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2752. #: guix-git/doc/guix.texi:11147
  2753. #, no-wrap
  2754. msgid "Invoking guix import"
  2755. msgstr "Invocando guix import"
  2756. #. type: menuentry
  2757. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2758. msgid "Importing package definitions."
  2759. msgstr "Importando definições de pacote."
  2760. #. type: node
  2761. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2762. #: guix-git/doc/guix.texi:11602
  2763. #, no-wrap
  2764. msgid "Invoking guix refresh"
  2765. msgstr "Invocando guix refresh"
  2766. #. type: menuentry
  2767. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2768. msgid "Updating package definitions."
  2769. msgstr "Atualizando definições de pacotes."
  2770. #. type: node
  2771. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2772. #: guix-git/doc/guix.texi:11938
  2773. #, no-wrap
  2774. msgid "Invoking guix lint"
  2775. msgstr "Invocando guix lint"
  2776. #. type: menuentry
  2777. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2778. msgid "Finding errors in package definitions."
  2779. msgstr "Encontrando erros nas definições de pacote."
  2780. #. type: node
  2781. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2782. #: guix-git/doc/guix.texi:12107
  2783. #, no-wrap
  2784. msgid "Invoking guix size"
  2785. msgstr "Invocando guix size"
  2786. #. type: menuentry
  2787. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2788. msgid "Profiling disk usage."
  2789. msgstr "Perfilando uso de disco."
  2790. #. type: node
  2791. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2792. #: guix-git/doc/guix.texi:12251
  2793. #, no-wrap
  2794. msgid "Invoking guix graph"
  2795. msgstr "Invocando guix graph"
  2796. #. type: menuentry
  2797. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2798. msgid "Visualizing the graph of packages."
  2799. msgstr "Visualizando o grafo de pacotes."
  2800. #. type: node
  2801. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2802. #: guix-git/doc/guix.texi:12518
  2803. #, no-wrap
  2804. msgid "Invoking guix publish"
  2805. msgstr "Invocando guix publish"
  2806. #. type: menuentry
  2807. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2808. msgid "Sharing substitutes."
  2809. msgstr "Compartilhando substitutos."
  2810. #. type: node
  2811. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2812. #: guix-git/doc/guix.texi:12777
  2813. #, no-wrap
  2814. msgid "Invoking guix challenge"
  2815. msgstr "Invocando guix challenge"
  2816. #. type: menuentry
  2817. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2818. msgid "Challenging substitute servers."
  2819. msgstr "Desafiando servidores substitutos."
  2820. #. type: node
  2821. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2822. #: guix-git/doc/guix.texi:12960
  2823. #, no-wrap
  2824. msgid "Invoking guix copy"
  2825. msgstr "Invocando guix copy"
  2826. #. type: menuentry
  2827. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2828. msgid "Copying to and from a remote store."
  2829. msgstr "Copiando para e de um armazenamento remoto."
  2830. #. type: node
  2831. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2832. #: guix-git/doc/guix.texi:13023
  2833. #, no-wrap
  2834. msgid "Invoking guix container"
  2835. msgstr "Invocando guix container"
  2836. #. type: menuentry
  2837. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2838. msgid "Process isolation."
  2839. msgstr "Isolação de processo."
  2840. #. type: node
  2841. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2842. #: guix-git/doc/guix.texi:13077
  2843. #, no-wrap
  2844. msgid "Invoking guix weather"
  2845. msgstr "Invocando guix weather"
  2846. #. type: menuentry
  2847. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2848. msgid "Assessing substitute availability."
  2849. msgstr "Acessando disponibilidade de substituto."
  2850. #. type: node
  2851. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2852. #: guix-git/doc/guix.texi:13207
  2853. #, no-wrap
  2854. msgid "Invoking guix processes"
  2855. msgstr "Invocando guix processes"
  2856. #. type: menuentry
  2857. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2858. msgid "Listing client processes."
  2859. msgstr "Listando processos do cliente."
  2860. #. type: section
  2861. #: guix-git/doc/guix.texi:297 guix-git/doc/guix.texi:10152
  2862. #, no-wrap
  2863. msgid "Invoking @command{guix build}"
  2864. msgstr "Invocando @command{guix build}"
  2865. #. type: subsection
  2866. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2867. #: guix-git/doc/guix.texi:10205 guix-git/doc/guix.texi:10206
  2868. #, no-wrap
  2869. msgid "Common Build Options"
  2870. msgstr "Opções de compilação comum"
  2871. #. type: menuentry
  2872. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2873. msgid "Build options for most commands."
  2874. msgstr "Opções de compilação para a maioria dos comandos."
  2875. #. type: subsection
  2876. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2877. #: guix-git/doc/guix.texi:10360 guix-git/doc/guix.texi:10361
  2878. #, no-wrap
  2879. msgid "Package Transformation Options"
  2880. msgstr "Opções de transformação de pacote"
  2881. #. type: menuentry
  2882. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2883. msgid "Creating variants of packages."
  2884. msgstr "Criando variantes de pacotes."
  2885. #. type: subsection
  2886. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2887. #: guix-git/doc/guix.texi:10669 guix-git/doc/guix.texi:10670
  2888. #, no-wrap
  2889. msgid "Additional Build Options"
  2890. msgstr "Opções de compilação adicional"
  2891. #. type: menuentry
  2892. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2893. msgid "Options specific to 'guix build'."
  2894. msgstr "Opções específicas para \"guix build\"."
  2895. #. type: subsection
  2896. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2897. #: guix-git/doc/guix.texi:10907 guix-git/doc/guix.texi:10908
  2898. #, no-wrap
  2899. msgid "Debugging Build Failures"
  2900. msgstr "Depurando falhas de compilação"
  2901. #. type: menuentry
  2902. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2903. msgid "Real life packaging experience."
  2904. msgstr "Experiência de empacotamento na vida real."
  2905. #. type: section
  2906. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2907. #: guix-git/doc/guix.texi:13350 guix-git/doc/guix.texi:13351
  2908. #, no-wrap
  2909. msgid "Using the Configuration System"
  2910. msgstr "Usando o sistema de configuração"
  2911. #. type: menuentry
  2912. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2913. msgid "Customizing your GNU system."
  2914. msgstr "Personalizando seu sistema GNU."
  2915. #. type: node
  2916. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2917. #: guix-git/doc/guix.texi:13598
  2918. #, no-wrap
  2919. msgid "operating-system Reference"
  2920. msgstr "Referência do operating-system"
  2921. #. type: menuentry
  2922. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2923. msgid "Detail of operating-system declarations."
  2924. msgstr "Detalhe das declarações do operating-system."
  2925. #. type: section
  2926. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2927. #: guix-git/doc/guix.texi:13850 guix-git/doc/guix.texi:13851
  2928. #, no-wrap
  2929. msgid "File Systems"
  2930. msgstr "Sistemas de arquivos"
  2931. #. type: menuentry
  2932. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2933. msgid "Configuring file system mounts."
  2934. msgstr "Configurando montagens de sistema de arquivos."
  2935. #. type: section
  2936. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2937. #: guix-git/doc/guix.texi:14173 guix-git/doc/guix.texi:14174
  2938. #, no-wrap
  2939. msgid "Mapped Devices"
  2940. msgstr "Dispositivos mapeados"
  2941. #. type: menuentry
  2942. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2943. msgid "Block device extra processing."
  2944. msgstr "Processamento extra de dispositivo de bloco."
  2945. #. type: section
  2946. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2947. #: guix-git/doc/guix.texi:14321 guix-git/doc/guix.texi:14322
  2948. #, no-wrap
  2949. msgid "User Accounts"
  2950. msgstr "Contas de usuários"
  2951. #. type: menuentry
  2952. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2953. msgid "Specifying user accounts."
  2954. msgstr "Especificando contas de usuários."
  2955. #. type: section
  2956. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:2259
  2957. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:14497
  2958. #: guix-git/doc/guix.texi:14498
  2959. #, no-wrap
  2960. msgid "Keyboard Layout"
  2961. msgstr "Disposição do teclado"
  2962. #. type: menuentry
  2963. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2964. msgid "How the system interprets key strokes."
  2965. msgstr "Como o sistema interpreta pressionamento de teclas."
  2966. #. type: section
  2967. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:1786
  2968. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:14643
  2969. #: guix-git/doc/guix.texi:14644
  2970. #, no-wrap
  2971. msgid "Locales"
  2972. msgstr "Locales"
  2973. #. type: menuentry
  2974. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2975. msgid "Language and cultural convention settings."
  2976. msgstr "Configurações de idioma e de convenção cultural."
  2977. #. type: section
  2978. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:324
  2979. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:14783
  2980. #: guix-git/doc/guix.texi:14784
  2981. #, no-wrap
  2982. msgid "Services"
  2983. msgstr "Serviços"
  2984. #. type: menuentry
  2985. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2986. msgid "Specifying system services."
  2987. msgstr "Especificando serviços de sistema."
  2988. #. type: section
  2989. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2990. #: guix-git/doc/guix.texi:31980 guix-git/doc/guix.texi:31981
  2991. #, no-wrap
  2992. msgid "Setuid Programs"
  2993. msgstr "Programas setuid"
  2994. #. type: menuentry
  2995. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2996. msgid "Programs running with root privileges."
  2997. msgstr "Programas sendo executados com privilégios de root."
  2998. #. type: section
  2999. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:1935
  3000. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:32026
  3001. #: guix-git/doc/guix.texi:32027
  3002. #, no-wrap
  3003. msgid "X.509 Certificates"
  3004. msgstr "Certificados X.509"
  3005. #. type: menuentry
  3006. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3007. msgid "Authenticating HTTPS servers."
  3008. msgstr "Autenticando servidores HTTPS."
  3009. #. type: section
  3010. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:1829
  3011. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:32089
  3012. #: guix-git/doc/guix.texi:32090
  3013. #, no-wrap
  3014. msgid "Name Service Switch"
  3015. msgstr "Name Service Switch"
  3016. #. type: menuentry
  3017. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3018. msgid "Configuring libc's name service switch."
  3019. msgstr "Configurando name service switch do libc."
  3020. #. type: section
  3021. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3022. #: guix-git/doc/guix.texi:32227 guix-git/doc/guix.texi:32228
  3023. #, no-wrap
  3024. msgid "Initial RAM Disk"
  3025. msgstr "Disco de RAM inicial"
  3026. #. type: menuentry
  3027. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3028. msgid "Linux-Libre bootstrapping."
  3029. msgstr "Inicialização do Linux-Libre."
  3030. #. type: section
  3031. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3032. #: guix-git/doc/guix.texi:32403 guix-git/doc/guix.texi:32404
  3033. #, no-wrap
  3034. msgid "Bootloader Configuration"
  3035. msgstr "Configuração do carregador de inicialização"
  3036. #. type: menuentry
  3037. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3038. msgid "Configuring the boot loader."
  3039. msgstr "Configurando o \"bootloader\"."
  3040. #. type: node
  3041. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3042. #: guix-git/doc/guix.texi:32697
  3043. #, no-wrap
  3044. msgid "Invoking guix system"
  3045. msgstr "Invocando guix system"
  3046. #. type: menuentry
  3047. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3048. msgid "Instantiating a system configuration."
  3049. msgstr "Inicializando uma configuração de sistema."
  3050. #. type: node
  3051. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3052. #: guix-git/doc/guix.texi:33282
  3053. #, no-wrap
  3054. msgid "Invoking guix deploy"
  3055. msgstr ""
  3056. #. type: menuentry
  3057. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3058. msgid "Deploying a system configuration to a remote host."
  3059. msgstr ""
  3060. #. type: node
  3061. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3062. #: guix-git/doc/guix.texi:33488
  3063. #, no-wrap
  3064. msgid "Running Guix in a VM"
  3065. msgstr "Executando Guix em uma VM"
  3066. #. type: menuentry
  3067. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3068. msgid "How to run Guix System in a virtual machine."
  3069. msgstr "Como executar Guix System em uma máquina virtual."
  3070. #. type: section
  3071. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:359
  3072. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:33618
  3073. #: guix-git/doc/guix.texi:33619
  3074. #, no-wrap
  3075. msgid "Defining Services"
  3076. msgstr "Definindo serviços"
  3077. #. type: menuentry
  3078. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3079. msgid "Adding new service definitions."
  3080. msgstr "Adicionando novas definições de serviço."
  3081. #. type: subsection
  3082. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3083. #: guix-git/doc/guix.texi:14868 guix-git/doc/guix.texi:14869
  3084. #, no-wrap
  3085. msgid "Base Services"
  3086. msgstr "Serviços base"
  3087. #. type: menuentry
  3088. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3089. msgid "Essential system services."
  3090. msgstr "Serviços essenciais do sistema."
  3091. #. type: subsection
  3092. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3093. #: guix-git/doc/guix.texi:15784 guix-git/doc/guix.texi:15785
  3094. #, no-wrap
  3095. msgid "Scheduled Job Execution"
  3096. msgstr "Execução de trabalho agendado"
  3097. #. type: menuentry
  3098. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3099. msgid "The mcron service."
  3100. msgstr "O serviço mcron."
  3101. #. type: subsection
  3102. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3103. #: guix-git/doc/guix.texi:15925 guix-git/doc/guix.texi:15926
  3104. #, no-wrap
  3105. msgid "Log Rotation"
  3106. msgstr "Rotação de log"
  3107. #. type: menuentry
  3108. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3109. msgid "The rottlog service."
  3110. msgstr "O serviço rottlog."
  3111. #. type: subsection
  3112. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3113. #: guix-git/doc/guix.texi:16038 guix-git/doc/guix.texi:16039
  3114. #, no-wrap
  3115. msgid "Networking Services"
  3116. msgstr "Serviços de Rede"
  3117. #. type: menuentry
  3118. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3119. msgid "Network setup, SSH daemon, etc."
  3120. msgstr "Configuração de rede, daemon SSH, etc."
  3121. #. type: subsection
  3122. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3123. #: guix-git/doc/guix.texi:17608 guix-git/doc/guix.texi:17609
  3124. #, no-wrap
  3125. msgid "Unattended Upgrades"
  3126. msgstr ""
  3127. #. type: menuentry
  3128. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3129. msgid "Automated system upgrades."
  3130. msgstr ""
  3131. #. type: subsection
  3132. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3133. #: guix-git/doc/guix.texi:17746 guix-git/doc/guix.texi:17747
  3134. #, no-wrap
  3135. msgid "X Window"
  3136. msgstr "X Window"
  3137. #. type: menuentry
  3138. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3139. msgid "Graphical display."
  3140. msgstr "Exibição gráfica."
  3141. #. type: subsection
  3142. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3143. #: guix-git/doc/guix.texi:18123 guix-git/doc/guix.texi:18124
  3144. #, no-wrap
  3145. msgid "Printing Services"
  3146. msgstr "Serviços de impressão"
  3147. #. type: menuentry
  3148. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3149. msgid "Local and remote printer support."
  3150. msgstr "Suporte a impressora local e remota."
  3151. #. type: subsection
  3152. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3153. #: guix-git/doc/guix.texi:18976 guix-git/doc/guix.texi:18977
  3154. #, no-wrap
  3155. msgid "Desktop Services"
  3156. msgstr "Serviços de desktop"
  3157. #. type: menuentry
  3158. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3159. msgid "D-Bus and desktop services."
  3160. msgstr "Serviços de D-Bus e desktop."
  3161. #. type: subsection
  3162. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3163. #: guix-git/doc/guix.texi:19494 guix-git/doc/guix.texi:19495
  3164. #, no-wrap
  3165. msgid "Sound Services"
  3166. msgstr "Serviços de som"
  3167. #. type: menuentry
  3168. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3169. msgid "ALSA and Pulseaudio services."
  3170. msgstr "Serviços ALSA e Pulseaudio."
  3171. #. type: subsection
  3172. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3173. #: guix-git/doc/guix.texi:19634 guix-git/doc/guix.texi:19635
  3174. #, no-wrap
  3175. msgid "Database Services"
  3176. msgstr "Serviços de bancos de dados"
  3177. #. type: menuentry
  3178. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3179. msgid "SQL databases, key-value stores, etc."
  3180. msgstr "Banco de dados SQL, armazenamentos de valor chave, etc."
  3181. #. type: subsection
  3182. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3183. #: guix-git/doc/guix.texi:19966 guix-git/doc/guix.texi:19967
  3184. #, no-wrap
  3185. msgid "Mail Services"
  3186. msgstr "Serviços de correio"
  3187. #. type: menuentry
  3188. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3189. msgid "IMAP, POP3, SMTP, and all that."
  3190. msgstr "IMAP, POP3, SMTP e tudo isso."
  3191. #. type: subsection
  3192. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3193. #: guix-git/doc/guix.texi:21782 guix-git/doc/guix.texi:21783
  3194. #, no-wrap
  3195. msgid "Messaging Services"
  3196. msgstr "Serviços de mensageria"
  3197. #. type: menuentry
  3198. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3199. msgid "Messaging services."
  3200. msgstr "Serviços de mensageria."
  3201. #. type: subsection
  3202. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3203. #: guix-git/doc/guix.texi:22285 guix-git/doc/guix.texi:22286
  3204. #, no-wrap
  3205. msgid "Telephony Services"
  3206. msgstr "Serviços de telefonia"
  3207. #. type: menuentry
  3208. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3209. msgid "Telephony services."
  3210. msgstr "Serviços de telefonia."
  3211. #. type: subsection
  3212. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3213. #: guix-git/doc/guix.texi:23288 guix-git/doc/guix.texi:23289
  3214. #, no-wrap
  3215. msgid "Monitoring Services"
  3216. msgstr "Serviços de monitoramento"
  3217. #. type: menuentry
  3218. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3219. msgid "Monitoring services."
  3220. msgstr "Serviços de monitoramento."
  3221. #. type: subsection
  3222. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3223. #: guix-git/doc/guix.texi:23799 guix-git/doc/guix.texi:23800
  3224. #, no-wrap
  3225. msgid "Kerberos Services"
  3226. msgstr "Serviços Kerberos"
  3227. #. type: menuentry
  3228. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3229. msgid "Kerberos services."
  3230. msgstr "Serviços Kerberos."
  3231. #. type: subsection
  3232. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3233. #: guix-git/doc/guix.texi:23925 guix-git/doc/guix.texi:23926
  3234. #, no-wrap
  3235. msgid "LDAP Services"
  3236. msgstr ""
  3237. #. type: menuentry
  3238. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3239. msgid "LDAP services."
  3240. msgstr ""
  3241. #. type: subsection
  3242. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3243. #: guix-git/doc/guix.texi:24404 guix-git/doc/guix.texi:24405
  3244. #, no-wrap
  3245. msgid "Web Services"
  3246. msgstr "Serviços Web"
  3247. #. type: menuentry
  3248. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3249. msgid "Web servers."
  3250. msgstr "Servidores Web."
  3251. #. type: subsection
  3252. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3253. #: guix-git/doc/guix.texi:25605 guix-git/doc/guix.texi:25606
  3254. #, no-wrap
  3255. msgid "Certificate Services"
  3256. msgstr "Serviços de certificado"
  3257. #. type: menuentry
  3258. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3259. msgid "TLS certificates via Let's Encrypt."
  3260. msgstr "Certificados TLS via Let's Encrypt."
  3261. #. type: subsection
  3262. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3263. #: guix-git/doc/guix.texi:25778 guix-git/doc/guix.texi:25779
  3264. #, no-wrap
  3265. msgid "DNS Services"
  3266. msgstr "Serviços DNS"
  3267. #. type: menuentry
  3268. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3269. msgid "DNS daemons."
  3270. msgstr "Deamons DNS."
  3271. #. type: subsection
  3272. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3273. #: guix-git/doc/guix.texi:26526 guix-git/doc/guix.texi:26527
  3274. #, no-wrap
  3275. msgid "VPN Services"
  3276. msgstr "Serviços VPN"
  3277. #. type: menuentry
  3278. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3279. msgid "VPN daemons."
  3280. msgstr "Deamons VPN."
  3281. #. type: subsection
  3282. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3283. #: guix-git/doc/guix.texi:26981 guix-git/doc/guix.texi:26982
  3284. #, no-wrap
  3285. msgid "Network File System"
  3286. msgstr "Sistema de arquivos de rede"
  3287. #. type: menuentry
  3288. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3289. msgid "NFS related services."
  3290. msgstr "Serviços relacionados a NFS."
  3291. #. type: subsection
  3292. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3293. #: guix-git/doc/guix.texi:27177 guix-git/doc/guix.texi:27178
  3294. #, no-wrap
  3295. msgid "Continuous Integration"
  3296. msgstr "Integração contínua"
  3297. #. type: menuentry
  3298. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3299. #, fuzzy
  3300. #| msgid "The Cuirass service."
  3301. msgid "Cuirass and Laminar services."
  3302. msgstr "O serviço Cuirass."
  3303. #. type: subsection
  3304. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3305. #: guix-git/doc/guix.texi:27455 guix-git/doc/guix.texi:27456
  3306. #, no-wrap
  3307. msgid "Power Management Services"
  3308. msgstr "Serviços de gerenciamento de energia"
  3309. #. type: menuentry
  3310. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3311. msgid "Extending battery life."
  3312. msgstr "Estendendo a vida da bateria."
  3313. #. type: subsection
  3314. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3315. #: guix-git/doc/guix.texi:27989 guix-git/doc/guix.texi:27990
  3316. #, no-wrap
  3317. msgid "Audio Services"
  3318. msgstr "Serviços de áudio"
  3319. #. type: menuentry
  3320. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3321. msgid "The MPD."
  3322. msgstr "O MPD."
  3323. #. type: subsection
  3324. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3325. #: guix-git/doc/guix.texi:28108 guix-git/doc/guix.texi:28109
  3326. #, no-wrap
  3327. msgid "Virtualization Services"
  3328. msgstr "Serviços de virtualização"
  3329. #. type: menuentry
  3330. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3331. msgid "Virtualization services."
  3332. msgstr "Serviços de virtualização."
  3333. #. type: subsection
  3334. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3335. #: guix-git/doc/guix.texi:29722 guix-git/doc/guix.texi:29723
  3336. #, no-wrap
  3337. msgid "Version Control Services"
  3338. msgstr "Serviços de controlando versão"
  3339. #. type: menuentry
  3340. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3341. msgid "Providing remote access to Git repositories."
  3342. msgstr "Fornecendo acesso remoto a repositórios Git."
  3343. #. type: subsection
  3344. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3345. #: guix-git/doc/guix.texi:30914 guix-git/doc/guix.texi:30915
  3346. #, no-wrap
  3347. msgid "Game Services"
  3348. msgstr "Serviços de jogos"
  3349. #. type: menuentry
  3350. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3351. msgid "Game servers."
  3352. msgstr "Servidores de jogos."
  3353. #. type: subsection
  3354. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3355. #: guix-git/doc/guix.texi:30946 guix-git/doc/guix.texi:30947
  3356. #, no-wrap
  3357. msgid "PAM Mount Service"
  3358. msgstr ""
  3359. #. type: menuentry
  3360. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3361. msgid "Service to mount volumes when logging in."
  3362. msgstr ""
  3363. #. type: subsection
  3364. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3365. #: guix-git/doc/guix.texi:31029 guix-git/doc/guix.texi:31030
  3366. #, no-wrap
  3367. msgid "Guix Services"
  3368. msgstr ""
  3369. #. type: menuentry
  3370. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3371. msgid "Services relating specifically to Guix."
  3372. msgstr ""
  3373. #. type: subsection
  3374. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3375. #: guix-git/doc/guix.texi:31304 guix-git/doc/guix.texi:31305
  3376. #, no-wrap
  3377. msgid "Linux Services"
  3378. msgstr ""
  3379. #. type: menuentry
  3380. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3381. msgid "Services tied to the Linux kernel."
  3382. msgstr ""
  3383. #. type: subsection
  3384. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3385. #: guix-git/doc/guix.texi:31451 guix-git/doc/guix.texi:31452
  3386. #, no-wrap
  3387. msgid "Hurd Services"
  3388. msgstr ""
  3389. #. type: menuentry
  3390. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3391. msgid "Services specific for a Hurd System."
  3392. msgstr ""
  3393. #. type: subsection
  3394. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3395. #: guix-git/doc/guix.texi:31493 guix-git/doc/guix.texi:31494
  3396. #, no-wrap
  3397. msgid "Miscellaneous Services"
  3398. msgstr "Serviços diversos"
  3399. #. type: menuentry
  3400. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3401. msgid "Other services."
  3402. msgstr "Outros serviços."
  3403. #. type: subsection
  3404. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3405. #: guix-git/doc/guix.texi:33632 guix-git/doc/guix.texi:33633
  3406. #, no-wrap
  3407. msgid "Service Composition"
  3408. msgstr "Composição de serviço"
  3409. #. type: menuentry
  3410. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3411. msgid "The model for composing services."
  3412. msgstr "O modelo para serviços de composição."
  3413. #. type: subsection
  3414. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3415. #: guix-git/doc/guix.texi:33688 guix-git/doc/guix.texi:33689
  3416. #, no-wrap
  3417. msgid "Service Types and Services"
  3418. msgstr "Tipos de Service e Serviços"
  3419. #. type: menuentry
  3420. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3421. msgid "Types and services."
  3422. msgstr "Tipos e serviços."
  3423. #. type: subsection
  3424. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3425. #: guix-git/doc/guix.texi:33825 guix-git/doc/guix.texi:33826
  3426. #, no-wrap
  3427. msgid "Service Reference"
  3428. msgstr "Referência de Service"
  3429. #. type: menuentry
  3430. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3431. msgid "API reference."
  3432. msgstr "Referência de API."
  3433. #. type: subsection
  3434. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3435. #: guix-git/doc/guix.texi:34116 guix-git/doc/guix.texi:34117
  3436. #, no-wrap
  3437. msgid "Shepherd Services"
  3438. msgstr "Serviços de Shepherd"
  3439. #. type: menuentry
  3440. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3441. msgid "A particular type of service."
  3442. msgstr "Um tipo em particular de serviço."
  3443. #. type: section
  3444. #: guix-git/doc/guix.texi:369 guix-git/doc/guix.texi:34417
  3445. #: guix-git/doc/guix.texi:34419 guix-git/doc/guix.texi:34420
  3446. #, no-wrap
  3447. msgid "Separate Debug Info"
  3448. msgstr ""
  3449. #. type: menuentry
  3450. #: guix-git/doc/guix.texi:369 guix-git/doc/guix.texi:34417
  3451. msgid "Installing 'debug' outputs."
  3452. msgstr ""
  3453. #. type: section
  3454. #: guix-git/doc/guix.texi:369 guix-git/doc/guix.texi:34417
  3455. #: guix-git/doc/guix.texi:34478 guix-git/doc/guix.texi:34479
  3456. #, no-wrap
  3457. msgid "Rebuilding Debug Info"
  3458. msgstr ""
  3459. #. type: menuentry
  3460. #: guix-git/doc/guix.texi:369 guix-git/doc/guix.texi:34417
  3461. msgid "Building missing debug info."
  3462. msgstr ""
  3463. #. type: node
  3464. #: guix-git/doc/guix.texi:374 guix-git/doc/guix.texi:34695
  3465. #: guix-git/doc/guix.texi:34697
  3466. #, no-wrap
  3467. msgid "Reduced Binary Seed Bootstrap"
  3468. msgstr ""
  3469. #. type: menuentry
  3470. #: guix-git/doc/guix.texi:374 guix-git/doc/guix.texi:34695
  3471. msgid "A Bootstrap worthy of GNU."
  3472. msgstr ""
  3473. #. type: section
  3474. #: guix-git/doc/guix.texi:374 guix-git/doc/guix.texi:34695
  3475. #: guix-git/doc/guix.texi:34772 guix-git/doc/guix.texi:34773
  3476. #, no-wrap
  3477. msgid "Preparing to Use the Bootstrap Binaries"
  3478. msgstr ""
  3479. #. type: menuentry
  3480. #: guix-git/doc/guix.texi:374 guix-git/doc/guix.texi:34695
  3481. msgid "Building that what matters most."
  3482. msgstr ""
  3483. #. type: cindex
  3484. #: guix-git/doc/guix.texi:382
  3485. #, no-wrap
  3486. msgid "purpose"
  3487. msgstr "propósito"
  3488. #. type: Plain text
  3489. #: guix-git/doc/guix.texi:390
  3490. 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."
  3491. 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."
  3492. #. type: cindex
  3493. #: guix-git/doc/guix.texi:391 guix-git/doc/guix.texi:466
  3494. #, no-wrap
  3495. msgid "Guix System"
  3496. msgstr "Guix System"
  3497. #. type: cindex
  3498. #: guix-git/doc/guix.texi:392
  3499. #, no-wrap
  3500. msgid "GuixSD, now Guix System"
  3501. msgstr "GuixSD, agora Guix System"
  3502. #. type: cindex
  3503. #: guix-git/doc/guix.texi:393
  3504. #, no-wrap
  3505. msgid "Guix System Distribution, now Guix System"
  3506. msgstr "Guix System Distribution, agora Guix System"
  3507. #. type: Plain text
  3508. #: guix-git/doc/guix.texi:402
  3509. 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}."
  3510. 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}."
  3511. #. type: cindex
  3512. #: guix-git/doc/guix.texi:411
  3513. #, no-wrap
  3514. msgid "user interfaces"
  3515. msgstr "interfaces de usuário"
  3516. #. type: Plain text
  3517. #: guix-git/doc/guix.texi:417
  3518. 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})."
  3519. msgstr ""
  3520. #. type: cindex
  3521. #: guix-git/doc/guix.texi:417
  3522. #, no-wrap
  3523. msgid "build daemon"
  3524. msgstr "build daemon"
  3525. #. type: Plain text
  3526. #: guix-git/doc/guix.texi:421
  3527. 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})."
  3528. 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})."
  3529. #. type: cindex
  3530. #: guix-git/doc/guix.texi:422
  3531. #, no-wrap
  3532. msgid "extensibility of the distribution"
  3533. msgstr "extensibilidade da distribuição"
  3534. #. type: cindex
  3535. #: guix-git/doc/guix.texi:423 guix-git/doc/guix.texi:6393
  3536. #, no-wrap
  3537. msgid "customization, of packages"
  3538. msgstr "personalização, de pacotes"
  3539. #. type: Plain text
  3540. #: guix-git/doc/guix.texi:432
  3541. 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})."
  3542. 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})."
  3543. #. type: cindex
  3544. #: guix-git/doc/guix.texi:433
  3545. #, no-wrap
  3546. msgid "functional package management"
  3547. msgstr "gerenciamento de pacotes funcional"
  3548. #. type: cindex
  3549. #: guix-git/doc/guix.texi:434
  3550. #, no-wrap
  3551. msgid "isolation"
  3552. msgstr "isolação"
  3553. #. type: Plain text
  3554. #: guix-git/doc/guix.texi:449
  3555. 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."
  3556. 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."
  3557. #. type: cindex
  3558. #: guix-git/doc/guix.texi:450 guix-git/doc/guix.texi:8733
  3559. #, no-wrap
  3560. msgid "store"
  3561. msgstr "armazenamento"
  3562. #. type: Plain text
  3563. #: guix-git/doc/guix.texi:457
  3564. 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."
  3565. 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{the store} (@pxref{O armazenamento}). Cada pacote é instalado em um diretório próprio na loja – 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."
  3566. #. type: Plain text
  3567. #: guix-git/doc/guix.texi:461
  3568. 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})."
  3569. 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})."
  3570. #. type: Plain text
  3571. #: guix-git/doc/guix.texi:476
  3572. 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."
  3573. 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."
  3574. #. type: Plain text
  3575. #: guix-git/doc/guix.texi:482
  3576. 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}):"
  3577. 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}):"
  3578. #. type: example
  3579. #: guix-git/doc/guix.texi:485
  3580. #, no-wrap
  3581. msgid "guix package --list-available\n"
  3582. msgstr "guix package --list-available\n"
  3583. #. type: Plain text
  3584. #: guix-git/doc/guix.texi:491
  3585. 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."
  3586. 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."
  3587. #. type: Plain text
  3588. #: guix-git/doc/guix.texi:493
  3589. msgid "Packages are currently available on the following platforms:"
  3590. msgstr "Os pacotes estão atualmente disponíveis nas seguintes plataformas:"
  3591. #. type: item
  3592. #: guix-git/doc/guix.texi:496 guix-git/doc/guix.texi:2106
  3593. #, no-wrap
  3594. msgid "x86_64-linux"
  3595. msgstr "x86_64-linux"
  3596. #. type: table
  3597. #: guix-git/doc/guix.texi:498
  3598. msgid "Intel/AMD @code{x86_64} architecture, Linux-Libre kernel."
  3599. msgstr ""
  3600. #. type: item
  3601. #: guix-git/doc/guix.texi:499 guix-git/doc/guix.texi:2109
  3602. #, no-wrap
  3603. msgid "i686-linux"
  3604. msgstr "i686-linux"
  3605. #. type: table
  3606. #: guix-git/doc/guix.texi:501
  3607. msgid "Intel 32-bit architecture (IA32), Linux-Libre kernel."
  3608. msgstr ""
  3609. #. type: item
  3610. #: guix-git/doc/guix.texi:502
  3611. #, no-wrap
  3612. msgid "armhf-linux"
  3613. msgstr "armhf-linux"
  3614. #. type: table
  3615. #: guix-git/doc/guix.texi:506
  3616. msgid "ARMv7-A architecture with hard float, Thumb-2 and NEON, using the EABI hard-float application binary interface (ABI), and Linux-Libre kernel."
  3617. 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."
  3618. #. type: item
  3619. #: guix-git/doc/guix.texi:507
  3620. #, no-wrap
  3621. msgid "aarch64-linux"
  3622. msgstr "aarch64-linux"
  3623. #. type: table
  3624. #: guix-git/doc/guix.texi:509
  3625. msgid "little-endian 64-bit ARMv8-A processors, Linux-Libre kernel."
  3626. msgstr ""
  3627. #. type: item
  3628. #: guix-git/doc/guix.texi:510
  3629. #, no-wrap
  3630. msgid "i586-gnu"
  3631. msgstr ""
  3632. #. type: table
  3633. #: guix-git/doc/guix.texi:513
  3634. msgid "@uref{https://hurd.gnu.org, GNU/Hurd} on the Intel 32-bit architecture (IA32)."
  3635. msgstr ""
  3636. #. type: table
  3637. #: guix-git/doc/guix.texi:519
  3638. 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!"
  3639. msgstr ""
  3640. #. type: item
  3641. #: guix-git/doc/guix.texi:520
  3642. #, no-wrap
  3643. msgid "mips64el-linux (deprecated)"
  3644. msgstr ""
  3645. #. type: table
  3646. #: guix-git/doc/guix.texi:526
  3647. 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."
  3648. msgstr ""
  3649. #. type: item
  3650. #: guix-git/doc/guix.texi:527
  3651. #, fuzzy, no-wrap
  3652. #| msgid "aarch64-linux"
  3653. msgid "powerpc64le-linux"
  3654. msgstr "aarch64-linux"
  3655. #. type: table
  3656. #: guix-git/doc/guix.texi:537
  3657. 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!"
  3658. msgstr ""
  3659. #. type: Plain text
  3660. #: guix-git/doc/guix.texi:547
  3661. 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."
  3662. 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."
  3663. #. type: Plain text
  3664. #: guix-git/doc/guix.texi:550
  3665. #, fuzzy
  3666. #| msgid "Guix System is available on all the above platforms except @code{mips64el-linux}."
  3667. msgid "Guix System is available on all the above platforms except @code{mips64el-linux} and @code{powerpc64le-linux}."
  3668. msgstr "O Guix System está disponível em todas as plataformas acima, exceto @code{mips64el-linux}."
  3669. #. type: Plain text
  3670. #: guix-git/doc/guix.texi:554
  3671. msgid "For information on porting to other architectures or kernels, @pxref{Porting}."
  3672. msgstr "Para obter informações sobre como portar para outras arquiteturas ou kernels, @pxref{Portando}."
  3673. #. type: Plain text
  3674. #: guix-git/doc/guix.texi:557
  3675. msgid "Building this distribution is a cooperative effort, and you are invited to join! @xref{Contributing}, for information about how you can help."
  3676. 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."
  3677. #. type: cindex
  3678. #: guix-git/doc/guix.texi:563
  3679. #, no-wrap
  3680. msgid "installing Guix"
  3681. msgstr "instalando Guix"
  3682. #. type: quotation
  3683. #: guix-git/doc/guix.texi:575
  3684. 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."
  3685. 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."
  3686. #. type: cindex
  3687. #: guix-git/doc/guix.texi:577 guix-git/doc/guix.texi:1781
  3688. #, no-wrap
  3689. msgid "foreign distro"
  3690. msgstr "distro alheia"
  3691. #. type: cindex
  3692. #: guix-git/doc/guix.texi:578
  3693. #, no-wrap
  3694. msgid "directories related to foreign distro"
  3695. msgstr "diretórios relacionados à distro alheia"
  3696. #. type: Plain text
  3697. #: guix-git/doc/guix.texi:583
  3698. 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."
  3699. 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."
  3700. #. type: Plain text
  3701. #: guix-git/doc/guix.texi:586
  3702. msgid "Once installed, Guix can be updated by running @command{guix pull} (@pxref{Invoking guix pull})."
  3703. msgstr "Uma vez instalado, o Guix pode ser atualizado executando @command{guix pull} (@pxref{Invocando guix pull})."
  3704. #. type: Plain text
  3705. #: guix-git/doc/guix.texi:591
  3706. 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."
  3707. 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."
  3708. #. type: cindex
  3709. #: guix-git/doc/guix.texi:605
  3710. #, no-wrap
  3711. msgid "installing Guix from binaries"
  3712. msgstr "instalando Guix de binários"
  3713. #. type: cindex
  3714. #: guix-git/doc/guix.texi:606
  3715. #, no-wrap
  3716. msgid "installer script"
  3717. msgstr "script de instalação"
  3718. #. type: Plain text
  3719. #: guix-git/doc/guix.texi:612
  3720. 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."
  3721. 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."
  3722. #. type: quotation
  3723. #: guix-git/doc/guix.texi:620
  3724. 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:"
  3725. msgstr ""
  3726. #. type: example
  3727. #: guix-git/doc/guix.texi:626
  3728. #, no-wrap
  3729. msgid ""
  3730. "cd /tmp\n"
  3731. "wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh\n"
  3732. "chmod +x guix-install.sh\n"
  3733. "./guix-install.sh\n"
  3734. msgstr ""
  3735. #. type: quotation
  3736. #: guix-git/doc/guix.texi:630
  3737. msgid "When you're done, @pxref{Application Setup} for extra configuration you might need, and @ref{Getting Started} for your first steps!"
  3738. msgstr ""
  3739. #. type: Plain text
  3740. #: guix-git/doc/guix.texi:633
  3741. msgid "Installing goes along these lines:"
  3742. msgstr "A instalação segue as seguintes linhas:"
  3743. #. type: cindex
  3744. #: guix-git/doc/guix.texi:636
  3745. #, no-wrap
  3746. msgid "downloading Guix binary"
  3747. msgstr "baixando binário do Guix"
  3748. #. type: enumerate
  3749. #: guix-git/doc/guix.texi:642
  3750. 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})."
  3751. msgstr ""
  3752. #. type: enumerate
  3753. #: guix-git/doc/guix.texi:646
  3754. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the tarball against it, along these lines:"
  3755. msgstr "Certifique-se de baixar o arquivo @file{.sig} associado e verificar a autenticidade do tarball, seguindo estas linhas:"
  3756. #. type: example
  3757. #: guix-git/doc/guix.texi:650
  3758. #, no-wrap
  3759. msgid ""
  3760. "$ wget @value{BASE-URL}/guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  3761. "$ gpg --verify guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  3762. msgstr ""
  3763. #. type: Plain text
  3764. #: guix-git/doc/guix.texi:654 guix-git/doc/guix.texi:2124
  3765. msgid "If that command fails because you do not have the required public key, then run this command to import it:"
  3766. msgstr "Se esse comando falhar porque você não possui a chave pública requerida, execute este comando para importá-lo:"
  3767. #. type: example
  3768. #: guix-git/doc/guix.texi:658
  3769. #, no-wrap
  3770. msgid ""
  3771. "$ wget '@value{OPENPGP-SIGNING-KEY-URL}' \\\n"
  3772. " -qO - | gpg --import -\n"
  3773. msgstr ""
  3774. #. type: Plain text
  3775. #: guix-git/doc/guix.texi:662 guix-git/doc/guix.texi:2132
  3776. msgid "and rerun the @code{gpg --verify} command."
  3777. msgstr "e execute novamente o comando @code{gpg --verify}."
  3778. #. type: Plain text
  3779. #: guix-git/doc/guix.texi:665 guix-git/doc/guix.texi:2135
  3780. msgid "Take note that a warning like ``This key is not certified with a trusted signature!'' is normal."
  3781. msgstr ""
  3782. #. type: enumerate
  3783. #: guix-git/doc/guix.texi:671
  3784. 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:"
  3785. 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:"
  3786. #. type: example
  3787. #: guix-git/doc/guix.texi:677
  3788. #, no-wrap
  3789. msgid ""
  3790. "# cd /tmp\n"
  3791. "# tar --warning=no-timestamp -xf \\\n"
  3792. " /path/to/guix-binary-@value{VERSION}.x86_64-linux.tar.xz\n"
  3793. "# mv var/guix /var/ && mv gnu /\n"
  3794. msgstr ""
  3795. #. type: enumerate
  3796. #: guix-git/doc/guix.texi:682
  3797. 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)."
  3798. msgstr ""
  3799. #. type: enumerate
  3800. #: guix-git/doc/guix.texi:685
  3801. msgid "Do @emph{not} unpack the tarball on a working Guix system since that would overwrite its own essential files."
  3802. msgstr "@emph{Não} descompacte o tarball em um sistema Guix funcional, pois isso substituiria seus próprios arquivos essenciais."
  3803. #. type: enumerate
  3804. #: guix-git/doc/guix.texi:695
  3805. 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."
  3806. msgstr ""
  3807. #. type: enumerate
  3808. #: guix-git/doc/guix.texi:699
  3809. msgid "Make the profile available under @file{~root/.config/guix/current}, which is where @command{guix pull} will install updates (@pxref{Invoking guix pull}):"
  3810. 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}):"
  3811. #. type: example
  3812. #: guix-git/doc/guix.texi:704
  3813. #, no-wrap
  3814. msgid ""
  3815. "# mkdir -p ~root/.config/guix\n"
  3816. "# ln -sf /var/guix/profiles/per-user/root/current-guix \\\n"
  3817. " ~root/.config/guix/current\n"
  3818. msgstr ""
  3819. "# mkdir -p ~root/.config/guix\n"
  3820. "# ln -sf /var/guix/profiles/per-user/root/current-guix \\\n"
  3821. " ~root/.config/guix/current\n"
  3822. #. type: enumerate
  3823. #: guix-git/doc/guix.texi:708
  3824. msgid "Source @file{etc/profile} to augment @env{PATH} and other relevant environment variables:"
  3825. msgstr ""
  3826. #. type: example
  3827. #: guix-git/doc/guix.texi:712
  3828. #, no-wrap
  3829. msgid ""
  3830. "# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n"
  3831. " source $GUIX_PROFILE/etc/profile\n"
  3832. msgstr ""
  3833. "# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n"
  3834. " source $GUIX_PROFILE/etc/profile\n"
  3835. #. type: enumerate
  3836. #: guix-git/doc/guix.texi:717
  3837. msgid "Create the group and user accounts for build users as explained below (@pxref{Build Environment Setup})."
  3838. msgstr "Crie o grupo e contas de usuário para compilar usuários conforme explicado abaixo (@pxref{Configuração do ambiente de compilação})."
  3839. #. type: enumerate
  3840. #: guix-git/doc/guix.texi:720
  3841. msgid "Run the daemon, and set it to automatically start on boot."
  3842. msgstr "Execute o daemon e configure-o para iniciar automaticamente na inicialização do sistema."
  3843. #. type: enumerate
  3844. #: guix-git/doc/guix.texi:723
  3845. msgid "If your host distro uses the systemd init system, this can be achieved with these commands:"
  3846. msgstr "Se sua distro hospedeira usa o sistema init systemd, isso pode ser obtido com estes comandos:"
  3847. #. type: example
  3848. #: guix-git/doc/guix.texi:736
  3849. #, no-wrap
  3850. msgid ""
  3851. "# cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \\\n"
  3852. " ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \\\n"
  3853. " /etc/systemd/system/\n"
  3854. "# systemctl enable --now gnu-store.mount guix-daemon\n"
  3855. msgstr ""
  3856. #. type: itemize
  3857. #: guix-git/doc/guix.texi:739 guix-git/doc/guix.texi:12767
  3858. msgid "If your host distro uses the Upstart init system:"
  3859. msgstr "Se sua distro hospedeira usa o sistema init Upstart:"
  3860. #. type: example
  3861. #: guix-git/doc/guix.texi:745
  3862. #, no-wrap
  3863. msgid ""
  3864. "# initctl reload-configuration\n"
  3865. "# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n"
  3866. " /etc/init/\n"
  3867. "# start guix-daemon\n"
  3868. msgstr ""
  3869. "# initctl reload-configuration\n"
  3870. "# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n"
  3871. " /etc/init/\n"
  3872. "# start guix-daemon\n"
  3873. #. type: enumerate
  3874. #: guix-git/doc/guix.texi:748
  3875. msgid "Otherwise, you can still start the daemon manually with:"
  3876. msgstr "Caso contrário, você ainda pode iniciar o daemon manualmente com:"
  3877. #. type: example
  3878. #: guix-git/doc/guix.texi:752
  3879. #, no-wrap
  3880. msgid ""
  3881. "# ~root/.config/guix/current/bin/guix-daemon \\\n"
  3882. " --build-users-group=guixbuild\n"
  3883. msgstr ""
  3884. "# ~root/.config/guix/current/bin/guix-daemon \\\n"
  3885. " --build-users-group=guixbuild\n"
  3886. #. type: enumerate
  3887. #: guix-git/doc/guix.texi:757
  3888. msgid "Make the @command{guix} command available to other users on the machine, for instance with:"
  3889. msgstr "Disponibilize o comando @command{guix} para outros usuários na máquina, por exemplo, com:"
  3890. #. type: example
  3891. #: guix-git/doc/guix.texi:762
  3892. #, no-wrap
  3893. msgid ""
  3894. "# mkdir -p /usr/local/bin\n"
  3895. "# cd /usr/local/bin\n"
  3896. "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  3897. msgstr ""
  3898. "# mkdir -p /usr/local/bin\n"
  3899. "# cd /usr/local/bin\n"
  3900. "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  3901. #. type: enumerate
  3902. #: guix-git/doc/guix.texi:766
  3903. msgid "It is also a good idea to make the Info version of this manual available there:"
  3904. msgstr "Também é uma boa ideia disponibilizar a versão Info deste manual:"
  3905. #. type: example
  3906. #: guix-git/doc/guix.texi:772
  3907. #, no-wrap
  3908. msgid ""
  3909. "# mkdir -p /usr/local/share/info\n"
  3910. "# cd /usr/local/share/info\n"
  3911. "# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n"
  3912. " do ln -s $i ; done\n"
  3913. msgstr ""
  3914. "# mkdir -p /usr/local/share/info\n"
  3915. "# cd /usr/local/share/info\n"
  3916. "# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n"
  3917. " do ln -s $i ; done\n"
  3918. #. type: enumerate
  3919. #: guix-git/doc/guix.texi:778
  3920. 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)."
  3921. msgstr ""
  3922. #. type: cindex
  3923. #: guix-git/doc/guix.texi:780 guix-git/doc/guix.texi:3724
  3924. #: guix-git/doc/guix.texi:15401
  3925. #, no-wrap
  3926. msgid "substitutes, authorization thereof"
  3927. msgstr "substitutos, autenticação dela"
  3928. #. type: enumerate
  3929. #: guix-git/doc/guix.texi:783
  3930. msgid "To use substitutes from @code{@value{SUBSTITUTE-SERVER}} or one of its mirrors (@pxref{Substitutes}), authorize them:"
  3931. msgstr "Para usar substitutos de @code{@value{SUBSTITUTE-SERVER}} ou um de seus espelhos (@pxref{Substitutos}), autorize-os:"
  3932. #. type: example
  3933. #: guix-git/doc/guix.texi:787
  3934. #, no-wrap
  3935. msgid ""
  3936. "# guix archive --authorize < \\\n"
  3937. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER}.pub\n"
  3938. msgstr ""
  3939. "# guix archive --authorize < \\\n"
  3940. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER}.pub\n"
  3941. #. type: enumerate
  3942. #: guix-git/doc/guix.texi:792
  3943. msgid "Each user may need to perform a few additional steps to make their Guix environment ready for use, @pxref{Application Setup}."
  3944. msgstr "Cada usuário pode precisar executar algumas etapas adicionais para tornar seu ambiente Guix pronto para uso, @pxref{Configuração de aplicativo}."
  3945. #. type: Plain text
  3946. #: guix-git/doc/guix.texi:795
  3947. msgid "Voilà, the installation is complete!"
  3948. msgstr "Voilà, a instalação está completa!"
  3949. #. type: Plain text
  3950. #: guix-git/doc/guix.texi:798
  3951. msgid "You can confirm that Guix is working by installing a sample package into the root profile:"
  3952. msgstr "Você pode confirmar que o Guix está funcionando instalando um pacote de amostra no perfil raiz:"
  3953. #. type: example
  3954. #: guix-git/doc/guix.texi:801
  3955. #, no-wrap
  3956. msgid "# guix install hello\n"
  3957. msgstr "# guix install hello\n"
  3958. #. type: Plain text
  3959. #: guix-git/doc/guix.texi:805
  3960. msgid "The binary installation tarball can be (re)produced and verified simply by running the following command in the Guix source tree:"
  3961. 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:"
  3962. #. type: example
  3963. #: guix-git/doc/guix.texi:808
  3964. #, no-wrap
  3965. msgid "make guix-binary.@var{system}.tar.xz\n"
  3966. msgstr "make guix-binary.@var{system}.tar.xz\n"
  3967. #. type: Plain text
  3968. #: guix-git/doc/guix.texi:812
  3969. msgid "...@: which, in turn, runs:"
  3970. msgstr "...@: que, por sua vez, executa:"
  3971. #. type: example
  3972. #: guix-git/doc/guix.texi:816
  3973. #, no-wrap
  3974. msgid ""
  3975. "guix pack -s @var{system} --localstatedir \\\n"
  3976. " --profile-name=current-guix guix\n"
  3977. msgstr ""
  3978. "guix pack -s @var{system} --localstatedir \\\n"
  3979. " --profile-name=current-guix guix\n"
  3980. #. type: Plain text
  3981. #: guix-git/doc/guix.texi:819
  3982. msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  3983. msgstr "@xref{Invocando guix pack}, para mais informações sobre essa ferramenta útil."
  3984. #. type: Plain text
  3985. #: guix-git/doc/guix.texi:827
  3986. 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."
  3987. 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."
  3988. #. type: cindex
  3989. #: guix-git/doc/guix.texi:828
  3990. #, no-wrap
  3991. msgid "official website"
  3992. msgstr "site oficial"
  3993. #. type: Plain text
  3994. #: guix-git/doc/guix.texi:831
  3995. msgid "GNU Guix is available for download from its website at @url{https://www.gnu.org/software/guix/}."
  3996. msgstr "O GNU Guix está disponível para download em seu site em @url{http://www.gnu.org/software/guix/}."
  3997. #. type: Plain text
  3998. #: guix-git/doc/guix.texi:833
  3999. msgid "GNU Guix depends on the following packages:"
  4000. msgstr "GNU Guix depende dos seguintes pacotes:"
  4001. #. type: item
  4002. #: guix-git/doc/guix.texi:835
  4003. #, no-wrap
  4004. msgid "@url{https://gnu.org/software/guile/, GNU Guile}, version 3.0.x or"
  4005. msgstr ""
  4006. #. type: itemize
  4007. #: guix-git/doc/guix.texi:837
  4008. msgid "2.2.x;"
  4009. msgstr ""
  4010. #. type: item
  4011. #: guix-git/doc/guix.texi:837
  4012. #, no-wrap
  4013. msgid "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version"
  4014. msgstr "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, versão"
  4015. #. type: itemize
  4016. #: guix-git/doc/guix.texi:839
  4017. msgid "0.1.0 or later;"
  4018. msgstr "0.1.0 ou posterior;"
  4019. #. type: itemize
  4020. #: guix-git/doc/guix.texi:843
  4021. 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});"
  4022. 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});"
  4023. #. type: itemize
  4024. #: guix-git/doc/guix.texi:846
  4025. msgid "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;"
  4026. msgstr "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, versão 0.1.0 ou posterior;"
  4027. #. type: item
  4028. #: guix-git/doc/guix.texi:846
  4029. #, fuzzy, no-wrap
  4030. #| msgid "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;"
  4031. msgid "@uref{https://notabug.org/guile-zlib/guile-zlib, Guile-zlib},"
  4032. msgstr "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, versão 0.1.0 ou posterior;"
  4033. #. type: itemize
  4034. #: guix-git/doc/guix.texi:848
  4035. #, fuzzy
  4036. #| msgid "0.1.0 or later;"
  4037. msgid "version 0.1.0 or later;"
  4038. msgstr "0.1.0 ou posterior;"
  4039. #. type: item
  4040. #: guix-git/doc/guix.texi:848
  4041. #, no-wrap
  4042. msgid "@uref{https://notabug.org/guile-lzlib/guile-lzlib, Guile-lzlib};"
  4043. msgstr ""
  4044. #. type: item
  4045. #: guix-git/doc/guix.texi:849
  4046. #, no-wrap
  4047. msgid "@uref{https://www.nongnu.org/guile-avahi/, Guile-Avahi};"
  4048. msgstr ""
  4049. #. type: itemize
  4050. #: guix-git/doc/guix.texi:855
  4051. msgid "@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, version 0.3.0 or later;"
  4052. msgstr ""
  4053. #. type: item
  4054. #: guix-git/doc/guix.texi:855
  4055. #, no-wrap
  4056. msgid "@uref{https://savannah.nongnu.org/projects/guile-json/, Guile-JSON}"
  4057. msgstr ""
  4058. #. type: itemize
  4059. #: guix-git/doc/guix.texi:857
  4060. msgid "4.3.0 or later;"
  4061. msgstr ""
  4062. #. type: item
  4063. #: guix-git/doc/guix.texi:857
  4064. #, no-wrap
  4065. msgid "@url{https://www.gnu.org/software/make/, GNU Make}."
  4066. msgstr "@url{https://www.gnu.org/software/make/, GNU Make}."
  4067. #. type: Plain text
  4068. #: guix-git/doc/guix.texi:861
  4069. msgid "The following dependencies are optional:"
  4070. msgstr "As seguintes dependências são opcionais:"
  4071. #. type: itemize
  4072. #: guix-git/doc/guix.texi:869
  4073. 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."
  4074. msgstr ""
  4075. #. type: itemize
  4076. #: guix-git/doc/guix.texi:874
  4077. 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})."
  4078. msgstr ""
  4079. #. type: itemize
  4080. #: guix-git/doc/guix.texi:878
  4081. msgid "@uref{https://ngyro.com/software/guile-semver.html, Guile-Semver} for the @code{crate} importer (@pxref{Invoking guix import})."
  4082. msgstr ""
  4083. #. type: itemize
  4084. #: guix-git/doc/guix.texi:883
  4085. 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})."
  4086. msgstr ""
  4087. #. type: itemize
  4088. #: guix-git/doc/guix.texi:887
  4089. msgid "When @url{http://www.bzip.org, libbz2} is available, @command{guix-daemon} can use it to compress build logs."
  4090. msgstr "Quando @url{http://www.bzip.org, libbz2} está disponível, @command{guix-daemon} pode usá-lo para comprimir logs de compilação."
  4091. #. type: Plain text
  4092. #: guix-git/doc/guix.texi:891
  4093. msgid "Unless @option{--disable-daemon} was passed to @command{configure}, the following packages are also needed:"
  4094. msgstr ""
  4095. #. type: item
  4096. #: guix-git/doc/guix.texi:893
  4097. #, no-wrap
  4098. msgid "@url{https://gnupg.org/, GNU libgcrypt};"
  4099. msgstr "@url{https://gnupg.org/, GNU libgcrypt};"
  4100. #. type: item
  4101. #: guix-git/doc/guix.texi:894
  4102. #, no-wrap
  4103. msgid "@url{https://sqlite.org, SQLite 3};"
  4104. msgstr "@url{https://sqlite.org, SQLite 3};"
  4105. #. type: item
  4106. #: guix-git/doc/guix.texi:895
  4107. #, no-wrap
  4108. msgid "@url{https://gcc.gnu.org, GCC's g++}, with support for the"
  4109. msgstr "@url{https://gcc.gnu.org, GCC's g++}, com suporte ao"
  4110. #. type: itemize
  4111. #: guix-git/doc/guix.texi:897
  4112. msgid "C++11 standard."
  4113. msgstr "padrão C++11."
  4114. #. type: cindex
  4115. #: guix-git/doc/guix.texi:899
  4116. #, no-wrap
  4117. msgid "state directory"
  4118. msgstr "diretório de estado"
  4119. #. type: Plain text
  4120. #: guix-git/doc/guix.texi:908
  4121. 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})."
  4122. msgstr ""
  4123. #. type: cindex
  4124. #: guix-git/doc/guix.texi:912
  4125. #, no-wrap
  4126. msgid "test suite"
  4127. msgstr "suíte/conjunto de testes"
  4128. #. type: Plain text
  4129. #: guix-git/doc/guix.texi:918
  4130. 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:"
  4131. 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:"
  4132. #. type: example
  4133. #: guix-git/doc/guix.texi:921
  4134. #, no-wrap
  4135. msgid "make check\n"
  4136. msgstr "make check\n"
  4137. #. type: Plain text
  4138. #: guix-git/doc/guix.texi:928
  4139. 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."
  4140. 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 armazenamento criado para fins de teste já terá vários itens no cache."
  4141. #. type: Plain text
  4142. #: guix-git/doc/guix.texi:931
  4143. msgid "It is also possible to run a subset of the tests by defining the @code{TESTS} makefile variable as in this example:"
  4144. msgstr "Também é possível executar um subconjunto dos testes definindo a variável makefile @code{TESTS} como neste exemplo:"
  4145. #. type: example
  4146. #: guix-git/doc/guix.texi:934
  4147. #, no-wrap
  4148. msgid "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n"
  4149. msgstr "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n"
  4150. #. type: Plain text
  4151. #: guix-git/doc/guix.texi:939
  4152. 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:"
  4153. 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:"
  4154. #. type: example
  4155. #: guix-git/doc/guix.texi:942
  4156. #, no-wrap
  4157. msgid "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n"
  4158. msgstr "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n"
  4159. #. type: Plain text
  4160. #: guix-git/doc/guix.texi:950
  4161. 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'':"
  4162. msgstr ""
  4163. #. type: example
  4164. #: guix-git/doc/guix.texi:954
  4165. #, no-wrap
  4166. msgid ""
  4167. "export SCM_LOG_DRIVER_FLAGS=\"--select=^transaction-upgrade-entry\"\n"
  4168. "make check TESTS=\"tests/packages.scm\"\n"
  4169. msgstr ""
  4170. #. type: Plain text
  4171. #: guix-git/doc/guix.texi:960
  4172. 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:"
  4173. msgstr ""
  4174. #. type: example
  4175. #: guix-git/doc/guix.texi:963
  4176. #, no-wrap
  4177. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --errors-only=yes\" VERBOSE=1\n"
  4178. msgstr ""
  4179. #. type: Plain text
  4180. #: guix-git/doc/guix.texi:968
  4181. 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}:"
  4182. msgstr ""
  4183. #. type: example
  4184. #: guix-git/doc/guix.texi:971
  4185. #, no-wrap
  4186. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --show-duration=yes\"\n"
  4187. msgstr ""
  4188. #. type: Plain text
  4189. #: guix-git/doc/guix.texi:975
  4190. msgid "@xref{Parallel Test Harness,,,automake,GNU Automake} for more information about the Automake Parallel Test Harness."
  4191. msgstr ""
  4192. #. type: Plain text
  4193. #: guix-git/doc/guix.texi:980
  4194. 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."
  4195. 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."
  4196. #. type: Plain text
  4197. #: guix-git/doc/guix.texi:984
  4198. 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:"
  4199. 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:"
  4200. #. type: example
  4201. #: guix-git/doc/guix.texi:987
  4202. #, no-wrap
  4203. msgid "make check-system\n"
  4204. msgstr "make check-system\n"
  4205. #. type: Plain text
  4206. #: guix-git/doc/guix.texi:991
  4207. msgid "or, again, by defining @code{TESTS} to select a subset of tests to run:"
  4208. msgstr "ou, novamente, definindo @code{TESTS} para selecionar um subconjunto de testes a serem executados:"
  4209. #. type: example
  4210. #: guix-git/doc/guix.texi:994
  4211. #, no-wrap
  4212. msgid "make check-system TESTS=\"basic mcron\"\n"
  4213. msgstr "make check-system TESTS=\"basic mcron\"\n"
  4214. #. type: Plain text
  4215. #: guix-git/doc/guix.texi:1002
  4216. 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."
  4217. 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."
  4218. #. type: Plain text
  4219. #: guix-git/doc/guix.texi:1005
  4220. msgid "Again in case of test failures, please send @email{bug-guix@@gnu.org} all the details."
  4221. msgstr "Novamente, em caso de falhas nos testes, por favor envie @email{bug-guix@@gnu.org} todos os detalhes."
  4222. #. type: cindex
  4223. #: guix-git/doc/guix.texi:1009
  4224. #, no-wrap
  4225. msgid "daemon"
  4226. msgstr "daemon"
  4227. #. type: Plain text
  4228. #: guix-git/doc/guix.texi:1017
  4229. 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."
  4230. 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 a loja e seu banco de dados associado. Assim, qualquer operação que manipule o armazenamento 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."
  4231. #. type: Plain text
  4232. #: guix-git/doc/guix.texi:1021
  4233. 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."
  4234. 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."
  4235. #. type: cindex
  4236. #: guix-git/doc/guix.texi:1031 guix-git/doc/guix.texi:1493
  4237. #, no-wrap
  4238. msgid "build environment"
  4239. msgstr "ambiente de compilação"
  4240. #. type: Plain text
  4241. #: guix-git/doc/guix.texi:1039
  4242. 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."
  4243. 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 armazenamento, e o daemon fará isso em seu nome, garantindo que o armazenamento seja mantido em um estado consistente e permitindo que pacotes construídos sejam compartilhados entre os usuários."
  4244. #. type: cindex
  4245. #: guix-git/doc/guix.texi:1040
  4246. #, no-wrap
  4247. msgid "build users"
  4248. msgstr "usuários de compilação"
  4249. #. type: Plain text
  4250. #: guix-git/doc/guix.texi:1051
  4251. 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})."
  4252. 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})."
  4253. #. type: Plain text
  4254. #: guix-git/doc/guix.texi:1054
  4255. msgid "On a GNU/Linux system, a build user pool may be created like this (using Bash syntax and the @code{shadow} commands):"
  4256. 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}):"
  4257. #. type: example
  4258. #: guix-git/doc/guix.texi:1066
  4259. #, fuzzy, no-wrap
  4260. #| msgid ""
  4261. #| "# groupadd --system guixbuild\n"
  4262. #| "# for i in `seq -w 1 10`;\n"
  4263. #| " do\n"
  4264. #| " useradd -g guixbuild -G guixbuild \\\n"
  4265. #| " -d /var/empty -s `which nologin` \\\n"
  4266. #| " -c \"Guix build user $i\" --system \\\n"
  4267. #| " guixbuilder$i;\n"
  4268. #| " done\n"
  4269. msgid ""
  4270. "# groupadd --system guixbuild\n"
  4271. "# for i in $(seq -w 1 10);\n"
  4272. " do\n"
  4273. " useradd -g guixbuild -G guixbuild \\\n"
  4274. " -d /var/empty -s $(which nologin) \\\n"
  4275. " -c \"Guix build user $i\" --system \\\n"
  4276. " guixbuilder$i;\n"
  4277. " done\n"
  4278. msgstr ""
  4279. "# groupadd --system guixbuild\n"
  4280. "# for i in `seq -w 1 10`;\n"
  4281. " do\n"
  4282. " useradd -g guixbuild -G guixbuild \\\n"
  4283. " -d /var/empty -s `which nologin` \\\n"
  4284. " -c \"Guix build user $i\" --system \\\n"
  4285. " guixbuilder$i;\n"
  4286. " done\n"
  4287. #. type: Plain text
  4288. #: guix-git/doc/guix.texi:1076
  4289. 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})."
  4290. 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})."
  4291. #. type: Plain text
  4292. #: guix-git/doc/guix.texi:1085
  4293. 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}.}:"
  4294. 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}.}:"
  4295. #. type: example
  4296. #: guix-git/doc/guix.texi:1088 guix-git/doc/guix.texi:1486
  4297. #, no-wrap
  4298. msgid "# guix-daemon --build-users-group=guixbuild\n"
  4299. msgstr "# guix-daemon --build-users-group=guixbuild\n"
  4300. #. type: cindex
  4301. #: guix-git/doc/guix.texi:1090 guix-git/doc/guix.texi:1491
  4302. #, no-wrap
  4303. msgid "chroot"
  4304. msgstr "chroot"
  4305. #. type: Plain text
  4306. #: guix-git/doc/guix.texi:1095
  4307. 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:"
  4308. 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:"
  4309. #. type: itemize
  4310. #: guix-git/doc/guix.texi:1103
  4311. 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.};"
  4312. 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.};"
  4313. #. type: itemize
  4314. #: guix-git/doc/guix.texi:1107
  4315. msgid "the @code{/proc} directory; it only shows the processes of the container since a separate PID name space is used;"
  4316. msgstr "o diretório @code{/proc}; mostra apenas os processos do contêiner desde que um espaço de nome PID separado é usado;"
  4317. #. type: itemize
  4318. #: guix-git/doc/guix.texi:1111
  4319. msgid "@file{/etc/passwd} with an entry for the current user and an entry for user @file{nobody};"
  4320. msgstr "@file{/etc/passwd} com uma entrada para o usuário atual e uma entrada para o usuário @file{nobody};"
  4321. #. type: itemize
  4322. #: guix-git/doc/guix.texi:1114
  4323. msgid "@file{/etc/group} with an entry for the user's group;"
  4324. msgstr "@file{/etc/group} com uma entrada para o grupo de usuários;"
  4325. #. type: itemize
  4326. #: guix-git/doc/guix.texi:1118
  4327. msgid "@file{/etc/hosts} with an entry that maps @code{localhost} to @code{127.0.0.1};"
  4328. msgstr "@file{/etc/hosts} com uma entrada que mapeia @code{localhost} para @code{127.0.0.1};"
  4329. #. type: itemize
  4330. #: guix-git/doc/guix.texi:1121
  4331. msgid "a writable @file{/tmp} directory."
  4332. msgstr "um diretório @file{/tmp} com permissão de escrita."
  4333. #. type: Plain text
  4334. #: guix-git/doc/guix.texi:1130
  4335. 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."
  4336. msgstr ""
  4337. #. type: vindex
  4338. #: guix-git/doc/guix.texi:1131 guix-git/doc/guix.texi:3929
  4339. #, no-wrap
  4340. msgid "http_proxy"
  4341. msgstr "http_proxy"
  4342. #. type: vindex
  4343. #: guix-git/doc/guix.texi:1132 guix-git/doc/guix.texi:3930
  4344. #, no-wrap
  4345. msgid "https_proxy"
  4346. msgstr ""
  4347. #. type: Plain text
  4348. #: guix-git/doc/guix.texi:1137
  4349. 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})."
  4350. msgstr ""
  4351. #. type: Plain text
  4352. #: guix-git/doc/guix.texi:1145
  4353. 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."
  4354. msgstr ""
  4355. #. type: subsection
  4356. #: guix-git/doc/guix.texi:1148
  4357. #, no-wrap
  4358. msgid "Using the Offload Facility"
  4359. msgstr "Usando o recurso de descarregamento"
  4360. #. type: cindex
  4361. #: guix-git/doc/guix.texi:1150 guix-git/doc/guix.texi:1552
  4362. #, no-wrap
  4363. msgid "offloading"
  4364. msgstr "descarregamento"
  4365. #. type: cindex
  4366. #: guix-git/doc/guix.texi:1151
  4367. #, no-wrap
  4368. msgid "build hook"
  4369. msgstr "hook de compilação"
  4370. #. type: Plain text
  4371. #: guix-git/doc/guix.texi:1170
  4372. 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:"
  4373. msgstr ""
  4374. #. type: enumerate
  4375. #: guix-git/doc/guix.texi:1176
  4376. 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."
  4377. msgstr ""
  4378. #. type: enumerate
  4379. #: guix-git/doc/guix.texi:1180
  4380. msgid "Its relative speed, as defined via the @code{speed} field of its @code{build-machine} object."
  4381. msgstr ""
  4382. #. type: enumerate
  4383. #: guix-git/doc/guix.texi:1185
  4384. 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."
  4385. msgstr ""
  4386. #. type: enumerate
  4387. #: guix-git/doc/guix.texi:1188
  4388. msgid "Disk space availability. More than a 100 MiB must be available."
  4389. msgstr ""
  4390. #. type: Plain text
  4391. #: guix-git/doc/guix.texi:1191
  4392. msgid "The @file{/etc/guix/machines.scm} file typically looks like this:"
  4393. msgstr "O arquivo @file{/etc/guix/machines.scm} geralmente se parece com isso:"
  4394. #. type: lisp
  4395. #: guix-git/doc/guix.texi:1199
  4396. #, no-wrap
  4397. msgid ""
  4398. "(list (build-machine\n"
  4399. " (name \"eightysix.example.org\")\n"
  4400. " (systems (list \"x86_64-linux\" \"i686-linux\"))\n"
  4401. " (host-key \"ssh-ed25519 AAAAC3Nza@dots{}\")\n"
  4402. " (user \"bob\")\n"
  4403. " (speed 2.)) ;incredibly fast!\n"
  4404. "\n"
  4405. msgstr ""
  4406. #. type: lisp
  4407. #: guix-git/doc/guix.texi:1208
  4408. #, no-wrap
  4409. msgid ""
  4410. " (build-machine\n"
  4411. " (name \"armeight.example.org\")\n"
  4412. " (systems (list \"aarch64-linux\"))\n"
  4413. " (host-key \"ssh-rsa AAAAB3Nza@dots{}\")\n"
  4414. " (user \"alice\")\n"
  4415. " (private-key\n"
  4416. " (string-append (getenv \"HOME\")\n"
  4417. " \"/.ssh/identity-for-guix\"))))\n"
  4418. msgstr ""
  4419. #. type: Plain text
  4420. #: guix-git/doc/guix.texi:1214
  4421. 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."
  4422. msgstr ""
  4423. #. type: Plain text
  4424. #: guix-git/doc/guix.texi:1223
  4425. 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."
  4426. 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."
  4427. #. type: deftp
  4428. #: guix-git/doc/guix.texi:1224
  4429. #, no-wrap
  4430. msgid "{Data Type} build-machine"
  4431. msgstr "build-machine {Data Type}"
  4432. #. type: deftp
  4433. #: guix-git/doc/guix.texi:1227
  4434. msgid "This data type represents build machines to which the daemon may offload builds. The important fields are:"
  4435. msgstr "Esse tipo de dados representa máquinas de compilação nas quais o daemon pode descarregar compilações. Os campos importantes são:"
  4436. #. type: item
  4437. #: guix-git/doc/guix.texi:1230 guix-git/doc/guix.texi:6649
  4438. #: guix-git/doc/guix.texi:14367 guix-git/doc/guix.texi:14461
  4439. #: guix-git/doc/guix.texi:14702 guix-git/doc/guix.texi:16651
  4440. #: guix-git/doc/guix.texi:19835 guix-git/doc/guix.texi:22471
  4441. #: guix-git/doc/guix.texi:23860 guix-git/doc/guix.texi:24472
  4442. #: guix-git/doc/guix.texi:24824 guix-git/doc/guix.texi:24865
  4443. #: guix-git/doc/guix.texi:26964 guix-git/doc/guix.texi:29233
  4444. #: guix-git/doc/guix.texi:29253 guix-git/doc/guix.texi:31700
  4445. #: guix-git/doc/guix.texi:31717 guix-git/doc/guix.texi:32206
  4446. #: guix-git/doc/guix.texi:33938 guix-git/doc/guix.texi:34246
  4447. #, no-wrap
  4448. msgid "name"
  4449. msgstr "name"
  4450. #. type: table
  4451. #: guix-git/doc/guix.texi:1232
  4452. msgid "The host name of the remote machine."
  4453. msgstr "O nome de host da máquina remota."
  4454. #. type: item
  4455. #: guix-git/doc/guix.texi:1233
  4456. #, no-wrap
  4457. msgid "systems"
  4458. msgstr ""
  4459. #. type: table
  4460. #: guix-git/doc/guix.texi:1236
  4461. msgid "The system types the remote machine supports---e.g., @code{(list \"x86_64-linux\" \"i686-linux\")}."
  4462. msgstr ""
  4463. #. type: code{#1}
  4464. #: guix-git/doc/guix.texi:1237 guix-git/doc/guix.texi:16661
  4465. #, no-wrap
  4466. msgid "user"
  4467. msgstr "user"
  4468. #. type: table
  4469. #: guix-git/doc/guix.texi:1241
  4470. 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."
  4471. 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."
  4472. #. type: item
  4473. #: guix-git/doc/guix.texi:1242
  4474. #, no-wrap
  4475. msgid "host-key"
  4476. msgstr "host-key"
  4477. #. type: table
  4478. #: guix-git/doc/guix.texi:1246
  4479. 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:"
  4480. 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:"
  4481. #. type: example
  4482. #: guix-git/doc/guix.texi:1249
  4483. #, no-wrap
  4484. msgid "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n"
  4485. msgstr "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n"
  4486. #. type: table
  4487. #: guix-git/doc/guix.texi:1254
  4488. 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}."
  4489. 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}."
  4490. #. type: table
  4491. #: guix-git/doc/guix.texi:1259
  4492. 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}):"
  4493. 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}):"
  4494. #. type: example
  4495. #: guix-git/doc/guix.texi:1263
  4496. #, no-wrap
  4497. msgid ""
  4498. "$ lsh-export-key --openssh < /etc/lsh/host-key.pub\n"
  4499. "ssh-rsa AAAAB3NzaC1yc2EAAAAEOp8FoQAAAQEAs1eB46LV@dots{}\n"
  4500. msgstr ""
  4501. #. type: deftp
  4502. #: guix-git/doc/guix.texi:1268
  4503. msgid "A number of optional fields may be specified:"
  4504. msgstr "Vários campos opcionais podem ser especificados:"
  4505. #. type: item
  4506. #: guix-git/doc/guix.texi:1271 guix-git/doc/guix.texi:33438
  4507. #, no-wrap
  4508. msgid "@code{port} (default: @code{22})"
  4509. msgstr "@code{port} (padrão: @code{22})"
  4510. #. type: table
  4511. #: guix-git/doc/guix.texi:1273
  4512. msgid "Port number of SSH server on the machine."
  4513. msgstr "O número da porta para o servidor SSH na máquina."
  4514. #. type: item
  4515. #: guix-git/doc/guix.texi:1274
  4516. #, no-wrap
  4517. msgid "@code{private-key} (default: @file{~root/.ssh/id_rsa})"
  4518. msgstr "@code{private-key} (padrão: @file{~root/.ssh/id_rsa})"
  4519. #. type: table
  4520. #: guix-git/doc/guix.texi:1277
  4521. 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."
  4522. 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."
  4523. #. type: table
  4524. #: guix-git/doc/guix.texi:1280
  4525. msgid "Note that the default value is the private key @emph{of the root account}. Make sure it exists if you use the default."
  4526. 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."
  4527. #. type: item
  4528. #: guix-git/doc/guix.texi:1281
  4529. #, no-wrap
  4530. msgid "@code{compression} (default: @code{\"zlib@@openssh.com,zlib\"})"
  4531. msgstr "@code{compression} (padrão: @code{\"zlib@@openssh.com,zlib\"})"
  4532. #. type: itemx
  4533. #: guix-git/doc/guix.texi:1282
  4534. #, no-wrap
  4535. msgid "@code{compression-level} (default: @code{3})"
  4536. msgstr "@code{compression-level} (padrão: @code{3})"
  4537. #. type: table
  4538. #: guix-git/doc/guix.texi:1284
  4539. msgid "The SSH-level compression methods and compression level requested."
  4540. msgstr "Os métodos de compactação no nível SSH e o nível de compactação solicitado."
  4541. #. type: table
  4542. #: guix-git/doc/guix.texi:1287
  4543. msgid "Note that offloading relies on SSH compression to reduce bandwidth usage when transferring files to and from build machines."
  4544. 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."
  4545. #. type: item
  4546. #: guix-git/doc/guix.texi:1288
  4547. #, no-wrap
  4548. msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})"
  4549. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  4550. #. type: table
  4551. #: guix-git/doc/guix.texi:1291
  4552. msgid "File name of the Unix-domain socket @command{guix-daemon} is listening to on that machine."
  4553. msgstr "O nome do arquivo do soquete do domínio Unix @command{guix-daemon} está escutando nessa máquina."
  4554. #. type: item
  4555. #: guix-git/doc/guix.texi:1292
  4556. #, no-wrap
  4557. msgid "@code{overload-threshold} (default: @code{0.6})"
  4558. msgstr ""
  4559. #. type: table
  4560. #: guix-git/doc/guix.texi:1298
  4561. 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}."
  4562. msgstr ""
  4563. #. type: item
  4564. #: guix-git/doc/guix.texi:1299
  4565. #, no-wrap
  4566. msgid "@code{parallel-builds} (default: @code{1})"
  4567. msgstr "@code{parallel-builds} (padrão: @code{1})"
  4568. #. type: table
  4569. #: guix-git/doc/guix.texi:1301
  4570. msgid "The number of builds that may run in parallel on the machine."
  4571. msgstr "O número de compilações que podem ser executadas paralelamente na máquina."
  4572. #. type: item
  4573. #: guix-git/doc/guix.texi:1302
  4574. #, no-wrap
  4575. msgid "@code{speed} (default: @code{1.0})"
  4576. msgstr "@code{speed} (padrão: @code{1.0})"
  4577. #. type: table
  4578. #: guix-git/doc/guix.texi:1305
  4579. msgid "A ``relative speed factor''. The offload scheduler will tend to prefer machines with a higher speed factor."
  4580. msgstr "Um ``fator de velocidade relativo''. O agendador de descarregamento tenderá a preferir máquinas com um fator de velocidade mais alto."
  4581. #. type: item
  4582. #: guix-git/doc/guix.texi:1306
  4583. #, no-wrap
  4584. msgid "@code{features} (default: @code{'()})"
  4585. msgstr "@code{features} (padrão: @code{'()})"
  4586. #. type: table
  4587. #: guix-git/doc/guix.texi:1311
  4588. 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."
  4589. 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."
  4590. #. type: Plain text
  4591. #: guix-git/doc/guix.texi:1317
  4592. 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:"
  4593. 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:"
  4594. #. type: example
  4595. #: guix-git/doc/guix.texi:1320
  4596. #, no-wrap
  4597. msgid "ssh build-machine guix repl --version\n"
  4598. msgstr "ssh build-machine guix repl --version\n"
  4599. #. type: Plain text
  4600. #: guix-git/doc/guix.texi:1327
  4601. 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}):"
  4602. 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 armazenamentos da máquina. 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 armazenamento (@pxref{Invocando guix archive}):"
  4603. #. type: example
  4604. #: guix-git/doc/guix.texi:1330 guix-git/doc/guix.texi:33366
  4605. #, no-wrap
  4606. msgid "# guix archive --generate-key\n"
  4607. msgstr "# guix archive --generate-key\n"
  4608. #. type: Plain text
  4609. #: guix-git/doc/guix.texi:1335
  4610. msgid "Each build machine must authorize the key of the master machine so that it accepts store items it receives from the master:"
  4611. msgstr "Cada máquina de construção deve autorizar a chave da máquina principal para que ela aceite itens de loja que recebe do mestre:"
  4612. #. type: example
  4613. #: guix-git/doc/guix.texi:1338
  4614. #, no-wrap
  4615. msgid "# guix archive --authorize < master-public-key.txt\n"
  4616. msgstr "# guix archive --authorize < master-public-key.txt\n"
  4617. #. type: Plain text
  4618. #: guix-git/doc/guix.texi:1342
  4619. msgid "Likewise, the master machine must authorize the key of each build machine."
  4620. msgstr "Da mesma forma, a máquina principal deve autorizar a chave de cada máquina de compilação."
  4621. #. type: Plain text
  4622. #: guix-git/doc/guix.texi:1348
  4623. 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."
  4624. 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."
  4625. #. type: cindex
  4626. #: guix-git/doc/guix.texi:1349
  4627. #, no-wrap
  4628. msgid "offload test"
  4629. msgstr "offload test"
  4630. #. type: Plain text
  4631. #: guix-git/doc/guix.texi:1352
  4632. msgid "To test whether your setup is operational, run this command on the master node:"
  4633. msgstr "Para testar se sua configuração está operacional, execute este comando no nó principal:"
  4634. #. type: example
  4635. #: guix-git/doc/guix.texi:1355
  4636. #, no-wrap
  4637. msgid "# guix offload test\n"
  4638. msgstr "# guix offload test\n"
  4639. #. type: Plain text
  4640. #: guix-git/doc/guix.texi:1361
  4641. 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."
  4642. msgstr ""
  4643. #. type: Plain text
  4644. #: guix-git/doc/guix.texi:1364
  4645. msgid "If you want to test a different machine file, just specify it on the command line:"
  4646. msgstr "Se você quiser testar um arquivo de máquina diferente, basta especificá-lo na linha de comando:"
  4647. #. type: example
  4648. #: guix-git/doc/guix.texi:1367
  4649. #, no-wrap
  4650. msgid "# guix offload test machines-qualif.scm\n"
  4651. msgstr "# guix offload test machines-qualif.scm\n"
  4652. #. type: Plain text
  4653. #: guix-git/doc/guix.texi:1371
  4654. msgid "Last, you can test the subset of the machines whose name matches a regular expression like this:"
  4655. msgstr "Por fim, você pode testar o subconjunto das máquinas cujo nome corresponde a uma expressão regular como esta:"
  4656. #. type: example
  4657. #: guix-git/doc/guix.texi:1374
  4658. #, no-wrap
  4659. msgid "# guix offload test machines.scm '\\.gnu\\.org$'\n"
  4660. msgstr "# guix offload test machines.scm '\\.gnu\\.org$'\n"
  4661. #. type: cindex
  4662. #: guix-git/doc/guix.texi:1376
  4663. #, no-wrap
  4664. msgid "offload status"
  4665. msgstr "offload status"
  4666. #. type: Plain text
  4667. #: guix-git/doc/guix.texi:1379
  4668. msgid "To display the current load of all build hosts, run this command on the main node:"
  4669. msgstr "Para exibir o carregamento atual de todos os hosts de compilação, execute este comando no nó principal:"
  4670. #. type: example
  4671. #: guix-git/doc/guix.texi:1382
  4672. #, no-wrap
  4673. msgid "# guix offload status\n"
  4674. msgstr "# guix offload status\n"
  4675. #. type: cindex
  4676. #: guix-git/doc/guix.texi:1388
  4677. #, no-wrap
  4678. msgid "SELinux, daemon policy"
  4679. msgstr "SELinux, política de daemons"
  4680. #. type: cindex
  4681. #: guix-git/doc/guix.texi:1389
  4682. #, no-wrap
  4683. msgid "mandatory access control, SELinux"
  4684. msgstr "controle de acesso obrigatório, SELinux"
  4685. #. type: cindex
  4686. #: guix-git/doc/guix.texi:1390
  4687. #, no-wrap
  4688. msgid "security, guix-daemon"
  4689. msgstr "segurança, guix-daemon"
  4690. #. type: Plain text
  4691. #: guix-git/doc/guix.texi:1396
  4692. 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."
  4693. 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."
  4694. #. type: subsubsection
  4695. #: guix-git/doc/guix.texi:1397
  4696. #, no-wrap
  4697. msgid "Installing the SELinux policy"
  4698. msgstr "Instalando a política do SELinux"
  4699. #. type: cindex
  4700. #: guix-git/doc/guix.texi:1398
  4701. #, no-wrap
  4702. msgid "SELinux, policy installation"
  4703. msgstr "SELinux, instalação de política"
  4704. #. type: Plain text
  4705. #: guix-git/doc/guix.texi:1400
  4706. msgid "To install the policy run this command as root:"
  4707. msgstr "Para instalar a política, execute esse comando como root:"
  4708. #. type: example
  4709. #: guix-git/doc/guix.texi:1403
  4710. #, no-wrap
  4711. msgid "semodule -i etc/guix-daemon.cil\n"
  4712. msgstr "semodule -i etc/guix-daemon.cil\n"
  4713. #. type: Plain text
  4714. #: guix-git/doc/guix.texi:1407
  4715. msgid "Then relabel the file system with @code{restorecon} or by a different mechanism provided by your system."
  4716. msgstr "Em seguida, altere o rótulo do sistema de arquivos com @code{restorecon} ou por um mecanismo diferente fornecido pelo seu sistema."
  4717. #. type: Plain text
  4718. #: guix-git/doc/guix.texi:1412
  4719. 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:"
  4720. 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:"
  4721. #. type: example
  4722. #: guix-git/doc/guix.texi:1415
  4723. #, no-wrap
  4724. msgid "ps -Zax | grep guix-daemon\n"
  4725. msgstr "ps -Zax | grep guix-daemon\n"
  4726. #. type: Plain text
  4727. #: guix-git/doc/guix.texi:1420
  4728. 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."
  4729. 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."
  4730. #. type: cindex
  4731. #: guix-git/doc/guix.texi:1422
  4732. #, no-wrap
  4733. msgid "SELinux, limitations"
  4734. msgstr "SELinux, limitações"
  4735. #. type: Plain text
  4736. #: guix-git/doc/guix.texi:1427
  4737. 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."
  4738. 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."
  4739. #. type: enumerate
  4740. #: guix-git/doc/guix.texi:1434
  4741. #, fuzzy
  4742. #| 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 preferrable to define socket rules for only this label."
  4743. 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."
  4744. 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."
  4745. #. type: enumerate
  4746. #: guix-git/doc/guix.texi:1445
  4747. 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."
  4748. 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."
  4749. #. type: enumerate
  4750. #: guix-git/doc/guix.texi:1450
  4751. 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."
  4752. 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."
  4753. #. type: enumerate
  4754. #: guix-git/doc/guix.texi:1461
  4755. 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."
  4756. 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."
  4757. #. type: enumerate
  4758. #: guix-git/doc/guix.texi:1466
  4759. 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."
  4760. msgstr ""
  4761. #. type: enumerate
  4762. #: guix-git/doc/guix.texi:1474
  4763. 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."
  4764. 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."
  4765. #. type: section
  4766. #: guix-git/doc/guix.texi:1477
  4767. #, no-wrap
  4768. msgid "Invoking @command{guix-daemon}"
  4769. msgstr "Invocando @command{guix-daemon}"
  4770. #. type: Plain text
  4771. #: guix-git/doc/guix.texi:1483
  4772. 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:"
  4773. msgstr "O programa @command{guix-daemon} implementa todas as funcionalidades para acessar a loja. 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:"
  4774. #. type: Plain text
  4775. #: guix-git/doc/guix.texi:1490
  4776. msgid "For details on how to set it up, @pxref{Setting Up the Daemon}."
  4777. msgstr "Para detalhes sobre como configurá-lo, @pxref{Configurando o daemon}."
  4778. #. type: cindex
  4779. #: guix-git/doc/guix.texi:1492
  4780. #, no-wrap
  4781. msgid "container, build environment"
  4782. msgstr "contêiner, ambiente de compilação"
  4783. #. type: cindex
  4784. #: guix-git/doc/guix.texi:1494 guix-git/doc/guix.texi:3011
  4785. #: guix-git/doc/guix.texi:3910 guix-git/doc/guix.texi:12780
  4786. #, no-wrap
  4787. msgid "reproducible builds"
  4788. msgstr "compilações reproduzíveis"
  4789. #. type: Plain text
  4790. #: guix-git/doc/guix.texi:1506
  4791. 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})."
  4792. msgstr ""
  4793. #. type: Plain text
  4794. #: guix-git/doc/guix.texi:1512
  4795. 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}."
  4796. msgstr ""
  4797. #. type: Plain text
  4798. #: guix-git/doc/guix.texi:1516
  4799. 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}})."
  4800. msgstr ""
  4801. #. type: Plain text
  4802. #: guix-git/doc/guix.texi:1522
  4803. 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."
  4804. msgstr ""
  4805. #. type: Plain text
  4806. #: guix-git/doc/guix.texi:1524
  4807. msgid "The following command-line options are supported:"
  4808. msgstr "As seguintes opções de linha de comando são suportadas:"
  4809. #. type: item
  4810. #: guix-git/doc/guix.texi:1526
  4811. #, no-wrap
  4812. msgid "--build-users-group=@var{group}"
  4813. msgstr "--build-users-group=@var{grupo}"
  4814. #. type: table
  4815. #: guix-git/doc/guix.texi:1529
  4816. msgid "Take users from @var{group} to run build processes (@pxref{Setting Up the Daemon, build users})."
  4817. 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})."
  4818. #. type: item
  4819. #: guix-git/doc/guix.texi:1530 guix-git/doc/guix.texi:10265
  4820. #, no-wrap
  4821. msgid "--no-substitutes"
  4822. msgstr "--no-substitutes"
  4823. #. type: cindex
  4824. #: guix-git/doc/guix.texi:1531 guix-git/doc/guix.texi:3023
  4825. #: guix-git/doc/guix.texi:3668
  4826. #, no-wrap
  4827. msgid "substitutes"
  4828. msgstr "substitutos"
  4829. #. type: table
  4830. #: guix-git/doc/guix.texi:1535 guix-git/doc/guix.texi:10269
  4831. msgid "Do not use substitutes for build products. That is, always build things locally instead of allowing downloads of pre-built binaries (@pxref{Substitutes})."
  4832. 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})."
  4833. #. type: table
  4834. #: guix-git/doc/guix.texi:1539
  4835. 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})."
  4836. msgstr ""
  4837. #. type: anchor{#1}
  4838. #: guix-git/doc/guix.texi:1541
  4839. msgid "daemon-substitute-urls"
  4840. msgstr "daemon-substitute-urls"
  4841. #. type: item
  4842. #: guix-git/doc/guix.texi:1541 guix-git/doc/guix.texi:10252
  4843. #: guix-git/doc/guix.texi:12211 guix-git/doc/guix.texi:12926
  4844. #: guix-git/doc/guix.texi:13151
  4845. #, no-wrap
  4846. msgid "--substitute-urls=@var{urls}"
  4847. msgstr "--substitute-urls=@var{urls}"
  4848. #. type: table
  4849. #: guix-git/doc/guix.texi:1545
  4850. 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."
  4851. 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."
  4852. #. type: table
  4853. #: guix-git/doc/guix.texi:1548
  4854. msgid "This means that substitutes may be downloaded from @var{urls}, as long as they are signed by a trusted signature (@pxref{Substitutes})."
  4855. msgstr "Isso significa que os substitutos podem ser baixados de @var{urls}, desde que assinados por uma assinatura confiável (@pxref{Substitutos})."
  4856. #. type: table
  4857. #: guix-git/doc/guix.texi:1551
  4858. msgid "@xref{Getting Substitutes from Other Servers}, for more information on how to configure the daemon to get substitutes from other servers."
  4859. msgstr ""
  4860. #. type: item
  4861. #: guix-git/doc/guix.texi:1553 guix-git/doc/guix.texi:10288
  4862. #, no-wrap
  4863. msgid "--no-offload"
  4864. msgstr ""
  4865. #. type: table
  4866. #: guix-git/doc/guix.texi:1557 guix-git/doc/guix.texi:10292
  4867. 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."
  4868. msgstr ""
  4869. #. type: item
  4870. #: guix-git/doc/guix.texi:1558
  4871. #, no-wrap
  4872. msgid "--cache-failures"
  4873. msgstr "--cache-failures"
  4874. #. type: table
  4875. #: guix-git/doc/guix.texi:1560
  4876. msgid "Cache build failures. By default, only successful builds are cached."
  4877. msgstr "Armazena em cache as compilações que falharam. Por padrão, apenas compilações bem-sucedidas são armazenadas em cache."
  4878. #. type: table
  4879. #: guix-git/doc/guix.texi:1565
  4880. 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}."
  4881. msgstr "Quando essa opção é usada, o @command{guix gc --list-failures} pode ser usado para consultar o conjunto de itens da loja marcados como com falha; O @command{guix gc --clear-failures} remove os itens de armazenamento do conjunto de falhas em cache. @xref{Invocando guix gc}."
  4882. #. type: item
  4883. #: guix-git/doc/guix.texi:1566 guix-git/doc/guix.texi:10318
  4884. #, no-wrap
  4885. msgid "--cores=@var{n}"
  4886. msgstr "--cores=@var{n}"
  4887. #. type: itemx
  4888. #: guix-git/doc/guix.texi:1567 guix-git/doc/guix.texi:10319
  4889. #, no-wrap
  4890. msgid "-c @var{n}"
  4891. msgstr "-c @var{n}"
  4892. #. type: table
  4893. #: guix-git/doc/guix.texi:1570
  4894. msgid "Use @var{n} CPU cores to build each derivation; @code{0} means as many as available."
  4895. msgstr "Usa @var{n} núcleos de CPU para compilar cada derivação; @code{0} significa todos disponíveis."
  4896. #. type: table
  4897. #: guix-git/doc/guix.texi:1574
  4898. 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})."
  4899. msgstr ""
  4900. #. type: table
  4901. #: guix-git/doc/guix.texi:1578
  4902. 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}."
  4903. msgstr ""
  4904. #. type: item
  4905. #: guix-git/doc/guix.texi:1579 guix-git/doc/guix.texi:10323
  4906. #, no-wrap
  4907. msgid "--max-jobs=@var{n}"
  4908. msgstr "--max-jobs=@var{n}"
  4909. #. type: itemx
  4910. #: guix-git/doc/guix.texi:1580 guix-git/doc/guix.texi:10324
  4911. #, no-wrap
  4912. msgid "-M @var{n}"
  4913. msgstr "-M @var{n}"
  4914. #. type: table
  4915. #: guix-git/doc/guix.texi:1585
  4916. 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."
  4917. 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á."
  4918. #. type: item
  4919. #: guix-git/doc/guix.texi:1586 guix-git/doc/guix.texi:10293
  4920. #, no-wrap
  4921. msgid "--max-silent-time=@var{seconds}"
  4922. msgstr "--max-silent-time=@var{segundos}"
  4923. #. type: table
  4924. #: guix-git/doc/guix.texi:1589 guix-git/doc/guix.texi:10296
  4925. msgid "When the build or substitution process remains silent for more than @var{seconds}, terminate it and report a build failure."
  4926. 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."
  4927. #. type: table
  4928. #: guix-git/doc/guix.texi:1591 guix-git/doc/guix.texi:1600
  4929. msgid "The default value is @code{0}, which disables the timeout."
  4930. msgstr "O valor padrão é @code{0}, que desativa o tempo limite."
  4931. #. type: table
  4932. #: guix-git/doc/guix.texi:1594
  4933. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--max-silent-time}})."
  4934. msgstr ""
  4935. #. type: item
  4936. #: guix-git/doc/guix.texi:1595 guix-git/doc/guix.texi:10300
  4937. #, no-wrap
  4938. msgid "--timeout=@var{seconds}"
  4939. msgstr "--timeout=@var{segundos}"
  4940. #. type: table
  4941. #: guix-git/doc/guix.texi:1598 guix-git/doc/guix.texi:10303
  4942. msgid "Likewise, when the build or substitution process lasts for more than @var{seconds}, terminate it and report a build failure."
  4943. 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."
  4944. #. type: table
  4945. #: guix-git/doc/guix.texi:1603
  4946. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--timeout}})."
  4947. msgstr ""
  4948. #. type: item
  4949. #: guix-git/doc/guix.texi:1604
  4950. #, no-wrap
  4951. msgid "--rounds=@var{N}"
  4952. msgstr "--rounds=@var{N}"
  4953. #. type: table
  4954. #: guix-git/doc/guix.texi:1609
  4955. 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})."
  4956. 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})."
  4957. #. type: table
  4958. #: guix-git/doc/guix.texi:1613 guix-git/doc/guix.texi:10287
  4959. #: guix-git/doc/guix.texi:10849
  4960. 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."
  4961. msgstr "quando usado em conjunto com @option{--keep-failed}, uma saída de comparação é mantida no armazenamento, sob @file{/gnu/store/@dots{}-check}. Isso facilita procurar por diferenças entre os dois resultados."
  4962. #. type: item
  4963. #: guix-git/doc/guix.texi:1614
  4964. #, no-wrap
  4965. msgid "--debug"
  4966. msgstr "--debug"
  4967. #. type: table
  4968. #: guix-git/doc/guix.texi:1616
  4969. msgid "Produce debugging output."
  4970. msgstr "Produz uma saída de depuração."
  4971. #. type: table
  4972. #: guix-git/doc/guix.texi:1620
  4973. 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})."
  4974. msgstr ""
  4975. #. type: item
  4976. #: guix-git/doc/guix.texi:1621
  4977. #, no-wrap
  4978. msgid "--chroot-directory=@var{dir}"
  4979. msgstr "--chroot-directory=@var{dir}"
  4980. #. type: table
  4981. #: guix-git/doc/guix.texi:1623
  4982. msgid "Add @var{dir} to the build chroot."
  4983. msgstr "adiciona @var{dir} ao chroot de compilação."
  4984. #. type: table
  4985. #: guix-git/doc/guix.texi:1629
  4986. 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."
  4987. 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."
  4988. #. type: item
  4989. #: guix-git/doc/guix.texi:1630
  4990. #, no-wrap
  4991. msgid "--disable-chroot"
  4992. msgstr "--disable-chroot"
  4993. #. type: table
  4994. #: guix-git/doc/guix.texi:1632
  4995. msgid "Disable chroot builds."
  4996. msgstr "Desabilita compilações em chroot."
  4997. #. type: table
  4998. #: guix-git/doc/guix.texi:1637
  4999. 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."
  5000. 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."
  5001. #. type: item
  5002. #: guix-git/doc/guix.texi:1638
  5003. #, no-wrap
  5004. msgid "--log-compression=@var{type}"
  5005. msgstr "--log-compression=@var{tipo}"
  5006. #. type: table
  5007. #: guix-git/doc/guix.texi:1641
  5008. msgid "Compress build logs according to @var{type}, one of @code{gzip}, @code{bzip2}, or @code{none}."
  5009. msgstr "Compacta logs de compilação de aconrdo com @var{tipo}, que pode ser um entre @code{gzip}, @code{bzip2} e @code{none}."
  5010. #. type: table
  5011. #: guix-git/doc/guix.texi:1645
  5012. 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."
  5013. msgstr ""
  5014. #. type: item
  5015. #: guix-git/doc/guix.texi:1646
  5016. #, no-wrap
  5017. msgid "--discover[=yes|no]"
  5018. msgstr ""
  5019. #. type: table
  5020. #: guix-git/doc/guix.texi:1649 guix-git/doc/guix.texi:15467
  5021. msgid "Whether to discover substitute servers on the local network using mDNS and DNS-SD."
  5022. msgstr ""
  5023. #. type: table
  5024. #: guix-git/doc/guix.texi:1652
  5025. msgid "This feature is still experimental. However, here are a few considerations."
  5026. msgstr ""
  5027. #. type: enumerate
  5028. #: guix-git/doc/guix.texi:1656
  5029. msgid "It might be faster/less expensive than fetching from remote servers;"
  5030. msgstr ""
  5031. #. type: enumerate
  5032. #: guix-git/doc/guix.texi:1659
  5033. msgid "There are no security risks, only genuine substitutes will be used (@pxref{Substitute Authentication});"
  5034. msgstr ""
  5035. #. type: enumerate
  5036. #: guix-git/doc/guix.texi:1663
  5037. msgid "An attacker advertising @command{guix publish} on your LAN cannot serve you malicious binaries, but they can learn what software you’re installing;"
  5038. msgstr ""
  5039. #. type: enumerate
  5040. #: guix-git/doc/guix.texi:1666
  5041. msgid "Servers may serve substitute over HTTP, unencrypted, so anyone on the LAN can see what software you’re installing."
  5042. msgstr ""
  5043. #. type: table
  5044. #: guix-git/doc/guix.texi:1670
  5045. msgid "It is also possible to enable or disable substitute server discovery at run-time by running:"
  5046. msgstr ""
  5047. #. type: example
  5048. #: guix-git/doc/guix.texi:1674
  5049. #, no-wrap
  5050. msgid ""
  5051. "herd discover guix-daemon on\n"
  5052. "herd discover guix-daemon off\n"
  5053. msgstr ""
  5054. #. type: item
  5055. #: guix-git/doc/guix.texi:1676
  5056. #, no-wrap
  5057. msgid "--disable-deduplication"
  5058. msgstr "--disable-deduplication"
  5059. #. type: cindex
  5060. #: guix-git/doc/guix.texi:1677 guix-git/doc/guix.texi:4248
  5061. #, no-wrap
  5062. msgid "deduplication"
  5063. msgstr "deduplicação"
  5064. #. type: table
  5065. #: guix-git/doc/guix.texi:1679
  5066. msgid "Disable automatic file ``deduplication'' in the store."
  5067. msgstr "Desabilita ``deduplicação'' automática de arquivo no armazenamento."
  5068. #. type: table
  5069. #: guix-git/doc/guix.texi:1686
  5070. 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."
  5071. msgstr "Por padrão, os arquivos adicionados à loja são automaticamente ``deduplicados'': se um arquivo recém-adicionado for idêntico a outro encontrado na loja, 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."
  5072. #. type: item
  5073. #: guix-git/doc/guix.texi:1687
  5074. #, no-wrap
  5075. msgid "--gc-keep-outputs[=yes|no]"
  5076. msgstr "--gc-keep-outputs[=yes|no]"
  5077. #. type: table
  5078. #: guix-git/doc/guix.texi:1690
  5079. msgid "Tell whether the garbage collector (GC) must keep outputs of live derivations."
  5080. msgstr "Diz se o coletor de lixo (GC) deve manter as saídas de derivações vivas."
  5081. #. type: cindex
  5082. #: guix-git/doc/guix.texi:1691 guix-git/doc/guix.texi:4061
  5083. #, no-wrap
  5084. msgid "GC roots"
  5085. msgstr "raízes de GC"
  5086. #. type: cindex
  5087. #: guix-git/doc/guix.texi:1692 guix-git/doc/guix.texi:4062
  5088. #, no-wrap
  5089. msgid "garbage collector roots"
  5090. msgstr "raízes de coletor de lixo"
  5091. #. type: table
  5092. #: guix-git/doc/guix.texi:1698
  5093. 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."
  5094. msgstr ""
  5095. #. type: item
  5096. #: guix-git/doc/guix.texi:1699
  5097. #, no-wrap
  5098. msgid "--gc-keep-derivations[=yes|no]"
  5099. msgstr "--gc-keep-derivations[=yes|no]"
  5100. #. type: table
  5101. #: guix-git/doc/guix.texi:1702
  5102. msgid "Tell whether the garbage collector (GC) must keep derivations corresponding to live outputs."
  5103. msgstr "Diz se o coletor de lixo (GC) deve manter as derivações correspondentes às saídas vivas."
  5104. #. type: table
  5105. #: guix-git/doc/guix.texi:1708
  5106. 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."
  5107. msgstr ""
  5108. #. type: table
  5109. #: guix-git/doc/guix.texi:1717
  5110. 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."
  5111. msgstr ""
  5112. #. type: item
  5113. #: guix-git/doc/guix.texi:1718
  5114. #, no-wrap
  5115. msgid "--impersonate-linux-2.6"
  5116. msgstr ""
  5117. #. type: table
  5118. #: guix-git/doc/guix.texi:1721
  5119. 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."
  5120. msgstr ""
  5121. #. type: table
  5122. #: guix-git/doc/guix.texi:1724
  5123. msgid "This might be helpful to build programs that (usually wrongfully) depend on the kernel version number."
  5124. msgstr ""
  5125. #. type: item
  5126. #: guix-git/doc/guix.texi:1725
  5127. #, no-wrap
  5128. msgid "--lose-logs"
  5129. msgstr ""
  5130. #. type: table
  5131. #: guix-git/doc/guix.texi:1728
  5132. msgid "Do not keep build logs. By default they are kept under @file{@var{localstatedir}/guix/log}."
  5133. msgstr ""
  5134. #. type: item
  5135. #: guix-git/doc/guix.texi:1729 guix-git/doc/guix.texi:4489
  5136. #: guix-git/doc/guix.texi:5788 guix-git/doc/guix.texi:6159
  5137. #: guix-git/doc/guix.texi:10793 guix-git/doc/guix.texi:12238
  5138. #: guix-git/doc/guix.texi:12489 guix-git/doc/guix.texi:13156
  5139. #: guix-git/doc/guix.texi:32309 guix-git/doc/guix.texi:33108
  5140. #, no-wrap
  5141. msgid "--system=@var{system}"
  5142. msgstr ""
  5143. #. type: table
  5144. #: guix-git/doc/guix.texi:1733
  5145. 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}."
  5146. msgstr ""
  5147. #. type: item
  5148. #: guix-git/doc/guix.texi:1734 guix-git/doc/guix.texi:10098
  5149. #, no-wrap
  5150. msgid "--listen=@var{endpoint}"
  5151. msgstr ""
  5152. #. type: table
  5153. #: guix-git/doc/guix.texi:1739
  5154. 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:"
  5155. msgstr ""
  5156. #. type: item
  5157. #: guix-git/doc/guix.texi:1741
  5158. #, no-wrap
  5159. msgid "--listen=/gnu/var/daemon"
  5160. msgstr ""
  5161. #. type: table
  5162. #: guix-git/doc/guix.texi:1744
  5163. msgid "Listen for connections on the @file{/gnu/var/daemon} Unix-domain socket, creating it if needed."
  5164. msgstr ""
  5165. #. type: item
  5166. #: guix-git/doc/guix.texi:1745
  5167. #, no-wrap
  5168. msgid "--listen=localhost"
  5169. msgstr ""
  5170. #. type: cindex
  5171. #: guix-git/doc/guix.texi:1746 guix-git/doc/guix.texi:8782
  5172. #, no-wrap
  5173. msgid "daemon, remote access"
  5174. msgstr ""
  5175. #. type: cindex
  5176. #: guix-git/doc/guix.texi:1747 guix-git/doc/guix.texi:8783
  5177. #, no-wrap
  5178. msgid "remote access to the daemon"
  5179. msgstr ""
  5180. #. type: cindex
  5181. #: guix-git/doc/guix.texi:1748 guix-git/doc/guix.texi:8784
  5182. #, no-wrap
  5183. msgid "daemon, cluster setup"
  5184. msgstr ""
  5185. #. type: cindex
  5186. #: guix-git/doc/guix.texi:1749 guix-git/doc/guix.texi:8785
  5187. #, no-wrap
  5188. msgid "clusters, daemon setup"
  5189. msgstr ""
  5190. #. type: table
  5191. #: guix-git/doc/guix.texi:1752
  5192. msgid "Listen for TCP connections on the network interface corresponding to @code{localhost}, on port 44146."
  5193. msgstr ""
  5194. #. type: item
  5195. #: guix-git/doc/guix.texi:1753
  5196. #, no-wrap
  5197. msgid "--listen=128.0.0.42:1234"
  5198. msgstr ""
  5199. #. type: table
  5200. #: guix-git/doc/guix.texi:1756
  5201. msgid "Listen for TCP connections on the network interface corresponding to @code{128.0.0.42}, on port 1234."
  5202. msgstr ""
  5203. #. type: table
  5204. #: guix-git/doc/guix.texi:1763
  5205. 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}})."
  5206. msgstr ""
  5207. #. type: quotation
  5208. #: guix-git/doc/guix.texi:1770
  5209. 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."
  5210. msgstr ""
  5211. #. type: table
  5212. #: guix-git/doc/guix.texi:1775
  5213. 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}."
  5214. msgstr ""
  5215. #. type: Plain text
  5216. #: guix-git/doc/guix.texi:1785
  5217. 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."
  5218. 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."
  5219. #. type: anchor{#1}
  5220. #: guix-git/doc/guix.texi:1789
  5221. msgid "locales-and-locpath"
  5222. msgstr "locales-and-locpath"
  5223. #. type: cindex
  5224. #: guix-git/doc/guix.texi:1789
  5225. #, no-wrap
  5226. msgid "locales, when not on Guix System"
  5227. msgstr "locales, quando não está no Guix System"
  5228. #. type: vindex
  5229. #: guix-git/doc/guix.texi:1790 guix-git/doc/guix.texi:14686
  5230. #, no-wrap
  5231. msgid "LOCPATH"
  5232. msgstr "LOCPATH"
  5233. #. type: vindex
  5234. #: guix-git/doc/guix.texi:1791
  5235. #, no-wrap
  5236. msgid "GUIX_LOCPATH"
  5237. msgstr "GUIX_LOCPATH"
  5238. #. type: Plain text
  5239. #: guix-git/doc/guix.texi:1796
  5240. 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:"
  5241. msgstr ""
  5242. #. type: example
  5243. #: guix-git/doc/guix.texi:1800
  5244. #, no-wrap
  5245. msgid ""
  5246. "$ guix install glibc-locales\n"
  5247. "$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale\n"
  5248. msgstr ""
  5249. #. type: Plain text
  5250. #: guix-git/doc/guix.texi:1806
  5251. 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."
  5252. msgstr ""
  5253. #. type: Plain text
  5254. #: guix-git/doc/guix.texi:1810
  5255. 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:"
  5256. msgstr ""
  5257. #. type: enumerate
  5258. #: guix-git/doc/guix.texi:1817
  5259. 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."
  5260. msgstr ""
  5261. #. type: enumerate
  5262. #: guix-git/doc/guix.texi:1824
  5263. 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."
  5264. msgstr ""
  5265. #. type: Plain text
  5266. #: guix-git/doc/guix.texi:1828
  5267. msgid "This is important because the locale data format used by different libc versions may be incompatible."
  5268. msgstr ""
  5269. #. type: cindex
  5270. #: guix-git/doc/guix.texi:1831
  5271. #, no-wrap
  5272. msgid "name service switch, glibc"
  5273. msgstr ""
  5274. #. type: cindex
  5275. #: guix-git/doc/guix.texi:1832
  5276. #, no-wrap
  5277. msgid "NSS (name service switch), glibc"
  5278. msgstr ""
  5279. #. type: cindex
  5280. #: guix-git/doc/guix.texi:1833
  5281. #, no-wrap
  5282. msgid "nscd (name service caching daemon)"
  5283. msgstr ""
  5284. #. type: cindex
  5285. #: guix-git/doc/guix.texi:1834
  5286. #, no-wrap
  5287. msgid "name service caching daemon (nscd)"
  5288. msgstr ""
  5289. #. type: Plain text
  5290. #: guix-git/doc/guix.texi:1841
  5291. 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."
  5292. 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ê."
  5293. #. type: file{#1}
  5294. #: guix-git/doc/guix.texi:1842
  5295. #, no-wrap
  5296. msgid "nsswitch.conf"
  5297. msgstr ""
  5298. #. type: Plain text
  5299. #: guix-git/doc/guix.texi:1847
  5300. 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})."
  5301. msgstr ""
  5302. #. type: cindex
  5303. #: guix-git/doc/guix.texi:1848
  5304. #, no-wrap
  5305. msgid "Network information service (NIS)"
  5306. msgstr ""
  5307. #. type: cindex
  5308. #: guix-git/doc/guix.texi:1849
  5309. #, no-wrap
  5310. msgid "NIS (Network information service)"
  5311. msgstr ""
  5312. #. type: Plain text
  5313. #: guix-git/doc/guix.texi:1858
  5314. 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})."
  5315. msgstr ""
  5316. #. type: Plain text
  5317. #: guix-git/doc/guix.texi:1868
  5318. 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)."
  5319. msgstr ""
  5320. #. type: Plain text
  5321. #: guix-git/doc/guix.texi:1873
  5322. 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."
  5323. msgstr ""
  5324. #. type: Plain text
  5325. #: guix-git/doc/guix.texi:1878
  5326. 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."
  5327. msgstr ""
  5328. #. type: subsection
  5329. #: guix-git/doc/guix.texi:1879
  5330. #, no-wrap
  5331. msgid "X11 Fonts"
  5332. msgstr ""
  5333. #. type: Plain text
  5334. #: guix-git/doc/guix.texi:1889
  5335. 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}."
  5336. msgstr ""
  5337. #. type: code{#1}
  5338. #: guix-git/doc/guix.texi:1890
  5339. #, no-wrap
  5340. msgid "fc-cache"
  5341. msgstr ""
  5342. #. type: cindex
  5343. #: guix-git/doc/guix.texi:1891
  5344. #, no-wrap
  5345. msgid "font cache"
  5346. msgstr ""
  5347. #. type: Plain text
  5348. #: guix-git/doc/guix.texi:1895
  5349. 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:"
  5350. msgstr ""
  5351. #. type: example
  5352. #: guix-git/doc/guix.texi:1899
  5353. #, no-wrap
  5354. msgid ""
  5355. "guix install fontconfig\n"
  5356. "fc-cache -rv\n"
  5357. msgstr ""
  5358. #. type: Plain text
  5359. #: guix-git/doc/guix.texi:1907
  5360. 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:"
  5361. msgstr ""
  5362. #. type: example
  5363. #: guix-git/doc/guix.texi:1910
  5364. #, no-wrap
  5365. msgid "guix install font-adobe-source-han-sans:cn\n"
  5366. msgstr ""
  5367. #. type: code{#1}
  5368. #: guix-git/doc/guix.texi:1912
  5369. #, no-wrap
  5370. msgid "xterm"
  5371. msgstr "xterm"
  5372. #. type: Plain text
  5373. #: guix-git/doc/guix.texi:1916
  5374. 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:"
  5375. msgstr ""
  5376. #. type: example
  5377. #: guix-git/doc/guix.texi:1919
  5378. #, no-wrap
  5379. msgid "-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1\n"
  5380. msgstr ""
  5381. #. type: Plain text
  5382. #: guix-git/doc/guix.texi:1923
  5383. 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:"
  5384. msgstr ""
  5385. #. type: example
  5386. #: guix-git/doc/guix.texi:1928
  5387. #, no-wrap
  5388. msgid "xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))\n"
  5389. msgstr ""
  5390. #. type: code{#1}
  5391. #: guix-git/doc/guix.texi:1930
  5392. #, no-wrap
  5393. msgid "xlsfonts"
  5394. msgstr ""
  5395. #. type: Plain text
  5396. #: guix-git/doc/guix.texi:1933
  5397. msgid "After that, you can run @code{xlsfonts} (from @code{xlsfonts} package) to make sure your TrueType fonts are listed there."
  5398. msgstr ""
  5399. #. type: code{#1}
  5400. #: guix-git/doc/guix.texi:1937 guix-git/doc/guix.texi:32047
  5401. #, no-wrap
  5402. msgid "nss-certs"
  5403. msgstr ""
  5404. #. type: Plain text
  5405. #: guix-git/doc/guix.texi:1940
  5406. msgid "The @code{nss-certs} package provides X.509 certificates, which allow programs to authenticate Web servers accessed over HTTPS."
  5407. msgstr ""
  5408. #. type: Plain text
  5409. #: guix-git/doc/guix.texi:1945
  5410. 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."
  5411. 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."
  5412. #. type: code{#1}
  5413. #: guix-git/doc/guix.texi:1948
  5414. #, no-wrap
  5415. msgid "emacs"
  5416. msgstr ""
  5417. #. type: Plain text
  5418. #: guix-git/doc/guix.texi:1954
  5419. 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."
  5420. msgstr ""
  5421. #. type: Plain text
  5422. #: guix-git/doc/guix.texi:1961
  5423. 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})."
  5424. msgstr ""
  5425. #. type: cindex
  5426. #: guix-git/doc/guix.texi:1966
  5427. #, no-wrap
  5428. msgid "Upgrading Guix, on a foreign distro"
  5429. msgstr ""
  5430. #. type: Plain text
  5431. #: guix-git/doc/guix.texi:1969
  5432. msgid "To upgrade Guix, run:"
  5433. msgstr ""
  5434. #. type: example
  5435. #: guix-git/doc/guix.texi:1972 guix-git/doc/guix.texi:2819
  5436. #, no-wrap
  5437. msgid "guix pull\n"
  5438. msgstr ""
  5439. #. type: Plain text
  5440. #: guix-git/doc/guix.texi:1975
  5441. msgid "@xref{Invoking guix pull}, for more information."
  5442. msgstr ""
  5443. #. type: cindex
  5444. #: guix-git/doc/guix.texi:1976
  5445. #, no-wrap
  5446. msgid "upgrading Guix for the root user, on a foreign distro"
  5447. msgstr ""
  5448. #. type: cindex
  5449. #: guix-git/doc/guix.texi:1977
  5450. #, no-wrap
  5451. msgid "upgrading the Guix daemon, on a foreign distro"
  5452. msgstr ""
  5453. #. type: cindex
  5454. #: guix-git/doc/guix.texi:1978
  5455. #, no-wrap
  5456. msgid "@command{guix pull} for the root user, on a foreign distro"
  5457. msgstr ""
  5458. #. type: Plain text
  5459. #: guix-git/doc/guix.texi:1981
  5460. msgid "On a foreign distro, you can upgrade the build daemon by running:"
  5461. msgstr ""
  5462. #. type: example
  5463. #: guix-git/doc/guix.texi:1984
  5464. #, no-wrap
  5465. msgid "sudo -i guix pull\n"
  5466. msgstr ""
  5467. #. type: Plain text
  5468. #: guix-git/doc/guix.texi:1989
  5469. msgid "followed by (assuming your distro uses the systemd service management tool):"
  5470. msgstr ""
  5471. #. type: example
  5472. #: guix-git/doc/guix.texi:1992
  5473. #, no-wrap
  5474. msgid "systemctl restart guix-daemon.service\n"
  5475. msgstr ""
  5476. #. type: Plain text
  5477. #: guix-git/doc/guix.texi:1996
  5478. msgid "On Guix System, upgrading the daemon is achieved by reconfiguring the system (@pxref{Invoking guix system, @code{guix system reconfigure}})."
  5479. msgstr ""
  5480. #. type: cindex
  5481. #: guix-git/doc/guix.texi:2003
  5482. #, no-wrap
  5483. msgid "installing Guix System"
  5484. msgstr "instalando o Guix System"
  5485. #. type: cindex
  5486. #: guix-git/doc/guix.texi:2004
  5487. #, no-wrap
  5488. msgid "Guix System, installation"
  5489. msgstr "Guix System, instalação"
  5490. #. type: Plain text
  5491. #: guix-git/doc/guix.texi:2009
  5492. 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}."
  5493. msgstr ""
  5494. #. type: quotation
  5495. #: guix-git/doc/guix.texi:2018
  5496. 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."
  5497. msgstr ""
  5498. #. type: quotation
  5499. #: guix-git/doc/guix.texi:2021
  5500. msgid "Alternatively, run @command{info info} in another tty to keep the manual available."
  5501. msgstr ""
  5502. #. type: Plain text
  5503. #: guix-git/doc/guix.texi:2042
  5504. 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."
  5505. msgstr ""
  5506. #. type: Plain text
  5507. #: guix-git/doc/guix.texi:2045
  5508. msgid "Nevertheless, before you proceed with the installation, be aware of the following noteworthy limitations applicable to version @value{VERSION}:"
  5509. msgstr ""
  5510. #. type: itemize
  5511. #: guix-git/doc/guix.texi:2050
  5512. msgid "More and more system services are provided (@pxref{Services}), but some may be missing."
  5513. msgstr ""
  5514. #. type: itemize
  5515. #: guix-git/doc/guix.texi:2055
  5516. 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."
  5517. msgstr ""
  5518. #. type: Plain text
  5519. #: guix-git/doc/guix.texi:2060
  5520. 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."
  5521. msgstr ""
  5522. #. type: cindex
  5523. #: guix-git/doc/guix.texi:2065
  5524. #, no-wrap
  5525. msgid "hardware support on Guix System"
  5526. msgstr "suporte a hardware no Guix System"
  5527. #. type: Plain text
  5528. #: guix-git/doc/guix.texi:2074
  5529. 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."
  5530. msgstr ""
  5531. #. type: cindex
  5532. #: guix-git/doc/guix.texi:2075
  5533. #, no-wrap
  5534. msgid "WiFi, hardware support"
  5535. msgstr ""
  5536. #. type: Plain text
  5537. #: guix-git/doc/guix.texi:2084
  5538. 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}})."
  5539. msgstr ""
  5540. #. type: cindex
  5541. #: guix-git/doc/guix.texi:2085
  5542. #, no-wrap
  5543. msgid "RYF, Respects Your Freedom"
  5544. msgstr ""
  5545. #. type: Plain text
  5546. #: guix-git/doc/guix.texi:2091
  5547. 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."
  5548. msgstr ""
  5549. #. type: Plain text
  5550. #: guix-git/doc/guix.texi:2095
  5551. 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."
  5552. msgstr ""
  5553. #. type: Plain text
  5554. #: guix-git/doc/guix.texi:2104
  5555. 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:"
  5556. msgstr ""
  5557. #. type: table
  5558. #: guix-git/doc/guix.texi:2108
  5559. msgid "for a GNU/Linux system on Intel/AMD-compatible 64-bit CPUs;"
  5560. msgstr ""
  5561. #. type: table
  5562. #: guix-git/doc/guix.texi:2111
  5563. msgid "for a 32-bit GNU/Linux system on Intel-compatible CPUs."
  5564. msgstr ""
  5565. #. type: Plain text
  5566. #: guix-git/doc/guix.texi:2116
  5567. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the image against it, along these lines:"
  5568. msgstr ""
  5569. #. type: example
  5570. #: guix-git/doc/guix.texi:2120
  5571. #, no-wrap
  5572. msgid ""
  5573. "$ wget @value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  5574. "$ gpg --verify guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  5575. msgstr ""
  5576. #. type: example
  5577. #: guix-git/doc/guix.texi:2128
  5578. #, no-wrap
  5579. msgid ""
  5580. "$ wget @value{OPENPGP-SIGNING-KEY-URL} \\\n"
  5581. " -qO - | gpg --import -\n"
  5582. msgstr ""
  5583. #. type: Plain text
  5584. #: guix-git/doc/guix.texi:2140
  5585. 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."
  5586. msgstr ""
  5587. #. type: unnumberedsubsec
  5588. #: guix-git/doc/guix.texi:2141
  5589. #, no-wrap
  5590. msgid "Copying to a USB Stick"
  5591. msgstr ""
  5592. #. type: Plain text
  5593. #: guix-git/doc/guix.texi:2146
  5594. 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:"
  5595. msgstr ""
  5596. #. type: example
  5597. #: guix-git/doc/guix.texi:2150
  5598. #, no-wrap
  5599. msgid ""
  5600. "dd if=guix-system-install-@value{VERSION}.x86_64-linux.iso of=/dev/sdX status=progress\n"
  5601. "sync\n"
  5602. msgstr ""
  5603. #. type: Plain text
  5604. #: guix-git/doc/guix.texi:2153
  5605. msgid "Access to @file{/dev/sdX} usually requires root privileges."
  5606. msgstr ""
  5607. #. type: unnumberedsubsec
  5608. #: guix-git/doc/guix.texi:2154
  5609. #, no-wrap
  5610. msgid "Burning on a DVD"
  5611. msgstr ""
  5612. #. type: Plain text
  5613. #: guix-git/doc/guix.texi:2159
  5614. 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:"
  5615. msgstr ""
  5616. #. type: example
  5617. #: guix-git/doc/guix.texi:2162
  5618. #, no-wrap
  5619. msgid "growisofs -dvd-compat -Z /dev/srX=guix-system-install-@value{VERSION}.x86_64-linux.iso\n"
  5620. msgstr ""
  5621. #. type: Plain text
  5622. #: guix-git/doc/guix.texi:2165
  5623. msgid "Access to @file{/dev/srX} usually requires root privileges."
  5624. msgstr ""
  5625. #. type: unnumberedsubsec
  5626. #: guix-git/doc/guix.texi:2166
  5627. #, no-wrap
  5628. msgid "Booting"
  5629. msgstr ""
  5630. #. type: Plain text
  5631. #: guix-git/doc/guix.texi:2173
  5632. 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}."
  5633. msgstr ""
  5634. #. type: Plain text
  5635. #: guix-git/doc/guix.texi:2176
  5636. msgid "@xref{Installing Guix in a VM}, if, instead, you would like to install Guix System in a virtual machine (VM)."
  5637. msgstr ""
  5638. #. type: Plain text
  5639. #: guix-git/doc/guix.texi:2186
  5640. 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})."
  5641. msgstr ""
  5642. #. type: Plain text
  5643. #: guix-git/doc/guix.texi:2194
  5644. 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."
  5645. msgstr ""
  5646. #. type: quotation
  5647. #: guix-git/doc/guix.texi:2199
  5648. msgid "Installation requires access to the Internet so that any missing dependencies of your system configuration can be downloaded. See the ``Networking'' section below."
  5649. msgstr ""
  5650. #. type: Plain text
  5651. #: guix-git/doc/guix.texi:2206
  5652. 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."
  5653. msgstr ""
  5654. #. type: Plain text
  5655. #: guix-git/doc/guix.texi:2211
  5656. 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."
  5657. msgstr ""
  5658. #. type: Plain text
  5659. #: guix-git/doc/guix.texi:2213
  5660. msgid "@image{images/installer-network,5in,, networking setup with the graphical installer}"
  5661. msgstr ""
  5662. #. type: Plain text
  5663. #: guix-git/doc/guix.texi:2218
  5664. 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."
  5665. msgstr ""
  5666. #. type: Plain text
  5667. #: guix-git/doc/guix.texi:2220
  5668. msgid "@image{images/installer-partitions,5in,, partitioning with the graphical installer}"
  5669. msgstr ""
  5670. #. type: Plain text
  5671. #: guix-git/doc/guix.texi:2223
  5672. 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."
  5673. msgstr ""
  5674. #. type: Plain text
  5675. #: guix-git/doc/guix.texi:2225
  5676. msgid "@image{images/installer-resume,5in,, resuming the installation process}"
  5677. msgstr ""
  5678. #. type: Plain text
  5679. #: guix-git/doc/guix.texi:2230
  5680. 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!"
  5681. msgstr ""
  5682. #. type: Plain text
  5683. #: guix-git/doc/guix.texi:2240
  5684. 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})."
  5685. msgstr ""
  5686. #. type: Plain text
  5687. #: guix-git/doc/guix.texi:2246
  5688. 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})."
  5689. msgstr ""
  5690. #. type: subsection
  5691. #: guix-git/doc/guix.texi:2253
  5692. #, no-wrap
  5693. msgid "Keyboard Layout, Networking, and Partitioning"
  5694. msgstr ""
  5695. #. type: Plain text
  5696. #: guix-git/doc/guix.texi:2258
  5697. 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."
  5698. msgstr ""
  5699. #. type: cindex
  5700. #: guix-git/doc/guix.texi:2261 guix-git/doc/guix.texi:14500
  5701. #, no-wrap
  5702. msgid "keyboard layout"
  5703. msgstr "disposição do teclado"
  5704. #. type: Plain text
  5705. #: guix-git/doc/guix.texi:2265
  5706. 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:"
  5707. msgstr ""
  5708. #. type: example
  5709. #: guix-git/doc/guix.texi:2268
  5710. #, no-wrap
  5711. msgid "loadkeys dvorak\n"
  5712. msgstr ""
  5713. #. type: Plain text
  5714. #: guix-git/doc/guix.texi:2273
  5715. 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."
  5716. msgstr ""
  5717. #. type: subsubsection
  5718. #: guix-git/doc/guix.texi:2274
  5719. #, no-wrap
  5720. msgid "Networking"
  5721. msgstr "Rede"
  5722. #. type: Plain text
  5723. #: guix-git/doc/guix.texi:2277
  5724. msgid "Run the following command to see what your network interfaces are called:"
  5725. msgstr ""
  5726. #. type: example
  5727. #: guix-git/doc/guix.texi:2280
  5728. #, no-wrap
  5729. msgid "ifconfig -a\n"
  5730. msgstr ""
  5731. #. type: table
  5732. #: guix-git/doc/guix.texi:2284 guix-git/doc/guix.texi:2306
  5733. msgid "@dots{} or, using the GNU/Linux-specific @command{ip} command:"
  5734. msgstr ""
  5735. #. type: example
  5736. #: guix-git/doc/guix.texi:2287
  5737. #, no-wrap
  5738. msgid "ip address\n"
  5739. msgstr ""
  5740. #. type: Plain text
  5741. #: guix-git/doc/guix.texi:2294
  5742. 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}."
  5743. msgstr ""
  5744. #. type: item
  5745. #: guix-git/doc/guix.texi:2296
  5746. #, no-wrap
  5747. msgid "Wired connection"
  5748. msgstr "Conexão cabeada"
  5749. #. type: table
  5750. #: guix-git/doc/guix.texi:2299
  5751. msgid "To configure a wired network run the following command, substituting @var{interface} with the name of the wired interface you want to use."
  5752. msgstr ""
  5753. #. type: example
  5754. #: guix-git/doc/guix.texi:2302
  5755. #, no-wrap
  5756. msgid "ifconfig @var{interface} up\n"
  5757. msgstr ""
  5758. #. type: example
  5759. #: guix-git/doc/guix.texi:2309
  5760. #, no-wrap
  5761. msgid "ip link set @var{interface} up\n"
  5762. msgstr ""
  5763. #. type: item
  5764. #: guix-git/doc/guix.texi:2311
  5765. #, no-wrap
  5766. msgid "Wireless connection"
  5767. msgstr ""
  5768. #. type: cindex
  5769. #: guix-git/doc/guix.texi:2312 guix-git/doc/guix.texi:16125
  5770. #, no-wrap
  5771. msgid "wireless"
  5772. msgstr "sem fio"
  5773. #. type: cindex
  5774. #: guix-git/doc/guix.texi:2313 guix-git/doc/guix.texi:16126
  5775. #, no-wrap
  5776. msgid "WiFi"
  5777. msgstr ""
  5778. #. type: table
  5779. #: guix-git/doc/guix.texi:2318
  5780. 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}:"
  5781. msgstr ""
  5782. #. type: example
  5783. #: guix-git/doc/guix.texi:2321
  5784. #, no-wrap
  5785. msgid "nano wpa_supplicant.conf\n"
  5786. msgstr ""
  5787. #. type: table
  5788. #: guix-git/doc/guix.texi:2326
  5789. 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:"
  5790. msgstr ""
  5791. #. type: example
  5792. #: guix-git/doc/guix.texi:2333
  5793. #, no-wrap
  5794. msgid ""
  5795. "network=@{\n"
  5796. " ssid=\"@var{my-ssid}\"\n"
  5797. " key_mgmt=WPA-PSK\n"
  5798. " psk=\"the network's secret passphrase\"\n"
  5799. "@}\n"
  5800. msgstr ""
  5801. #. type: table
  5802. #: guix-git/doc/guix.texi:2338
  5803. 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):"
  5804. msgstr ""
  5805. #. type: example
  5806. #: guix-git/doc/guix.texi:2341
  5807. #, no-wrap
  5808. msgid "wpa_supplicant -c wpa_supplicant.conf -i @var{interface} -B\n"
  5809. msgstr ""
  5810. #. type: table
  5811. #: guix-git/doc/guix.texi:2344
  5812. msgid "Run @command{man wpa_supplicant} for more information."
  5813. msgstr ""
  5814. #. type: cindex
  5815. #: guix-git/doc/guix.texi:2346
  5816. #, no-wrap
  5817. msgid "DHCP"
  5818. msgstr ""
  5819. #. type: Plain text
  5820. #: guix-git/doc/guix.texi:2349
  5821. 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:"
  5822. msgstr ""
  5823. #. type: example
  5824. #: guix-git/doc/guix.texi:2352
  5825. #, no-wrap
  5826. msgid "dhclient -v @var{interface}\n"
  5827. msgstr ""
  5828. #. type: Plain text
  5829. #: guix-git/doc/guix.texi:2355
  5830. msgid "Try to ping a server to see if networking is up and running:"
  5831. msgstr ""
  5832. #. type: example
  5833. #: guix-git/doc/guix.texi:2358
  5834. #, no-wrap
  5835. msgid "ping -c 3 gnu.org\n"
  5836. msgstr ""
  5837. #. type: Plain text
  5838. #: guix-git/doc/guix.texi:2362
  5839. 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."
  5840. msgstr ""
  5841. #. type: cindex
  5842. #: guix-git/doc/guix.texi:2363
  5843. #, no-wrap
  5844. msgid "proxy, during system installation"
  5845. msgstr ""
  5846. #. type: Plain text
  5847. #: guix-git/doc/guix.texi:2366
  5848. msgid "If you need HTTP and HTTPS access to go through a proxy, run the following command:"
  5849. msgstr ""
  5850. #. type: example
  5851. #: guix-git/doc/guix.texi:2369
  5852. #, no-wrap
  5853. msgid "herd set-http-proxy guix-daemon @var{URL}\n"
  5854. msgstr ""
  5855. #. type: Plain text
  5856. #: guix-git/doc/guix.texi:2374
  5857. msgid "where @var{URL} is the proxy URL, for example @code{http://example.org:8118}."
  5858. msgstr ""
  5859. #. type: cindex
  5860. #: guix-git/doc/guix.texi:2375
  5861. #, no-wrap
  5862. msgid "installing over SSH"
  5863. msgstr ""
  5864. #. type: Plain text
  5865. #: guix-git/doc/guix.texi:2378
  5866. msgid "If you want to, you can continue the installation remotely by starting an SSH server:"
  5867. msgstr ""
  5868. #. type: example
  5869. #: guix-git/doc/guix.texi:2381
  5870. #, no-wrap
  5871. msgid "herd start ssh-daemon\n"
  5872. msgstr ""
  5873. #. type: Plain text
  5874. #: guix-git/doc/guix.texi:2385
  5875. msgid "Make sure to either set a password with @command{passwd}, or configure OpenSSH public key authentication before logging in."
  5876. msgstr ""
  5877. #. type: subsubsection
  5878. #: guix-git/doc/guix.texi:2386
  5879. #, no-wrap
  5880. msgid "Disk Partitioning"
  5881. msgstr ""
  5882. #. type: Plain text
  5883. #: guix-git/doc/guix.texi:2390
  5884. msgid "Unless this has already been done, the next step is to partition, and then format the target partition(s)."
  5885. msgstr ""
  5886. #. type: Plain text
  5887. #: guix-git/doc/guix.texi:2395
  5888. 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:"
  5889. msgstr ""
  5890. #. type: example
  5891. #: guix-git/doc/guix.texi:2398
  5892. #, no-wrap
  5893. msgid "cfdisk\n"
  5894. msgstr ""
  5895. #. type: Plain text
  5896. #: guix-git/doc/guix.texi:2404
  5897. 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})."
  5898. msgstr ""
  5899. #. type: cindex
  5900. #: guix-git/doc/guix.texi:2405
  5901. #, no-wrap
  5902. msgid "EFI, installation"
  5903. msgstr ""
  5904. #. type: cindex
  5905. #: guix-git/doc/guix.texi:2406
  5906. #, no-wrap
  5907. msgid "UEFI, installation"
  5908. msgstr ""
  5909. #. type: cindex
  5910. #: guix-git/doc/guix.texi:2407
  5911. #, no-wrap
  5912. msgid "ESP, EFI system partition"
  5913. msgstr ""
  5914. #. type: Plain text
  5915. #: guix-git/doc/guix.texi:2411
  5916. 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}:"
  5917. msgstr ""
  5918. #. type: example
  5919. #: guix-git/doc/guix.texi:2414
  5920. #, no-wrap
  5921. msgid "parted /dev/sda set 1 esp on\n"
  5922. msgstr ""
  5923. #. type: vindex
  5924. #: guix-git/doc/guix.texi:2417 guix-git/doc/guix.texi:32447
  5925. #, no-wrap
  5926. msgid "grub-bootloader"
  5927. msgstr ""
  5928. #. type: vindex
  5929. #: guix-git/doc/guix.texi:2418 guix-git/doc/guix.texi:32441
  5930. #, no-wrap
  5931. msgid "grub-efi-bootloader"
  5932. msgstr ""
  5933. #. type: quotation
  5934. #: guix-git/doc/guix.texi:2425
  5935. 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."
  5936. msgstr ""
  5937. #. type: Plain text
  5938. #: guix-git/doc/guix.texi:2433
  5939. 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:"
  5940. msgstr ""
  5941. #. type: example
  5942. #: guix-git/doc/guix.texi:2436
  5943. #, no-wrap
  5944. msgid "mkfs.fat -F32 /dev/sda1\n"
  5945. msgstr ""
  5946. #. type: Plain text
  5947. #: guix-git/doc/guix.texi:2443
  5948. 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})."
  5949. msgstr ""
  5950. #. type: Plain text
  5951. #: guix-git/doc/guix.texi:2450
  5952. 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:"
  5953. msgstr ""
  5954. #. type: example
  5955. #: guix-git/doc/guix.texi:2453
  5956. #, no-wrap
  5957. msgid "mkfs.ext4 -L my-root /dev/sda2\n"
  5958. msgstr ""
  5959. #. type: cindex
  5960. #: guix-git/doc/guix.texi:2455 guix-git/doc/guix.texi:13498
  5961. #, no-wrap
  5962. msgid "encrypted disk"
  5963. msgstr ""
  5964. #. type: Plain text
  5965. #: guix-git/doc/guix.texi:2462
  5966. 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:"
  5967. msgstr ""
  5968. #. type: example
  5969. #: guix-git/doc/guix.texi:2467
  5970. #, no-wrap
  5971. msgid ""
  5972. "cryptsetup luksFormat /dev/sda2\n"
  5973. "cryptsetup open --type luks /dev/sda2 my-partition\n"
  5974. "mkfs.ext4 -L my-root /dev/mapper/my-partition\n"
  5975. msgstr ""
  5976. #. type: Plain text
  5977. #: guix-git/doc/guix.texi:2472
  5978. 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):"
  5979. msgstr ""
  5980. #. type: example
  5981. #: guix-git/doc/guix.texi:2475
  5982. #, no-wrap
  5983. msgid "mount LABEL=my-root /mnt\n"
  5984. msgstr ""
  5985. #. type: Plain text
  5986. #: guix-git/doc/guix.texi:2481
  5987. 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."
  5988. msgstr ""
  5989. #. type: Plain text
  5990. #: guix-git/doc/guix.texi:2486
  5991. 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:"
  5992. msgstr ""
  5993. #. type: example
  5994. #: guix-git/doc/guix.texi:2490
  5995. #, no-wrap
  5996. msgid ""
  5997. "mkswap /dev/sda3\n"
  5998. "swapon /dev/sda3\n"
  5999. msgstr ""
  6000. #. type: Plain text
  6001. #: guix-git/doc/guix.texi:2498
  6002. 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}.}:"
  6003. msgstr ""
  6004. #. type: example
  6005. #: guix-git/doc/guix.texi:2506
  6006. #, no-wrap
  6007. msgid ""
  6008. "# This is 10 GiB of swap space. Adjust \"count\" to change the size.\n"
  6009. "dd if=/dev/zero of=/mnt/swapfile bs=1MiB count=10240\n"
  6010. "# For security, make the file readable and writable only by root.\n"
  6011. "chmod 600 /mnt/swapfile\n"
  6012. "mkswap /mnt/swapfile\n"
  6013. "swapon /mnt/swapfile\n"
  6014. msgstr ""
  6015. #. type: Plain text
  6016. #: guix-git/doc/guix.texi:2511
  6017. 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."
  6018. msgstr ""
  6019. #. type: Plain text
  6020. #: guix-git/doc/guix.texi:2517
  6021. msgid "With the target partitions ready and the target root mounted on @file{/mnt}, we're ready to go. First, run:"
  6022. msgstr ""
  6023. #. type: example
  6024. #: guix-git/doc/guix.texi:2520
  6025. #, no-wrap
  6026. msgid "herd start cow-store /mnt\n"
  6027. msgstr ""
  6028. #. type: Plain text
  6029. #: guix-git/doc/guix.texi:2527
  6030. 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."
  6031. msgstr ""
  6032. #. type: Plain text
  6033. #: guix-git/doc/guix.texi:2538
  6034. 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 GNU Zile (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."
  6035. msgstr ""
  6036. #. type: Plain text
  6037. #: guix-git/doc/guix.texi:2545
  6038. 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:"
  6039. msgstr ""
  6040. #. type: example
  6041. #: guix-git/doc/guix.texi:2550
  6042. #, no-wrap
  6043. msgid ""
  6044. "# mkdir /mnt/etc\n"
  6045. "# cp /etc/configuration/desktop.scm /mnt/etc/config.scm\n"
  6046. "# nano /mnt/etc/config.scm\n"
  6047. msgstr ""
  6048. #. type: Plain text
  6049. #: guix-git/doc/guix.texi:2554
  6050. msgid "You should pay attention to what your configuration file contains, and in particular:"
  6051. msgstr ""
  6052. #. type: itemize
  6053. #: guix-git/doc/guix.texi:2565
  6054. 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."
  6055. msgstr ""
  6056. #. type: itemize
  6057. #: guix-git/doc/guix.texi:2571
  6058. 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."
  6059. msgstr ""
  6060. #. type: itemize
  6061. #: guix-git/doc/guix.texi:2575
  6062. msgid "If there are encrypted or RAID partitions, make sure to add a @code{mapped-devices} field to describe them (@pxref{Mapped Devices})."
  6063. msgstr ""
  6064. #. type: Plain text
  6065. #: guix-git/doc/guix.texi:2580
  6066. 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}):"
  6067. msgstr ""
  6068. #. type: example
  6069. #: guix-git/doc/guix.texi:2583
  6070. #, no-wrap
  6071. msgid "guix system init /mnt/etc/config.scm /mnt\n"
  6072. msgstr ""
  6073. #. type: Plain text
  6074. #: guix-git/doc/guix.texi:2590
  6075. 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."
  6076. msgstr ""
  6077. #. type: Plain text
  6078. #: guix-git/doc/guix.texi:2598
  6079. 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!"
  6080. 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!"
  6081. #. type: Plain text
  6082. #: guix-git/doc/guix.texi:2605
  6083. msgid "Success, you've now booted into Guix System! From then on, you can update the system whenever you want by running, say:"
  6084. msgstr ""
  6085. #. type: example
  6086. #: guix-git/doc/guix.texi:2609
  6087. #, no-wrap
  6088. msgid ""
  6089. "guix pull\n"
  6090. "sudo guix system reconfigure /etc/config.scm\n"
  6091. msgstr ""
  6092. #. type: Plain text
  6093. #: guix-git/doc/guix.texi:2615
  6094. 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})."
  6095. msgstr ""
  6096. #. type: cindex
  6097. #: guix-git/doc/guix.texi:2618
  6098. #, no-wrap
  6099. msgid "sudo vs. @command{guix pull}"
  6100. msgstr ""
  6101. #. type: quotation
  6102. #: guix-git/doc/guix.texi:2622
  6103. 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{}}."
  6104. msgstr ""
  6105. #. type: quotation
  6106. #: guix-git/doc/guix.texi:2627
  6107. 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."
  6108. msgstr ""
  6109. #. type: Plain text
  6110. #: guix-git/doc/guix.texi:2632
  6111. msgid "Now, @pxref{Getting Started}, and join us on @code{#guix} on the Freenode IRC network or on @email{guix-devel@@gnu.org} to share your experience!"
  6112. msgstr ""
  6113. #. type: section
  6114. #: guix-git/doc/guix.texi:2635
  6115. #, no-wrap
  6116. msgid "Installing Guix in a Virtual Machine"
  6117. msgstr ""
  6118. #. type: cindex
  6119. #: guix-git/doc/guix.texi:2637
  6120. #, no-wrap
  6121. msgid "virtual machine, Guix System installation"
  6122. msgstr "máquina virtual, instalação do Guix System"
  6123. #. type: cindex
  6124. #: guix-git/doc/guix.texi:2638
  6125. #, no-wrap
  6126. msgid "virtual private server (VPS)"
  6127. msgstr ""
  6128. #. type: cindex
  6129. #: guix-git/doc/guix.texi:2639
  6130. #, no-wrap
  6131. msgid "VPS (virtual private server)"
  6132. msgstr ""
  6133. #. type: Plain text
  6134. #: guix-git/doc/guix.texi:2643
  6135. 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."
  6136. msgstr ""
  6137. #. type: Plain text
  6138. #: guix-git/doc/guix.texi:2646
  6139. msgid "To boot a @uref{https://qemu.org/,QEMU} VM for installing Guix System in a disk image, follow these steps:"
  6140. msgstr ""
  6141. #. type: enumerate
  6142. #: guix-git/doc/guix.texi:2651
  6143. msgid "First, retrieve and decompress the Guix system installation image as described previously (@pxref{USB Stick and DVD Installation})."
  6144. msgstr ""
  6145. #. type: enumerate
  6146. #: guix-git/doc/guix.texi:2655
  6147. msgid "Create a disk image that will hold the installed system. To make a qcow2-formatted disk image, use the @command{qemu-img} command:"
  6148. msgstr ""
  6149. #. type: example
  6150. #: guix-git/doc/guix.texi:2658
  6151. #, no-wrap
  6152. msgid "qemu-img create -f qcow2 guix-system.img 50G\n"
  6153. msgstr ""
  6154. #. type: enumerate
  6155. #: guix-git/doc/guix.texi:2662
  6156. 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."
  6157. msgstr ""
  6158. #. type: enumerate
  6159. #: guix-git/doc/guix.texi:2665
  6160. msgid "Boot the USB installation image in an VM:"
  6161. msgstr ""
  6162. #. type: example
  6163. #: guix-git/doc/guix.texi:2671
  6164. #, no-wrap
  6165. msgid ""
  6166. "qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \\\n"
  6167. " -nic user,model=virtio-net-pci -boot menu=on,order=d \\\n"
  6168. " -drive file=guix-system.img \\\n"
  6169. " -drive media=cdrom,file=guix-system-install-@value{VERSION}.@var{system}.iso\n"
  6170. msgstr ""
  6171. #. type: enumerate
  6172. #: guix-git/doc/guix.texi:2675
  6173. msgid "@code{-enable-kvm} is optional, but significantly improves performance, @pxref{Running Guix in a VM}."
  6174. msgstr ""
  6175. #. type: enumerate
  6176. #: guix-git/doc/guix.texi:2679
  6177. msgid "You're now root in the VM, proceed with the installation process. @xref{Preparing for Installation}, and follow the instructions."
  6178. msgstr ""
  6179. #. type: Plain text
  6180. #: guix-git/doc/guix.texi:2684
  6181. 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."
  6182. msgstr ""
  6183. #. type: cindex
  6184. #: guix-git/doc/guix.texi:2688
  6185. #, no-wrap
  6186. msgid "installation image"
  6187. msgstr ""
  6188. #. type: Plain text
  6189. #: guix-git/doc/guix.texi:2691
  6190. msgid "The installation image described above was built using the @command{guix system} command, specifically:"
  6191. msgstr ""
  6192. #. type: example
  6193. #: guix-git/doc/guix.texi:2694
  6194. #, no-wrap
  6195. msgid "guix system image -t iso9660 gnu/system/install.scm\n"
  6196. msgstr ""
  6197. #. type: Plain text
  6198. #: guix-git/doc/guix.texi:2699
  6199. 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."
  6200. msgstr ""
  6201. #. type: section
  6202. #: guix-git/doc/guix.texi:2700
  6203. #, no-wrap
  6204. msgid "Building the Installation Image for ARM Boards"
  6205. msgstr ""
  6206. #. type: Plain text
  6207. #: guix-git/doc/guix.texi:2704
  6208. msgid "Many ARM boards require a specific variant of the @uref{https://www.denx.de/wiki/U-Boot/, U-Boot} bootloader."
  6209. msgstr ""
  6210. #. type: Plain text
  6211. #: guix-git/doc/guix.texi:2708
  6212. 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:"
  6213. msgstr ""
  6214. #. type: example
  6215. #: guix-git/doc/guix.texi:2711
  6216. #, no-wrap
  6217. msgid "guix system image --system=armhf-linux -e '((@@ (gnu system install) os-with-u-boot) (@@ (gnu system install) installation-os) \"A20-OLinuXino-Lime2\")'\n"
  6218. msgstr ""
  6219. #. type: Plain text
  6220. #: guix-git/doc/guix.texi:2715
  6221. 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."
  6222. msgstr ""
  6223. #. type: Plain text
  6224. #: guix-git/doc/guix.texi:2725
  6225. 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."
  6226. msgstr ""
  6227. #. type: Plain text
  6228. #: guix-git/doc/guix.texi:2729
  6229. 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:"
  6230. msgstr ""
  6231. #. type: example
  6232. #: guix-git/doc/guix.texi:2732
  6233. #, no-wrap
  6234. msgid "guix search text editor\n"
  6235. msgstr ""
  6236. #. type: Plain text
  6237. #: guix-git/doc/guix.texi:2739
  6238. 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}!):"
  6239. msgstr ""
  6240. #. type: example
  6241. #: guix-git/doc/guix.texi:2742
  6242. #, no-wrap
  6243. msgid "guix install emacs\n"
  6244. msgstr ""
  6245. #. type: cindex
  6246. #: guix-git/doc/guix.texi:2744 guix-git/doc/guix.texi:3056
  6247. #: guix-git/doc/guix.texi:3108
  6248. #, no-wrap
  6249. msgid "profile"
  6250. msgstr ""
  6251. #. type: Plain text
  6252. #: guix-git/doc/guix.texi:2752
  6253. 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)."
  6254. msgstr ""
  6255. #. type: Plain text
  6256. #: guix-git/doc/guix.texi:2755
  6257. msgid "Unless you're using Guix System, the @command{guix install} command must have printed this hint:"
  6258. msgstr ""
  6259. #. type: example
  6260. #: guix-git/doc/guix.texi:2758
  6261. #, no-wrap
  6262. msgid ""
  6263. "hint: Consider setting the necessary environment variables by running:\n"
  6264. "\n"
  6265. msgstr ""
  6266. #. type: example
  6267. #: guix-git/doc/guix.texi:2761
  6268. #, no-wrap
  6269. msgid ""
  6270. " GUIX_PROFILE=\"$HOME/.guix-profile\"\n"
  6271. " . \"$GUIX_PROFILE/etc/profile\"\n"
  6272. "\n"
  6273. msgstr ""
  6274. #. type: example
  6275. #: guix-git/doc/guix.texi:2763
  6276. #, no-wrap
  6277. msgid "Alternately, see `guix package --search-paths -p \"$HOME/.guix-profile\"'.\n"
  6278. msgstr ""
  6279. #. type: Plain text
  6280. #: guix-git/doc/guix.texi:2777
  6281. 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."
  6282. msgstr ""
  6283. #. type: Plain text
  6284. #: guix-git/doc/guix.texi:2780
  6285. msgid "You can go on installing packages at your will. To list installed packages, run:"
  6286. msgstr ""
  6287. #. type: example
  6288. #: guix-git/doc/guix.texi:2783
  6289. #, no-wrap
  6290. msgid "guix package --list-installed\n"
  6291. msgstr ""
  6292. #. type: Plain text
  6293. #: guix-git/doc/guix.texi:2788
  6294. 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:"
  6295. msgstr ""
  6296. #. type: example
  6297. #: guix-git/doc/guix.texi:2791
  6298. #, no-wrap
  6299. msgid "guix package --roll-back\n"
  6300. msgstr ""
  6301. #. type: Plain text
  6302. #: guix-git/doc/guix.texi:2796
  6303. 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:"
  6304. msgstr ""
  6305. #. type: example
  6306. #: guix-git/doc/guix.texi:2799
  6307. #, no-wrap
  6308. msgid "guix package --list-generations\n"
  6309. msgstr ""
  6310. #. type: Plain text
  6311. #: guix-git/doc/guix.texi:2802
  6312. msgid "Now you know the basics of package management!"
  6313. msgstr ""
  6314. #. type: quotation
  6315. #: guix-git/doc/guix.texi:2803 guix-git/doc/guix.texi:2862
  6316. #, no-wrap
  6317. msgid "Going further"
  6318. msgstr ""
  6319. #. type: quotation
  6320. #: guix-git/doc/guix.texi:2811
  6321. 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."
  6322. msgstr ""
  6323. #. type: Plain text
  6324. #: guix-git/doc/guix.texi:2816
  6325. 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:"
  6326. msgstr ""
  6327. #. type: Plain text
  6328. #: guix-git/doc/guix.texi:2826
  6329. 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}:"
  6330. msgstr ""
  6331. #. type: example
  6332. #: guix-git/doc/guix.texi:2830
  6333. #, no-wrap
  6334. msgid ""
  6335. "GUIX_PROFILE=\"$HOME/.config/guix/current\"\n"
  6336. ". \"$GUIX_PROFILE/etc/profile\"\n"
  6337. msgstr ""
  6338. #. type: Plain text
  6339. #: guix-git/doc/guix.texi:2834
  6340. msgid "You must also instruct your shell to point to this new @command{guix}:"
  6341. msgstr ""
  6342. #. type: example
  6343. #: guix-git/doc/guix.texi:2837
  6344. #, no-wrap
  6345. msgid "hash guix\n"
  6346. msgstr ""
  6347. #. type: Plain text
  6348. #: guix-git/doc/guix.texi:2841
  6349. 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:"
  6350. msgstr ""
  6351. #. type: example
  6352. #: guix-git/doc/guix.texi:2844
  6353. #, no-wrap
  6354. msgid "guix upgrade\n"
  6355. msgstr ""
  6356. #. type: Plain text
  6357. #: guix-git/doc/guix.texi:2850
  6358. 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!"
  6359. msgstr ""
  6360. #. type: Plain text
  6361. #: guix-git/doc/guix.texi:2853
  6362. msgid "You can display the exact revision of Guix you're currently using by running:"
  6363. msgstr ""
  6364. #. type: example
  6365. #: guix-git/doc/guix.texi:2856
  6366. #, no-wrap
  6367. msgid "guix describe\n"
  6368. msgstr ""
  6369. #. type: Plain text
  6370. #: guix-git/doc/guix.texi:2861
  6371. 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."
  6372. msgstr ""
  6373. #. type: quotation
  6374. #: guix-git/doc/guix.texi:2867
  6375. 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})."
  6376. msgstr ""
  6377. #. type: Plain text
  6378. #: guix-git/doc/guix.texi:2872
  6379. 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:"
  6380. msgstr ""
  6381. #. type: example
  6382. #: guix-git/doc/guix.texi:2875
  6383. #, no-wrap
  6384. msgid "sudo guix system reconfigure /etc/config.scm\n"
  6385. msgstr ""
  6386. #. type: Plain text
  6387. #: guix-git/doc/guix.texi:2884
  6388. 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}:"
  6389. msgstr ""
  6390. #. type: example
  6391. #: guix-git/doc/guix.texi:2887
  6392. #, no-wrap
  6393. msgid "sudo guix system roll-back\n"
  6394. msgstr ""
  6395. #. type: Plain text
  6396. #: guix-git/doc/guix.texi:2894
  6397. 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."
  6398. msgstr ""
  6399. #. type: Plain text
  6400. #: guix-git/doc/guix.texi:2896
  6401. msgid "Now you know enough to get started!"
  6402. msgstr ""
  6403. #. type: quotation
  6404. #: guix-git/doc/guix.texi:2897
  6405. #, no-wrap
  6406. msgid "Resources"
  6407. msgstr ""
  6408. #. type: quotation
  6409. #: guix-git/doc/guix.texi:2900
  6410. msgid "The rest of this manual provides a reference for all things Guix. Here are some additional resources you may find useful:"
  6411. msgstr ""
  6412. #. type: itemize
  6413. #: guix-git/doc/guix.texi:2905
  6414. msgid "@xref{Top,,, guix-cookbook, The GNU Guix Cookbook}, for a list of ``how-to'' style of recipes for a variety of applications."
  6415. msgstr ""
  6416. #. type: itemize
  6417. #: guix-git/doc/guix.texi:2910
  6418. 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."
  6419. msgstr ""
  6420. #. type: itemize
  6421. #: guix-git/doc/guix.texi:2915
  6422. 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."
  6423. msgstr ""
  6424. #. type: itemize
  6425. #: guix-git/doc/guix.texi:2919
  6426. msgid "@xref{Documentation}, to learn how to access documentation on your computer."
  6427. msgstr ""
  6428. #. type: quotation
  6429. #: guix-git/doc/guix.texi:2922
  6430. msgid "We hope you will enjoy Guix as much as the community enjoys building it!"
  6431. msgstr ""
  6432. #. type: cindex
  6433. #: guix-git/doc/guix.texi:2928
  6434. #, no-wrap
  6435. msgid "packages"
  6436. msgstr "pacotes"
  6437. #. type: Plain text
  6438. #: guix-git/doc/guix.texi:2933
  6439. 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."
  6440. msgstr ""
  6441. #. type: Plain text
  6442. #: guix-git/doc/guix.texi:2941
  6443. 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):"
  6444. msgstr ""
  6445. #. type: example
  6446. #: guix-git/doc/guix.texi:2944
  6447. #, no-wrap
  6448. msgid "guix install emacs-guix\n"
  6449. msgstr ""
  6450. #. type: Plain text
  6451. #: guix-git/doc/guix.texi:2965
  6452. 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."
  6453. msgstr ""
  6454. #. type: Plain text
  6455. #: guix-git/doc/guix.texi:2969
  6456. 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."
  6457. msgstr ""
  6458. #. type: Plain text
  6459. #: guix-git/doc/guix.texi:2974
  6460. 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}."
  6461. msgstr ""
  6462. #. type: Plain text
  6463. #: guix-git/doc/guix.texi:2982
  6464. 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."
  6465. msgstr ""
  6466. #. type: Plain text
  6467. #: guix-git/doc/guix.texi:2986
  6468. 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}."
  6469. msgstr ""
  6470. #. type: cindex
  6471. #: guix-git/doc/guix.texi:2987 guix-git/doc/guix.texi:3070
  6472. #, no-wrap
  6473. msgid "transactions"
  6474. msgstr ""
  6475. #. type: Plain text
  6476. #: guix-git/doc/guix.texi:2994
  6477. 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."
  6478. msgstr ""
  6479. #. type: Plain text
  6480. #: guix-git/doc/guix.texi:3002
  6481. 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})."
  6482. msgstr ""
  6483. #. type: Plain text
  6484. #: guix-git/doc/guix.texi:3009
  6485. 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."
  6486. msgstr ""
  6487. #. type: cindex
  6488. #: guix-git/doc/guix.texi:3010 guix-git/doc/guix.texi:4693
  6489. #, no-wrap
  6490. msgid "reproducibility"
  6491. msgstr ""
  6492. #. type: Plain text
  6493. #: guix-git/doc/guix.texi:3022
  6494. 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})."
  6495. msgstr ""
  6496. #. type: Plain text
  6497. #: guix-git/doc/guix.texi:3033
  6498. 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})."
  6499. msgstr ""
  6500. #. type: Plain text
  6501. #: guix-git/doc/guix.texi:3039
  6502. 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})."
  6503. msgstr ""
  6504. #. type: cindex
  6505. #: guix-git/doc/guix.texi:3040
  6506. #, no-wrap
  6507. msgid "replication, of software environments"
  6508. msgstr ""
  6509. #. type: cindex
  6510. #: guix-git/doc/guix.texi:3041
  6511. #, no-wrap
  6512. msgid "provenance tracking, of software artifacts"
  6513. msgstr ""
  6514. #. type: Plain text
  6515. #: guix-git/doc/guix.texi:3048
  6516. 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."
  6517. msgstr ""
  6518. #. type: section
  6519. #: guix-git/doc/guix.texi:3050
  6520. #, no-wrap
  6521. msgid "Invoking @command{guix package}"
  6522. msgstr "Invocando @command{guix package}"
  6523. #. type: cindex
  6524. #: guix-git/doc/guix.texi:3052
  6525. #, no-wrap
  6526. msgid "installing packages"
  6527. msgstr ""
  6528. #. type: cindex
  6529. #: guix-git/doc/guix.texi:3053
  6530. #, no-wrap
  6531. msgid "removing packages"
  6532. msgstr ""
  6533. #. type: cindex
  6534. #: guix-git/doc/guix.texi:3054
  6535. #, no-wrap
  6536. msgid "package installation"
  6537. msgstr ""
  6538. #. type: cindex
  6539. #: guix-git/doc/guix.texi:3055
  6540. #, no-wrap
  6541. msgid "package removal"
  6542. msgstr ""
  6543. #. type: Plain text
  6544. #: guix-git/doc/guix.texi:3065
  6545. 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:"
  6546. msgstr ""
  6547. #. type: example
  6548. #: guix-git/doc/guix.texi:3068
  6549. #, no-wrap
  6550. msgid "guix package @var{options}\n"
  6551. msgstr "guix package @var{opções}\n"
  6552. #. type: Plain text
  6553. #: guix-git/doc/guix.texi:3075
  6554. 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."
  6555. msgstr ""
  6556. #. type: Plain text
  6557. #: guix-git/doc/guix.texi:3078
  6558. msgid "For example, to remove @code{lua} and install @code{guile} and @code{guile-cairo} in a single transaction:"
  6559. msgstr ""
  6560. #. type: example
  6561. #: guix-git/doc/guix.texi:3081
  6562. #, no-wrap
  6563. msgid "guix package -r lua -i guile guile-cairo\n"
  6564. msgstr ""
  6565. #. type: cindex
  6566. #: guix-git/doc/guix.texi:3083
  6567. #, no-wrap
  6568. msgid "aliases, for @command{guix package}"
  6569. msgstr ""
  6570. #. type: Plain text
  6571. #: guix-git/doc/guix.texi:3085
  6572. msgid "For your convenience, we also provide the following aliases:"
  6573. msgstr ""
  6574. #. type: itemize
  6575. #: guix-git/doc/guix.texi:3089
  6576. msgid "@command{guix search} is an alias for @command{guix package -s},"
  6577. msgstr ""
  6578. #. type: itemize
  6579. #: guix-git/doc/guix.texi:3091
  6580. msgid "@command{guix install} is an alias for @command{guix package -i},"
  6581. msgstr ""
  6582. #. type: itemize
  6583. #: guix-git/doc/guix.texi:3093
  6584. msgid "@command{guix remove} is an alias for @command{guix package -r},"
  6585. msgstr ""
  6586. #. type: itemize
  6587. #: guix-git/doc/guix.texi:3095
  6588. msgid "@command{guix upgrade} is an alias for @command{guix package -u},"
  6589. msgstr ""
  6590. #. type: itemize
  6591. #: guix-git/doc/guix.texi:3097
  6592. msgid "and @command{guix show} is an alias for @command{guix package --show=}."
  6593. msgstr ""
  6594. #. type: Plain text
  6595. #: guix-git/doc/guix.texi:3102
  6596. 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."
  6597. msgstr ""
  6598. #. type: Plain text
  6599. #: guix-git/doc/guix.texi:3107
  6600. 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}})."
  6601. msgstr ""
  6602. #. type: Plain text
  6603. #: guix-git/doc/guix.texi:3114
  6604. 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."
  6605. msgstr ""
  6606. #. type: cindex
  6607. #: guix-git/doc/guix.texi:3114 guix-git/doc/guix.texi:3347
  6608. #, no-wrap
  6609. msgid "search paths"
  6610. msgstr ""
  6611. #. type: Plain text
  6612. #: guix-git/doc/guix.texi:3119
  6613. 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:"
  6614. msgstr ""
  6615. #. type: example
  6616. #: guix-git/doc/guix.texi:3123
  6617. #, no-wrap
  6618. msgid ""
  6619. "GUIX_PROFILE=\"$HOME/.guix-profile\" ; \\\n"
  6620. "source \"$GUIX_PROFILE/etc/profile\"\n"
  6621. msgstr ""
  6622. #. type: Plain text
  6623. #: guix-git/doc/guix.texi:3134
  6624. 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}."
  6625. msgstr ""
  6626. #. type: Plain text
  6627. #: guix-git/doc/guix.texi:3136
  6628. msgid "The @var{options} can be among the following:"
  6629. msgstr ""
  6630. #. type: item
  6631. #: guix-git/doc/guix.texi:3139
  6632. #, no-wrap
  6633. msgid "--install=@var{package} @dots{}"
  6634. msgstr ""
  6635. #. type: itemx
  6636. #: guix-git/doc/guix.texi:3140
  6637. #, no-wrap
  6638. msgid "-i @var{package} @dots{}"
  6639. msgstr ""
  6640. #. type: table
  6641. #: guix-git/doc/guix.texi:3142
  6642. msgid "Install the specified @var{package}s."
  6643. msgstr ""
  6644. #. type: table
  6645. #: guix-git/doc/guix.texi:3147
  6646. 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)."
  6647. msgstr ""
  6648. #. type: table
  6649. #: guix-git/doc/guix.texi:3155
  6650. 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})."
  6651. msgstr ""
  6652. #. type: cindex
  6653. #: guix-git/doc/guix.texi:3156
  6654. #, no-wrap
  6655. msgid "propagated inputs"
  6656. msgstr ""
  6657. #. type: table
  6658. #: guix-git/doc/guix.texi:3162
  6659. 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)."
  6660. msgstr ""
  6661. #. type: anchor{#1}
  6662. #: guix-git/doc/guix.texi:3169
  6663. msgid "package-cmd-propagated-inputs"
  6664. msgstr ""
  6665. #. type: table
  6666. #: guix-git/doc/guix.texi:3169
  6667. 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."
  6668. msgstr ""
  6669. #. type: table
  6670. #: guix-git/doc/guix.texi:3174
  6671. 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."
  6672. msgstr ""
  6673. #. type: item
  6674. #: guix-git/doc/guix.texi:3175
  6675. #, no-wrap
  6676. msgid "--install-from-expression=@var{exp}"
  6677. msgstr ""
  6678. #. type: itemx
  6679. #: guix-git/doc/guix.texi:3176
  6680. #, no-wrap
  6681. msgid "-e @var{exp}"
  6682. msgstr ""
  6683. #. type: table
  6684. #: guix-git/doc/guix.texi:3178
  6685. msgid "Install the package @var{exp} evaluates to."
  6686. msgstr ""
  6687. #. type: table
  6688. #: guix-git/doc/guix.texi:3183
  6689. 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)}."
  6690. msgstr ""
  6691. #. type: table
  6692. #: guix-git/doc/guix.texi:3187
  6693. 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."
  6694. msgstr ""
  6695. #. type: item
  6696. #: guix-git/doc/guix.texi:3188
  6697. #, no-wrap
  6698. msgid "--install-from-file=@var{file}"
  6699. msgstr ""
  6700. #. type: itemx
  6701. #: guix-git/doc/guix.texi:3189 guix-git/doc/guix.texi:10684
  6702. #, no-wrap
  6703. msgid "-f @var{file}"
  6704. msgstr "-f @var{arquivo}"
  6705. #. type: table
  6706. #: guix-git/doc/guix.texi:3191
  6707. msgid "Install the package that the code within @var{file} evaluates to."
  6708. msgstr ""
  6709. #. type: table
  6710. #: guix-git/doc/guix.texi:3194 guix-git/doc/guix.texi:5721
  6711. msgid "As an example, @var{file} might contain a definition like this (@pxref{Defining Packages}):"
  6712. msgstr ""
  6713. #. type: include
  6714. #: guix-git/doc/guix.texi:3196 guix-git/doc/guix.texi:10692
  6715. #, no-wrap
  6716. msgid "package-hello.scm"
  6717. msgstr ""
  6718. #. type: table
  6719. #: guix-git/doc/guix.texi:3203
  6720. 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})."
  6721. msgstr ""
  6722. #. type: table
  6723. #: guix-git/doc/guix.texi:3208
  6724. 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}:"
  6725. msgstr ""
  6726. #. type: example
  6727. #: guix-git/doc/guix.texi:3211 guix-git/doc/guix.texi:10702
  6728. #, no-wrap
  6729. msgid "@verbatiminclude package-hello.json\n"
  6730. msgstr ""
  6731. #. type: item
  6732. #: guix-git/doc/guix.texi:3213
  6733. #, no-wrap
  6734. msgid "--remove=@var{package} @dots{}"
  6735. msgstr ""
  6736. #. type: itemx
  6737. #: guix-git/doc/guix.texi:3214
  6738. #, no-wrap
  6739. msgid "-r @var{package} @dots{}"
  6740. msgstr "-r @var{pacote} @dots{}"
  6741. #. type: table
  6742. #: guix-git/doc/guix.texi:3216
  6743. msgid "Remove the specified @var{package}s."
  6744. msgstr ""
  6745. #. type: table
  6746. #: guix-git/doc/guix.texi:3221
  6747. 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}."
  6748. msgstr ""
  6749. #. type: item
  6750. #: guix-git/doc/guix.texi:3222
  6751. #, no-wrap
  6752. msgid "--upgrade[=@var{regexp} @dots{}]"
  6753. msgstr ""
  6754. #. type: itemx
  6755. #: guix-git/doc/guix.texi:3223
  6756. #, no-wrap
  6757. msgid "-u [@var{regexp} @dots{}]"
  6758. msgstr ""
  6759. #. type: cindex
  6760. #: guix-git/doc/guix.texi:3224
  6761. #, no-wrap
  6762. msgid "upgrading packages"
  6763. msgstr ""
  6764. #. type: table
  6765. #: guix-git/doc/guix.texi:3228
  6766. 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."
  6767. msgstr ""
  6768. #. type: table
  6769. #: guix-git/doc/guix.texi:3233
  6770. 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})."
  6771. msgstr ""
  6772. #. type: cindex
  6773. #: guix-git/doc/guix.texi:3234
  6774. #, no-wrap
  6775. msgid "package transformations, upgrades"
  6776. msgstr ""
  6777. #. type: table
  6778. #: guix-git/doc/guix.texi:3239
  6779. 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:"
  6780. msgstr ""
  6781. #. type: example
  6782. #: guix-git/doc/guix.texi:3242
  6783. #, no-wrap
  6784. msgid "guix install emacs-next --with-branch=emacs-next=master\n"
  6785. msgstr ""
  6786. #. type: table
  6787. #: guix-git/doc/guix.texi:3247
  6788. 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."
  6789. msgstr ""
  6790. #. type: table
  6791. #: guix-git/doc/guix.texi:3252
  6792. 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:"
  6793. msgstr ""
  6794. #. type: example
  6795. #: guix-git/doc/guix.texi:3255
  6796. #, no-wrap
  6797. msgid "guix install @var{package}\n"
  6798. msgstr ""
  6799. #. type: item
  6800. #: guix-git/doc/guix.texi:3257
  6801. #, no-wrap
  6802. msgid "--do-not-upgrade[=@var{regexp} @dots{}]"
  6803. msgstr ""
  6804. #. type: table
  6805. #: guix-git/doc/guix.texi:3262
  6806. 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'':"
  6807. msgstr ""
  6808. #. type: example
  6809. #: guix-git/doc/guix.texi:3265
  6810. #, no-wrap
  6811. msgid "$ guix package --upgrade . --do-not-upgrade emacs\n"
  6812. msgstr ""
  6813. #. type: anchor{#1}
  6814. #: guix-git/doc/guix.texi:3267
  6815. #, no-wrap
  6816. msgid "profile-manifest"
  6817. msgstr "profile-manifest"
  6818. #. type: item
  6819. #: guix-git/doc/guix.texi:3267 guix-git/doc/guix.texi:5726
  6820. #: guix-git/doc/guix.texi:6145 guix-git/doc/guix.texi:11725
  6821. #: guix-git/doc/guix.texi:13162
  6822. #, no-wrap
  6823. msgid "--manifest=@var{file}"
  6824. msgstr "--manifest=@var{arquivo}"
  6825. #. type: itemx
  6826. #: guix-git/doc/guix.texi:3268 guix-git/doc/guix.texi:5727
  6827. #: guix-git/doc/guix.texi:6146 guix-git/doc/guix.texi:11726
  6828. #, no-wrap
  6829. msgid "-m @var{file}"
  6830. msgstr "-m @var{arquivo}"
  6831. #. type: cindex
  6832. #: guix-git/doc/guix.texi:3269
  6833. #, no-wrap
  6834. msgid "profile declaration"
  6835. msgstr "declaração de perfil"
  6836. #. type: cindex
  6837. #: guix-git/doc/guix.texi:3270
  6838. #, no-wrap
  6839. msgid "profile manifest"
  6840. msgstr "manifsto de perfil"
  6841. #. type: table
  6842. #: guix-git/doc/guix.texi:3274
  6843. 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."
  6844. msgstr ""
  6845. #. type: table
  6846. #: guix-git/doc/guix.texi:3280
  6847. 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."
  6848. msgstr ""
  6849. #. type: table
  6850. #: guix-git/doc/guix.texi:3284
  6851. msgid "@var{file} must return a @dfn{manifest} object, which is roughly a list of packages:"
  6852. msgstr ""
  6853. #. type: findex
  6854. #: guix-git/doc/guix.texi:3285
  6855. #, no-wrap
  6856. msgid "packages->manifest"
  6857. msgstr "packages->manifest"
  6858. #. type: lisp
  6859. #: guix-git/doc/guix.texi:3288
  6860. #, no-wrap
  6861. msgid ""
  6862. "(use-package-modules guile emacs)\n"
  6863. "\n"
  6864. msgstr ""
  6865. "(use-package-modules guile emacs)\n"
  6866. "\n"
  6867. #. type: lisp
  6868. #: guix-git/doc/guix.texi:3294
  6869. #, no-wrap
  6870. msgid ""
  6871. "(packages->manifest\n"
  6872. " (list emacs\n"
  6873. " guile-2.0\n"
  6874. " ;; Use a specific package output.\n"
  6875. " (list guile-2.0 \"debug\")))\n"
  6876. msgstr ""
  6877. "(packages->manifest\n"
  6878. " (list emacs\n"
  6879. " guile-2.0\n"
  6880. " ;; Usa uma saída de pacote específica.\n"
  6881. " (list guile-2.0 \"debug\")))\n"
  6882. #. type: findex
  6883. #: guix-git/doc/guix.texi:3296
  6884. #, no-wrap
  6885. msgid "specifications->manifest"
  6886. msgstr ""
  6887. #. type: table
  6888. #: guix-git/doc/guix.texi:3303
  6889. 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:"
  6890. msgstr ""
  6891. #. type: lisp
  6892. #: guix-git/doc/guix.texi:3307
  6893. #, no-wrap
  6894. msgid ""
  6895. "(specifications->manifest\n"
  6896. " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  6897. msgstr ""
  6898. "(specifications->manifest\n"
  6899. " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  6900. #. type: table
  6901. #: guix-git/doc/guix.texi:3311
  6902. msgid "@xref{export-manifest, @option{--export-manifest}}, to learn how to obtain a manifest file from an existing profile."
  6903. msgstr ""
  6904. #. type: item
  6905. #: guix-git/doc/guix.texi:3312 guix-git/doc/guix.texi:4414
  6906. #, no-wrap
  6907. msgid "--roll-back"
  6908. msgstr "--roll-back"
  6909. #. type: cindex
  6910. #: guix-git/doc/guix.texi:3313 guix-git/doc/guix.texi:4415
  6911. #: guix-git/doc/guix.texi:32869
  6912. #, no-wrap
  6913. msgid "rolling back"
  6914. msgstr ""
  6915. #. type: cindex
  6916. #: guix-git/doc/guix.texi:3314 guix-git/doc/guix.texi:4416
  6917. #, no-wrap
  6918. msgid "undoing transactions"
  6919. msgstr "desfazendo transações"
  6920. #. type: cindex
  6921. #: guix-git/doc/guix.texi:3315 guix-git/doc/guix.texi:4417
  6922. #, no-wrap
  6923. msgid "transactions, undoing"
  6924. msgstr "transações, desfazendo"
  6925. #. type: table
  6926. #: guix-git/doc/guix.texi:3318
  6927. msgid "Roll back to the previous @dfn{generation} of the profile---i.e., undo the last transaction."
  6928. msgstr ""
  6929. #. type: table
  6930. #: guix-git/doc/guix.texi:3321
  6931. msgid "When combined with options such as @option{--install}, roll back occurs before any other actions."
  6932. msgstr ""
  6933. #. type: table
  6934. #: guix-git/doc/guix.texi:3325
  6935. 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."
  6936. msgstr ""
  6937. #. type: table
  6938. #: guix-git/doc/guix.texi:3329
  6939. 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."
  6940. msgstr ""
  6941. #. type: item
  6942. #: guix-git/doc/guix.texi:3330 guix-git/doc/guix.texi:4421
  6943. #, no-wrap
  6944. msgid "--switch-generation=@var{pattern}"
  6945. msgstr "--switch-generation=@var{padrão}"
  6946. #. type: itemx
  6947. #: guix-git/doc/guix.texi:3331 guix-git/doc/guix.texi:4422
  6948. #, no-wrap
  6949. msgid "-S @var{pattern}"
  6950. msgstr "-S @var{padrão}"
  6951. #. type: cindex
  6952. #: guix-git/doc/guix.texi:3332 guix-git/doc/guix.texi:3562
  6953. #: guix-git/doc/guix.texi:4423 guix-git/doc/guix.texi:32827
  6954. #, no-wrap
  6955. msgid "generations"
  6956. msgstr "gerações"
  6957. #. type: table
  6958. #: guix-git/doc/guix.texi:3334 guix-git/doc/guix.texi:4425
  6959. msgid "Switch to a particular generation defined by @var{pattern}."
  6960. msgstr ""
  6961. #. type: table
  6962. #: guix-git/doc/guix.texi:3340 guix-git/doc/guix.texi:4431
  6963. 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}."
  6964. msgstr ""
  6965. #. type: table
  6966. #: guix-git/doc/guix.texi:3345
  6967. 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."
  6968. msgstr ""
  6969. #. type: item
  6970. #: guix-git/doc/guix.texi:3346
  6971. #, no-wrap
  6972. msgid "--search-paths[=@var{kind}]"
  6973. msgstr "--search-paths[=@var{tipo}]"
  6974. #. type: table
  6975. #: guix-git/doc/guix.texi:3352
  6976. 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."
  6977. msgstr ""
  6978. #. type: table
  6979. #: guix-git/doc/guix.texi:3360
  6980. 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."
  6981. msgstr ""
  6982. #. type: table
  6983. #: guix-git/doc/guix.texi:3363
  6984. msgid "The typical use case is to define these environment variables in the shell:"
  6985. msgstr ""
  6986. #. type: example
  6987. #: guix-git/doc/guix.texi:3366
  6988. #, no-wrap
  6989. msgid "$ eval `guix package --search-paths`\n"
  6990. msgstr "$ eval `guix package --search-paths`\n"
  6991. #. type: table
  6992. #: guix-git/doc/guix.texi:3372
  6993. 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}."
  6994. msgstr ""
  6995. #. type: table
  6996. #: guix-git/doc/guix.texi:3375
  6997. msgid "This option can also be used to compute the @emph{combined} search paths of several profiles. Consider this example:"
  6998. msgstr ""
  6999. #. type: example
  7000. #: guix-git/doc/guix.texi:3380
  7001. #, no-wrap
  7002. msgid ""
  7003. "$ guix package -p foo -i guile\n"
  7004. "$ guix package -p bar -i guile-json\n"
  7005. "$ guix package -p foo -p bar --search-paths\n"
  7006. msgstr ""
  7007. "$ guix package -p foo -i guile\n"
  7008. "$ guix package -p bar -i guile-json\n"
  7009. "$ guix package -p foo -p bar --search-paths\n"
  7010. #. type: table
  7011. #: guix-git/doc/guix.texi:3385
  7012. 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."
  7013. msgstr ""
  7014. #. type: cindex
  7015. #: guix-git/doc/guix.texi:3387
  7016. #, fuzzy, no-wrap
  7017. #| msgid "profile declaration"
  7018. msgid "profile, choosing"
  7019. msgstr "declaração de perfil"
  7020. #. type: item
  7021. #: guix-git/doc/guix.texi:3388 guix-git/doc/guix.texi:4451
  7022. #: guix-git/doc/guix.texi:4780
  7023. #, no-wrap
  7024. msgid "--profile=@var{profile}"
  7025. msgstr "--profile=@var{perfil}"
  7026. #. type: itemx
  7027. #: guix-git/doc/guix.texi:3389 guix-git/doc/guix.texi:4452
  7028. #: guix-git/doc/guix.texi:4781
  7029. #, no-wrap
  7030. msgid "-p @var{profile}"
  7031. msgstr "-p @var{perfil}"
  7032. #. type: table
  7033. #: guix-git/doc/guix.texi:3391
  7034. msgid "Use @var{profile} instead of the user's default profile."
  7035. msgstr ""
  7036. #. type: table
  7037. #: guix-git/doc/guix.texi:3396
  7038. 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:"
  7039. msgstr ""
  7040. #. type: example
  7041. #: guix-git/doc/guix.texi:3402
  7042. #, no-wrap
  7043. msgid ""
  7044. "$ guix install hello -p ~/code/my-profile\n"
  7045. "@dots{}\n"
  7046. "$ ~/code/my-profile/bin/hello\n"
  7047. "Hello, world!\n"
  7048. msgstr ""
  7049. #. type: table
  7050. #: guix-git/doc/guix.texi:3406
  7051. msgid "All it takes to get rid of the profile is to remove this symlink and its siblings that point to specific generations:"
  7052. msgstr ""
  7053. #. type: example
  7054. #: guix-git/doc/guix.texi:3409
  7055. #, no-wrap
  7056. msgid "$ rm ~/code/my-profile ~/code/my-profile-*-link\n"
  7057. msgstr ""
  7058. #. type: item
  7059. #: guix-git/doc/guix.texi:3411
  7060. #, no-wrap
  7061. msgid "--list-profiles"
  7062. msgstr ""
  7063. #. type: table
  7064. #: guix-git/doc/guix.texi:3413
  7065. msgid "List all the user's profiles:"
  7066. msgstr ""
  7067. #. type: example
  7068. #: guix-git/doc/guix.texi:3420
  7069. #, no-wrap
  7070. msgid ""
  7071. "$ guix package --list-profiles\n"
  7072. "/home/charlie/.guix-profile\n"
  7073. "/home/charlie/code/my-profile\n"
  7074. "/home/charlie/code/devel-profile\n"
  7075. "/home/charlie/tmp/test\n"
  7076. msgstr ""
  7077. #. type: table
  7078. #: guix-git/doc/guix.texi:3423
  7079. msgid "When running as root, list all the profiles of all the users."
  7080. msgstr ""
  7081. #. type: cindex
  7082. #: guix-git/doc/guix.texi:3424
  7083. #, no-wrap
  7084. msgid "collisions, in a profile"
  7085. msgstr "colisões, em um perfil"
  7086. #. type: cindex
  7087. #: guix-git/doc/guix.texi:3425
  7088. #, no-wrap
  7089. msgid "colliding packages in profiles"
  7090. msgstr ""
  7091. #. type: cindex
  7092. #: guix-git/doc/guix.texi:3426
  7093. #, no-wrap
  7094. msgid "profile collisions"
  7095. msgstr ""
  7096. #. type: item
  7097. #: guix-git/doc/guix.texi:3427
  7098. #, no-wrap
  7099. msgid "--allow-collisions"
  7100. msgstr ""
  7101. #. type: table
  7102. #: guix-git/doc/guix.texi:3429
  7103. msgid "Allow colliding packages in the new profile. Use at your own risk!"
  7104. msgstr ""
  7105. #. type: table
  7106. #: guix-git/doc/guix.texi:3433
  7107. 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."
  7108. msgstr ""
  7109. #. type: item
  7110. #: guix-git/doc/guix.texi:3434 guix-git/doc/guix.texi:4494
  7111. #: guix-git/doc/guix.texi:6231
  7112. #, no-wrap
  7113. msgid "--bootstrap"
  7114. msgstr ""
  7115. #. type: table
  7116. #: guix-git/doc/guix.texi:3437
  7117. msgid "Use the bootstrap Guile to build the profile. This option is only useful to distribution developers."
  7118. msgstr ""
  7119. #. type: Plain text
  7120. #: guix-git/doc/guix.texi:3443
  7121. 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:"
  7122. msgstr ""
  7123. #. type: item
  7124. #: guix-git/doc/guix.texi:3446
  7125. #, no-wrap
  7126. msgid "--search=@var{regexp}"
  7127. msgstr ""
  7128. #. type: itemx
  7129. #: guix-git/doc/guix.texi:3447
  7130. #, no-wrap
  7131. msgid "-s @var{regexp}"
  7132. msgstr ""
  7133. #. type: anchor{#1}
  7134. #: guix-git/doc/guix.texi:3449
  7135. msgid "guix-search"
  7136. msgstr ""
  7137. #. type: cindex
  7138. #: guix-git/doc/guix.texi:3449
  7139. #, no-wrap
  7140. msgid "searching for packages"
  7141. msgstr ""
  7142. #. type: table
  7143. #: guix-git/doc/guix.texi:3455
  7144. 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})."
  7145. msgstr ""
  7146. #. type: table
  7147. #: guix-git/doc/guix.texi:3458
  7148. msgid "This allows specific fields to be extracted using the @command{recsel} command, for instance:"
  7149. msgstr ""
  7150. #. type: example
  7151. #: guix-git/doc/guix.texi:3464
  7152. #, no-wrap
  7153. msgid ""
  7154. "$ guix package -s malloc | recsel -p name,version,relevance\n"
  7155. "name: jemalloc\n"
  7156. "version: 4.5.0\n"
  7157. "relevance: 6\n"
  7158. "\n"
  7159. msgstr ""
  7160. #. type: example
  7161. #: guix-git/doc/guix.texi:3468
  7162. #, no-wrap
  7163. msgid ""
  7164. "name: glibc\n"
  7165. "version: 2.25\n"
  7166. "relevance: 1\n"
  7167. "\n"
  7168. msgstr ""
  7169. #. type: example
  7170. #: guix-git/doc/guix.texi:3472
  7171. #, no-wrap
  7172. msgid ""
  7173. "name: libgc\n"
  7174. "version: 7.6.0\n"
  7175. "relevance: 1\n"
  7176. msgstr ""
  7177. #. type: table
  7178. #: guix-git/doc/guix.texi:3476
  7179. msgid "Similarly, to show the name of all the packages available under the terms of the GNU@tie{}LGPL version 3:"
  7180. msgstr ""
  7181. #. type: example
  7182. #: guix-git/doc/guix.texi:3480
  7183. #, no-wrap
  7184. msgid ""
  7185. "$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n"
  7186. "name: elfutils\n"
  7187. "\n"
  7188. msgstr ""
  7189. #. type: example
  7190. #: guix-git/doc/guix.texi:3483
  7191. #, no-wrap
  7192. msgid ""
  7193. "name: gmp\n"
  7194. "@dots{}\n"
  7195. msgstr ""
  7196. #. type: table
  7197. #: guix-git/doc/guix.texi:3489
  7198. 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):"
  7199. msgstr ""
  7200. #. type: example
  7201. #: guix-git/doc/guix.texi:3494
  7202. #, no-wrap
  7203. msgid ""
  7204. "$ guix search '\\<board\\>' game | recsel -p name\n"
  7205. "name: gnubg\n"
  7206. "@dots{}\n"
  7207. msgstr ""
  7208. #. type: table
  7209. #: guix-git/doc/guix.texi:3500
  7210. 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."
  7211. msgstr ""
  7212. #. type: table
  7213. #: guix-git/doc/guix.texi:3504
  7214. 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:"
  7215. msgstr ""
  7216. #. type: example
  7217. #: guix-git/doc/guix.texi:3508
  7218. #, no-wrap
  7219. msgid ""
  7220. "$ guix search crypto library | \\\n"
  7221. " recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n"
  7222. msgstr ""
  7223. #. type: table
  7224. #: guix-git/doc/guix.texi:3513
  7225. msgid "@xref{Selection Expressions,,, recutils, GNU recutils manual}, for more information on @dfn{selection expressions} for @code{recsel -e}."
  7226. msgstr ""
  7227. #. type: item
  7228. #: guix-git/doc/guix.texi:3514
  7229. #, no-wrap
  7230. msgid "--show=@var{package}"
  7231. msgstr ""
  7232. #. type: table
  7233. #: guix-git/doc/guix.texi:3518
  7234. 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})."
  7235. msgstr ""
  7236. #. type: example
  7237. #: guix-git/doc/guix.texi:3523
  7238. #, no-wrap
  7239. msgid ""
  7240. "$ guix package --show=python | recsel -p name,version\n"
  7241. "name: python\n"
  7242. "version: 2.7.6\n"
  7243. "\n"
  7244. msgstr ""
  7245. #. type: example
  7246. #: guix-git/doc/guix.texi:3526
  7247. #, no-wrap
  7248. msgid ""
  7249. "name: python\n"
  7250. "version: 3.3.5\n"
  7251. msgstr ""
  7252. "name: python\n"
  7253. "version: 3.3.5\n"
  7254. #. type: table
  7255. #: guix-git/doc/guix.texi:3530
  7256. 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):"
  7257. msgstr ""
  7258. #. type: example
  7259. #: guix-git/doc/guix.texi:3534
  7260. #, no-wrap
  7261. msgid ""
  7262. "$ guix show python@@3.4 | recsel -p name,version\n"
  7263. "name: python\n"
  7264. "version: 3.4.3\n"
  7265. msgstr ""
  7266. #. type: item
  7267. #: guix-git/doc/guix.texi:3538
  7268. #, no-wrap
  7269. msgid "--list-installed[=@var{regexp}]"
  7270. msgstr ""
  7271. #. type: itemx
  7272. #: guix-git/doc/guix.texi:3539
  7273. #, no-wrap
  7274. msgid "-I [@var{regexp}]"
  7275. msgstr ""
  7276. #. type: table
  7277. #: guix-git/doc/guix.texi:3543
  7278. 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}."
  7279. msgstr ""
  7280. #. type: table
  7281. #: guix-git/doc/guix.texi:3549
  7282. 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."
  7283. msgstr ""
  7284. #. type: item
  7285. #: guix-git/doc/guix.texi:3550
  7286. #, no-wrap
  7287. msgid "--list-available[=@var{regexp}]"
  7288. msgstr ""
  7289. #. type: itemx
  7290. #: guix-git/doc/guix.texi:3551
  7291. #, no-wrap
  7292. msgid "-A [@var{regexp}]"
  7293. msgstr ""
  7294. #. type: table
  7295. #: guix-git/doc/guix.texi:3555
  7296. 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}."
  7297. msgstr ""
  7298. #. type: table
  7299. #: guix-git/doc/guix.texi:3559
  7300. 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."
  7301. msgstr ""
  7302. #. type: item
  7303. #: guix-git/doc/guix.texi:3560 guix-git/doc/guix.texi:4407
  7304. #, no-wrap
  7305. msgid "--list-generations[=@var{pattern}]"
  7306. msgstr "--list-generations[=@var{padrão}]"
  7307. #. type: itemx
  7308. #: guix-git/doc/guix.texi:3561 guix-git/doc/guix.texi:4408
  7309. #, no-wrap
  7310. msgid "-l [@var{pattern}]"
  7311. msgstr "-l [@var{padrão}]"
  7312. #. type: table
  7313. #: guix-git/doc/guix.texi:3567
  7314. 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."
  7315. msgstr ""
  7316. #. type: table
  7317. #: guix-git/doc/guix.texi:3572
  7318. 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."
  7319. msgstr ""
  7320. #. type: table
  7321. #: guix-git/doc/guix.texi:3575
  7322. msgid "When @var{pattern} is used, the command returns only matching generations. Valid patterns include:"
  7323. msgstr ""
  7324. #. type: item
  7325. #: guix-git/doc/guix.texi:3577
  7326. #, no-wrap
  7327. msgid "@emph{Integers and comma-separated integers}. Both patterns denote"
  7328. msgstr ""
  7329. #. type: itemize
  7330. #: guix-git/doc/guix.texi:3580
  7331. msgid "generation numbers. For instance, @option{--list-generations=1} returns the first one."
  7332. msgstr ""
  7333. #. type: itemize
  7334. #: guix-git/doc/guix.texi:3583
  7335. msgid "And @option{--list-generations=1,8,2} outputs three generations in the specified order. Neither spaces nor trailing commas are allowed."
  7336. msgstr ""
  7337. #. type: item
  7338. #: guix-git/doc/guix.texi:3584
  7339. #, no-wrap
  7340. msgid "@emph{Ranges}. @option{--list-generations=2..9} prints the"
  7341. msgstr ""
  7342. #. type: itemize
  7343. #: guix-git/doc/guix.texi:3587
  7344. msgid "specified generations and everything in between. Note that the start of a range must be smaller than its end."
  7345. msgstr ""
  7346. #. type: itemize
  7347. #: guix-git/doc/guix.texi:3591
  7348. msgid "It is also possible to omit the endpoint. For example, @option{--list-generations=2..}, returns all generations starting from the second one."
  7349. msgstr ""
  7350. #. type: item
  7351. #: guix-git/doc/guix.texi:3592
  7352. #, no-wrap
  7353. msgid "@emph{Durations}. You can also get the last @emph{N}@tie{}days, weeks,"
  7354. msgstr ""
  7355. #. type: itemize
  7356. #: guix-git/doc/guix.texi:3596
  7357. 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."
  7358. msgstr ""
  7359. #. type: item
  7360. #: guix-git/doc/guix.texi:3598 guix-git/doc/guix.texi:4432
  7361. #, no-wrap
  7362. msgid "--delete-generations[=@var{pattern}]"
  7363. msgstr ""
  7364. #. type: itemx
  7365. #: guix-git/doc/guix.texi:3599 guix-git/doc/guix.texi:4433
  7366. #, no-wrap
  7367. msgid "-d [@var{pattern}]"
  7368. msgstr ""
  7369. #. type: table
  7370. #: guix-git/doc/guix.texi:3602 guix-git/doc/guix.texi:4436
  7371. msgid "When @var{pattern} is omitted, delete all generations except the current one."
  7372. msgstr ""
  7373. #. type: table
  7374. #: guix-git/doc/guix.texi:3608 guix-git/doc/guix.texi:4442
  7375. 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."
  7376. msgstr ""
  7377. #. type: table
  7378. #: guix-git/doc/guix.texi:3611
  7379. msgid "If the current generation matches, it is @emph{not} deleted. Also, the zeroth generation is never deleted."
  7380. msgstr ""
  7381. #. type: table
  7382. #: guix-git/doc/guix.texi:3614 guix-git/doc/guix.texi:4447
  7383. msgid "Note that deleting generations prevents rolling back to them. Consequently, this command must be used with care."
  7384. msgstr ""
  7385. #. type: cindex
  7386. #: guix-git/doc/guix.texi:3615
  7387. #, no-wrap
  7388. msgid "manifest, exporting"
  7389. msgstr ""
  7390. #. type: anchor{#1}
  7391. #: guix-git/doc/guix.texi:3617
  7392. msgid "export-manifest"
  7393. msgstr ""
  7394. #. type: item
  7395. #: guix-git/doc/guix.texi:3617
  7396. #, no-wrap
  7397. msgid "--export-manifest"
  7398. msgstr ""
  7399. #. type: table
  7400. #: guix-git/doc/guix.texi:3620
  7401. msgid "Write to standard output a manifest suitable for @option{--manifest} corresponding to the chosen profile(s)."
  7402. msgstr ""
  7403. #. type: table
  7404. #: guix-git/doc/guix.texi:3624
  7405. 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."
  7406. msgstr ""
  7407. #. type: table
  7408. #: guix-git/doc/guix.texi:3629
  7409. 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."
  7410. msgstr ""
  7411. #. type: table
  7412. #: guix-git/doc/guix.texi:3634
  7413. 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."
  7414. msgstr ""
  7415. #. type: cindex
  7416. #: guix-git/doc/guix.texi:3635
  7417. #, no-wrap
  7418. msgid "pinning, channel revisions of a profile"
  7419. msgstr ""
  7420. #. type: item
  7421. #: guix-git/doc/guix.texi:3636
  7422. #, no-wrap
  7423. msgid "--export-channels"
  7424. msgstr ""
  7425. #. type: table
  7426. #: guix-git/doc/guix.texi:3640
  7427. 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})."
  7428. msgstr ""
  7429. #. type: table
  7430. #: guix-git/doc/guix.texi:3644
  7431. msgid "Together with @option{--export-manifest}, this option provides information allowing you to replicate the current profile (@pxref{Replicating Guix})."
  7432. msgstr ""
  7433. #. type: table
  7434. #: guix-git/doc/guix.texi:3652
  7435. 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})."
  7436. msgstr ""
  7437. #. type: table
  7438. #: guix-git/doc/guix.texi:3657
  7439. 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."
  7440. msgstr ""
  7441. #. type: Plain text
  7442. #: guix-git/doc/guix.texi:3664
  7443. 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})."
  7444. msgstr ""
  7445. #. type: cindex
  7446. #: guix-git/doc/guix.texi:3669
  7447. #, no-wrap
  7448. msgid "pre-built binaries"
  7449. msgstr ""
  7450. #. type: Plain text
  7451. #: guix-git/doc/guix.texi:3675
  7452. 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."
  7453. msgstr ""
  7454. #. type: Plain text
  7455. #: guix-git/doc/guix.texi:3680
  7456. 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."
  7457. msgstr ""
  7458. #. type: cindex
  7459. #: guix-git/doc/guix.texi:3694
  7460. #, no-wrap
  7461. msgid "build farm"
  7462. msgstr ""
  7463. #. type: Plain text
  7464. #: guix-git/doc/guix.texi:3704
  7465. msgid "The @code{@value{SUBSTITUTE-SERVER}} server is a front-end to an official build farm that builds packages from Guix continuously for some architectures, and makes them available as substitutes. This is the default source of substitutes; it 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})."
  7466. msgstr ""
  7467. #. type: Plain text
  7468. #: guix-git/doc/guix.texi:3710
  7469. 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."
  7470. msgstr ""
  7471. #. type: Plain text
  7472. #: guix-git/doc/guix.texi:3719
  7473. msgid "Substitutes from the official build farm 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."
  7474. msgstr ""
  7475. #. type: cindex
  7476. #: guix-git/doc/guix.texi:3723
  7477. #, no-wrap
  7478. msgid "security"
  7479. msgstr ""
  7480. #. type: cindex
  7481. #: guix-git/doc/guix.texi:3725
  7482. #, no-wrap
  7483. msgid "access control list (ACL), for substitutes"
  7484. msgstr ""
  7485. #. type: cindex
  7486. #: guix-git/doc/guix.texi:3726
  7487. #, no-wrap
  7488. msgid "ACL (access control list), for substitutes"
  7489. msgstr ""
  7490. #. type: Plain text
  7491. #: guix-git/doc/guix.texi:3733
  7492. msgid "To allow Guix to download substitutes from @code{@value{SUBSTITUTE-SERVER}} or a mirror thereof, you must add its 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 @code{@value{SUBSTITUTE-SERVER}} to not be compromised and to serve genuine substitutes."
  7493. msgstr ""
  7494. #. type: quotation
  7495. #: guix-git/doc/guix.texi:3737
  7496. msgid "If you are using Guix System, you can skip this section: Guix System authorizes substitutes from @code{@value{SUBSTITUTE-SERVER}} by default."
  7497. msgstr ""
  7498. #. type: Plain text
  7499. #: guix-git/doc/guix.texi:3745
  7500. msgid "The public key for @code{@value{SUBSTITUTE-SERVER}} is installed along with Guix, in @code{@var{prefix}/share/guix/@value{SUBSTITUTE-SERVER}.pub}, 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:"
  7501. msgstr ""
  7502. #. type: example
  7503. #: guix-git/doc/guix.texi:3748
  7504. #, no-wrap
  7505. msgid "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER}.pub\n"
  7506. msgstr ""
  7507. #. type: Plain text
  7508. #: guix-git/doc/guix.texi:3752
  7509. msgid "Once this is in place, the output of a command like @code{guix build} should change from something like:"
  7510. msgstr ""
  7511. #. type: example
  7512. #: guix-git/doc/guix.texi:3761
  7513. #, no-wrap
  7514. msgid ""
  7515. "$ guix build emacs --dry-run\n"
  7516. "The following derivations would be built:\n"
  7517. " /gnu/store/yr7bnx8xwcayd6j95r2clmkdl1qh688w-emacs-24.3.drv\n"
  7518. " /gnu/store/x8qsh1hlhgjx6cwsjyvybnfv2i37z23w-dbus-1.6.4.tar.gz.drv\n"
  7519. " /gnu/store/1ixwp12fl950d15h2cj11c73733jay0z-alsa-lib-1.0.27.1.tar.bz2.drv\n"
  7520. " /gnu/store/nlma1pw0p603fpfiqy7kn4zm105r5dmw-util-linux-2.21.drv\n"
  7521. "@dots{}\n"
  7522. msgstr ""
  7523. #. type: Plain text
  7524. #: guix-git/doc/guix.texi:3765
  7525. msgid "to something like:"
  7526. msgstr ""
  7527. #. type: example
  7528. #: guix-git/doc/guix.texi:3774
  7529. #, no-wrap
  7530. msgid ""
  7531. "$ guix build emacs --dry-run\n"
  7532. "112.3 MB would be downloaded:\n"
  7533. " /gnu/store/pk3n22lbq6ydamyymqkkz7i69wiwjiwi-emacs-24.3\n"
  7534. " /gnu/store/2ygn4ncnhrpr61rssa6z0d9x22si0va3-libjpeg-8d\n"
  7535. " /gnu/store/71yz6lgx4dazma9dwn2mcjxaah9w77jq-cairo-1.12.16\n"
  7536. " /gnu/store/7zdhgp0n1518lvfn8mb96sxqfmvqrl7v-libxrender-0.9.7\n"
  7537. "@dots{}\n"
  7538. msgstr ""
  7539. #. type: Plain text
  7540. #: guix-git/doc/guix.texi:3781
  7541. msgid "The text changed from ``The following derivations would be built'' to ``112.3 MB would be downloaded''. This indicates that substitutes from @code{@value{SUBSTITUTE-SERVER}} are usable and will be downloaded, when possible, for future builds."
  7542. msgstr ""
  7543. #. type: cindex
  7544. #: guix-git/doc/guix.texi:3782
  7545. #, no-wrap
  7546. msgid "substitutes, how to disable"
  7547. msgstr ""
  7548. #. type: Plain text
  7549. #: guix-git/doc/guix.texi:3788
  7550. 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."
  7551. msgstr ""
  7552. #. type: cindex
  7553. #: guix-git/doc/guix.texi:3792
  7554. #, no-wrap
  7555. msgid "substitute servers, adding more"
  7556. msgstr ""
  7557. #. type: Plain text
  7558. #: guix-git/doc/guix.texi:3799
  7559. 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."
  7560. msgstr ""
  7561. #. type: Plain text
  7562. #: guix-git/doc/guix.texi:3804
  7563. 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."
  7564. msgstr ""
  7565. #. type: Plain text
  7566. #: guix-git/doc/guix.texi:3811
  7567. 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}})."
  7568. msgstr ""
  7569. #. type: Plain text
  7570. #: guix-git/doc/guix.texi:3816
  7571. 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}}. The resulting operating system configuration will look something like:"
  7572. msgstr ""
  7573. #. type: lisp
  7574. #: guix-git/doc/guix.texi:3833
  7575. #, no-wrap
  7576. msgid ""
  7577. "(operating-system\n"
  7578. " ;; @dots{}\n"
  7579. " (services\n"
  7580. " ;; Assume we're starting from '%desktop-services'. Replace it\n"
  7581. " ;; with the list of services you're actually using.\n"
  7582. " (modify-services %desktop-services\n"
  7583. " (guix-service-type config =>\n"
  7584. " (guix-configuration\n"
  7585. " (inherit config)\n"
  7586. " (substitute-urls\n"
  7587. " (append (list \"https://guix.example.org\")\n"
  7588. " %default-substitute-urls))\n"
  7589. " (authorized-keys\n"
  7590. " (append (list (local-file \"./key.pub\"))\n"
  7591. " %default-authorized-guix-keys)))))))\n"
  7592. msgstr ""
  7593. #. type: Plain text
  7594. #: guix-git/doc/guix.texi:3840
  7595. 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:"
  7596. msgstr ""
  7597. #. type: example
  7598. #: guix-git/doc/guix.texi:3844
  7599. #, no-wrap
  7600. msgid ""
  7601. "$ sudo guix system reconfigure /etc/config.scm\n"
  7602. "$ sudo herd restart guix-daemon\n"
  7603. msgstr ""
  7604. #. type: Plain text
  7605. #: guix-git/doc/guix.texi:3848
  7606. msgid "If you're running Guix on a ``foreign distro'', you would instead take the following steps to get substitutes from additional servers:"
  7607. msgstr ""
  7608. #. type: enumerate
  7609. #: guix-git/doc/guix.texi:3857
  7610. 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}}):"
  7611. msgstr ""
  7612. #. type: example
  7613. #: guix-git/doc/guix.texi:3860
  7614. #, no-wrap
  7615. msgid "@dots{} --substitute-urls='https://guix.example.org https://@value{SUBSTITUTE-SERVER}'\n"
  7616. msgstr ""
  7617. #. type: enumerate
  7618. #: guix-git/doc/guix.texi:3864
  7619. msgid "Restart the daemon. For systemd, it goes like this:"
  7620. msgstr ""
  7621. #. type: example
  7622. #: guix-git/doc/guix.texi:3868
  7623. #, no-wrap
  7624. msgid ""
  7625. "systemctl daemon-reload\n"
  7626. "systemctl restart guix-daemon.service\n"
  7627. msgstr ""
  7628. #. type: enumerate
  7629. #: guix-git/doc/guix.texi:3872
  7630. msgid "Authorize the key of the new server (@pxref{Invoking guix archive}):"
  7631. msgstr ""
  7632. #. type: example
  7633. #: guix-git/doc/guix.texi:3875
  7634. #, no-wrap
  7635. msgid "guix archive --authorize < key.pub\n"
  7636. msgstr ""
  7637. #. type: enumerate
  7638. #: guix-git/doc/guix.texi:3879
  7639. msgid "Again this assumes @file{key.pub} contains the public key that @code{guix.example.org} uses to sign substitutes."
  7640. msgstr ""
  7641. #. type: Plain text
  7642. #: guix-git/doc/guix.texi:3886
  7643. msgid "Now you're all set! Substitutes will be preferably taken from @code{https://guix.example.org}, using @code{@value{SUBSTITUTE-SERVER}} as a fallback. 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."
  7644. msgstr ""
  7645. #. type: Plain text
  7646. #: guix-git/doc/guix.texi:3890
  7647. 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."
  7648. msgstr ""
  7649. #. type: cindex
  7650. #: guix-git/doc/guix.texi:3894
  7651. #, no-wrap
  7652. msgid "digital signatures"
  7653. msgstr ""
  7654. #. type: Plain text
  7655. #: guix-git/doc/guix.texi:3898
  7656. 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."
  7657. msgstr ""
  7658. #. type: Plain text
  7659. #: guix-git/doc/guix.texi:3904
  7660. 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:"
  7661. msgstr ""
  7662. #. type: example
  7663. #: guix-git/doc/guix.texi:3907
  7664. #, no-wrap
  7665. msgid "--substitute-urls=\"https://a.example.org https://b.example.org\"\n"
  7666. msgstr ""
  7667. #. type: Plain text
  7668. #: guix-git/doc/guix.texi:3918
  7669. 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)."
  7670. msgstr ""
  7671. #. type: Plain text
  7672. #: guix-git/doc/guix.texi:3925
  7673. 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)."
  7674. msgstr ""
  7675. #. type: Plain text
  7676. #: guix-git/doc/guix.texi:3937
  7677. 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}."
  7678. msgstr ""
  7679. #. type: Plain text
  7680. #: guix-git/doc/guix.texi:3946
  7681. 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."
  7682. msgstr ""
  7683. #. type: Plain text
  7684. #: guix-git/doc/guix.texi:3960
  7685. 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."
  7686. msgstr ""
  7687. #. type: Plain text
  7688. #: guix-git/doc/guix.texi:3965
  7689. 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."
  7690. msgstr ""
  7691. #. type: cindex
  7692. #: guix-git/doc/guix.texi:3969
  7693. #, no-wrap
  7694. msgid "trust, of pre-built binaries"
  7695. msgstr ""
  7696. #. type: Plain text
  7697. #: guix-git/doc/guix.texi:3979
  7698. 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 @code{@value{SUBSTITUTE-SERVER}} substitutes can be convenient, we encourage users to also build on their own, or even run their own build farm, such that @code{@value{SUBSTITUTE-SERVER}} is 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})."
  7699. msgstr ""
  7700. #. type: Plain text
  7701. #: guix-git/doc/guix.texi:3991
  7702. 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}})."
  7703. msgstr ""
  7704. #. type: Plain text
  7705. #: guix-git/doc/guix.texi:3995
  7706. 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}."
  7707. msgstr ""
  7708. #. type: cindex
  7709. #: guix-git/doc/guix.texi:3999
  7710. #, no-wrap
  7711. msgid "multiple-output packages"
  7712. msgstr ""
  7713. #. type: cindex
  7714. #: guix-git/doc/guix.texi:4000
  7715. #, no-wrap
  7716. msgid "package outputs"
  7717. msgstr ""
  7718. #. type: cindex
  7719. #: guix-git/doc/guix.texi:4001
  7720. #, no-wrap
  7721. msgid "outputs"
  7722. msgstr ""
  7723. #. type: Plain text
  7724. #: guix-git/doc/guix.texi:4011
  7725. 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."
  7726. msgstr ""
  7727. #. type: Plain text
  7728. #: guix-git/doc/guix.texi:4019
  7729. 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:"
  7730. msgstr ""
  7731. #. type: example
  7732. #: guix-git/doc/guix.texi:4022
  7733. #, no-wrap
  7734. msgid "guix install glib\n"
  7735. msgstr ""
  7736. #. type: item
  7737. #: guix-git/doc/guix.texi:4024 guix-git/doc/guix.texi:34192
  7738. #: guix-git/doc/guix.texi:34249
  7739. #, no-wrap
  7740. msgid "documentation"
  7741. msgstr ""
  7742. #. type: Plain text
  7743. #: guix-git/doc/guix.texi:4026
  7744. msgid "The command to install its documentation is:"
  7745. msgstr ""
  7746. #. type: example
  7747. #: guix-git/doc/guix.texi:4029
  7748. #, no-wrap
  7749. msgid "guix install glib:doc\n"
  7750. msgstr ""
  7751. #. type: Plain text
  7752. #: guix-git/doc/guix.texi:4040
  7753. 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})."
  7754. msgstr ""
  7755. #. type: Plain text
  7756. #: guix-git/doc/guix.texi:4048
  7757. 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})."
  7758. msgstr ""
  7759. #. type: section
  7760. #: guix-git/doc/guix.texi:4051
  7761. #, no-wrap
  7762. msgid "Invoking @command{guix gc}"
  7763. msgstr "Invocando @command{guix gc}"
  7764. #. type: cindex
  7765. #: guix-git/doc/guix.texi:4053
  7766. #, no-wrap
  7767. msgid "garbage collector"
  7768. msgstr "coletor de lixo"
  7769. #. type: cindex
  7770. #: guix-git/doc/guix.texi:4054
  7771. #, no-wrap
  7772. msgid "disk space"
  7773. msgstr ""
  7774. #. type: Plain text
  7775. #: guix-git/doc/guix.texi:4060
  7776. 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!"
  7777. msgstr ""
  7778. #. type: Plain text
  7779. #: guix-git/doc/guix.texi:4071
  7780. 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."
  7781. msgstr ""
  7782. #. type: Plain text
  7783. #: guix-git/doc/guix.texi:4077
  7784. 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})."
  7785. msgstr ""
  7786. #. type: Plain text
  7787. #: guix-git/doc/guix.texi:4081
  7788. 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:"
  7789. msgstr ""
  7790. #. type: example
  7791. #: guix-git/doc/guix.texi:4084
  7792. #, no-wrap
  7793. msgid "guix gc -F 5G\n"
  7794. msgstr ""
  7795. #. type: Plain text
  7796. #: guix-git/doc/guix.texi:4093
  7797. 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."
  7798. msgstr ""
  7799. #. type: Plain text
  7800. #: guix-git/doc/guix.texi:4099
  7801. 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:"
  7802. msgstr ""
  7803. #. type: item
  7804. #: guix-git/doc/guix.texi:4101
  7805. #, no-wrap
  7806. msgid "--collect-garbage[=@var{min}]"
  7807. msgstr ""
  7808. #. type: itemx
  7809. #: guix-git/doc/guix.texi:4102
  7810. #, no-wrap
  7811. msgid "-C [@var{min}]"
  7812. msgstr ""
  7813. #. type: table
  7814. #: guix-git/doc/guix.texi:4106
  7815. msgid "Collect garbage---i.e., unreachable @file{/gnu/store} files and sub-directories. This is the default operation when no option is specified."
  7816. msgstr ""
  7817. #. type: table
  7818. #: guix-git/doc/guix.texi:4111
  7819. 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})."
  7820. msgstr ""
  7821. #. type: table
  7822. #: guix-git/doc/guix.texi:4113
  7823. msgid "When @var{min} is omitted, collect all the garbage."
  7824. msgstr ""
  7825. #. type: item
  7826. #: guix-git/doc/guix.texi:4114
  7827. #, no-wrap
  7828. msgid "--free-space=@var{free}"
  7829. msgstr ""
  7830. #. type: itemx
  7831. #: guix-git/doc/guix.texi:4115
  7832. #, no-wrap
  7833. msgid "-F @var{free}"
  7834. msgstr ""
  7835. #. type: table
  7836. #: guix-git/doc/guix.texi:4119
  7837. 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."
  7838. msgstr ""
  7839. #. type: table
  7840. #: guix-git/doc/guix.texi:4122
  7841. msgid "When @var{free} or more is already available in @file{/gnu/store}, do nothing and exit immediately."
  7842. msgstr ""
  7843. #. type: item
  7844. #: guix-git/doc/guix.texi:4123
  7845. #, no-wrap
  7846. msgid "--delete-generations[=@var{duration}]"
  7847. msgstr "--delete-generations[=@var{duração}]"
  7848. #. type: itemx
  7849. #: guix-git/doc/guix.texi:4124
  7850. #, no-wrap
  7851. msgid "-d [@var{duration}]"
  7852. msgstr ""
  7853. #. type: table
  7854. #: guix-git/doc/guix.texi:4128
  7855. 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}."
  7856. msgstr ""
  7857. #. type: table
  7858. #: guix-git/doc/guix.texi:4132
  7859. 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:"
  7860. msgstr ""
  7861. #. type: example
  7862. #: guix-git/doc/guix.texi:4135
  7863. #, no-wrap
  7864. msgid "guix gc -d 2m -F 10G\n"
  7865. msgstr ""
  7866. #. type: item
  7867. #: guix-git/doc/guix.texi:4137
  7868. #, no-wrap
  7869. msgid "--delete"
  7870. msgstr ""
  7871. #. type: itemx
  7872. #: guix-git/doc/guix.texi:4138
  7873. #, no-wrap
  7874. msgid "-D"
  7875. msgstr ""
  7876. #. type: table
  7877. #: guix-git/doc/guix.texi:4142
  7878. 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."
  7879. msgstr ""
  7880. #. type: item
  7881. #: guix-git/doc/guix.texi:4143
  7882. #, no-wrap
  7883. msgid "--list-failures"
  7884. msgstr "--list-failures"
  7885. #. type: table
  7886. #: guix-git/doc/guix.texi:4145
  7887. msgid "List store items corresponding to cached build failures."
  7888. msgstr ""
  7889. #. type: table
  7890. #: guix-git/doc/guix.texi:4149
  7891. msgid "This prints nothing unless the daemon was started with @option{--cache-failures} (@pxref{Invoking guix-daemon, @option{--cache-failures}})."
  7892. msgstr ""
  7893. #. type: item
  7894. #: guix-git/doc/guix.texi:4150
  7895. #, no-wrap
  7896. msgid "--list-roots"
  7897. msgstr ""
  7898. #. type: table
  7899. #: guix-git/doc/guix.texi:4153
  7900. msgid "List the GC roots owned by the user; when run as root, list @emph{all} the GC roots."
  7901. msgstr ""
  7902. #. type: item
  7903. #: guix-git/doc/guix.texi:4154
  7904. #, no-wrap
  7905. msgid "--list-busy"
  7906. msgstr ""
  7907. #. type: table
  7908. #: guix-git/doc/guix.texi:4157
  7909. msgid "List store items in use by currently running processes. These store items are effectively considered GC roots: they cannot be deleted."
  7910. msgstr ""
  7911. #. type: item
  7912. #: guix-git/doc/guix.texi:4158
  7913. #, no-wrap
  7914. msgid "--clear-failures"
  7915. msgstr "--clear-failures"
  7916. #. type: table
  7917. #: guix-git/doc/guix.texi:4160
  7918. msgid "Remove the specified store items from the failed-build cache."
  7919. msgstr ""
  7920. #. type: table
  7921. #: guix-git/doc/guix.texi:4163
  7922. msgid "Again, this option only makes sense when the daemon is started with @option{--cache-failures}. Otherwise, it does nothing."
  7923. msgstr ""
  7924. #. type: item
  7925. #: guix-git/doc/guix.texi:4164
  7926. #, no-wrap
  7927. msgid "--list-dead"
  7928. msgstr "--list-dead"
  7929. #. type: table
  7930. #: guix-git/doc/guix.texi:4167
  7931. 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."
  7932. msgstr ""
  7933. #. type: item
  7934. #: guix-git/doc/guix.texi:4168
  7935. #, no-wrap
  7936. msgid "--list-live"
  7937. msgstr "--list-live"
  7938. #. type: table
  7939. #: guix-git/doc/guix.texi:4170
  7940. msgid "Show the list of live store files and directories."
  7941. msgstr ""
  7942. #. type: Plain text
  7943. #: guix-git/doc/guix.texi:4174
  7944. msgid "In addition, the references among existing store files can be queried:"
  7945. msgstr ""
  7946. #. type: item
  7947. #: guix-git/doc/guix.texi:4177
  7948. #, no-wrap
  7949. msgid "--references"
  7950. msgstr ""
  7951. #. type: itemx
  7952. #: guix-git/doc/guix.texi:4178
  7953. #, no-wrap
  7954. msgid "--referrers"
  7955. msgstr ""
  7956. #. type: cindex
  7957. #: guix-git/doc/guix.texi:4179 guix-git/doc/guix.texi:12256
  7958. #, no-wrap
  7959. msgid "package dependencies"
  7960. msgstr ""
  7961. #. type: table
  7962. #: guix-git/doc/guix.texi:4182
  7963. msgid "List the references (respectively, the referrers) of store files given as arguments."
  7964. msgstr ""
  7965. #. type: item
  7966. #: guix-git/doc/guix.texi:4183
  7967. #, no-wrap
  7968. msgid "--requisites"
  7969. msgstr "--requisites"
  7970. #. type: itemx
  7971. #: guix-git/doc/guix.texi:4184 guix-git/doc/guix.texi:6031
  7972. #, no-wrap
  7973. msgid "-R"
  7974. msgstr ""
  7975. #. type: item
  7976. #: guix-git/doc/guix.texi:4185 guix-git/doc/guix.texi:12112
  7977. #: guix-git/doc/guix.texi:12140 guix-git/doc/guix.texi:12221
  7978. #, no-wrap
  7979. msgid "closure"
  7980. msgstr ""
  7981. #. type: table
  7982. #: guix-git/doc/guix.texi:4190
  7983. 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."
  7984. msgstr ""
  7985. #. type: table
  7986. #: guix-git/doc/guix.texi:4194
  7987. 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."
  7988. msgstr ""
  7989. #. type: item
  7990. #: guix-git/doc/guix.texi:4195
  7991. #, no-wrap
  7992. msgid "--derivers"
  7993. msgstr ""
  7994. #. type: item
  7995. #: guix-git/doc/guix.texi:4196 guix-git/doc/guix.texi:6345
  7996. #: guix-git/doc/guix.texi:11975 guix-git/doc/guix.texi:12365
  7997. #, no-wrap
  7998. msgid "derivation"
  7999. msgstr ""
  8000. #. type: table
  8001. #: guix-git/doc/guix.texi:4199
  8002. msgid "Return the derivation(s) leading to the given store items (@pxref{Derivations})."
  8003. msgstr ""
  8004. #. type: table
  8005. #: guix-git/doc/guix.texi:4201
  8006. msgid "For example, this command:"
  8007. msgstr ""
  8008. #. type: example
  8009. #: guix-git/doc/guix.texi:4204
  8010. #, no-wrap
  8011. msgid "guix gc --derivers $(guix package -I ^emacs$ | cut -f4)\n"
  8012. msgstr ""
  8013. #. type: table
  8014. #: guix-git/doc/guix.texi:4209
  8015. msgid "returns the @file{.drv} file(s) leading to the @code{emacs} package installed in your profile."
  8016. msgstr ""
  8017. #. type: table
  8018. #: guix-git/doc/guix.texi:4213
  8019. 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."
  8020. msgstr ""
  8021. #. type: Plain text
  8022. #: guix-git/doc/guix.texi:4217
  8023. msgid "Lastly, the following options allow you to check the integrity of the store and to control disk usage."
  8024. msgstr ""
  8025. #. type: item
  8026. #: guix-git/doc/guix.texi:4220
  8027. #, no-wrap
  8028. msgid "--verify[=@var{options}]"
  8029. msgstr ""
  8030. #. type: cindex
  8031. #: guix-git/doc/guix.texi:4221
  8032. #, no-wrap
  8033. msgid "integrity, of the store"
  8034. msgstr ""
  8035. #. type: cindex
  8036. #: guix-git/doc/guix.texi:4222
  8037. #, no-wrap
  8038. msgid "integrity checking"
  8039. msgstr ""
  8040. #. type: table
  8041. #: guix-git/doc/guix.texi:4224
  8042. msgid "Verify the integrity of the store."
  8043. msgstr ""
  8044. #. type: table
  8045. #: guix-git/doc/guix.texi:4227
  8046. 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}."
  8047. msgstr ""
  8048. #. type: table
  8049. #: guix-git/doc/guix.texi:4230
  8050. msgid "When provided, @var{options} must be a comma-separated list containing one or more of @code{contents} and @code{repair}."
  8051. msgstr ""
  8052. #. type: table
  8053. #: guix-git/doc/guix.texi:4236
  8054. 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."
  8055. msgstr ""
  8056. #. type: cindex
  8057. #: guix-git/doc/guix.texi:4237
  8058. #, no-wrap
  8059. msgid "repairing the store"
  8060. msgstr ""
  8061. #. type: cindex
  8062. #: guix-git/doc/guix.texi:4238 guix-git/doc/guix.texi:10852
  8063. #, no-wrap
  8064. msgid "corruption, recovering from"
  8065. msgstr ""
  8066. #. type: table
  8067. #: guix-git/doc/guix.texi:4246
  8068. 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})."
  8069. msgstr ""
  8070. #. type: item
  8071. #: guix-git/doc/guix.texi:4247
  8072. #, no-wrap
  8073. msgid "--optimize"
  8074. msgstr "--optimize"
  8075. #. type: table
  8076. #: guix-git/doc/guix.texi:4251
  8077. msgid "Optimize the store by hard-linking identical files---this is @dfn{deduplication}."
  8078. msgstr ""
  8079. #. type: table
  8080. #: guix-git/doc/guix.texi:4257
  8081. 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}."
  8082. msgstr ""
  8083. #. type: section
  8084. #: guix-git/doc/guix.texi:4261
  8085. #, no-wrap
  8086. msgid "Invoking @command{guix pull}"
  8087. msgstr "Invocando @command{guix pull}"
  8088. #. type: cindex
  8089. #: guix-git/doc/guix.texi:4263
  8090. #, no-wrap
  8091. msgid "upgrading Guix"
  8092. msgstr ""
  8093. #. type: cindex
  8094. #: guix-git/doc/guix.texi:4264
  8095. #, no-wrap
  8096. msgid "updating Guix"
  8097. msgstr ""
  8098. #. type: command{#1}
  8099. #: guix-git/doc/guix.texi:4265
  8100. #, no-wrap
  8101. msgid "guix pull"
  8102. msgstr ""
  8103. #. type: cindex
  8104. #: guix-git/doc/guix.texi:4266
  8105. #, no-wrap
  8106. msgid "pull"
  8107. msgstr ""
  8108. #. type: cindex
  8109. #: guix-git/doc/guix.texi:4267
  8110. #, no-wrap
  8111. msgid "security, @command{guix pull}"
  8112. msgstr ""
  8113. #. type: cindex
  8114. #: guix-git/doc/guix.texi:4268
  8115. #, no-wrap
  8116. msgid "authenticity, of code obtained with @command{guix pull}"
  8117. msgstr ""
  8118. #. type: Plain text
  8119. #: guix-git/doc/guix.texi:4278
  8120. 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."
  8121. msgstr ""
  8122. #. type: Plain text
  8123. #: guix-git/doc/guix.texi:4281
  8124. msgid "Specifically, @command{guix pull} downloads code from the @dfn{channels} (@pxref{Channels}) specified by one of the followings, in this order:"
  8125. msgstr ""
  8126. #. type: enumerate
  8127. #: guix-git/doc/guix.texi:4285
  8128. msgid "the @option{--channels} option;"
  8129. msgstr ""
  8130. #. type: enumerate
  8131. #: guix-git/doc/guix.texi:4287
  8132. msgid "the user's @file{~/.config/guix/channels.scm} file;"
  8133. msgstr ""
  8134. #. type: enumerate
  8135. #: guix-git/doc/guix.texi:4289
  8136. msgid "the system-wide @file{/etc/guix/channels.scm} file;"
  8137. msgstr ""
  8138. #. type: enumerate
  8139. #: guix-git/doc/guix.texi:4292
  8140. msgid "the built-in default channels specified in the @code{%default-channels} variable."
  8141. msgstr ""
  8142. #. type: Plain text
  8143. #: guix-git/doc/guix.texi:4299
  8144. 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."
  8145. msgstr ""
  8146. #. type: Plain text
  8147. #: guix-git/doc/guix.texi:4305
  8148. 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."
  8149. msgstr ""
  8150. #. type: Plain text
  8151. #: guix-git/doc/guix.texi:4311
  8152. 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}):"
  8153. msgstr ""
  8154. #. type: example
  8155. #: guix-git/doc/guix.texi:4315
  8156. #, no-wrap
  8157. msgid ""
  8158. "export PATH=\"$HOME/.config/guix/current/bin:$PATH\"\n"
  8159. "export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"\n"
  8160. msgstr ""
  8161. #. type: Plain text
  8162. #: guix-git/doc/guix.texi:4319
  8163. msgid "The @option{--list-generations} or @option{-l} option lists past generations produced by @command{guix pull}, along with details about their provenance:"
  8164. msgstr ""
  8165. #. type: example
  8166. #: guix-git/doc/guix.texi:4327
  8167. #, no-wrap
  8168. msgid ""
  8169. "$ guix pull -l\n"
  8170. "Generation 1\tJun 10 2018 00:18:18\n"
  8171. " guix 65956ad\n"
  8172. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8173. " branch: origin/master\n"
  8174. " commit: 65956ad3526ba09e1f7a40722c96c6ef7c0936fe\n"
  8175. "\n"
  8176. msgstr ""
  8177. #. type: example
  8178. #: guix-git/doc/guix.texi:4337
  8179. #, no-wrap
  8180. msgid ""
  8181. "Generation 2\tJun 11 2018 11:02:49\n"
  8182. " guix e0cc7f6\n"
  8183. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8184. " branch: origin/master\n"
  8185. " commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d\n"
  8186. " 2 new packages: keepalived, libnfnetlink\n"
  8187. " 6 packages upgraded: emacs-nix-mode@@2.0.4,\n"
  8188. " guile2.0-guix@@0.14.0-12.77a1aac, guix@@0.14.0-12.77a1aac,\n"
  8189. " heimdal@@7.5.0, milkytracker@@1.02.00, nix@@2.0.4\n"
  8190. "\n"
  8191. msgstr ""
  8192. #. type: example
  8193. #: guix-git/doc/guix.texi:4345
  8194. #, no-wrap
  8195. msgid ""
  8196. "Generation 3\tJun 13 2018 23:31:07\t(current)\n"
  8197. " guix 844cc1c\n"
  8198. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8199. " branch: origin/master\n"
  8200. " commit: 844cc1c8f394f03b404c5bb3aee086922373490c\n"
  8201. " 28 new packages: emacs-helm-ls-git, emacs-helm-mu, @dots{}\n"
  8202. " 69 packages upgraded: borg@@1.1.6, cheese@@3.28.0, @dots{}\n"
  8203. msgstr ""
  8204. #. type: Plain text
  8205. #: guix-git/doc/guix.texi:4349
  8206. msgid "@xref{Invoking guix describe, @command{guix describe}}, for other ways to describe the current status of Guix."
  8207. msgstr ""
  8208. #. type: Plain text
  8209. #: guix-git/doc/guix.texi:4354
  8210. 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:"
  8211. msgstr ""
  8212. #. type: example
  8213. #: guix-git/doc/guix.texi:4360
  8214. #, no-wrap
  8215. msgid ""
  8216. "$ guix pull --roll-back\n"
  8217. "switched from generation 3 to 2\n"
  8218. "$ guix pull --delete-generations=1\n"
  8219. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8220. msgstr ""
  8221. #. type: Plain text
  8222. #: guix-git/doc/guix.texi:4364
  8223. msgid "You can also use @command{guix package} (@pxref{Invoking guix package}) to manage the profile by naming it explicitly:"
  8224. msgstr ""
  8225. #. type: example
  8226. #: guix-git/doc/guix.texi:4369
  8227. #, no-wrap
  8228. msgid ""
  8229. "$ guix package -p ~/.config/guix/current --roll-back\n"
  8230. "switched from generation 3 to 2\n"
  8231. "$ guix package -p ~/.config/guix/current --delete-generations=1\n"
  8232. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8233. msgstr ""
  8234. #. type: Plain text
  8235. #: guix-git/doc/guix.texi:4373
  8236. msgid "The @command{guix pull} command is usually invoked with no arguments, but it supports the following options:"
  8237. msgstr ""
  8238. #. type: item
  8239. #: guix-git/doc/guix.texi:4375 guix-git/doc/guix.texi:4533
  8240. #, no-wrap
  8241. msgid "--url=@var{url}"
  8242. msgstr ""
  8243. #. type: itemx
  8244. #: guix-git/doc/guix.texi:4376 guix-git/doc/guix.texi:4534
  8245. #, no-wrap
  8246. msgid "--commit=@var{commit}"
  8247. msgstr "--commit=@var{commit}"
  8248. #. type: itemx
  8249. #: guix-git/doc/guix.texi:4377 guix-git/doc/guix.texi:4535
  8250. #, no-wrap
  8251. msgid "--branch=@var{branch}"
  8252. msgstr "--branch=@var{ramo}"
  8253. #. type: table
  8254. #: guix-git/doc/guix.texi:4381
  8255. 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}."
  8256. msgstr ""
  8257. #. type: cindex
  8258. #: guix-git/doc/guix.texi:4382 guix-git/doc/guix.texi:4979
  8259. #, no-wrap
  8260. msgid "@file{channels.scm}, configuration file"
  8261. msgstr ""
  8262. #. type: cindex
  8263. #: guix-git/doc/guix.texi:4383 guix-git/doc/guix.texi:4980
  8264. #, no-wrap
  8265. msgid "configuration file for channels"
  8266. msgstr ""
  8267. #. type: table
  8268. #: guix-git/doc/guix.texi:4387
  8269. 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)."
  8270. msgstr ""
  8271. #. type: item
  8272. #: guix-git/doc/guix.texi:4388 guix-git/doc/guix.texi:4540
  8273. #, no-wrap
  8274. msgid "--channels=@var{file}"
  8275. msgstr ""
  8276. #. type: itemx
  8277. #: guix-git/doc/guix.texi:4389 guix-git/doc/guix.texi:4541
  8278. #, no-wrap
  8279. msgid "-C @var{file}"
  8280. msgstr "-C @var{arquivo}"
  8281. #. type: table
  8282. #: guix-git/doc/guix.texi:4395
  8283. 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."
  8284. msgstr ""
  8285. #. type: cindex
  8286. #: guix-git/doc/guix.texi:4396
  8287. #, no-wrap
  8288. msgid "channel news"
  8289. msgstr ""
  8290. #. type: item
  8291. #: guix-git/doc/guix.texi:4397
  8292. #, no-wrap
  8293. msgid "--news"
  8294. msgstr ""
  8295. #. type: itemx
  8296. #: guix-git/doc/guix.texi:4398 guix-git/doc/guix.texi:5806
  8297. #: guix-git/doc/guix.texi:33161
  8298. #, no-wrap
  8299. msgid "-N"
  8300. msgstr ""
  8301. #. type: table
  8302. #: guix-git/doc/guix.texi:4402
  8303. 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})."
  8304. msgstr ""
  8305. #. type: table
  8306. #: guix-git/doc/guix.texi:4406
  8307. 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)."
  8308. msgstr ""
  8309. #. type: table
  8310. #: guix-git/doc/guix.texi:4413
  8311. 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})."
  8312. msgstr ""
  8313. #. type: table
  8314. #: guix-git/doc/guix.texi:4420
  8315. msgid "Roll back to the previous @dfn{generation} of @file{~/.config/guix/current}---i.e., undo the last transaction."
  8316. msgstr ""
  8317. #. type: table
  8318. #: guix-git/doc/guix.texi:4444
  8319. msgid "If the current generation matches, it is @emph{not} deleted."
  8320. msgstr ""
  8321. #. type: table
  8322. #: guix-git/doc/guix.texi:4450
  8323. msgid "@xref{Invoking guix describe}, for a way to display information about the current generation only."
  8324. msgstr ""
  8325. #. type: table
  8326. #: guix-git/doc/guix.texi:4454
  8327. msgid "Use @var{profile} instead of @file{~/.config/guix/current}."
  8328. msgstr ""
  8329. #. type: item
  8330. #: guix-git/doc/guix.texi:4455 guix-git/doc/guix.texi:10243
  8331. #, no-wrap
  8332. msgid "--dry-run"
  8333. msgstr ""
  8334. #. type: itemx
  8335. #: guix-git/doc/guix.texi:4456 guix-git/doc/guix.texi:10244
  8336. #: guix-git/doc/guix.texi:12094
  8337. #, no-wrap
  8338. msgid "-n"
  8339. msgstr ""
  8340. #. type: table
  8341. #: guix-git/doc/guix.texi:4459
  8342. msgid "Show which channel commit(s) would be used and what would be built or substituted but do not actually do it."
  8343. msgstr ""
  8344. #. type: item
  8345. #: guix-git/doc/guix.texi:4460 guix-git/doc/guix.texi:33180
  8346. #, no-wrap
  8347. msgid "--allow-downgrades"
  8348. msgstr ""
  8349. #. type: table
  8350. #: guix-git/doc/guix.texi:4463
  8351. msgid "Allow pulling older or unrelated revisions of channels than those currently in use."
  8352. msgstr ""
  8353. #. type: cindex
  8354. #: guix-git/doc/guix.texi:4464
  8355. #, no-wrap
  8356. msgid "downgrade attacks, protection against"
  8357. msgstr ""
  8358. #. type: table
  8359. #: guix-git/doc/guix.texi:4469
  8360. 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."
  8361. msgstr ""
  8362. #. type: quotation
  8363. #: guix-git/doc/guix.texi:4473 guix-git/doc/guix.texi:33194
  8364. msgid "Make sure you understand its security implications before using @option{--allow-downgrades}."
  8365. msgstr ""
  8366. #. type: item
  8367. #: guix-git/doc/guix.texi:4475
  8368. #, no-wrap
  8369. msgid "--disable-authentication"
  8370. msgstr ""
  8371. #. type: table
  8372. #: guix-git/doc/guix.texi:4477
  8373. msgid "Allow pulling channel code without authenticating it."
  8374. msgstr ""
  8375. #. type: cindex
  8376. #: guix-git/doc/guix.texi:4478 guix-git/doc/guix.texi:5125
  8377. #, no-wrap
  8378. msgid "authentication, of channel code"
  8379. msgstr ""
  8380. #. type: table
  8381. #: guix-git/doc/guix.texi:4483
  8382. 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."
  8383. msgstr ""
  8384. #. type: quotation
  8385. #: guix-git/doc/guix.texi:4487
  8386. msgid "Make sure you understand its security implications before using @option{--disable-authentication}."
  8387. msgstr ""
  8388. #. type: itemx
  8389. #: guix-git/doc/guix.texi:4490 guix-git/doc/guix.texi:5789
  8390. #: guix-git/doc/guix.texi:6160 guix-git/doc/guix.texi:10794
  8391. #: guix-git/doc/guix.texi:12239 guix-git/doc/guix.texi:12490
  8392. #: guix-git/doc/guix.texi:13157 guix-git/doc/guix.texi:33109
  8393. #, no-wrap
  8394. msgid "-s @var{system}"
  8395. msgstr "-s @var{sistema}"
  8396. #. type: table
  8397. #: guix-git/doc/guix.texi:4493 guix-git/doc/guix.texi:6163
  8398. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host."
  8399. msgstr ""
  8400. #. type: table
  8401. #: guix-git/doc/guix.texi:4497
  8402. msgid "Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers."
  8403. msgstr ""
  8404. #. type: Plain text
  8405. #: guix-git/doc/guix.texi:4503
  8406. 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."
  8407. msgstr ""
  8408. #. type: Plain text
  8409. #: guix-git/doc/guix.texi:4506
  8410. msgid "In addition, @command{guix pull} supports all the common build options (@pxref{Common Build Options})."
  8411. msgstr ""
  8412. #. type: section
  8413. #: guix-git/doc/guix.texi:4508
  8414. #, no-wrap
  8415. msgid "Invoking @command{guix time-machine}"
  8416. msgstr ""
  8417. #. type: command{#1}
  8418. #: guix-git/doc/guix.texi:4510
  8419. #, no-wrap
  8420. msgid "guix time-machine"
  8421. msgstr ""
  8422. #. type: cindex
  8423. #: guix-git/doc/guix.texi:4511 guix-git/doc/guix.texi:5083
  8424. #, no-wrap
  8425. msgid "pinning, channels"
  8426. msgstr ""
  8427. #. type: cindex
  8428. #: guix-git/doc/guix.texi:4512 guix-git/doc/guix.texi:4694
  8429. #: guix-git/doc/guix.texi:5084
  8430. #, no-wrap
  8431. msgid "replicating Guix"
  8432. msgstr ""
  8433. #. type: cindex
  8434. #: guix-git/doc/guix.texi:4513 guix-git/doc/guix.texi:5085
  8435. #, no-wrap
  8436. msgid "reproducibility, of Guix"
  8437. msgstr ""
  8438. #. type: Plain text
  8439. #: guix-git/doc/guix.texi:4521
  8440. 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})."
  8441. msgstr ""
  8442. #. type: Plain text
  8443. #: guix-git/doc/guix.texi:4523 guix-git/doc/guix.texi:5538
  8444. #: guix-git/doc/guix.texi:6283 guix-git/doc/guix.texi:10040
  8445. #: guix-git/doc/guix.texi:10163 guix-git/doc/guix.texi:11085
  8446. #: guix-git/doc/guix.texi:11162 guix-git/doc/guix.texi:12069
  8447. #: guix-git/doc/guix.texi:12548 guix-git/doc/guix.texi:12911
  8448. #: guix-git/doc/guix.texi:13000 guix-git/doc/guix.texi:13039
  8449. #: guix-git/doc/guix.texi:13136
  8450. msgid "The general syntax is:"
  8451. msgstr ""
  8452. #. type: example
  8453. #: guix-git/doc/guix.texi:4526
  8454. #, no-wrap
  8455. msgid "guix time-machine @var{options}@dots{} -- @var{command} @var {arg}@dots{}\n"
  8456. msgstr ""
  8457. #. type: Plain text
  8458. #: guix-git/doc/guix.texi:4531
  8459. 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}):"
  8460. msgstr ""
  8461. #. type: table
  8462. #: guix-git/doc/guix.texi:4539
  8463. 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}."
  8464. msgstr ""
  8465. #. type: table
  8466. #: guix-git/doc/guix.texi:4545
  8467. 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."
  8468. msgstr ""
  8469. #. type: Plain text
  8470. #: guix-git/doc/guix.texi:4549
  8471. 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"
  8472. msgstr ""
  8473. #. type: example
  8474. #: guix-git/doc/guix.texi:4552
  8475. #, no-wrap
  8476. msgid "guix time-machine -- build hello\n"
  8477. msgstr ""
  8478. #. type: Plain text
  8479. #: guix-git/doc/guix.texi:4557
  8480. 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!"
  8481. msgstr ""
  8482. #. type: Plain text
  8483. #: guix-git/doc/guix.texi:4561
  8484. 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})."
  8485. msgstr ""
  8486. #. type: quotation
  8487. #: guix-git/doc/guix.texi:4569
  8488. msgid "The functionality described here is a ``technology preview'' as of version @value{VERSION}. As such, the interface is subject to change."
  8489. msgstr ""
  8490. #. type: cindex
  8491. #: guix-git/doc/guix.texi:4571 guix-git/doc/guix.texi:10077
  8492. #, no-wrap
  8493. msgid "inferiors"
  8494. msgstr ""
  8495. #. type: cindex
  8496. #: guix-git/doc/guix.texi:4572
  8497. #, no-wrap
  8498. msgid "composition of Guix revisions"
  8499. msgstr ""
  8500. #. type: Plain text
  8501. #: guix-git/doc/guix.texi:4577
  8502. 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."
  8503. msgstr ""
  8504. #. type: cindex
  8505. #: guix-git/doc/guix.texi:4578 guix-git/doc/guix.texi:4643
  8506. #, no-wrap
  8507. msgid "inferior packages"
  8508. msgstr ""
  8509. #. type: Plain text
  8510. #: guix-git/doc/guix.texi:4584
  8511. 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}."
  8512. msgstr ""
  8513. #. type: Plain text
  8514. #: guix-git/doc/guix.texi:4594
  8515. 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:"
  8516. msgstr ""
  8517. #. type: lisp
  8518. #: guix-git/doc/guix.texi:4598
  8519. #, no-wrap
  8520. msgid ""
  8521. "(use-modules (guix inferior) (guix channels)\n"
  8522. " (srfi srfi-1)) ;for 'first'\n"
  8523. "\n"
  8524. msgstr ""
  8525. #. type: lisp
  8526. #: guix-git/doc/guix.texi:4607
  8527. #, no-wrap
  8528. msgid ""
  8529. "(define channels\n"
  8530. " ;; This is the old revision from which we want to\n"
  8531. " ;; extract guile-json.\n"
  8532. " (list (channel\n"
  8533. " (name 'guix)\n"
  8534. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  8535. " (commit\n"
  8536. " \"65956ad3526ba09e1f7a40722c96c6ef7c0936fe\"))))\n"
  8537. "\n"
  8538. msgstr ""
  8539. #. type: lisp
  8540. #: guix-git/doc/guix.texi:4611
  8541. #, no-wrap
  8542. msgid ""
  8543. "(define inferior\n"
  8544. " ;; An inferior representing the above revision.\n"
  8545. " (inferior-for-channels channels))\n"
  8546. "\n"
  8547. msgstr ""
  8548. #. type: lisp
  8549. #: guix-git/doc/guix.texi:4617
  8550. #, no-wrap
  8551. msgid ""
  8552. ";; Now create a manifest with the current \"guile\" package\n"
  8553. ";; and the old \"guile-json\" package.\n"
  8554. "(packages->manifest\n"
  8555. " (list (first (lookup-inferior-packages inferior \"guile-json\"))\n"
  8556. " (specification->package \"guile\")))\n"
  8557. msgstr ""
  8558. #. type: Plain text
  8559. #: guix-git/doc/guix.texi:4622
  8560. 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."
  8561. msgstr ""
  8562. #. type: Plain text
  8563. #: guix-git/doc/guix.texi:4625
  8564. msgid "The @code{(guix inferior)} module provides the following procedures to open an inferior:"
  8565. msgstr ""
  8566. #. type: deffn
  8567. #: guix-git/doc/guix.texi:4626
  8568. #, no-wrap
  8569. msgid "{Scheme Procedure} inferior-for-channels @var{channels} @"
  8570. msgstr ""
  8571. #. type: deffn
  8572. #: guix-git/doc/guix.texi:4631
  8573. 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."
  8574. msgstr ""
  8575. #. type: deffn
  8576. #: guix-git/doc/guix.texi:4634
  8577. msgid "As a side effect, this procedure may build or substitute binaries for @var{channels}, which can take time."
  8578. msgstr ""
  8579. #. type: deffn
  8580. #: guix-git/doc/guix.texi:4636
  8581. #, no-wrap
  8582. msgid "{Scheme Procedure} open-inferior @var{directory} @"
  8583. msgstr ""
  8584. #. type: deffn
  8585. #: guix-git/doc/guix.texi:4641
  8586. 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."
  8587. msgstr ""
  8588. #. type: Plain text
  8589. #: guix-git/doc/guix.texi:4646
  8590. msgid "The procedures listed below allow you to obtain and manipulate inferior packages."
  8591. msgstr ""
  8592. #. type: deffn
  8593. #: guix-git/doc/guix.texi:4647
  8594. #, no-wrap
  8595. msgid "{Scheme Procedure} inferior-packages @var{inferior}"
  8596. msgstr ""
  8597. #. type: deffn
  8598. #: guix-git/doc/guix.texi:4649
  8599. msgid "Return the list of packages known to @var{inferior}."
  8600. msgstr ""
  8601. #. type: deffn
  8602. #: guix-git/doc/guix.texi:4651
  8603. #, no-wrap
  8604. msgid "{Scheme Procedure} lookup-inferior-packages @var{inferior} @var{name} @"
  8605. msgstr ""
  8606. #. type: deffn
  8607. #: guix-git/doc/guix.texi:4656
  8608. 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}."
  8609. msgstr ""
  8610. #. type: deffn
  8611. #: guix-git/doc/guix.texi:4658
  8612. #, no-wrap
  8613. msgid "{Scheme Procedure} inferior-package? @var{obj}"
  8614. msgstr ""
  8615. #. type: deffn
  8616. #: guix-git/doc/guix.texi:4660
  8617. msgid "Return true if @var{obj} is an inferior package."
  8618. msgstr ""
  8619. #. type: deffn
  8620. #: guix-git/doc/guix.texi:4662
  8621. #, no-wrap
  8622. msgid "{Scheme Procedure} inferior-package-name @var{package}"
  8623. msgstr ""
  8624. #. type: deffnx
  8625. #: guix-git/doc/guix.texi:4663
  8626. #, no-wrap
  8627. msgid "{Scheme Procedure} inferior-package-version @var{package}"
  8628. msgstr ""
  8629. #. type: deffnx
  8630. #: guix-git/doc/guix.texi:4664
  8631. #, no-wrap
  8632. msgid "{Scheme Procedure} inferior-package-synopsis @var{package}"
  8633. msgstr ""
  8634. #. type: deffnx
  8635. #: guix-git/doc/guix.texi:4665
  8636. #, no-wrap
  8637. msgid "{Scheme Procedure} inferior-package-description @var{package}"
  8638. msgstr ""
  8639. #. type: deffnx
  8640. #: guix-git/doc/guix.texi:4666
  8641. #, no-wrap
  8642. msgid "{Scheme Procedure} inferior-package-home-page @var{package}"
  8643. msgstr ""
  8644. #. type: deffnx
  8645. #: guix-git/doc/guix.texi:4667
  8646. #, no-wrap
  8647. msgid "{Scheme Procedure} inferior-package-location @var{package}"
  8648. msgstr ""
  8649. #. type: deffnx
  8650. #: guix-git/doc/guix.texi:4668
  8651. #, no-wrap
  8652. msgid "{Scheme Procedure} inferior-package-inputs @var{package}"
  8653. msgstr ""
  8654. #. type: deffnx
  8655. #: guix-git/doc/guix.texi:4669
  8656. #, no-wrap
  8657. msgid "{Scheme Procedure} inferior-package-native-inputs @var{package}"
  8658. msgstr ""
  8659. #. type: deffnx
  8660. #: guix-git/doc/guix.texi:4670
  8661. #, no-wrap
  8662. msgid "{Scheme Procedure} inferior-package-propagated-inputs @var{package}"
  8663. msgstr ""
  8664. #. type: deffnx
  8665. #: guix-git/doc/guix.texi:4671
  8666. #, no-wrap
  8667. msgid "{Scheme Procedure} inferior-package-transitive-propagated-inputs @var{package}"
  8668. msgstr ""
  8669. #. type: deffnx
  8670. #: guix-git/doc/guix.texi:4672
  8671. #, no-wrap
  8672. msgid "{Scheme Procedure} inferior-package-native-search-paths @var{package}"
  8673. msgstr ""
  8674. #. type: deffnx
  8675. #: guix-git/doc/guix.texi:4673
  8676. #, no-wrap
  8677. msgid "{Scheme Procedure} inferior-package-transitive-native-search-paths @var{package}"
  8678. msgstr ""
  8679. #. type: deffnx
  8680. #: guix-git/doc/guix.texi:4674
  8681. #, no-wrap
  8682. msgid "{Scheme Procedure} inferior-package-search-paths @var{package}"
  8683. msgstr ""
  8684. #. type: deffn
  8685. #: guix-git/doc/guix.texi:4679
  8686. 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."
  8687. msgstr ""
  8688. #. type: Plain text
  8689. #: guix-git/doc/guix.texi:4689
  8690. 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."
  8691. msgstr ""
  8692. #. type: section
  8693. #: guix-git/doc/guix.texi:4691
  8694. #, no-wrap
  8695. msgid "Invoking @command{guix describe}"
  8696. msgstr "Invocando @command{guix describe}"
  8697. #. type: Plain text
  8698. #: guix-git/doc/guix.texi:4702
  8699. 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."
  8700. msgstr ""
  8701. #. type: Plain text
  8702. #: guix-git/doc/guix.texi:4706
  8703. 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}):"
  8704. msgstr ""
  8705. #. type: example
  8706. #: guix-git/doc/guix.texi:4714
  8707. #, no-wrap
  8708. msgid ""
  8709. "$ guix describe\n"
  8710. "Generation 10\tSep 03 2018 17:32:44\t(current)\n"
  8711. " guix e0fa68c\n"
  8712. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8713. " branch: master\n"
  8714. " commit: e0fa68c7718fffd33d81af415279d6ddb518f727\n"
  8715. msgstr ""
  8716. #. type: Plain text
  8717. #: guix-git/doc/guix.texi:4723
  8718. 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."
  8719. msgstr ""
  8720. #. type: Plain text
  8721. #: guix-git/doc/guix.texi:4726
  8722. 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:"
  8723. msgstr ""
  8724. #. type: example
  8725. #: guix-git/doc/guix.texi:4739
  8726. #, no-wrap
  8727. msgid ""
  8728. "$ guix describe -f channels\n"
  8729. "(list (channel\n"
  8730. " (name 'guix)\n"
  8731. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  8732. " (commit\n"
  8733. " \"e0fa68c7718fffd33d81af415279d6ddb518f727\")\n"
  8734. " (introduction\n"
  8735. " (make-channel-introduction\n"
  8736. " \"9edb3f66fd807b096b48283debdcddccfea34bad\"\n"
  8737. " (openpgp-fingerprint\n"
  8738. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\")))))\n"
  8739. msgstr ""
  8740. #. type: Plain text
  8741. #: guix-git/doc/guix.texi:4748
  8742. 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!"
  8743. msgstr ""
  8744. #. type: Plain text
  8745. #: guix-git/doc/guix.texi:4751
  8746. msgid "The details of the options supported by @command{guix describe} are as follows:"
  8747. msgstr ""
  8748. #. type: item
  8749. #: guix-git/doc/guix.texi:4753 guix-git/doc/guix.texi:5990
  8750. #: guix-git/doc/guix.texi:13269
  8751. #, no-wrap
  8752. msgid "--format=@var{format}"
  8753. msgstr ""
  8754. #. type: itemx
  8755. #: guix-git/doc/guix.texi:4754 guix-git/doc/guix.texi:5991
  8756. #: guix-git/doc/guix.texi:13270
  8757. #, no-wrap
  8758. msgid "-f @var{format}"
  8759. msgstr ""
  8760. #. type: table
  8761. #: guix-git/doc/guix.texi:4756 guix-git/doc/guix.texi:13272
  8762. msgid "Produce output in the specified @var{format}, one of:"
  8763. msgstr ""
  8764. #. type: item
  8765. #: guix-git/doc/guix.texi:4758
  8766. #, no-wrap
  8767. msgid "human"
  8768. msgstr ""
  8769. #. type: table
  8770. #: guix-git/doc/guix.texi:4760
  8771. msgid "produce human-readable output;"
  8772. msgstr ""
  8773. #. type: cindex
  8774. #: guix-git/doc/guix.texi:4760 guix-git/doc/guix.texi:4978
  8775. #, no-wrap
  8776. msgid "channels"
  8777. msgstr ""
  8778. #. type: table
  8779. #: guix-git/doc/guix.texi:4764
  8780. 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});"
  8781. msgstr ""
  8782. #. type: item
  8783. #: guix-git/doc/guix.texi:4764
  8784. #, no-wrap
  8785. msgid "channels-sans-intro"
  8786. msgstr ""
  8787. #. type: table
  8788. #: guix-git/doc/guix.texi:4770
  8789. 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;"
  8790. msgstr ""
  8791. #. type: item
  8792. #: guix-git/doc/guix.texi:4770 guix-git/doc/guix.texi:11348
  8793. #, no-wrap
  8794. msgid "json"
  8795. msgstr ""
  8796. #. type: cindex
  8797. #: guix-git/doc/guix.texi:4771
  8798. #, no-wrap
  8799. msgid "JSON"
  8800. msgstr ""
  8801. #. type: table
  8802. #: guix-git/doc/guix.texi:4773
  8803. msgid "produce a list of channel specifications in JSON format;"
  8804. msgstr ""
  8805. #. type: item
  8806. #: guix-git/doc/guix.texi:4773 guix-git/doc/guix.texi:13274
  8807. #, no-wrap
  8808. msgid "recutils"
  8809. msgstr ""
  8810. #. type: table
  8811. #: guix-git/doc/guix.texi:4775
  8812. msgid "produce a list of channel specifications in Recutils format."
  8813. msgstr ""
  8814. #. type: item
  8815. #: guix-git/doc/guix.texi:4777
  8816. #, no-wrap
  8817. msgid "--list-formats"
  8818. msgstr ""
  8819. #. type: table
  8820. #: guix-git/doc/guix.texi:4779
  8821. msgid "Display available formats for @option{--format} option."
  8822. msgstr ""
  8823. #. type: table
  8824. #: guix-git/doc/guix.texi:4783
  8825. msgid "Display information about @var{profile}."
  8826. msgstr ""
  8827. #. type: section
  8828. #: guix-git/doc/guix.texi:4786
  8829. #, no-wrap
  8830. msgid "Invoking @command{guix archive}"
  8831. msgstr "Invocando @command{guix archive}"
  8832. #. type: command{#1}
  8833. #: guix-git/doc/guix.texi:4788
  8834. #, no-wrap
  8835. msgid "guix archive"
  8836. msgstr ""
  8837. #. type: cindex
  8838. #: guix-git/doc/guix.texi:4789
  8839. #, no-wrap
  8840. msgid "archive"
  8841. msgstr "pacote"
  8842. #. type: Plain text
  8843. #: guix-git/doc/guix.texi:4795
  8844. 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."
  8845. msgstr ""
  8846. #. type: quotation
  8847. #: guix-git/doc/guix.texi:4799
  8848. msgid "If you're looking for a way to produce archives in a format suitable for tools other than Guix, @pxref{Invoking guix pack}."
  8849. msgstr ""
  8850. #. type: cindex
  8851. #: guix-git/doc/guix.texi:4801
  8852. #, no-wrap
  8853. msgid "exporting store items"
  8854. msgstr ""
  8855. #. type: Plain text
  8856. #: guix-git/doc/guix.texi:4803
  8857. msgid "To export store files as an archive to standard output, run:"
  8858. msgstr ""
  8859. #. type: example
  8860. #: guix-git/doc/guix.texi:4806
  8861. #, no-wrap
  8862. msgid "guix archive --export @var{options} @var{specifications}...\n"
  8863. msgstr ""
  8864. #. type: Plain text
  8865. #: guix-git/doc/guix.texi:4813
  8866. 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}:"
  8867. msgstr ""
  8868. #. type: example
  8869. #: guix-git/doc/guix.texi:4816
  8870. #, no-wrap
  8871. msgid "guix archive --export git:gui /gnu/store/...-emacs-24.3 > great.nar\n"
  8872. msgstr ""
  8873. #. type: Plain text
  8874. #: guix-git/doc/guix.texi:4821
  8875. 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})."
  8876. msgstr ""
  8877. #. type: Plain text
  8878. #: guix-git/doc/guix.texi:4824
  8879. msgid "To transfer the @code{emacs} package to a machine connected over SSH, one would run:"
  8880. msgstr ""
  8881. #. type: example
  8882. #: guix-git/doc/guix.texi:4827
  8883. #, no-wrap
  8884. msgid "guix archive --export -r emacs | ssh the-machine guix archive --import\n"
  8885. msgstr ""
  8886. #. type: Plain text
  8887. #: guix-git/doc/guix.texi:4832
  8888. msgid "Similarly, a complete user profile may be transferred from one machine to another like this:"
  8889. msgstr ""
  8890. #. type: example
  8891. #: guix-git/doc/guix.texi:4836
  8892. #, no-wrap
  8893. msgid ""
  8894. "guix archive --export -r $(readlink -f ~/.guix-profile) | \\\n"
  8895. " ssh the-machine guix archive --import\n"
  8896. msgstr ""
  8897. #. type: Plain text
  8898. #: guix-git/doc/guix.texi:4846
  8899. 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})."
  8900. msgstr ""
  8901. #. type: cindex
  8902. #: guix-git/doc/guix.texi:4847
  8903. #, no-wrap
  8904. msgid "nar, archive format"
  8905. msgstr ""
  8906. #. type: cindex
  8907. #: guix-git/doc/guix.texi:4848
  8908. #, no-wrap
  8909. msgid "normalized archive (nar)"
  8910. msgstr ""
  8911. #. type: cindex
  8912. #: guix-git/doc/guix.texi:4849
  8913. #, no-wrap
  8914. msgid "nar bundle, archive format"
  8915. msgstr ""
  8916. #. type: Plain text
  8917. #: guix-git/doc/guix.texi:4854
  8918. 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}."
  8919. msgstr ""
  8920. #. type: Plain text
  8921. #: guix-git/doc/guix.texi:4864
  8922. 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."
  8923. msgstr ""
  8924. #. type: Plain text
  8925. #: guix-git/doc/guix.texi:4868
  8926. 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."
  8927. msgstr ""
  8928. #. type: Plain text
  8929. #: guix-git/doc/guix.texi:4874
  8930. 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."
  8931. msgstr ""
  8932. #. type: Plain text
  8933. #: guix-git/doc/guix.texi:4876
  8934. msgid "The main options are:"
  8935. msgstr ""
  8936. #. type: item
  8937. #: guix-git/doc/guix.texi:4878
  8938. #, no-wrap
  8939. msgid "--export"
  8940. msgstr ""
  8941. #. type: table
  8942. #: guix-git/doc/guix.texi:4881
  8943. msgid "Export the specified store files or packages (see below). Write the resulting archive to the standard output."
  8944. msgstr ""
  8945. #. type: table
  8946. #: guix-git/doc/guix.texi:4884
  8947. msgid "Dependencies are @emph{not} included in the output, unless @option{--recursive} is passed."
  8948. msgstr ""
  8949. #. type: itemx
  8950. #: guix-git/doc/guix.texi:4885 guix-git/doc/guix.texi:11118
  8951. #: guix-git/doc/guix.texi:11220 guix-git/doc/guix.texi:11245
  8952. #: guix-git/doc/guix.texi:11423 guix-git/doc/guix.texi:11464
  8953. #: guix-git/doc/guix.texi:11511 guix-git/doc/guix.texi:11536
  8954. #: guix-git/doc/guix.texi:11552 guix-git/doc/guix.texi:11583
  8955. #, no-wrap
  8956. msgid "-r"
  8957. msgstr ""
  8958. #. type: item
  8959. #: guix-git/doc/guix.texi:4886 guix-git/doc/guix.texi:11117
  8960. #: guix-git/doc/guix.texi:11219 guix-git/doc/guix.texi:11244
  8961. #: guix-git/doc/guix.texi:11422 guix-git/doc/guix.texi:11463
  8962. #: guix-git/doc/guix.texi:11510 guix-git/doc/guix.texi:11535
  8963. #: guix-git/doc/guix.texi:11551 guix-git/doc/guix.texi:11582
  8964. #: guix-git/doc/guix.texi:11639
  8965. #, no-wrap
  8966. msgid "--recursive"
  8967. msgstr ""
  8968. #. type: table
  8969. #: guix-git/doc/guix.texi:4891
  8970. 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."
  8971. msgstr ""
  8972. #. type: item
  8973. #: guix-git/doc/guix.texi:4892
  8974. #, no-wrap
  8975. msgid "--import"
  8976. msgstr ""
  8977. #. type: table
  8978. #: guix-git/doc/guix.texi:4897
  8979. 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)."
  8980. msgstr ""
  8981. #. type: item
  8982. #: guix-git/doc/guix.texi:4898
  8983. #, no-wrap
  8984. msgid "--missing"
  8985. msgstr ""
  8986. #. type: table
  8987. #: guix-git/doc/guix.texi:4902
  8988. 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."
  8989. msgstr ""
  8990. #. type: item
  8991. #: guix-git/doc/guix.texi:4903
  8992. #, no-wrap
  8993. msgid "--generate-key[=@var{parameters}]"
  8994. msgstr ""
  8995. #. type: cindex
  8996. #: guix-git/doc/guix.texi:4904
  8997. #, no-wrap
  8998. msgid "signing, archives"
  8999. msgstr ""
  9000. #. type: table
  9001. #: guix-git/doc/guix.texi:4911
  9002. 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."
  9003. msgstr ""
  9004. #. type: table
  9005. #: guix-git/doc/guix.texi:4921
  9006. 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})."
  9007. msgstr ""
  9008. #. type: item
  9009. #: guix-git/doc/guix.texi:4922
  9010. #, no-wrap
  9011. msgid "--authorize"
  9012. msgstr ""
  9013. #. type: cindex
  9014. #: guix-git/doc/guix.texi:4923
  9015. #, no-wrap
  9016. msgid "authorizing, archives"
  9017. msgstr ""
  9018. #. type: table
  9019. #: guix-git/doc/guix.texi:4927
  9020. 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."
  9021. msgstr ""
  9022. #. type: table
  9023. #: guix-git/doc/guix.texi:4934
  9024. 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)}."
  9025. msgstr ""
  9026. #. type: item
  9027. #: guix-git/doc/guix.texi:4935
  9028. #, no-wrap
  9029. msgid "--extract=@var{directory}"
  9030. msgstr ""
  9031. #. type: itemx
  9032. #: guix-git/doc/guix.texi:4936
  9033. #, no-wrap
  9034. msgid "-x @var{directory}"
  9035. msgstr ""
  9036. #. type: table
  9037. #: guix-git/doc/guix.texi:4940
  9038. 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."
  9039. msgstr ""
  9040. #. type: table
  9041. #: guix-git/doc/guix.texi:4943
  9042. msgid "For example, the following command extracts the substitute for Emacs served by @code{@value{SUBSTITUTE-SERVER}} to @file{/tmp/emacs}:"
  9043. msgstr ""
  9044. #. type: example
  9045. #: guix-git/doc/guix.texi:4948
  9046. #, no-wrap
  9047. msgid ""
  9048. "$ wget -O - \\\n"
  9049. " https://@value{SUBSTITUTE-SERVER}/nar/gzip/@dots{}-emacs-24.5 \\\n"
  9050. " | gunzip | guix archive -x /tmp/emacs\n"
  9051. msgstr ""
  9052. #. type: table
  9053. #: guix-git/doc/guix.texi:4955
  9054. 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."
  9055. msgstr ""
  9056. #. type: table
  9057. #: guix-git/doc/guix.texi:4959
  9058. msgid "The primary purpose of this operation is to facilitate inspection of archive contents coming from possibly untrusted substitute servers (@pxref{Invoking guix challenge})."
  9059. msgstr ""
  9060. #. type: item
  9061. #: guix-git/doc/guix.texi:4960
  9062. #, no-wrap
  9063. msgid "--list"
  9064. msgstr ""
  9065. #. type: itemx
  9066. #: guix-git/doc/guix.texi:4961 guix-git/doc/guix.texi:11410
  9067. #: guix-git/doc/guix.texi:11457
  9068. #, no-wrap
  9069. msgid "-t"
  9070. msgstr ""
  9071. #. type: table
  9072. #: guix-git/doc/guix.texi:4965
  9073. 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:"
  9074. msgstr ""
  9075. #. type: example
  9076. #: guix-git/doc/guix.texi:4970
  9077. #, no-wrap
  9078. msgid ""
  9079. "$ wget -O - \\\n"
  9080. " https://@value{SUBSTITUTE-SERVER}/nar/lzip/@dots{}-emacs-26.3 \\\n"
  9081. " | lzip -d | guix archive -t\n"
  9082. msgstr ""
  9083. #. type: cindex
  9084. #: guix-git/doc/guix.texi:4981
  9085. #, no-wrap
  9086. msgid "@command{guix pull}, configuration file"
  9087. msgstr ""
  9088. #. type: cindex
  9089. #: guix-git/doc/guix.texi:4982
  9090. #, no-wrap
  9091. msgid "configuration of @command{guix pull}"
  9092. msgstr ""
  9093. #. type: Plain text
  9094. #: guix-git/doc/guix.texi:4993
  9095. 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."
  9096. msgstr ""
  9097. #. type: cindex
  9098. #: guix-git/doc/guix.texi:5011
  9099. #, no-wrap
  9100. msgid "extending the package collection (channels)"
  9101. msgstr ""
  9102. #. type: cindex
  9103. #: guix-git/doc/guix.texi:5012
  9104. #, no-wrap
  9105. msgid "variant packages (channels)"
  9106. msgstr ""
  9107. #. type: Plain text
  9108. #: guix-git/doc/guix.texi:5016
  9109. 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):"
  9110. msgstr ""
  9111. #. type: vindex
  9112. #: guix-git/doc/guix.texi:5017
  9113. #, no-wrap
  9114. msgid "%default-channels"
  9115. msgstr ""
  9116. #. type: lisp
  9117. #: guix-git/doc/guix.texi:5024
  9118. #, no-wrap
  9119. msgid ""
  9120. ";; Add variant packages to those Guix provides.\n"
  9121. "(cons (channel\n"
  9122. " (name 'variant-packages)\n"
  9123. " (url \"https://example.org/variant-packages.git\"))\n"
  9124. " %default-channels)\n"
  9125. msgstr ""
  9126. #. type: Plain text
  9127. #: guix-git/doc/guix.texi:5034
  9128. 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:"
  9129. msgstr ""
  9130. #. type: example
  9131. #: guix-git/doc/guix.texi:5049
  9132. #, no-wrap
  9133. msgid ""
  9134. "$ guix pull --list-generations\n"
  9135. "@dots{}\n"
  9136. "Generation 19\tAug 27 2018 16:20:48\n"
  9137. " guix d894ab8\n"
  9138. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9139. " branch: master\n"
  9140. " commit: d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300\n"
  9141. " variant-packages dd3df5e\n"
  9142. " repository URL: https://example.org/variant-packages.git\n"
  9143. " branch: master\n"
  9144. " commit: dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\n"
  9145. " 11 new packages: variant-gimp, variant-emacs-with-cool-features, @dots{}\n"
  9146. " 4 packages upgraded: emacs-racket-mode@@0.0.2-2.1b78827, @dots{}\n"
  9147. msgstr ""
  9148. #. type: Plain text
  9149. #: guix-git/doc/guix.texi:5057
  9150. 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."
  9151. msgstr ""
  9152. #. type: Plain text
  9153. #: guix-git/doc/guix.texi:5066
  9154. 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:"
  9155. msgstr ""
  9156. #. type: lisp
  9157. #: guix-git/doc/guix.texi:5073
  9158. #, no-wrap
  9159. msgid ""
  9160. ";; Tell 'guix pull' to use another repo.\n"
  9161. "(list (channel\n"
  9162. " (name 'guix)\n"
  9163. " (url \"https://example.org/another-guix.git\")\n"
  9164. " (branch \"super-hacks\")))\n"
  9165. msgstr ""
  9166. #. type: Plain text
  9167. #: guix-git/doc/guix.texi:5079
  9168. 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})."
  9169. msgstr ""
  9170. #. type: Plain text
  9171. #: guix-git/doc/guix.texi:5090
  9172. 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:"
  9173. msgstr ""
  9174. #. type: lisp
  9175. #: guix-git/doc/guix.texi:5101
  9176. #, no-wrap
  9177. msgid ""
  9178. ";; Deploy specific commits of my channels of interest.\n"
  9179. "(list (channel\n"
  9180. " (name 'guix)\n"
  9181. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9182. " (commit \"6298c3ffd9654d3231a6f25390b056483e8f407c\"))\n"
  9183. " (channel\n"
  9184. " (name 'variant-packages)\n"
  9185. " (url \"https://example.org/variant-packages.git\")\n"
  9186. " (commit \"dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\")))\n"
  9187. msgstr ""
  9188. #. type: Plain text
  9189. #: guix-git/doc/guix.texi:5108
  9190. 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})."
  9191. msgstr ""
  9192. #. type: Plain text
  9193. #: guix-git/doc/guix.texi:5115
  9194. 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."
  9195. msgstr ""
  9196. #. type: Plain text
  9197. #: guix-git/doc/guix.texi:5120
  9198. 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."
  9199. msgstr ""
  9200. #. type: anchor{#1}
  9201. #: guix-git/doc/guix.texi:5125
  9202. msgid "channel-authentication"
  9203. msgstr ""
  9204. #. type: Plain text
  9205. #: guix-git/doc/guix.texi:5131
  9206. 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."
  9207. msgstr ""
  9208. #. type: Plain text
  9209. #: guix-git/doc/guix.texi:5136
  9210. 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:"
  9211. msgstr ""
  9212. #. type: lisp
  9213. #: guix-git/doc/guix.texi:5146
  9214. #, no-wrap
  9215. msgid ""
  9216. "(channel\n"
  9217. " (name 'some-channel)\n"
  9218. " (url \"https://example.org/some-channel.git\")\n"
  9219. " (introduction\n"
  9220. " (make-channel-introduction\n"
  9221. " \"6f0d8cc0d88abb59c324b2990bfee2876016bb86\"\n"
  9222. " (openpgp-fingerprint\n"
  9223. " \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9224. msgstr ""
  9225. #. type: Plain text
  9226. #: guix-git/doc/guix.texi:5152
  9227. 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{}}."
  9228. msgstr ""
  9229. #. type: Plain text
  9230. #: guix-git/doc/guix.texi:5158
  9231. 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."
  9232. msgstr ""
  9233. #. type: Plain text
  9234. #: guix-git/doc/guix.texi:5160
  9235. msgid "If you're curious about the authentication mechanics, read on!"
  9236. msgstr ""
  9237. #. type: Plain text
  9238. #: guix-git/doc/guix.texi:5171
  9239. 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}."
  9240. msgstr ""
  9241. #. type: lisp
  9242. #: guix-git/doc/guix.texi:5174
  9243. #, no-wrap
  9244. msgid ""
  9245. "(use-modules (guix ci))\n"
  9246. "\n"
  9247. msgstr ""
  9248. #. type: lisp
  9249. #: guix-git/doc/guix.texi:5178
  9250. #, no-wrap
  9251. msgid ""
  9252. "(list (channel-with-substitutes-available\n"
  9253. " %default-guix-channel\n"
  9254. " \"https://ci.guix.gnu.org\"))\n"
  9255. msgstr ""
  9256. #. type: Plain text
  9257. #: guix-git/doc/guix.texi:5185
  9258. 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."
  9259. msgstr ""
  9260. #. type: cindex
  9261. #: guix-git/doc/guix.texi:5189
  9262. #, no-wrap
  9263. msgid "personal packages (channels)"
  9264. msgstr ""
  9265. #. type: cindex
  9266. #: guix-git/doc/guix.texi:5190
  9267. #, no-wrap
  9268. msgid "channels, for personal packages"
  9269. msgstr ""
  9270. #. type: Plain text
  9271. #: guix-git/doc/guix.texi:5198
  9272. 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?"
  9273. msgstr ""
  9274. #. type: quotation
  9275. #: guix-git/doc/guix.texi:5202 guix-git/doc/guix.texi:13624
  9276. #: guix-git/doc/guix.texi:19579 guix-git/doc/guix.texi:19586
  9277. #, no-wrap
  9278. msgid "Warning"
  9279. msgstr ""
  9280. #. type: quotation
  9281. #: guix-git/doc/guix.texi:5206
  9282. 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:"
  9283. msgstr ""
  9284. #. type: itemize
  9285. #: guix-git/doc/guix.texi:5214
  9286. 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."
  9287. msgstr ""
  9288. #. type: itemize
  9289. #: guix-git/doc/guix.texi:5223
  9290. 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."
  9291. msgstr ""
  9292. #. type: itemize
  9293. #: guix-git/doc/guix.texi:5227
  9294. 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."
  9295. msgstr ""
  9296. #. type: quotation
  9297. #: guix-git/doc/guix.texi:5234
  9298. 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."
  9299. msgstr ""
  9300. #. type: Plain text
  9301. #: guix-git/doc/guix.texi:5246
  9302. 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})."
  9303. msgstr ""
  9304. #. type: Plain text
  9305. #: guix-git/doc/guix.texi:5251
  9306. 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."
  9307. msgstr ""
  9308. #. type: cindex
  9309. #: guix-git/doc/guix.texi:5256
  9310. #, no-wrap
  9311. msgid "subdirectory, channels"
  9312. msgstr ""
  9313. #. type: Plain text
  9314. #: guix-git/doc/guix.texi:5260
  9315. 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:"
  9316. msgstr ""
  9317. #. type: lisp
  9318. #: guix-git/doc/guix.texi:5265
  9319. #, no-wrap
  9320. msgid ""
  9321. "(channel\n"
  9322. " (version 0)\n"
  9323. " (directory \"guix\"))\n"
  9324. msgstr ""
  9325. #. type: cindex
  9326. #: guix-git/doc/guix.texi:5270
  9327. #, no-wrap
  9328. msgid "dependencies, channels"
  9329. msgstr ""
  9330. #. type: cindex
  9331. #: guix-git/doc/guix.texi:5271
  9332. #, no-wrap
  9333. msgid "meta-data, channels"
  9334. msgstr ""
  9335. #. type: Plain text
  9336. #: guix-git/doc/guix.texi:5276
  9337. 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."
  9338. msgstr ""
  9339. #. type: Plain text
  9340. #: guix-git/doc/guix.texi:5278
  9341. msgid "The meta-data file should contain a simple S-expression like this:"
  9342. msgstr ""
  9343. #. type: lisp
  9344. #: guix-git/doc/guix.texi:5286
  9345. #, no-wrap
  9346. msgid ""
  9347. "(channel\n"
  9348. " (version 0)\n"
  9349. " (dependencies\n"
  9350. " (channel\n"
  9351. " (name some-collection)\n"
  9352. " (url \"https://example.org/first-collection.git\")\n"
  9353. "\n"
  9354. msgstr ""
  9355. #. type: lisp
  9356. #: guix-git/doc/guix.texi:5298
  9357. #, no-wrap
  9358. msgid ""
  9359. " ;; The 'introduction' bit below is optional: you would\n"
  9360. " ;; provide it for dependencies that can be authenticated.\n"
  9361. " (introduction\n"
  9362. " (channel-introduction\n"
  9363. " (version 0)\n"
  9364. " (commit \"a8883b58dc82e167c96506cf05095f37c2c2c6cd\")\n"
  9365. " (signer \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9366. " (channel\n"
  9367. " (name some-other-collection)\n"
  9368. " (url \"https://example.org/second-collection.git\")\n"
  9369. " (branch \"testing\"))))\n"
  9370. msgstr ""
  9371. #. type: Plain text
  9372. #: guix-git/doc/guix.texi:5304
  9373. 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."
  9374. msgstr ""
  9375. #. type: Plain text
  9376. #: guix-git/doc/guix.texi:5308
  9377. 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."
  9378. msgstr ""
  9379. #. type: cindex
  9380. #: guix-git/doc/guix.texi:5312
  9381. #, no-wrap
  9382. msgid "channel authorizations"
  9383. msgstr ""
  9384. #. type: anchor{#1}
  9385. #: guix-git/doc/guix.texi:5326
  9386. msgid "channel-authorizations"
  9387. msgstr ""
  9388. #. type: Plain text
  9389. #: guix-git/doc/guix.texi:5326
  9390. 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:"
  9391. msgstr ""
  9392. #. type: lisp
  9393. #: guix-git/doc/guix.texi:5329
  9394. #, no-wrap
  9395. msgid ""
  9396. ";; Example '.guix-authorizations' file.\n"
  9397. "\n"
  9398. msgstr ""
  9399. #. type: lisp
  9400. #: guix-git/doc/guix.texi:5332
  9401. #, no-wrap
  9402. msgid ""
  9403. "(authorizations\n"
  9404. " (version 0) ;current file format version\n"
  9405. "\n"
  9406. msgstr ""
  9407. #. type: lisp
  9408. #: guix-git/doc/guix.texi:5339
  9409. #, no-wrap
  9410. msgid ""
  9411. " ((\"AD17 A21E F8AE D8F1 CC02 DBD9 F8AE D8F1 765C 61E3\"\n"
  9412. " (name \"alice\"))\n"
  9413. " (\"2A39 3FFF 68F4 EF7A 3D29 12AF 68F4 EF7A 22FB B2D5\"\n"
  9414. " (name \"bob\"))\n"
  9415. " (\"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"\n"
  9416. " (name \"charlie\"))))\n"
  9417. msgstr ""
  9418. #. type: Plain text
  9419. #: guix-git/doc/guix.texi:5343
  9420. msgid "Each fingerprint is followed by optional key/value pairs, as in the example above. Currently these key/value pairs are ignored."
  9421. msgstr ""
  9422. #. type: Plain text
  9423. #: guix-git/doc/guix.texi:5348
  9424. 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?"
  9425. msgstr ""
  9426. #. type: cindex
  9427. #: guix-git/doc/guix.texi:5349
  9428. #, no-wrap
  9429. msgid "channel introduction"
  9430. msgstr ""
  9431. #. type: Plain text
  9432. #: guix-git/doc/guix.texi:5356
  9433. 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."
  9434. msgstr ""
  9435. #. type: Plain text
  9436. #: guix-git/doc/guix.texi:5363
  9437. 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:"
  9438. msgstr ""
  9439. #. type: lisp
  9440. #: guix-git/doc/guix.texi:5368
  9441. #, no-wrap
  9442. msgid ""
  9443. "(channel\n"
  9444. " (version 0)\n"
  9445. " (keyring-reference \"my-keyring-branch\"))\n"
  9446. msgstr ""
  9447. #. type: Plain text
  9448. #: guix-git/doc/guix.texi:5372
  9449. msgid "To summarize, as the author of a channel, there are three things you have to do to allow users to authenticate your code:"
  9450. msgstr ""
  9451. #. type: enumerate
  9452. #: guix-git/doc/guix.texi:5378
  9453. 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})."
  9454. msgstr ""
  9455. #. type: enumerate
  9456. #: guix-git/doc/guix.texi:5383
  9457. 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.)"
  9458. msgstr ""
  9459. #. type: enumerate
  9460. #: guix-git/doc/guix.texi:5389
  9461. 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."
  9462. msgstr ""
  9463. #. type: Plain text
  9464. #: guix-git/doc/guix.texi:5394
  9465. 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:"
  9466. msgstr ""
  9467. #. type: example
  9468. #: guix-git/doc/guix.texi:5397
  9469. #, no-wrap
  9470. msgid "guix git authenticate @var{commit} @var{signer}\n"
  9471. msgstr ""
  9472. #. type: Plain text
  9473. #: guix-git/doc/guix.texi:5402
  9474. msgid "where @var{commit} and @var{signer} are your channel introduction. @xref{Invoking guix git authenticate}, for details."
  9475. msgstr ""
  9476. #. type: Plain text
  9477. #: guix-git/doc/guix.texi:5409
  9478. 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."
  9479. msgstr ""
  9480. #. type: cindex
  9481. #: guix-git/doc/guix.texi:5413
  9482. #, no-wrap
  9483. msgid "primary URL, channels"
  9484. msgstr ""
  9485. #. type: Plain text
  9486. #: guix-git/doc/guix.texi:5416
  9487. msgid "Channel authors can indicate the primary URL of their channel's Git repository in the @file{.guix-channel} file, like so:"
  9488. msgstr ""
  9489. #. type: lisp
  9490. #: guix-git/doc/guix.texi:5421
  9491. #, no-wrap
  9492. msgid ""
  9493. "(channel\n"
  9494. " (version 0)\n"
  9495. " (url \"https://example.org/guix.git\"))\n"
  9496. msgstr ""
  9497. #. type: Plain text
  9498. #: guix-git/doc/guix.texi:5428
  9499. 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."
  9500. msgstr ""
  9501. #. type: Plain text
  9502. #: guix-git/doc/guix.texi:5432
  9503. 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."
  9504. msgstr ""
  9505. #. type: cindex
  9506. #: guix-git/doc/guix.texi:5436
  9507. #, no-wrap
  9508. msgid "news, for channels"
  9509. msgstr ""
  9510. #. type: Plain text
  9511. #: guix-git/doc/guix.texi:5440
  9512. 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."
  9513. msgstr ""
  9514. #. type: Plain text
  9515. #: guix-git/doc/guix.texi:5445
  9516. 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."
  9517. msgstr ""
  9518. #. type: Plain text
  9519. #: guix-git/doc/guix.texi:5448
  9520. msgid "To do that, channel authors must first declare the name of the news file in their @file{.guix-channel} file:"
  9521. msgstr ""
  9522. #. type: lisp
  9523. #: guix-git/doc/guix.texi:5453
  9524. #, no-wrap
  9525. msgid ""
  9526. "(channel\n"
  9527. " (version 0)\n"
  9528. " (news-file \"etc/news.txt\"))\n"
  9529. msgstr ""
  9530. #. type: Plain text
  9531. #: guix-git/doc/guix.texi:5457
  9532. msgid "The news file itself, @file{etc/news.txt} in this example, must look something like this:"
  9533. msgstr ""
  9534. #. type: lisp
  9535. #: guix-git/doc/guix.texi:5470
  9536. #, no-wrap
  9537. msgid ""
  9538. "(channel-news\n"
  9539. " (version 0)\n"
  9540. " (entry (tag \"the-bug-fix\")\n"
  9541. " (title (en \"Fixed terrible bug\")\n"
  9542. " (fr \"Oh la la\"))\n"
  9543. " (body (en \"@@emph@{Good news@}! It's fixed!\")\n"
  9544. " (eo \"Certe ĝi pli bone funkcias nun!\")))\n"
  9545. " (entry (commit \"bdcabe815cd28144a2d2b4bc3c5057b051fa9906\")\n"
  9546. " (title (en \"Added a great package\")\n"
  9547. " (ca \"Què vol dir guix?\"))\n"
  9548. " (body (en \"Don't miss the @@code@{hello@} package!\"))))\n"
  9549. msgstr ""
  9550. #. type: Plain text
  9551. #: guix-git/doc/guix.texi:5477
  9552. 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."
  9553. msgstr ""
  9554. #. type: Plain text
  9555. #: guix-git/doc/guix.texi:5482
  9556. 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."
  9557. msgstr ""
  9558. #. type: Plain text
  9559. #: guix-git/doc/guix.texi:5488
  9560. 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."
  9561. msgstr ""
  9562. #. type: Plain text
  9563. #: guix-git/doc/guix.texi:5494
  9564. 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:"
  9565. msgstr ""
  9566. #. type: example
  9567. #: guix-git/doc/guix.texi:5497
  9568. #, no-wrap
  9569. msgid "xgettext -o news.po -l scheme -ken etc/news.txt\n"
  9570. msgstr ""
  9571. #. type: Plain text
  9572. #: guix-git/doc/guix.texi:5501
  9573. 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."
  9574. msgstr ""
  9575. #. type: cindex
  9576. #: guix-git/doc/guix.texi:5506
  9577. #, no-wrap
  9578. msgid "software development"
  9579. msgstr "desenvolvimento de software"
  9580. #. type: Plain text
  9581. #: guix-git/doc/guix.texi:5510
  9582. 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."
  9583. msgstr ""
  9584. #. type: Plain text
  9585. #: guix-git/doc/guix.texi:5516
  9586. 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."
  9587. msgstr ""
  9588. #. type: section
  9589. #: guix-git/doc/guix.texi:5525
  9590. #, no-wrap
  9591. msgid "Invoking @command{guix environment}"
  9592. msgstr "Invocando @command{guix environment}"
  9593. #. type: cindex
  9594. #: guix-git/doc/guix.texi:5527
  9595. #, no-wrap
  9596. msgid "reproducible build environments"
  9597. msgstr ""
  9598. #. type: cindex
  9599. #: guix-git/doc/guix.texi:5528
  9600. #, no-wrap
  9601. msgid "development environments"
  9602. msgstr ""
  9603. #. type: command{#1}
  9604. #: guix-git/doc/guix.texi:5529
  9605. #, no-wrap
  9606. msgid "guix environment"
  9607. msgstr ""
  9608. #. type: cindex
  9609. #: guix-git/doc/guix.texi:5530
  9610. #, no-wrap
  9611. msgid "environment, package build environment"
  9612. msgstr ""
  9613. #. type: Plain text
  9614. #: guix-git/doc/guix.texi:5536
  9615. 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."
  9616. msgstr ""
  9617. #. type: example
  9618. #: guix-git/doc/guix.texi:5541
  9619. #, no-wrap
  9620. msgid "guix environment @var{options} @var{package}@dots{}\n"
  9621. msgstr ""
  9622. #. type: Plain text
  9623. #: guix-git/doc/guix.texi:5545
  9624. msgid "The following example spawns a new shell set up for the development of GNU@tie{}Guile:"
  9625. msgstr ""
  9626. #. type: example
  9627. #: guix-git/doc/guix.texi:5548
  9628. #, no-wrap
  9629. msgid "guix environment guile\n"
  9630. msgstr ""
  9631. #. type: Plain text
  9632. #: guix-git/doc/guix.texi:5565
  9633. 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.}."
  9634. msgstr ""
  9635. #. type: Plain text
  9636. #: guix-git/doc/guix.texi:5571
  9637. 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."
  9638. msgstr ""
  9639. #. type: vindex
  9640. #: guix-git/doc/guix.texi:5572
  9641. #, no-wrap
  9642. msgid "GUIX_ENVIRONMENT"
  9643. msgstr "GUIX_ENVIRONMENT"
  9644. #. type: Plain text
  9645. #: guix-git/doc/guix.texi:5578
  9646. 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}):"
  9647. msgstr ""
  9648. #. type: example
  9649. #: guix-git/doc/guix.texi:5584
  9650. #, no-wrap
  9651. msgid ""
  9652. "if [ -n \"$GUIX_ENVIRONMENT\" ]\n"
  9653. "then\n"
  9654. " export PS1=\"\\u@@\\h \\w [dev]\\$ \"\n"
  9655. "fi\n"
  9656. msgstr ""
  9657. #. type: Plain text
  9658. #: guix-git/doc/guix.texi:5588
  9659. msgid "...@: or to browse the profile:"
  9660. msgstr ""
  9661. #. type: example
  9662. #: guix-git/doc/guix.texi:5591
  9663. #, no-wrap
  9664. msgid "$ ls \"$GUIX_ENVIRONMENT/bin\"\n"
  9665. msgstr ""
  9666. #. type: Plain text
  9667. #: guix-git/doc/guix.texi:5597
  9668. 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:"
  9669. msgstr ""
  9670. #. type: example
  9671. #: guix-git/doc/guix.texi:5600
  9672. #, no-wrap
  9673. msgid "guix environment guile emacs\n"
  9674. msgstr ""
  9675. #. type: Plain text
  9676. #: guix-git/doc/guix.texi:5605
  9677. 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:"
  9678. msgstr ""
  9679. #. type: example
  9680. #: guix-git/doc/guix.texi:5608
  9681. #, no-wrap
  9682. msgid "guix environment guile -- make -j4\n"
  9683. msgstr ""
  9684. #. type: Plain text
  9685. #: guix-git/doc/guix.texi:5614
  9686. 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:"
  9687. msgstr ""
  9688. #. type: example
  9689. #: guix-git/doc/guix.texi:5617
  9690. #, no-wrap
  9691. msgid "guix environment --ad-hoc python2-numpy python-2.7 -- python\n"
  9692. msgstr ""
  9693. #. type: Plain text
  9694. #: guix-git/doc/guix.texi:5628
  9695. 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:"
  9696. msgstr ""
  9697. #. type: example
  9698. #: guix-git/doc/guix.texi:5631
  9699. #, no-wrap
  9700. msgid "guix environment --pure guix --ad-hoc git strace\n"
  9701. msgstr ""
  9702. #. type: item
  9703. #: guix-git/doc/guix.texi:5633 guix-git/doc/guix.texi:5794
  9704. #: guix-git/doc/guix.texi:13025 guix-git/doc/guix.texi:33068
  9705. #, no-wrap
  9706. msgid "container"
  9707. msgstr "recipiente"
  9708. #. type: Plain text
  9709. #: guix-git/doc/guix.texi:5641
  9710. 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:"
  9711. msgstr ""
  9712. #. type: example
  9713. #: guix-git/doc/guix.texi:5644
  9714. #, no-wrap
  9715. msgid "guix environment --ad-hoc --container guile -- guile\n"
  9716. msgstr ""
  9717. #. type: quotation
  9718. #: guix-git/doc/guix.texi:5648
  9719. msgid "The @option{--container} option requires Linux-libre 3.19 or newer."
  9720. msgstr ""
  9721. #. type: cindex
  9722. #: guix-git/doc/guix.texi:5650
  9723. #, no-wrap
  9724. msgid "certificates"
  9725. msgstr ""
  9726. #. type: Plain text
  9727. #: guix-git/doc/guix.texi:5657
  9728. 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."
  9729. msgstr ""
  9730. #. type: example
  9731. #: guix-git/doc/guix.texi:5664
  9732. #, no-wrap
  9733. msgid ""
  9734. "guix environment --preserve='^DISPLAY$' --container --network \\\n"
  9735. " --expose=/etc/machine-id \\\n"
  9736. " --expose=/etc/ssl/certs/ \\\n"
  9737. " --share=$HOME/.local/share/eolie/=$HOME/.local/share/eolie/ \\\n"
  9738. " --ad-hoc eolie nss-certs dbus -- eolie\n"
  9739. msgstr ""
  9740. #. type: Plain text
  9741. #: guix-git/doc/guix.texi:5667
  9742. msgid "The available options are summarized below."
  9743. msgstr ""
  9744. #. type: item
  9745. #: guix-git/doc/guix.texi:5669 guix-git/doc/guix.texi:6205
  9746. #: guix-git/doc/guix.texi:10863 guix-git/doc/guix.texi:33165
  9747. #, no-wrap
  9748. msgid "--root=@var{file}"
  9749. msgstr "--root=@var{arquivo}"
  9750. #. type: itemx
  9751. #: guix-git/doc/guix.texi:5670 guix-git/doc/guix.texi:6206
  9752. #: guix-git/doc/guix.texi:10864 guix-git/doc/guix.texi:33166
  9753. #, no-wrap
  9754. msgid "-r @var{file}"
  9755. msgstr "-r @var{arquivo}"
  9756. #. type: cindex
  9757. #: guix-git/doc/guix.texi:5671
  9758. #, no-wrap
  9759. msgid "persistent environment"
  9760. msgstr "ambiente persistente"
  9761. #. type: cindex
  9762. #: guix-git/doc/guix.texi:5672
  9763. #, no-wrap
  9764. msgid "garbage collector root, for environments"
  9765. msgstr ""
  9766. #. type: table
  9767. #: guix-git/doc/guix.texi:5675
  9768. msgid "Make @var{file} a symlink to the profile for this environment, and register it as a garbage collector root."
  9769. msgstr ""
  9770. #. type: table
  9771. #: guix-git/doc/guix.texi:5678
  9772. msgid "This is useful if you want to protect your environment from garbage collection, to make it ``persistent''."
  9773. msgstr ""
  9774. #. type: table
  9775. #: guix-git/doc/guix.texi:5684
  9776. 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."
  9777. msgstr ""
  9778. #. type: item
  9779. #: guix-git/doc/guix.texi:5685 guix-git/doc/guix.texi:6137
  9780. #: guix-git/doc/guix.texi:10709 guix-git/doc/guix.texi:11684
  9781. #: guix-git/doc/guix.texi:12479 guix-git/doc/guix.texi:33100
  9782. #, no-wrap
  9783. msgid "--expression=@var{expr}"
  9784. msgstr ""
  9785. #. type: itemx
  9786. #: guix-git/doc/guix.texi:5686 guix-git/doc/guix.texi:6138
  9787. #: guix-git/doc/guix.texi:10710 guix-git/doc/guix.texi:11685
  9788. #: guix-git/doc/guix.texi:12480 guix-git/doc/guix.texi:33101
  9789. #, no-wrap
  9790. msgid "-e @var{expr}"
  9791. msgstr ""
  9792. #. type: table
  9793. #: guix-git/doc/guix.texi:5689
  9794. msgid "Create an environment for the package or list of packages that @var{expr} evaluates to."
  9795. msgstr ""
  9796. #. type: table
  9797. #: guix-git/doc/guix.texi:5691
  9798. msgid "For example, running:"
  9799. msgstr ""
  9800. #. type: example
  9801. #: guix-git/doc/guix.texi:5694
  9802. #, no-wrap
  9803. msgid "guix environment -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  9804. msgstr ""
  9805. #. type: table
  9806. #: guix-git/doc/guix.texi:5698
  9807. msgid "starts a shell with the environment for this specific variant of the PETSc package."
  9808. msgstr ""
  9809. #. type: table
  9810. #: guix-git/doc/guix.texi:5700
  9811. msgid "Running:"
  9812. msgstr ""
  9813. #. type: example
  9814. #: guix-git/doc/guix.texi:5703
  9815. #, no-wrap
  9816. msgid "guix environment --ad-hoc -e '(@@ (gnu) %base-packages)'\n"
  9817. msgstr ""
  9818. #. type: table
  9819. #: guix-git/doc/guix.texi:5706
  9820. msgid "starts a shell with all the base system packages available."
  9821. msgstr ""
  9822. #. type: table
  9823. #: guix-git/doc/guix.texi:5709
  9824. msgid "The above commands only use the default output of the given packages. To select other outputs, two element tuples can be specified:"
  9825. msgstr ""
  9826. #. type: example
  9827. #: guix-git/doc/guix.texi:5712
  9828. #, no-wrap
  9829. msgid "guix environment --ad-hoc -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  9830. msgstr ""
  9831. #. type: item
  9832. #: guix-git/doc/guix.texi:5714
  9833. #, no-wrap
  9834. msgid "--load=@var{file}"
  9835. msgstr "--load=@var{arquivo}"
  9836. #. type: itemx
  9837. #: guix-git/doc/guix.texi:5715
  9838. #, no-wrap
  9839. msgid "-l @var{file}"
  9840. msgstr "-l @var{arquivo}"
  9841. #. type: table
  9842. #: guix-git/doc/guix.texi:5718
  9843. msgid "Create an environment for the package or list of packages that the code within @var{file} evaluates to."
  9844. msgstr ""
  9845. #. type: lisp
  9846. #: guix-git/doc/guix.texi:5724
  9847. #, no-wrap
  9848. msgid "@verbatiminclude environment-gdb.scm\n"
  9849. msgstr ""
  9850. #. type: table
  9851. #: guix-git/doc/guix.texi:5731
  9852. 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."
  9853. msgstr ""
  9854. #. type: table
  9855. #: guix-git/doc/guix.texi:5735
  9856. msgid "This is similar to the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files."
  9857. msgstr ""
  9858. #. type: item
  9859. #: guix-git/doc/guix.texi:5736
  9860. #, no-wrap
  9861. msgid "--ad-hoc"
  9862. msgstr ""
  9863. #. type: table
  9864. #: guix-git/doc/guix.texi:5741
  9865. 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."
  9866. msgstr ""
  9867. #. type: table
  9868. #: guix-git/doc/guix.texi:5743
  9869. msgid "For instance, the command:"
  9870. msgstr ""
  9871. #. type: example
  9872. #: guix-git/doc/guix.texi:5746
  9873. #, no-wrap
  9874. msgid "guix environment --ad-hoc guile guile-sdl -- guile\n"
  9875. msgstr ""
  9876. #. type: table
  9877. #: guix-git/doc/guix.texi:5750
  9878. msgid "runs @command{guile} in an environment where Guile and Guile-SDL are available."
  9879. msgstr ""
  9880. #. type: table
  9881. #: guix-git/doc/guix.texi:5755
  9882. 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})."
  9883. msgstr ""
  9884. #. type: table
  9885. #: guix-git/doc/guix.texi:5761
  9886. 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."
  9887. msgstr ""
  9888. #. type: item
  9889. #: guix-git/doc/guix.texi:5762
  9890. #, no-wrap
  9891. msgid "--pure"
  9892. msgstr ""
  9893. #. type: table
  9894. #: guix-git/doc/guix.texi:5766
  9895. 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."
  9896. msgstr ""
  9897. #. type: item
  9898. #: guix-git/doc/guix.texi:5767
  9899. #, no-wrap
  9900. msgid "--preserve=@var{regexp}"
  9901. msgstr ""
  9902. #. type: itemx
  9903. #: guix-git/doc/guix.texi:5768
  9904. #, no-wrap
  9905. msgid "-E @var{regexp}"
  9906. msgstr ""
  9907. #. type: table
  9908. #: guix-git/doc/guix.texi:5773
  9909. 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."
  9910. msgstr ""
  9911. #. type: example
  9912. #: guix-git/doc/guix.texi:5777
  9913. #, no-wrap
  9914. msgid ""
  9915. "guix environment --pure --preserve=^SLURM --ad-hoc openmpi @dots{} \\\n"
  9916. " -- mpirun @dots{}\n"
  9917. msgstr ""
  9918. #. type: table
  9919. #: guix-git/doc/guix.texi:5783
  9920. 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.)."
  9921. msgstr ""
  9922. #. type: item
  9923. #: guix-git/doc/guix.texi:5784
  9924. #, no-wrap
  9925. msgid "--search-paths"
  9926. msgstr "--search-paths"
  9927. #. type: table
  9928. #: guix-git/doc/guix.texi:5787
  9929. msgid "Display the environment variable definitions that make up the environment."
  9930. msgstr ""
  9931. #. type: table
  9932. #: guix-git/doc/guix.texi:5791
  9933. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}."
  9934. msgstr ""
  9935. #. type: item
  9936. #: guix-git/doc/guix.texi:5792
  9937. #, no-wrap
  9938. msgid "--container"
  9939. msgstr ""
  9940. #. type: itemx
  9941. #: guix-git/doc/guix.texi:5793
  9942. #, no-wrap
  9943. msgid "-C"
  9944. msgstr "-C"
  9945. #. type: table
  9946. #: guix-git/doc/guix.texi:5800
  9947. 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."
  9948. msgstr ""
  9949. #. type: table
  9950. #: guix-git/doc/guix.texi:5804
  9951. 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)."
  9952. msgstr ""
  9953. #. type: item
  9954. #: guix-git/doc/guix.texi:5805 guix-git/doc/guix.texi:33160
  9955. #, no-wrap
  9956. msgid "--network"
  9957. msgstr ""
  9958. #. type: table
  9959. #: guix-git/doc/guix.texi:5810
  9960. msgid "For containers, share the network namespace with the host system. Containers created without this flag only have access to the loopback device."
  9961. msgstr ""
  9962. #. type: item
  9963. #: guix-git/doc/guix.texi:5811
  9964. #, no-wrap
  9965. msgid "--link-profile"
  9966. msgstr ""
  9967. #. type: itemx
  9968. #: guix-git/doc/guix.texi:5812
  9969. #, no-wrap
  9970. msgid "-P"
  9971. msgstr ""
  9972. #. type: table
  9973. #: guix-git/doc/guix.texi:5820
  9974. 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."
  9975. msgstr ""
  9976. #. type: table
  9977. #: guix-git/doc/guix.texi:5826
  9978. 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."
  9979. msgstr ""
  9980. #. type: item
  9981. #: guix-git/doc/guix.texi:5827 guix-git/doc/guix.texi:12612
  9982. #, no-wrap
  9983. msgid "--user=@var{user}"
  9984. msgstr ""
  9985. #. type: itemx
  9986. #: guix-git/doc/guix.texi:5828 guix-git/doc/guix.texi:12613
  9987. #, no-wrap
  9988. msgid "-u @var{user}"
  9989. msgstr "-u @var{usuário}"
  9990. #. type: table
  9991. #: guix-git/doc/guix.texi:5835
  9992. 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."
  9993. msgstr ""
  9994. #. type: table
  9995. #: guix-git/doc/guix.texi:5840
  9996. 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."
  9997. msgstr ""
  9998. #. type: example
  9999. #: guix-git/doc/guix.texi:5847
  10000. #, no-wrap
  10001. msgid ""
  10002. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  10003. "cd $HOME/wd\n"
  10004. "guix environment --container --user=foo \\\n"
  10005. " --expose=$HOME/test \\\n"
  10006. " --expose=/tmp/target=$HOME/target\n"
  10007. msgstr ""
  10008. #. type: table
  10009. #: guix-git/doc/guix.texi:5852
  10010. 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."
  10011. msgstr ""
  10012. #. type: item
  10013. #: guix-git/doc/guix.texi:5853
  10014. #, no-wrap
  10015. msgid "--no-cwd"
  10016. msgstr ""
  10017. #. type: table
  10018. #: guix-git/doc/guix.texi:5860
  10019. 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}."
  10020. msgstr ""
  10021. #. type: item
  10022. #: guix-git/doc/guix.texi:5861
  10023. #, no-wrap
  10024. msgid "--expose=@var{source}[=@var{target}]"
  10025. msgstr "--expose=@var{fonte}[=@var{alvo}]"
  10026. #. type: itemx
  10027. #: guix-git/doc/guix.texi:5862
  10028. #, no-wrap
  10029. msgid "--share=@var{source}[=@var{target}]"
  10030. msgstr "--share=@var{fonte}[=@var{alvo}]"
  10031. #. type: table
  10032. #: guix-git/doc/guix.texi:5868
  10033. 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."
  10034. msgstr ""
  10035. #. type: table
  10036. #: guix-git/doc/guix.texi:5872
  10037. 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:"
  10038. msgstr ""
  10039. #. type: example
  10040. #: guix-git/doc/guix.texi:5875
  10041. #, no-wrap
  10042. msgid "guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile\n"
  10043. msgstr ""
  10044. #. type: Plain text
  10045. #: guix-git/doc/guix.texi:5883
  10046. 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})."
  10047. msgstr ""
  10048. #. type: section
  10049. #: guix-git/doc/guix.texi:5885
  10050. #, no-wrap
  10051. msgid "Invoking @command{guix pack}"
  10052. msgstr "Invocando @command{guix pack}"
  10053. #. type: Plain text
  10054. #: guix-git/doc/guix.texi:5891
  10055. 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."
  10056. msgstr ""
  10057. #. type: quotation
  10058. #: guix-git/doc/guix.texi:5896
  10059. 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}."
  10060. msgstr ""
  10061. #. type: cindex
  10062. #: guix-git/doc/guix.texi:5898
  10063. #, no-wrap
  10064. msgid "pack"
  10065. msgstr ""
  10066. #. type: cindex
  10067. #: guix-git/doc/guix.texi:5899
  10068. #, no-wrap
  10069. msgid "bundle"
  10070. msgstr ""
  10071. #. type: cindex
  10072. #: guix-git/doc/guix.texi:5900
  10073. #, no-wrap
  10074. msgid "application bundle"
  10075. msgstr ""
  10076. #. type: cindex
  10077. #: guix-git/doc/guix.texi:5901
  10078. #, no-wrap
  10079. msgid "software bundle"
  10080. msgstr ""
  10081. #. type: Plain text
  10082. #: guix-git/doc/guix.texi:5910
  10083. 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."
  10084. msgstr ""
  10085. #. type: Plain text
  10086. #: guix-git/doc/guix.texi:5913
  10087. msgid "For example, to create a bundle containing Guile, Emacs, Geiser, and all their dependencies, you can run:"
  10088. msgstr ""
  10089. #. type: example
  10090. #: guix-git/doc/guix.texi:5918
  10091. #, no-wrap
  10092. msgid ""
  10093. "$ guix pack guile emacs geiser\n"
  10094. "@dots{}\n"
  10095. "/gnu/store/@dots{}-pack.tar.gz\n"
  10096. msgstr ""
  10097. #. type: Plain text
  10098. #: guix-git/doc/guix.texi:5926
  10099. 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})."
  10100. msgstr ""
  10101. #. type: Plain text
  10102. #: guix-git/doc/guix.texi:5931
  10103. 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:"
  10104. msgstr ""
  10105. #. type: example
  10106. #: guix-git/doc/guix.texi:5934
  10107. #, no-wrap
  10108. msgid "guix pack -S /opt/gnu/bin=bin guile emacs geiser\n"
  10109. msgstr ""
  10110. #. type: Plain text
  10111. #: guix-git/doc/guix.texi:5938
  10112. msgid "That way, users can happily type @file{/opt/gnu/bin/guile} and enjoy."
  10113. msgstr ""
  10114. #. type: cindex
  10115. #: guix-git/doc/guix.texi:5939
  10116. #, no-wrap
  10117. msgid "relocatable binaries, with @command{guix pack}"
  10118. msgstr ""
  10119. #. type: Plain text
  10120. #: guix-git/doc/guix.texi:5947
  10121. 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}."
  10122. msgstr ""
  10123. #. type: cindex
  10124. #: guix-git/doc/guix.texi:5948
  10125. #, no-wrap
  10126. msgid "Docker, build an image with guix pack"
  10127. msgstr ""
  10128. #. type: Plain text
  10129. #: guix-git/doc/guix.texi:5951
  10130. msgid "Alternatively, you can produce a pack in the Docker image format using the following command:"
  10131. msgstr ""
  10132. #. type: example
  10133. #: guix-git/doc/guix.texi:5954
  10134. #, no-wrap
  10135. msgid "guix pack -f docker -S /bin=bin guile guile-readline\n"
  10136. msgstr ""
  10137. #. type: Plain text
  10138. #: guix-git/doc/guix.texi:5959
  10139. msgid "The result is a tarball that can be passed to the @command{docker load} command, followed by @code{docker run}:"
  10140. msgstr ""
  10141. #. type: example
  10142. #: guix-git/doc/guix.texi:5963
  10143. #, no-wrap
  10144. msgid ""
  10145. "docker load < @var{file}\n"
  10146. "docker run -ti guile-guile-readline /bin/guile\n"
  10147. msgstr ""
  10148. #. type: Plain text
  10149. #: guix-git/doc/guix.texi:5970
  10150. 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."
  10151. msgstr ""
  10152. #. type: cindex
  10153. #: guix-git/doc/guix.texi:5971
  10154. #, no-wrap
  10155. msgid "Singularity, build an image with guix pack"
  10156. msgstr ""
  10157. #. type: cindex
  10158. #: guix-git/doc/guix.texi:5972
  10159. #, no-wrap
  10160. msgid "SquashFS, build an image with guix pack"
  10161. msgstr ""
  10162. #. type: Plain text
  10163. #: guix-git/doc/guix.texi:5975
  10164. msgid "Yet another option is to produce a SquashFS image with the following command:"
  10165. msgstr ""
  10166. #. type: example
  10167. #: guix-git/doc/guix.texi:5978
  10168. #, no-wrap
  10169. msgid "guix pack -f squashfs bash guile emacs geiser\n"
  10170. msgstr ""
  10171. #. type: Plain text
  10172. #: guix-git/doc/guix.texi:5986
  10173. 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}."
  10174. msgstr ""
  10175. #. type: Plain text
  10176. #: guix-git/doc/guix.texi:5988
  10177. msgid "Several command-line options allow you to customize your pack:"
  10178. msgstr ""
  10179. #. type: table
  10180. #: guix-git/doc/guix.texi:5993
  10181. msgid "Produce a pack in the given @var{format}."
  10182. msgstr ""
  10183. #. type: table
  10184. #: guix-git/doc/guix.texi:5995
  10185. msgid "The available formats are:"
  10186. msgstr ""
  10187. #. type: item
  10188. #: guix-git/doc/guix.texi:5997
  10189. #, no-wrap
  10190. msgid "tarball"
  10191. msgstr "tarball"
  10192. #. type: table
  10193. #: guix-git/doc/guix.texi:6000
  10194. msgid "This is the default format. It produces a tarball containing all the specified binaries and symlinks."
  10195. msgstr ""
  10196. #. type: item
  10197. #: guix-git/doc/guix.texi:6001
  10198. #, no-wrap
  10199. msgid "docker"
  10200. msgstr ""
  10201. #. type: table
  10202. #: guix-git/doc/guix.texi:6007
  10203. 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."
  10204. msgstr ""
  10205. #. type: item
  10206. #: guix-git/doc/guix.texi:6008
  10207. #, no-wrap
  10208. msgid "squashfs"
  10209. msgstr ""
  10210. #. type: table
  10211. #: guix-git/doc/guix.texi:6012
  10212. 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."
  10213. msgstr ""
  10214. #. type: quotation
  10215. #: guix-git/doc/guix.texi:6018
  10216. 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:"
  10217. msgstr ""
  10218. #. type: example
  10219. #: guix-git/doc/guix.texi:6021
  10220. #, no-wrap
  10221. msgid "guix pack -f squashfs bash @dots{}\n"
  10222. msgstr ""
  10223. #. type: quotation
  10224. #: guix-git/doc/guix.texi:6026
  10225. 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."
  10226. msgstr ""
  10227. #. type: cindex
  10228. #: guix-git/doc/guix.texi:6029
  10229. #, no-wrap
  10230. msgid "relocatable binaries"
  10231. msgstr ""
  10232. #. type: item
  10233. #: guix-git/doc/guix.texi:6030
  10234. #, no-wrap
  10235. msgid "--relocatable"
  10236. msgstr "--relocatable"
  10237. #. type: table
  10238. #: guix-git/doc/guix.texi:6034
  10239. msgid "Produce @dfn{relocatable binaries}---i.e., binaries that can be placed anywhere in the file system hierarchy and run from there."
  10240. msgstr ""
  10241. #. type: table
  10242. #: guix-git/doc/guix.texi:6042
  10243. 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."
  10244. msgstr ""
  10245. #. type: table
  10246. #: guix-git/doc/guix.texi:6044
  10247. msgid "For example, if you create a pack containing Bash with:"
  10248. msgstr ""
  10249. #. type: example
  10250. #: guix-git/doc/guix.texi:6047
  10251. #, no-wrap
  10252. msgid "guix pack -RR -S /mybin=bin bash\n"
  10253. msgstr ""
  10254. #. type: table
  10255. #: guix-git/doc/guix.texi:6052
  10256. msgid "...@: you can copy that pack to a machine that lacks Guix, and from your home directory as a normal user, run:"
  10257. msgstr ""
  10258. #. type: example
  10259. #: guix-git/doc/guix.texi:6056
  10260. #, no-wrap
  10261. msgid ""
  10262. "tar xf pack.tar.gz\n"
  10263. "./mybin/sh\n"
  10264. msgstr ""
  10265. #. type: table
  10266. #: guix-git/doc/guix.texi:6064
  10267. 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."
  10268. msgstr ""
  10269. #. type: quotation
  10270. #: guix-git/doc/guix.texi:6070
  10271. 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."
  10272. msgstr ""
  10273. #. type: quotation
  10274. #: guix-git/doc/guix.texi:6076
  10275. 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:"
  10276. msgstr ""
  10277. #. type: item
  10278. #: guix-git/doc/guix.texi:6078 guix-git/doc/guix.texi:16223
  10279. #, no-wrap
  10280. msgid "default"
  10281. msgstr ""
  10282. #. type: table
  10283. #: guix-git/doc/guix.texi:6081
  10284. msgid "Try user namespaces and fall back to PRoot if user namespaces are not supported (see below)."
  10285. msgstr ""
  10286. #. type: item
  10287. #: guix-git/doc/guix.texi:6082
  10288. #, no-wrap
  10289. msgid "performance"
  10290. msgstr ""
  10291. #. type: table
  10292. #: guix-git/doc/guix.texi:6085
  10293. msgid "Try user namespaces and fall back to Fakechroot if user namespaces are not supported (see below)."
  10294. msgstr ""
  10295. #. type: item
  10296. #: guix-git/doc/guix.texi:6086
  10297. #, no-wrap
  10298. msgid "userns"
  10299. msgstr ""
  10300. #. type: table
  10301. #: guix-git/doc/guix.texi:6089
  10302. msgid "Run the program through user namespaces and abort if they are not supported."
  10303. msgstr ""
  10304. #. type: item
  10305. #: guix-git/doc/guix.texi:6090
  10306. #, no-wrap
  10307. msgid "proot"
  10308. msgstr ""
  10309. #. type: table
  10310. #: guix-git/doc/guix.texi:6097
  10311. 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."
  10312. msgstr ""
  10313. #. type: item
  10314. #: guix-git/doc/guix.texi:6098
  10315. #, no-wrap
  10316. msgid "fakechroot"
  10317. msgstr ""
  10318. #. type: table
  10319. #: guix-git/doc/guix.texi:6106
  10320. 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."
  10321. msgstr ""
  10322. #. type: vindex
  10323. #: guix-git/doc/guix.texi:6108
  10324. #, no-wrap
  10325. msgid "GUIX_EXECUTION_ENGINE"
  10326. msgstr ""
  10327. #. type: quotation
  10328. #: guix-git/doc/guix.texi:6112
  10329. 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."
  10330. msgstr ""
  10331. #. type: cindex
  10332. #: guix-git/doc/guix.texi:6114
  10333. #, no-wrap
  10334. msgid "entry point, for Docker images"
  10335. msgstr ""
  10336. #. type: item
  10337. #: guix-git/doc/guix.texi:6115
  10338. #, no-wrap
  10339. msgid "--entry-point=@var{command}"
  10340. msgstr ""
  10341. #. type: table
  10342. #: guix-git/doc/guix.texi:6120
  10343. 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."
  10344. msgstr ""
  10345. #. type: table
  10346. #: guix-git/doc/guix.texi:6124
  10347. 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:"
  10348. msgstr ""
  10349. #. type: example
  10350. #: guix-git/doc/guix.texi:6127
  10351. #, no-wrap
  10352. msgid "guix pack -f docker --entry-point=bin/guile guile\n"
  10353. msgstr ""
  10354. #. type: table
  10355. #: guix-git/doc/guix.texi:6131
  10356. msgid "The resulting pack can easily be loaded and @code{docker run} with no extra arguments will spawn @code{bin/guile}:"
  10357. msgstr ""
  10358. #. type: example
  10359. #: guix-git/doc/guix.texi:6135
  10360. #, no-wrap
  10361. msgid ""
  10362. "docker load -i pack.tar.gz\n"
  10363. "docker run @var{image-id}\n"
  10364. msgstr ""
  10365. #. type: table
  10366. #: guix-git/doc/guix.texi:6140 guix-git/doc/guix.texi:11687
  10367. #: guix-git/doc/guix.texi:12482
  10368. msgid "Consider the package @var{expr} evaluates to."
  10369. msgstr ""
  10370. #. type: table
  10371. #: guix-git/doc/guix.texi:6144
  10372. 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}})."
  10373. msgstr ""
  10374. #. type: table
  10375. #: guix-git/doc/guix.texi:6150
  10376. 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."
  10377. msgstr ""
  10378. #. type: table
  10379. #: guix-git/doc/guix.texi:6158
  10380. 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."
  10381. msgstr ""
  10382. #. type: item
  10383. #: guix-git/doc/guix.texi:6164 guix-git/doc/guix.texi:10827
  10384. #, no-wrap
  10385. msgid "--target=@var{triplet}"
  10386. msgstr ""
  10387. #. type: cindex
  10388. #: guix-git/doc/guix.texi:6165 guix-git/doc/guix.texi:6616
  10389. #: guix-git/doc/guix.texi:10828
  10390. #, no-wrap
  10391. msgid "cross-compilation"
  10392. msgstr ""
  10393. #. type: table
  10394. #: guix-git/doc/guix.texi:6169
  10395. 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})."
  10396. msgstr ""
  10397. #. type: item
  10398. #: guix-git/doc/guix.texi:6170
  10399. #, no-wrap
  10400. msgid "--compression=@var{tool}"
  10401. msgstr ""
  10402. #. type: itemx
  10403. #: guix-git/doc/guix.texi:6171
  10404. #, no-wrap
  10405. msgid "-C @var{tool}"
  10406. msgstr ""
  10407. #. type: table
  10408. #: guix-git/doc/guix.texi:6175
  10409. 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."
  10410. msgstr ""
  10411. #. type: item
  10412. #: guix-git/doc/guix.texi:6176
  10413. #, no-wrap
  10414. msgid "--symlink=@var{spec}"
  10415. msgstr ""
  10416. #. type: itemx
  10417. #: guix-git/doc/guix.texi:6177
  10418. #, no-wrap
  10419. msgid "-S @var{spec}"
  10420. msgstr ""
  10421. #. type: table
  10422. #: guix-git/doc/guix.texi:6180
  10423. msgid "Add the symlinks specified by @var{spec} to the pack. This option can appear several times."
  10424. msgstr ""
  10425. #. type: table
  10426. #: guix-git/doc/guix.texi:6184
  10427. 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."
  10428. msgstr ""
  10429. #. type: table
  10430. #: guix-git/doc/guix.texi:6187
  10431. 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."
  10432. msgstr ""
  10433. #. type: item
  10434. #: guix-git/doc/guix.texi:6188 guix-git/doc/guix.texi:33119
  10435. #, no-wrap
  10436. msgid "--save-provenance"
  10437. msgstr ""
  10438. #. type: table
  10439. #: guix-git/doc/guix.texi:6192
  10440. 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})."
  10441. msgstr ""
  10442. #. type: table
  10443. #: guix-git/doc/guix.texi:6198
  10444. 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."
  10445. msgstr ""
  10446. #. type: table
  10447. #: guix-git/doc/guix.texi:6204
  10448. 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."
  10449. msgstr ""
  10450. #. type: cindex
  10451. #: guix-git/doc/guix.texi:6207
  10452. #, no-wrap
  10453. msgid "garbage collector root, for packs"
  10454. msgstr ""
  10455. #. type: table
  10456. #: guix-git/doc/guix.texi:6210
  10457. msgid "Make @var{file} a symlink to the resulting pack, and register it as a garbage collector root."
  10458. msgstr ""
  10459. #. type: item
  10460. #: guix-git/doc/guix.texi:6211
  10461. #, no-wrap
  10462. msgid "--localstatedir"
  10463. msgstr "--localstatedir"
  10464. #. type: itemx
  10465. #: guix-git/doc/guix.texi:6212
  10466. #, no-wrap
  10467. msgid "--profile-name=@var{name}"
  10468. msgstr ""
  10469. #. type: table
  10470. #: guix-git/doc/guix.texi:6217
  10471. 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}."
  10472. msgstr ""
  10473. #. type: table
  10474. #: guix-git/doc/guix.texi:6223
  10475. 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."
  10476. msgstr ""
  10477. #. type: table
  10478. #: guix-git/doc/guix.texi:6226
  10479. msgid "One use case for this is the Guix self-contained binary tarball (@pxref{Binary Installation})."
  10480. msgstr ""
  10481. #. type: item
  10482. #: guix-git/doc/guix.texi:6227 guix-git/doc/guix.texi:33113
  10483. #, no-wrap
  10484. msgid "--derivation"
  10485. msgstr ""
  10486. #. type: itemx
  10487. #: guix-git/doc/guix.texi:6228 guix-git/doc/guix.texi:10859
  10488. #: guix-git/doc/guix.texi:33114
  10489. #, no-wrap
  10490. msgid "-d"
  10491. msgstr ""
  10492. #. type: table
  10493. #: guix-git/doc/guix.texi:6230
  10494. msgid "Print the name of the derivation that builds the pack."
  10495. msgstr ""
  10496. #. type: table
  10497. #: guix-git/doc/guix.texi:6234
  10498. msgid "Use the bootstrap binaries to build the pack. This option is only useful to Guix developers."
  10499. msgstr ""
  10500. #. type: Plain text
  10501. #: guix-git/doc/guix.texi:6239
  10502. 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})."
  10503. msgstr ""
  10504. #. type: cindex
  10505. #: guix-git/doc/guix.texi:6244
  10506. #, no-wrap
  10507. msgid "GCC"
  10508. msgstr ""
  10509. #. type: cindex
  10510. #: guix-git/doc/guix.texi:6245
  10511. #, no-wrap
  10512. msgid "ld-wrapper"
  10513. msgstr ""
  10514. #. type: cindex
  10515. #: guix-git/doc/guix.texi:6246
  10516. #, no-wrap
  10517. msgid "linker wrapper"
  10518. msgstr ""
  10519. #. type: cindex
  10520. #: guix-git/doc/guix.texi:6247
  10521. #, no-wrap
  10522. msgid "toolchain, for C development"
  10523. msgstr ""
  10524. #. type: cindex
  10525. #: guix-git/doc/guix.texi:6248
  10526. #, no-wrap
  10527. msgid "toolchain, for Fortran development"
  10528. msgstr ""
  10529. #. type: Plain text
  10530. #: guix-git/doc/guix.texi:6255
  10531. 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."
  10532. msgstr ""
  10533. #. type: Plain text
  10534. #: guix-git/doc/guix.texi:6261
  10535. 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}."
  10536. msgstr ""
  10537. #. type: Plain text
  10538. #: guix-git/doc/guix.texi:6265
  10539. 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})."
  10540. msgstr ""
  10541. #. type: section
  10542. #: guix-git/doc/guix.texi:6268
  10543. #, no-wrap
  10544. msgid "Invoking @command{guix git authenticate}"
  10545. msgstr ""
  10546. #. type: Plain text
  10547. #: guix-git/doc/guix.texi:6276
  10548. 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)."
  10549. msgstr ""
  10550. #. type: Plain text
  10551. #: guix-git/doc/guix.texi:6281
  10552. 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."
  10553. msgstr ""
  10554. #. type: example
  10555. #: guix-git/doc/guix.texi:6286
  10556. #, no-wrap
  10557. msgid "guix git authenticate @var{commit} @var{signer} [@var{options}@dots{}]\n"
  10558. msgstr ""
  10559. #. type: Plain text
  10560. #: guix-git/doc/guix.texi:6295
  10561. 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."
  10562. msgstr ""
  10563. #. type: item
  10564. #: guix-git/doc/guix.texi:6297
  10565. #, no-wrap
  10566. msgid "--repository=@var{directory}"
  10567. msgstr ""
  10568. #. type: itemx
  10569. #: guix-git/doc/guix.texi:6298
  10570. #, no-wrap
  10571. msgid "-r @var{directory}"
  10572. msgstr ""
  10573. #. type: table
  10574. #: guix-git/doc/guix.texi:6301
  10575. msgid "Open the Git repository in @var{directory} instead of the current directory."
  10576. msgstr ""
  10577. #. type: item
  10578. #: guix-git/doc/guix.texi:6302
  10579. #, no-wrap
  10580. msgid "--keyring=@var{reference}"
  10581. msgstr ""
  10582. #. type: itemx
  10583. #: guix-git/doc/guix.texi:6303
  10584. #, no-wrap
  10585. msgid "-k @var{reference}"
  10586. msgstr ""
  10587. #. type: table
  10588. #: guix-git/doc/guix.texi:6309
  10589. 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}."
  10590. msgstr ""
  10591. #. type: item
  10592. #: guix-git/doc/guix.texi:6310
  10593. #, no-wrap
  10594. msgid "--stats"
  10595. msgstr ""
  10596. #. type: table
  10597. #: guix-git/doc/guix.texi:6312
  10598. msgid "Display commit signing statistics upon completion."
  10599. msgstr ""
  10600. #. type: item
  10601. #: guix-git/doc/guix.texi:6313
  10602. #, no-wrap
  10603. msgid "--cache-key=@var{key}"
  10604. msgstr ""
  10605. #. type: table
  10606. #: guix-git/doc/guix.texi:6317
  10607. 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."
  10608. msgstr ""
  10609. #. type: item
  10610. #: guix-git/doc/guix.texi:6318
  10611. #, no-wrap
  10612. msgid "--historical-authorizations=@var{file}"
  10613. msgstr ""
  10614. #. type: table
  10615. #: guix-git/doc/guix.texi:6325
  10616. 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})."
  10617. msgstr ""
  10618. #. type: Plain text
  10619. #: guix-git/doc/guix.texi:6338
  10620. 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."
  10621. msgstr ""
  10622. #. type: Plain text
  10623. #: guix-git/doc/guix.texi:6344
  10624. 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."
  10625. msgstr ""
  10626. #. type: Plain text
  10627. #: guix-git/doc/guix.texi:6353
  10628. 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."
  10629. msgstr ""
  10630. #. type: Plain text
  10631. #: guix-git/doc/guix.texi:6356
  10632. msgid "This chapter describes all these APIs in turn, starting from high-level package definitions."
  10633. msgstr ""
  10634. #. type: menuentry
  10635. #: guix-git/doc/guix.texi:6369
  10636. msgid "Programming Guix in Guile"
  10637. msgstr ""
  10638. #. type: Plain text
  10639. #: guix-git/doc/guix.texi:6385
  10640. 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})."
  10641. msgstr ""
  10642. #. type: Plain text
  10643. #: guix-git/doc/guix.texi:6392
  10644. 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."
  10645. msgstr ""
  10646. #. type: cindex
  10647. #: guix-git/doc/guix.texi:6394
  10648. #, no-wrap
  10649. msgid "package module search path"
  10650. msgstr ""
  10651. #. type: Plain text
  10652. #: guix-git/doc/guix.texi:6403
  10653. 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:"
  10654. msgstr ""
  10655. #. type: enumerate
  10656. #: guix-git/doc/guix.texi:6410
  10657. 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."
  10658. msgstr ""
  10659. #. type: enumerate
  10660. #: guix-git/doc/guix.texi:6416
  10661. 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."
  10662. msgstr ""
  10663. #. type: Plain text
  10664. #: guix-git/doc/guix.texi:6419
  10665. msgid "@env{GUIX_PACKAGE_PATH} works similarly to other search path variables:"
  10666. msgstr ""
  10667. #. type: defvr
  10668. #: guix-git/doc/guix.texi:6420
  10669. #, no-wrap
  10670. msgid "{Environment Variable} GUIX_PACKAGE_PATH"
  10671. msgstr ""
  10672. #. type: defvr
  10673. #: guix-git/doc/guix.texi:6424
  10674. 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."
  10675. msgstr ""
  10676. #. type: Plain text
  10677. #: guix-git/doc/guix.texi:6432
  10678. 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}."
  10679. msgstr ""
  10680. #. type: Plain text
  10681. #: guix-git/doc/guix.texi:6440
  10682. 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:"
  10683. msgstr ""
  10684. #. type: lisp
  10685. #: guix-git/doc/guix.texi:6448
  10686. #, no-wrap
  10687. msgid ""
  10688. "(define-module (gnu packages hello)\n"
  10689. " #:use-module (guix packages)\n"
  10690. " #:use-module (guix download)\n"
  10691. " #:use-module (guix build-system gnu)\n"
  10692. " #:use-module (guix licenses)\n"
  10693. " #:use-module (gnu packages gawk))\n"
  10694. "\n"
  10695. msgstr ""
  10696. #. type: lisp
  10697. #: guix-git/doc/guix.texi:6467
  10698. #, no-wrap
  10699. msgid ""
  10700. "(define-public hello\n"
  10701. " (package\n"
  10702. " (name \"hello\")\n"
  10703. " (version \"2.10\")\n"
  10704. " (source (origin\n"
  10705. " (method url-fetch)\n"
  10706. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  10707. " \".tar.gz\"))\n"
  10708. " (sha256\n"
  10709. " (base32\n"
  10710. " \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"))))\n"
  10711. " (build-system gnu-build-system)\n"
  10712. " (arguments '(#:configure-flags '(\"--enable-silent-rules\")))\n"
  10713. " (inputs `((\"gawk\" ,gawk)))\n"
  10714. " (synopsis \"Hello, GNU world: An example GNU package\")\n"
  10715. " (description \"Guess what GNU Hello prints!\")\n"
  10716. " (home-page \"https://www.gnu.org/software/hello/\")\n"
  10717. " (license gpl3+)))\n"
  10718. msgstr ""
  10719. #. type: Plain text
  10720. #: guix-git/doc/guix.texi:6477
  10721. 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\"}."
  10722. msgstr ""
  10723. #. type: Plain text
  10724. #: guix-git/doc/guix.texi:6481
  10725. 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})."
  10726. msgstr ""
  10727. #. type: Plain text
  10728. #: guix-git/doc/guix.texi:6487
  10729. 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})."
  10730. msgstr ""
  10731. #. type: Plain text
  10732. #: guix-git/doc/guix.texi:6489
  10733. msgid "There are a few points worth noting in the above package definition:"
  10734. msgstr ""
  10735. #. type: itemize
  10736. #: guix-git/doc/guix.texi:6496
  10737. 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."
  10738. msgstr ""
  10739. #. type: itemize
  10740. #: guix-git/doc/guix.texi:6499
  10741. msgid "The @code{mirror://gnu} prefix instructs @code{url-fetch} to use one of the GNU mirrors defined in @code{(guix download)}."
  10742. msgstr ""
  10743. #. type: itemize
  10744. #: guix-git/doc/guix.texi:6506
  10745. 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})."
  10746. msgstr ""
  10747. #. type: cindex
  10748. #: guix-git/doc/guix.texi:6507
  10749. #, no-wrap
  10750. msgid "patches"
  10751. msgstr ""
  10752. #. type: itemize
  10753. #: guix-git/doc/guix.texi:6511
  10754. 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."
  10755. msgstr ""
  10756. #. type: cindex
  10757. #: guix-git/doc/guix.texi:6513
  10758. #, no-wrap
  10759. msgid "GNU Build System"
  10760. msgstr ""
  10761. #. type: itemize
  10762. #: guix-git/doc/guix.texi:6519
  10763. 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."
  10764. msgstr ""
  10765. #. type: itemize
  10766. #: guix-git/doc/guix.texi:6523
  10767. 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."
  10768. msgstr ""
  10769. #. type: itemize
  10770. #: guix-git/doc/guix.texi:6529
  10771. 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."
  10772. msgstr ""
  10773. #. type: findex
  10774. #: guix-git/doc/guix.texi:6530 guix-git/doc/guix.texi:6533
  10775. #, no-wrap
  10776. msgid "quote"
  10777. msgstr ""
  10778. #. type: cindex
  10779. #: guix-git/doc/guix.texi:6531
  10780. #, no-wrap
  10781. msgid "quoting"
  10782. msgstr ""
  10783. #. type: findex
  10784. #: guix-git/doc/guix.texi:6532
  10785. #, no-wrap
  10786. msgid "'"
  10787. msgstr ""
  10788. #. type: itemize
  10789. #: guix-git/doc/guix.texi:6541
  10790. 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})."
  10791. msgstr ""
  10792. #. type: itemize
  10793. #: guix-git/doc/guix.texi:6547
  10794. 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})."
  10795. msgstr ""
  10796. #. type: itemize
  10797. #: guix-git/doc/guix.texi:6553
  10798. 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."
  10799. msgstr ""
  10800. #. type: cindex
  10801. #: guix-git/doc/guix.texi:6554
  10802. #, no-wrap
  10803. msgid "backquote (quasiquote)"
  10804. msgstr ""
  10805. #. type: findex
  10806. #: guix-git/doc/guix.texi:6555
  10807. #, no-wrap
  10808. msgid "`"
  10809. msgstr ""
  10810. #. type: findex
  10811. #: guix-git/doc/guix.texi:6556
  10812. #, no-wrap
  10813. msgid "quasiquote"
  10814. msgstr ""
  10815. #. type: cindex
  10816. #: guix-git/doc/guix.texi:6557
  10817. #, no-wrap
  10818. msgid "comma (unquote)"
  10819. msgstr ""
  10820. #. type: findex
  10821. #: guix-git/doc/guix.texi:6558
  10822. #, no-wrap
  10823. msgid ","
  10824. msgstr ""
  10825. #. type: findex
  10826. #: guix-git/doc/guix.texi:6559
  10827. #, no-wrap
  10828. msgid "unquote"
  10829. msgstr ""
  10830. #. type: findex
  10831. #: guix-git/doc/guix.texi:6560
  10832. #, no-wrap
  10833. msgid ",@@"
  10834. msgstr ""
  10835. #. type: findex
  10836. #: guix-git/doc/guix.texi:6561
  10837. #, no-wrap
  10838. msgid "unquote-splicing"
  10839. msgstr ""
  10840. #. type: itemize
  10841. #: guix-git/doc/guix.texi:6567
  10842. 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})."
  10843. msgstr ""
  10844. #. type: itemize
  10845. #: guix-git/doc/guix.texi:6571
  10846. 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})."
  10847. msgstr ""
  10848. #. type: itemize
  10849. #: guix-git/doc/guix.texi:6575
  10850. 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."
  10851. msgstr ""
  10852. #. type: Plain text
  10853. #: guix-git/doc/guix.texi:6578
  10854. msgid "@xref{package Reference}, for a full description of possible fields."
  10855. msgstr ""
  10856. #. type: Plain text
  10857. #: guix-git/doc/guix.texi:6589
  10858. 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."
  10859. msgstr ""
  10860. #. type: vindex
  10861. #: guix-git/doc/guix.texi:6589
  10862. #, no-wrap
  10863. msgid "GUIX_PACKAGE_PATH"
  10864. msgstr "GUIX_PACKAGE_PATH"
  10865. #. type: Plain text
  10866. #: guix-git/doc/guix.texi:6593
  10867. msgid "Lastly, @pxref{Channels}, for information on how to extend the distribution by adding your own package definitions in a ``channel''."
  10868. msgstr ""
  10869. #. type: Plain text
  10870. #: guix-git/doc/guix.texi:6597
  10871. 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})."
  10872. msgstr ""
  10873. #. type: Plain text
  10874. #: guix-git/doc/guix.texi:6603
  10875. 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})."
  10876. msgstr ""
  10877. #. type: deffn
  10878. #: guix-git/doc/guix.texi:6604
  10879. #, no-wrap
  10880. msgid "{Scheme Procedure} package-derivation @var{store} @var{package} [@var{system}]"
  10881. msgstr ""
  10882. #. type: deffn
  10883. #: guix-git/doc/guix.texi:6607
  10884. msgid "Return the @code{<derivation>} object of @var{package} for @var{system} (@pxref{Derivations})."
  10885. msgstr ""
  10886. #. type: deffn
  10887. #: guix-git/doc/guix.texi:6613
  10888. 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})."
  10889. msgstr ""
  10890. #. type: Plain text
  10891. #: guix-git/doc/guix.texi:6619
  10892. msgid "Similarly, it is possible to compute a derivation that cross-builds a package for some other system:"
  10893. msgstr ""
  10894. #. type: deffn
  10895. #: guix-git/doc/guix.texi:6620
  10896. #, no-wrap
  10897. msgid "{Scheme Procedure} package-cross-derivation @var{store} @"
  10898. msgstr ""
  10899. #. type: deffn
  10900. #: guix-git/doc/guix.texi:6624
  10901. msgid "@var{package} @var{target} [@var{system}] Return the @code{<derivation>} object of @var{package} cross-built from @var{system} to @var{target}."
  10902. msgstr ""
  10903. #. type: deffn
  10904. #: guix-git/doc/guix.texi:6628
  10905. 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})."
  10906. msgstr ""
  10907. #. type: Plain text
  10908. #: guix-git/doc/guix.texi:6632
  10909. msgid "Once you have package definitions, you can easily define @emph{variants} of those packages. @xref{Defining Package Variants}, for more on that."
  10910. msgstr ""
  10911. #. type: subsection
  10912. #: guix-git/doc/guix.texi:6640
  10913. #, no-wrap
  10914. msgid "@code{package} Reference"
  10915. msgstr ""
  10916. #. type: Plain text
  10917. #: guix-git/doc/guix.texi:6644
  10918. msgid "This section summarizes all the options available in @code{package} declarations (@pxref{Defining Packages})."
  10919. msgstr ""
  10920. #. type: deftp
  10921. #: guix-git/doc/guix.texi:6645
  10922. #, no-wrap
  10923. msgid "{Data Type} package"
  10924. msgstr ""
  10925. #. type: deftp
  10926. #: guix-git/doc/guix.texi:6647
  10927. msgid "This is the data type representing a package recipe."
  10928. msgstr ""
  10929. #. type: table
  10930. #: guix-git/doc/guix.texi:6651
  10931. msgid "The name of the package, as a string."
  10932. msgstr ""
  10933. #. type: code{#1}
  10934. #: guix-git/doc/guix.texi:6652
  10935. #, no-wrap
  10936. msgid "version"
  10937. msgstr ""
  10938. #. type: table
  10939. #: guix-git/doc/guix.texi:6654
  10940. msgid "The version of the package, as a string."
  10941. msgstr ""
  10942. #. type: code{#1}
  10943. #: guix-git/doc/guix.texi:6655 guix-git/doc/guix.texi:11958
  10944. #: guix-git/doc/guix.texi:14203 guix-git/doc/guix.texi:14706
  10945. #, no-wrap
  10946. msgid "source"
  10947. msgstr ""
  10948. #. type: table
  10949. #: guix-git/doc/guix.texi:6662
  10950. 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}})."
  10951. msgstr ""
  10952. #. type: code{#1}
  10953. #: guix-git/doc/guix.texi:6663
  10954. #, no-wrap
  10955. msgid "build-system"
  10956. msgstr ""
  10957. #. type: table
  10958. #: guix-git/doc/guix.texi:6666
  10959. msgid "The build system that should be used to build the package (@pxref{Build Systems})."
  10960. msgstr ""
  10961. #. type: item
  10962. #: guix-git/doc/guix.texi:6667 guix-git/doc/guix.texi:16669
  10963. #, no-wrap
  10964. msgid "@code{arguments} (default: @code{'()})"
  10965. msgstr ""
  10966. #. type: table
  10967. #: guix-git/doc/guix.texi:6670
  10968. msgid "The arguments that should be passed to the build system. This is a list, typically containing sequential keyword-value pairs."
  10969. msgstr ""
  10970. #. type: item
  10971. #: guix-git/doc/guix.texi:6671
  10972. #, no-wrap
  10973. msgid "@code{inputs} (default: @code{'()})"
  10974. msgstr ""
  10975. #. type: itemx
  10976. #: guix-git/doc/guix.texi:6672
  10977. #, no-wrap
  10978. msgid "@code{native-inputs} (default: @code{'()})"
  10979. msgstr ""
  10980. #. type: itemx
  10981. #: guix-git/doc/guix.texi:6673
  10982. #, no-wrap
  10983. msgid "@code{propagated-inputs} (default: @code{'()})"
  10984. msgstr ""
  10985. #. type: cindex
  10986. #: guix-git/doc/guix.texi:6674
  10987. #, no-wrap
  10988. msgid "inputs, of packages"
  10989. msgstr ""
  10990. #. type: table
  10991. #: guix-git/doc/guix.texi:6682
  10992. 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:"
  10993. msgstr ""
  10994. #. type: lisp
  10995. #: guix-git/doc/guix.texi:6687
  10996. #, no-wrap
  10997. msgid ""
  10998. "`((\"libffi\" ,libffi)\n"
  10999. " (\"libunistring\" ,libunistring)\n"
  11000. " (\"glib:bin\" ,glib \"bin\")) ;the \"bin\" output of Glib\n"
  11001. msgstr ""
  11002. #. type: cindex
  11003. #: guix-git/doc/guix.texi:6689
  11004. #, no-wrap
  11005. msgid "cross compilation, package dependencies"
  11006. msgstr ""
  11007. #. type: table
  11008. #: guix-git/doc/guix.texi:6695
  11009. 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."
  11010. msgstr ""
  11011. #. type: table
  11012. #: guix-git/doc/guix.texi:6700
  11013. 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})."
  11014. msgstr ""
  11015. #. type: anchor{#1}
  11016. #: guix-git/doc/guix.texi:6708
  11017. msgid "package-propagated-inputs"
  11018. msgstr ""
  11019. #. type: table
  11020. #: guix-git/doc/guix.texi:6708
  11021. 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)."
  11022. msgstr ""
  11023. #. type: table
  11024. #: guix-git/doc/guix.texi:6712
  11025. 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."
  11026. msgstr ""
  11027. #. type: table
  11028. #: guix-git/doc/guix.texi:6719
  11029. 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}."
  11030. msgstr ""
  11031. #. type: item
  11032. #: guix-git/doc/guix.texi:6720
  11033. #, no-wrap
  11034. msgid "@code{outputs} (default: @code{'(\"out\")})"
  11035. msgstr ""
  11036. #. type: table
  11037. #: guix-git/doc/guix.texi:6723
  11038. msgid "The list of output names of the package. @xref{Packages with Multiple Outputs}, for typical uses of additional outputs."
  11039. msgstr ""
  11040. #. type: item
  11041. #: guix-git/doc/guix.texi:6724
  11042. #, no-wrap
  11043. msgid "@code{native-search-paths} (default: @code{'()})"
  11044. msgstr ""
  11045. #. type: itemx
  11046. #: guix-git/doc/guix.texi:6725
  11047. #, no-wrap
  11048. msgid "@code{search-paths} (default: @code{'()})"
  11049. msgstr ""
  11050. #. type: table
  11051. #: guix-git/doc/guix.texi:6728
  11052. msgid "A list of @code{search-path-specification} objects describing search-path environment variables honored by the package."
  11053. msgstr ""
  11054. #. type: item
  11055. #: guix-git/doc/guix.texi:6729
  11056. #, no-wrap
  11057. msgid "@code{replacement} (default: @code{#f})"
  11058. msgstr "@code{replacement} (default: @code{#f})"
  11059. #. type: table
  11060. #: guix-git/doc/guix.texi:6733
  11061. 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."
  11062. msgstr ""
  11063. #. type: item
  11064. #: guix-git/doc/guix.texi:6734 guix-git/doc/guix.texi:11950
  11065. #, no-wrap
  11066. msgid "synopsis"
  11067. msgstr ""
  11068. #. type: table
  11069. #: guix-git/doc/guix.texi:6736
  11070. msgid "A one-line description of the package."
  11071. msgstr ""
  11072. #. type: code{#1}
  11073. #: guix-git/doc/guix.texi:6737 guix-git/doc/guix.texi:11951
  11074. #: guix-git/doc/guix.texi:33811 guix-git/doc/guix.texi:33962
  11075. #, no-wrap
  11076. msgid "description"
  11077. msgstr ""
  11078. #. type: table
  11079. #: guix-git/doc/guix.texi:6739
  11080. msgid "A more elaborate description of the package."
  11081. msgstr ""
  11082. #. type: code{#1}
  11083. #: guix-git/doc/guix.texi:6740
  11084. #, no-wrap
  11085. msgid "license"
  11086. msgstr ""
  11087. #. type: cindex
  11088. #: guix-git/doc/guix.texi:6741
  11089. #, no-wrap
  11090. msgid "license, of packages"
  11091. msgstr ""
  11092. #. type: table
  11093. #: guix-git/doc/guix.texi:6744
  11094. msgid "The license of the package; a value from @code{(guix licenses)}, or a list of such values."
  11095. msgstr ""
  11096. #. type: itemx
  11097. #: guix-git/doc/guix.texi:6745 guix-git/doc/guix.texi:11959
  11098. #, no-wrap
  11099. msgid "home-page"
  11100. msgstr ""
  11101. #. type: table
  11102. #: guix-git/doc/guix.texi:6747
  11103. msgid "The URL to the home-page of the package, as a string."
  11104. msgstr ""
  11105. #. type: item
  11106. #: guix-git/doc/guix.texi:6748
  11107. #, no-wrap
  11108. msgid "@code{supported-systems} (default: @code{%supported-systems})"
  11109. msgstr ""
  11110. #. type: table
  11111. #: guix-git/doc/guix.texi:6751
  11112. msgid "The list of systems supported by the package, as strings of the form @code{architecture-kernel}, for example @code{\"x86_64-linux\"}."
  11113. msgstr ""
  11114. #. type: item
  11115. #: guix-git/doc/guix.texi:6752
  11116. #, no-wrap
  11117. msgid "@code{location} (default: source location of the @code{package} form)"
  11118. msgstr ""
  11119. #. type: table
  11120. #: guix-git/doc/guix.texi:6756
  11121. 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."
  11122. msgstr ""
  11123. #. type: deffn
  11124. #: guix-git/doc/guix.texi:6759
  11125. #, no-wrap
  11126. msgid "{Scheme Syntax} this-package"
  11127. msgstr ""
  11128. #. type: deffn
  11129. #: guix-git/doc/guix.texi:6762
  11130. msgid "When used in the @emph{lexical scope} of a package field definition, this identifier resolves to the package being defined."
  11131. msgstr ""
  11132. #. type: deffn
  11133. #: guix-git/doc/guix.texi:6765
  11134. msgid "The example below shows how to add a package as a native input of itself when cross-compiling:"
  11135. msgstr ""
  11136. #. type: lisp
  11137. #: guix-git/doc/guix.texi:6770
  11138. #, no-wrap
  11139. msgid ""
  11140. "(package\n"
  11141. " (name \"guile\")\n"
  11142. " ;; ...\n"
  11143. "\n"
  11144. msgstr ""
  11145. #. type: lisp
  11146. #: guix-git/doc/guix.texi:6776
  11147. #, no-wrap
  11148. msgid ""
  11149. " ;; When cross-compiled, Guile, for example, depends on\n"
  11150. " ;; a native version of itself. Add it here.\n"
  11151. " (native-inputs (if (%current-target-system)\n"
  11152. " `((\"self\" ,this-package))\n"
  11153. " '())))\n"
  11154. msgstr ""
  11155. #. type: deffn
  11156. #: guix-git/doc/guix.texi:6779
  11157. msgid "It is an error to refer to @code{this-package} outside a package definition."
  11158. msgstr ""
  11159. #. type: Plain text
  11160. #: guix-git/doc/guix.texi:6785
  11161. 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."
  11162. msgstr ""
  11163. #. type: cindex
  11164. #: guix-git/doc/guix.texi:6786
  11165. #, no-wrap
  11166. msgid "tool chain, choosing a package's tool chain"
  11167. msgstr ""
  11168. #. type: deffn
  11169. #: guix-git/doc/guix.texi:6787
  11170. #, no-wrap
  11171. msgid "{Scheme Procedure} package-with-c-toolchain @var{package} @var{toolchain}"
  11172. msgstr ""
  11173. #. type: deffn
  11174. #: guix-git/doc/guix.texi:6792
  11175. 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."
  11176. msgstr ""
  11177. #. type: deffn
  11178. #: guix-git/doc/guix.texi:6796
  11179. 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:"
  11180. msgstr ""
  11181. #. type: lisp
  11182. #: guix-git/doc/guix.texi:6800
  11183. #, no-wrap
  11184. msgid ""
  11185. "(let ((toolchain (specification->package \"gcc-toolchain@@10\")))\n"
  11186. " (package-with-c-toolchain hello `((\"toolchain\" ,toolchain))))\n"
  11187. msgstr ""
  11188. #. type: deffn
  11189. #: guix-git/doc/guix.texi:6808
  11190. 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."
  11191. msgstr ""
  11192. #. type: subsection
  11193. #: guix-git/doc/guix.texi:6811
  11194. #, no-wrap
  11195. msgid "@code{origin} Reference"
  11196. msgstr ""
  11197. #. type: Plain text
  11198. #: guix-git/doc/guix.texi:6819
  11199. 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."
  11200. msgstr ""
  11201. #. type: deftp
  11202. #: guix-git/doc/guix.texi:6820
  11203. #, no-wrap
  11204. msgid "{Data Type} origin"
  11205. msgstr ""
  11206. #. type: deftp
  11207. #: guix-git/doc/guix.texi:6822
  11208. msgid "This is the data type representing a source code origin."
  11209. msgstr ""
  11210. #. type: code{#1}
  11211. #: guix-git/doc/guix.texi:6824 guix-git/doc/guix.texi:24843
  11212. #, no-wrap
  11213. msgid "uri"
  11214. msgstr "uri"
  11215. #. type: table
  11216. #: guix-git/doc/guix.texi:6829
  11217. 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."
  11218. msgstr ""
  11219. #. type: cindex
  11220. #: guix-git/doc/guix.texi:6830
  11221. #, no-wrap
  11222. msgid "fixed-output derivations, for download"
  11223. msgstr ""
  11224. #. type: code{#1}
  11225. #: guix-git/doc/guix.texi:6831
  11226. #, no-wrap
  11227. msgid "method"
  11228. msgstr ""
  11229. #. type: table
  11230. #: guix-git/doc/guix.texi:6838
  11231. 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})."
  11232. msgstr ""
  11233. #. type: table
  11234. #: guix-git/doc/guix.texi:6842
  11235. 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)."
  11236. msgstr ""
  11237. #. type: code{#1}
  11238. #: guix-git/doc/guix.texi:6843
  11239. #, no-wrap
  11240. msgid "sha256"
  11241. msgstr ""
  11242. #. type: table
  11243. #: guix-git/doc/guix.texi:6847
  11244. 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."
  11245. msgstr ""
  11246. #. type: code{#1}
  11247. #: guix-git/doc/guix.texi:6848
  11248. #, no-wrap
  11249. msgid "hash"
  11250. msgstr "hash (masc.)"
  11251. #. type: table
  11252. #: guix-git/doc/guix.texi:6851
  11253. msgid "The @code{content-hash} object of the source---see below for how to use @code{content-hash}."
  11254. msgstr ""
  11255. #. type: table
  11256. #: guix-git/doc/guix.texi:6855
  11257. msgid "You can obtain this information using @code{guix download} (@pxref{Invoking guix download}) or @code{guix hash} (@pxref{Invoking guix hash})."
  11258. msgstr ""
  11259. #. type: item
  11260. #: guix-git/doc/guix.texi:6856
  11261. #, no-wrap
  11262. msgid "@code{file-name} (default: @code{#f})"
  11263. msgstr ""
  11264. #. type: table
  11265. #: guix-git/doc/guix.texi:6862
  11266. 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."
  11267. msgstr ""
  11268. #. type: item
  11269. #: guix-git/doc/guix.texi:6863
  11270. #, no-wrap
  11271. msgid "@code{patches} (default: @code{'()})"
  11272. msgstr ""
  11273. #. type: table
  11274. #: guix-git/doc/guix.texi:6866
  11275. 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."
  11276. msgstr ""
  11277. #. type: table
  11278. #: guix-git/doc/guix.texi:6870
  11279. 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}."
  11280. msgstr ""
  11281. #. type: item
  11282. #: guix-git/doc/guix.texi:6871
  11283. #, no-wrap
  11284. msgid "@code{snippet} (default: @code{#f})"
  11285. msgstr "@code{snippet} (default: @code{#f})"
  11286. #. type: table
  11287. #: guix-git/doc/guix.texi:6875
  11288. 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."
  11289. msgstr ""
  11290. #. type: item
  11291. #: guix-git/doc/guix.texi:6876
  11292. #, no-wrap
  11293. msgid "@code{patch-flags} (default: @code{'(\"-p1\")})"
  11294. msgstr ""
  11295. #. type: table
  11296. #: guix-git/doc/guix.texi:6879
  11297. msgid "A list of command-line flags that should be passed to the @code{patch} command."
  11298. msgstr ""
  11299. #. type: item
  11300. #: guix-git/doc/guix.texi:6880
  11301. #, no-wrap
  11302. msgid "@code{patch-inputs} (default: @code{#f})"
  11303. msgstr ""
  11304. #. type: table
  11305. #: guix-git/doc/guix.texi:6884
  11306. 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."
  11307. msgstr ""
  11308. #. type: item
  11309. #: guix-git/doc/guix.texi:6885 guix-git/doc/guix.texi:24716
  11310. #, no-wrap
  11311. msgid "@code{modules} (default: @code{'()})"
  11312. msgstr ""
  11313. #. type: table
  11314. #: guix-git/doc/guix.texi:6888
  11315. msgid "A list of Guile modules that should be loaded during the patching process and while running the code in the @code{snippet} field."
  11316. msgstr ""
  11317. #. type: item
  11318. #: guix-git/doc/guix.texi:6889
  11319. #, no-wrap
  11320. msgid "@code{patch-guile} (default: @code{#f})"
  11321. msgstr ""
  11322. #. type: table
  11323. #: guix-git/doc/guix.texi:6892
  11324. msgid "The Guile package that should be used in the patching process. When this is @code{#f}, a sensible default is used."
  11325. msgstr ""
  11326. #. type: deftp
  11327. #: guix-git/doc/guix.texi:6895
  11328. #, no-wrap
  11329. msgid "{Data Type} content-hash @var{value} [@var{algorithm}]"
  11330. msgstr ""
  11331. #. type: deftp
  11332. #: guix-git/doc/guix.texi:6899
  11333. 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}."
  11334. msgstr ""
  11335. #. type: deftp
  11336. #: guix-git/doc/guix.texi:6902
  11337. msgid "@var{value} can be a literal string, in which case it is base32-decoded, or it can be a bytevector."
  11338. msgstr ""
  11339. #. type: deftp
  11340. #: guix-git/doc/guix.texi:6904
  11341. msgid "The following forms are all equivalent:"
  11342. msgstr ""
  11343. #. type: lisp
  11344. #: guix-git/doc/guix.texi:6913
  11345. #, no-wrap
  11346. msgid ""
  11347. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\")\n"
  11348. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"\n"
  11349. " sha256)\n"
  11350. "(content-hash (base32\n"
  11351. " \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"))\n"
  11352. "(content-hash (base64 \"kkb+RPaP7uyMZmu4eXPVkM4BN8yhRd8BTHLslb6f/Rc=\")\n"
  11353. " sha256)\n"
  11354. msgstr ""
  11355. #. type: deftp
  11356. #: guix-git/doc/guix.texi:6918
  11357. 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}."
  11358. msgstr ""
  11359. #. type: Plain text
  11360. #: guix-git/doc/guix.texi:6924
  11361. 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."
  11362. msgstr ""
  11363. #. type: deffn
  11364. #: guix-git/doc/guix.texi:6925
  11365. #, no-wrap
  11366. msgid "{Scheme Procedure} url-fetch @var{url} @var{hash-algo} @var{hash} @"
  11367. msgstr ""
  11368. #. type: deffn
  11369. #: guix-git/doc/guix.texi:6933
  11370. 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."
  11371. msgstr ""
  11372. #. type: deffn
  11373. #: guix-git/doc/guix.texi:6936
  11374. 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}."
  11375. msgstr ""
  11376. #. type: deffn
  11377. #: guix-git/doc/guix.texi:6939
  11378. msgid "Alternatively, when URL starts with @code{file://}, return the corresponding file name in the store."
  11379. msgstr ""
  11380. #. type: Plain text
  11381. #: guix-git/doc/guix.texi:6945
  11382. 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."
  11383. msgstr ""
  11384. #. type: deffn
  11385. #: guix-git/doc/guix.texi:6946
  11386. #, no-wrap
  11387. msgid "{Scheme Procedure} git-fetch @var{ref} @var{hash-algo} @var{hash}"
  11388. msgstr ""
  11389. #. type: deffn
  11390. #: guix-git/doc/guix.texi:6951
  11391. 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}."
  11392. msgstr ""
  11393. #. type: deftp
  11394. #: guix-git/doc/guix.texi:6953
  11395. #, no-wrap
  11396. msgid "{Data Type} git-reference"
  11397. msgstr ""
  11398. #. type: deftp
  11399. #: guix-git/doc/guix.texi:6956
  11400. msgid "This data type represents a Git reference for @code{git-fetch} to retrieve."
  11401. msgstr ""
  11402. #. type: code{#1}
  11403. #: guix-git/doc/guix.texi:6958 guix-git/doc/guix.texi:22478
  11404. #, no-wrap
  11405. msgid "url"
  11406. msgstr "url"
  11407. #. type: table
  11408. #: guix-git/doc/guix.texi:6960
  11409. msgid "The URL of the Git repository to clone."
  11410. msgstr ""
  11411. #. type: code{#1}
  11412. #: guix-git/doc/guix.texi:6961
  11413. #, no-wrap
  11414. msgid "commit"
  11415. msgstr ""
  11416. #. type: table
  11417. #: guix-git/doc/guix.texi:6965
  11418. 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."
  11419. msgstr ""
  11420. #. type: item
  11421. #: guix-git/doc/guix.texi:6966
  11422. #, no-wrap
  11423. msgid "@code{recursive?} (default: @code{#f})"
  11424. msgstr ""
  11425. #. type: table
  11426. #: guix-git/doc/guix.texi:6968
  11427. msgid "This Boolean indicates whether to recursively fetch Git sub-modules."
  11428. msgstr ""
  11429. #. type: deftp
  11430. #: guix-git/doc/guix.texi:6972
  11431. msgid "The example below denotes the @code{v2.10} tag of the GNU@tie{}Hello repository:"
  11432. msgstr ""
  11433. #. type: lisp
  11434. #: guix-git/doc/guix.texi:6977
  11435. #, no-wrap
  11436. msgid ""
  11437. "(git-reference\n"
  11438. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  11439. " (commit \"v2.10\"))\n"
  11440. msgstr ""
  11441. #. type: deftp
  11442. #: guix-git/doc/guix.texi:6981
  11443. msgid "This is equivalent to the reference below, which explicitly names the commit:"
  11444. msgstr ""
  11445. #. type: lisp
  11446. #: guix-git/doc/guix.texi:6986
  11447. #, no-wrap
  11448. msgid ""
  11449. "(git-reference\n"
  11450. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  11451. " (commit \"dc7dc56a00e48fe6f231a58f6537139fe2908fb9\"))\n"
  11452. msgstr ""
  11453. #. type: Plain text
  11454. #: guix-git/doc/guix.texi:6992
  11455. 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."
  11456. msgstr ""
  11457. #. type: deffn
  11458. #: guix-git/doc/guix.texi:6993
  11459. #, no-wrap
  11460. msgid "{Scheme Procedure} hg-fetch @var{ref} @var{hash-algo} @var{hash} @"
  11461. msgstr ""
  11462. #. type: deffn
  11463. #: guix-git/doc/guix.texi:6999
  11464. 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}."
  11465. msgstr ""
  11466. #. type: cindex
  11467. #: guix-git/doc/guix.texi:7004
  11468. #, no-wrap
  11469. msgid "customizing packages"
  11470. msgstr ""
  11471. #. type: cindex
  11472. #: guix-git/doc/guix.texi:7005
  11473. #, no-wrap
  11474. msgid "variants, of packages"
  11475. msgstr ""
  11476. #. type: Plain text
  11477. #: guix-git/doc/guix.texi:7015
  11478. 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!"
  11479. msgstr ""
  11480. #. type: cindex
  11481. #: guix-git/doc/guix.texi:7016
  11482. #, no-wrap
  11483. msgid "inherit, for package definitions"
  11484. msgstr ""
  11485. #. type: Plain text
  11486. #: guix-git/doc/guix.texi:7023
  11487. 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."
  11488. msgstr ""
  11489. #. type: Plain text
  11490. #: guix-git/doc/guix.texi:7028
  11491. 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!):"
  11492. msgstr ""
  11493. #. type: lisp
  11494. #: guix-git/doc/guix.texi:7031
  11495. #, no-wrap
  11496. msgid ""
  11497. "(use-modules (gnu packages base)) ;for 'hello'\n"
  11498. "\n"
  11499. msgstr ""
  11500. #. type: lisp
  11501. #: guix-git/doc/guix.texi:7043
  11502. #, no-wrap
  11503. msgid ""
  11504. "(define hello-2.2\n"
  11505. " (package\n"
  11506. " (inherit hello)\n"
  11507. " (version \"2.2\")\n"
  11508. " (source (origin\n"
  11509. " (method url-fetch)\n"
  11510. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  11511. " \".tar.gz\"))\n"
  11512. " (sha256\n"
  11513. " (base32\n"
  11514. " \"0lappv4slgb5spyqbh6yl5r013zv72yqg2pcl30mginf3wdqd8k9\"))))))\n"
  11515. msgstr ""
  11516. #. type: Plain text
  11517. #: guix-git/doc/guix.texi:7052
  11518. 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."
  11519. msgstr ""
  11520. #. type: Plain text
  11521. #: guix-git/doc/guix.texi:7058
  11522. 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:"
  11523. msgstr ""
  11524. #. type: lisp
  11525. #: guix-git/doc/guix.texi:7062
  11526. #, no-wrap
  11527. msgid ""
  11528. "(use-modules (gnu packages gdb) ;for 'gdb'\n"
  11529. " (srfi srfi-1)) ;for 'alist-delete'\n"
  11530. "\n"
  11531. msgstr ""
  11532. #. type: lisp
  11533. #: guix-git/doc/guix.texi:7068
  11534. #, no-wrap
  11535. msgid ""
  11536. "(define gdb-sans-guile\n"
  11537. " (package\n"
  11538. " (inherit gdb)\n"
  11539. " (inputs (alist-delete \"guile\"\n"
  11540. " (package-inputs gdb)))))\n"
  11541. msgstr ""
  11542. #. type: Plain text
  11543. #: guix-git/doc/guix.texi:7074
  11544. 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})."
  11545. msgstr ""
  11546. #. type: Plain text
  11547. #: guix-git/doc/guix.texi:7082
  11548. 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:"
  11549. msgstr ""
  11550. #. type: lisp
  11551. #: guix-git/doc/guix.texi:7093
  11552. #, no-wrap
  11553. msgid ""
  11554. "(define (make-lua-socket name lua)\n"
  11555. " ;; Return a luasocket package built with LUA.\n"
  11556. " (package\n"
  11557. " (name name)\n"
  11558. " (version \"3.0\")\n"
  11559. " ;; several fields omitted\n"
  11560. " (inputs\n"
  11561. " `((\"lua\" ,lua)))\n"
  11562. " (synopsis \"Socket library for Lua\")))\n"
  11563. "\n"
  11564. msgstr ""
  11565. #. type: lisp
  11566. #: guix-git/doc/guix.texi:7096
  11567. #, no-wrap
  11568. msgid ""
  11569. "(define-public lua5.1-socket\n"
  11570. " (make-lua-socket \"lua5.1-socket\" lua-5.1))\n"
  11571. "\n"
  11572. msgstr ""
  11573. #. type: lisp
  11574. #: guix-git/doc/guix.texi:7099
  11575. #, no-wrap
  11576. msgid ""
  11577. "(define-public lua5.2-socket\n"
  11578. " (make-lua-socket \"lua5.2-socket\" lua-5.2))\n"
  11579. msgstr ""
  11580. #. type: Plain text
  11581. #: guix-git/doc/guix.texi:7107
  11582. 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})."
  11583. msgstr ""
  11584. #. type: cindex
  11585. #: guix-git/doc/guix.texi:7108
  11586. #, no-wrap
  11587. msgid "package transformations"
  11588. msgstr ""
  11589. #. type: Plain text
  11590. #: guix-git/doc/guix.texi:7113
  11591. 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}):"
  11592. msgstr ""
  11593. #. type: deffn
  11594. #: guix-git/doc/guix.texi:7114
  11595. #, no-wrap
  11596. msgid "{Scheme Procedure} options->transformation @var{opts}"
  11597. msgstr ""
  11598. #. type: deffn
  11599. #: guix-git/doc/guix.texi:7118
  11600. 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:"
  11601. msgstr ""
  11602. #. type: lisp
  11603. #: guix-git/doc/guix.texi:7122
  11604. #, no-wrap
  11605. msgid ""
  11606. "((with-branch . \"guile-gcrypt=master\")\n"
  11607. " (without-tests . \"libgcrypt\"))\n"
  11608. msgstr ""
  11609. #. type: deffn
  11610. #: guix-git/doc/guix.texi:7126
  11611. msgid "Each symbol names a transformation and the corresponding string is an argument to that transformation."
  11612. msgstr ""
  11613. #. type: Plain text
  11614. #: guix-git/doc/guix.texi:7129
  11615. msgid "For instance, a manifest equivalent to this command:"
  11616. msgstr ""
  11617. #. type: example
  11618. #: guix-git/doc/guix.texi:7134
  11619. #, no-wrap
  11620. msgid ""
  11621. "guix build guix \\\n"
  11622. " --with-branch=guile-gcrypt=master \\\n"
  11623. " --with-debug-info=zlib\n"
  11624. msgstr ""
  11625. #. type: Plain text
  11626. #: guix-git/doc/guix.texi:7138
  11627. msgid "... would look like this:"
  11628. msgstr ""
  11629. #. type: lisp
  11630. #: guix-git/doc/guix.texi:7141
  11631. #, no-wrap
  11632. msgid ""
  11633. "(use-modules (guix transformations))\n"
  11634. "\n"
  11635. msgstr ""
  11636. #. type: lisp
  11637. #: guix-git/doc/guix.texi:7147
  11638. #, no-wrap
  11639. msgid ""
  11640. "(define transform\n"
  11641. " ;; The package transformation procedure.\n"
  11642. " (options->transformation\n"
  11643. " '((with-branch . \"guile-gcrypt=master\")\n"
  11644. " (with-debug-info . \"zlib\"))))\n"
  11645. "\n"
  11646. msgstr ""
  11647. #. type: lisp
  11648. #: guix-git/doc/guix.texi:7150
  11649. #, no-wrap
  11650. msgid ""
  11651. "(packages->manifest\n"
  11652. " (list (transform (specification->package \"guix\"))))\n"
  11653. msgstr ""
  11654. #. type: cindex
  11655. #: guix-git/doc/guix.texi:7152
  11656. #, no-wrap
  11657. msgid "input rewriting"
  11658. msgstr ""
  11659. #. type: cindex
  11660. #: guix-git/doc/guix.texi:7153
  11661. #, no-wrap
  11662. msgid "dependency graph rewriting"
  11663. msgstr ""
  11664. #. type: Plain text
  11665. #: guix-git/doc/guix.texi:7160
  11666. 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."
  11667. msgstr ""
  11668. #. type: Plain text
  11669. #: guix-git/doc/guix.texi:7164
  11670. 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."
  11671. msgstr ""
  11672. #. type: deffn
  11673. #: guix-git/doc/guix.texi:7165
  11674. #, no-wrap
  11675. msgid "{Scheme Procedure} package-input-rewriting @var{replacements} @"
  11676. msgstr ""
  11677. #. type: deffn
  11678. #: guix-git/doc/guix.texi:7172
  11679. 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."
  11680. msgstr ""
  11681. #. type: deffn
  11682. #: guix-git/doc/guix.texi:7175
  11683. msgid "Optionally, @var{rewrite-name} is a one-argument procedure that takes the name of a package and returns its new name after rewrite."
  11684. msgstr ""
  11685. #. type: table
  11686. #: guix-git/doc/guix.texi:7179 guix-git/doc/guix.texi:10505
  11687. msgid "Consider this example:"
  11688. msgstr ""
  11689. #. type: lisp
  11690. #: guix-git/doc/guix.texi:7185
  11691. #, no-wrap
  11692. msgid ""
  11693. "(define libressl-instead-of-openssl\n"
  11694. " ;; This is a procedure to replace OPENSSL by LIBRESSL,\n"
  11695. " ;; recursively.\n"
  11696. " (package-input-rewriting `((,openssl . ,libressl))))\n"
  11697. "\n"
  11698. msgstr ""
  11699. #. type: lisp
  11700. #: guix-git/doc/guix.texi:7188
  11701. #, no-wrap
  11702. msgid ""
  11703. "(define git-with-libressl\n"
  11704. " (libressl-instead-of-openssl git))\n"
  11705. msgstr ""
  11706. #. type: Plain text
  11707. #: guix-git/doc/guix.texi:7196
  11708. 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}})."
  11709. msgstr ""
  11710. #. type: Plain text
  11711. #: guix-git/doc/guix.texi:7199
  11712. msgid "The following variant of @code{package-input-rewriting} can match packages to be replaced by name rather than by identity."
  11713. msgstr ""
  11714. #. type: deffn
  11715. #: guix-git/doc/guix.texi:7200
  11716. #, no-wrap
  11717. msgid "{Scheme Procedure} package-input-rewriting/spec @var{replacements} [#:deep? #t]"
  11718. msgstr ""
  11719. #. type: deffn
  11720. #: guix-git/doc/guix.texi:7207
  11721. 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."
  11722. msgstr ""
  11723. #. type: Plain text
  11724. #: guix-git/doc/guix.texi:7210
  11725. msgid "The example above could be rewritten this way:"
  11726. msgstr ""
  11727. #. type: lisp
  11728. #: guix-git/doc/guix.texi:7215
  11729. #, no-wrap
  11730. msgid ""
  11731. "(define libressl-instead-of-openssl\n"
  11732. " ;; Replace all the packages called \"openssl\" with LibreSSL.\n"
  11733. " (package-input-rewriting/spec `((\"openssl\" . ,(const libressl)))))\n"
  11734. msgstr ""
  11735. #. type: Plain text
  11736. #: guix-git/doc/guix.texi:7220
  11737. 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."
  11738. msgstr ""
  11739. #. type: Plain text
  11740. #: guix-git/doc/guix.texi:7224
  11741. msgid "A more generic procedure to rewrite a package dependency graph is @code{package-mapping}: it supports arbitrary changes to nodes in the graph."
  11742. msgstr ""
  11743. #. type: deffn
  11744. #: guix-git/doc/guix.texi:7225
  11745. #, no-wrap
  11746. msgid "{Scheme Procedure} package-mapping @var{proc} [@var{cut?}] [#:deep? #f]"
  11747. msgstr ""
  11748. #. type: deffn
  11749. #: guix-git/doc/guix.texi:7230
  11750. 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."
  11751. msgstr ""
  11752. #. type: cindex
  11753. #: guix-git/doc/guix.texi:7236
  11754. #, no-wrap
  11755. msgid "build system"
  11756. msgstr ""
  11757. #. type: Plain text
  11758. #: guix-git/doc/guix.texi:7241
  11759. 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."
  11760. msgstr ""
  11761. #. type: Plain text
  11762. #: guix-git/doc/guix.texi:7245
  11763. 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."
  11764. msgstr ""
  11765. #. type: cindex
  11766. #: guix-git/doc/guix.texi:7246
  11767. #, no-wrap
  11768. msgid "bag (low-level package representation)"
  11769. msgstr ""
  11770. #. type: Plain text
  11771. #: guix-git/doc/guix.texi:7256
  11772. 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}})."
  11773. msgstr ""
  11774. #. type: Plain text
  11775. #: guix-git/doc/guix.texi:7264
  11776. 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})."
  11777. msgstr ""
  11778. #. type: Plain text
  11779. #: guix-git/doc/guix.texi:7268
  11780. 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."
  11781. msgstr ""
  11782. #. type: defvr
  11783. #: guix-git/doc/guix.texi:7269
  11784. #, no-wrap
  11785. msgid "{Scheme Variable} gnu-build-system"
  11786. msgstr ""
  11787. #. type: defvr
  11788. #: guix-git/doc/guix.texi:7273
  11789. msgid "@code{gnu-build-system} represents the GNU Build System, and variants thereof (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards})."
  11790. msgstr ""
  11791. #. type: cindex
  11792. #: guix-git/doc/guix.texi:7274 guix-git/doc/guix.texi:8200
  11793. #: guix-git/doc/guix.texi:8655
  11794. #, no-wrap
  11795. msgid "build phases"
  11796. msgstr ""
  11797. #. type: defvr
  11798. #: guix-git/doc/guix.texi:7281
  11799. 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."
  11800. msgstr ""
  11801. #. type: defvr
  11802. #: guix-git/doc/guix.texi:7288
  11803. 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."
  11804. msgstr ""
  11805. #. type: defvr
  11806. #: guix-git/doc/guix.texi:7292
  11807. 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:"
  11808. msgstr ""
  11809. #. type: item
  11810. #: guix-git/doc/guix.texi:7294
  11811. #, no-wrap
  11812. msgid "#:phases"
  11813. msgstr ""
  11814. #. type: table
  11815. #: guix-git/doc/guix.texi:7297
  11816. msgid "This argument specifies build-side code that evaluates to an alist of build phases. @xref{Build Phases}, for more information."
  11817. msgstr ""
  11818. #. type: item
  11819. #: guix-git/doc/guix.texi:7298
  11820. #, no-wrap
  11821. msgid "#:configure-flags"
  11822. msgstr ""
  11823. #. type: table
  11824. #: guix-git/doc/guix.texi:7301
  11825. msgid "This is a list of flags (strings) passed to the @command{configure} script. @xref{Defining Packages}, for an example."
  11826. msgstr ""
  11827. #. type: item
  11828. #: guix-git/doc/guix.texi:7302
  11829. #, no-wrap
  11830. msgid "#:make-flags"
  11831. msgstr ""
  11832. #. type: table
  11833. #: guix-git/doc/guix.texi:7306
  11834. msgid "This list of strings contains flags passed as arguments to @command{make} invocations in the @code{build}, @code{check}, and @code{install} phases."
  11835. msgstr ""
  11836. #. type: item
  11837. #: guix-git/doc/guix.texi:7307
  11838. #, no-wrap
  11839. msgid "#:out-of-source?"
  11840. msgstr ""
  11841. #. type: table
  11842. #: guix-git/doc/guix.texi:7310
  11843. msgid "This Boolean, @code{#f} by default, indicates whether to run builds in a build directory separate from the source tree."
  11844. msgstr ""
  11845. #. type: table
  11846. #: guix-git/doc/guix.texi:7315
  11847. 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}."
  11848. msgstr ""
  11849. #. type: item
  11850. #: guix-git/doc/guix.texi:7316
  11851. #, no-wrap
  11852. msgid "#:tests?"
  11853. msgstr ""
  11854. #. type: table
  11855. #: guix-git/doc/guix.texi:7319
  11856. msgid "This Boolean, @code{#t} by default, indicates whether the @code{check} phase should run the package's test suite."
  11857. msgstr ""
  11858. #. type: item
  11859. #: guix-git/doc/guix.texi:7320
  11860. #, no-wrap
  11861. msgid "#:test-target"
  11862. msgstr ""
  11863. #. type: table
  11864. #: guix-git/doc/guix.texi:7323
  11865. msgid "This string, @code{\"check\"} by default, gives the name of the makefile target used by the @code{check} phase."
  11866. msgstr ""
  11867. #. type: item
  11868. #: guix-git/doc/guix.texi:7324
  11869. #, no-wrap
  11870. msgid "#:parallel-build?"
  11871. msgstr ""
  11872. #. type: itemx
  11873. #: guix-git/doc/guix.texi:7325
  11874. #, no-wrap
  11875. msgid "#:parallel-tests?"
  11876. msgstr ""
  11877. #. type: table
  11878. #: guix-git/doc/guix.texi:7332
  11879. 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}})."
  11880. msgstr ""
  11881. #. type: cindex
  11882. #: guix-git/doc/guix.texi:7333
  11883. #, no-wrap
  11884. msgid "RUNPATH, validation"
  11885. msgstr ""
  11886. #. type: item
  11887. #: guix-git/doc/guix.texi:7334
  11888. #, no-wrap
  11889. msgid "#:validate-runpath?"
  11890. msgstr ""
  11891. #. type: table
  11892. #: guix-git/doc/guix.texi:7338
  11893. 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."
  11894. msgstr ""
  11895. #. type: table
  11896. #: guix-git/doc/guix.texi:7346
  11897. msgid "This validation step consists in making sure that all the shared libraries needed by an ELF binaries, 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}."
  11898. msgstr ""
  11899. #. type: item
  11900. #: guix-git/doc/guix.texi:7347
  11901. #, fuzzy, no-wrap
  11902. #| msgid "substituter"
  11903. msgid "#:substitutable?"
  11904. msgstr "substituidor"
  11905. #. type: table
  11906. #: guix-git/doc/guix.texi:7351
  11907. 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})."
  11908. msgstr ""
  11909. #. type: item
  11910. #: guix-git/doc/guix.texi:7352
  11911. #, no-wrap
  11912. msgid "#:allowed-references"
  11913. msgstr ""
  11914. #. type: itemx
  11915. #: guix-git/doc/guix.texi:7353
  11916. #, no-wrap
  11917. msgid "#:disallowed-references"
  11918. msgstr ""
  11919. #. type: table
  11920. #: guix-git/doc/guix.texi:7358
  11921. 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."
  11922. msgstr ""
  11923. #. type: table
  11924. #: guix-git/doc/guix.texi:7363
  11925. 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})."
  11926. msgstr ""
  11927. #. type: defvr
  11928. #: guix-git/doc/guix.texi:7366
  11929. msgid "Most other build systems support these keyword arguments."
  11930. msgstr ""
  11931. #. type: Plain text
  11932. #: guix-git/doc/guix.texi:7373
  11933. 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."
  11934. msgstr ""
  11935. #. type: defvr
  11936. #: guix-git/doc/guix.texi:7374
  11937. #, no-wrap
  11938. msgid "{Scheme Variable} ant-build-system"
  11939. msgstr ""
  11940. #. type: defvr
  11941. #: guix-git/doc/guix.texi:7378
  11942. 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}."
  11943. msgstr ""
  11944. #. type: defvr
  11945. #: guix-git/doc/guix.texi:7383
  11946. 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."
  11947. msgstr ""
  11948. #. type: defvr
  11949. #: guix-git/doc/guix.texi:7389
  11950. 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''."
  11951. msgstr ""
  11952. #. type: defvr
  11953. #: guix-git/doc/guix.texi:7397
  11954. 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."
  11955. msgstr ""
  11956. #. type: defvr
  11957. #: guix-git/doc/guix.texi:7401
  11958. 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."
  11959. msgstr ""
  11960. #. type: defvr
  11961. #: guix-git/doc/guix.texi:7404
  11962. #, no-wrap
  11963. msgid "{Scheme Variable} android-ndk-build-system"
  11964. msgstr ""
  11965. #. type: cindex
  11966. #: guix-git/doc/guix.texi:7405
  11967. #, no-wrap
  11968. msgid "Android distribution"
  11969. msgstr ""
  11970. #. type: cindex
  11971. #: guix-git/doc/guix.texi:7406
  11972. #, no-wrap
  11973. msgid "Android NDK build system"
  11974. msgstr ""
  11975. #. type: defvr
  11976. #: guix-git/doc/guix.texi:7410
  11977. 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."
  11978. msgstr ""
  11979. #. type: defvr
  11980. #: guix-git/doc/guix.texi:7414
  11981. 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."
  11982. msgstr ""
  11983. #. type: defvr
  11984. #: guix-git/doc/guix.texi:7417
  11985. msgid "It's also assumed that the union of all the dependencies of a package has no conflicting files."
  11986. msgstr ""
  11987. #. type: defvr
  11988. #: guix-git/doc/guix.texi:7420
  11989. msgid "For the time being, cross-compilation is not supported - so right now the libraries and header files are assumed to be host tools."
  11990. msgstr ""
  11991. #. type: defvr
  11992. #: guix-git/doc/guix.texi:7423
  11993. #, no-wrap
  11994. msgid "{Scheme Variable} asdf-build-system/source"
  11995. msgstr ""
  11996. #. type: defvrx
  11997. #: guix-git/doc/guix.texi:7424
  11998. #, no-wrap
  11999. msgid "{Scheme Variable} asdf-build-system/sbcl"
  12000. msgstr ""
  12001. #. type: defvrx
  12002. #: guix-git/doc/guix.texi:7425
  12003. #, no-wrap
  12004. msgid "{Scheme Variable} asdf-build-system/ecl"
  12005. msgstr ""
  12006. #. type: defvr
  12007. #: guix-git/doc/guix.texi:7431
  12008. 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."
  12009. msgstr ""
  12010. #. type: defvr
  12011. #: guix-git/doc/guix.texi:7438
  12012. 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."
  12013. msgstr ""
  12014. #. type: defvr
  12015. #: guix-git/doc/guix.texi:7442
  12016. 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}."
  12017. msgstr ""
  12018. #. type: defvr
  12019. #: guix-git/doc/guix.texi:7446
  12020. 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."
  12021. msgstr ""
  12022. #. type: defvr
  12023. #: guix-git/doc/guix.texi:7454
  12024. 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."
  12025. msgstr ""
  12026. #. type: defvr
  12027. #: guix-git/doc/guix.texi:7463
  12028. 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."
  12029. msgstr ""
  12030. #. type: defvr
  12031. #: guix-git/doc/guix.texi:7468
  12032. 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."
  12033. msgstr ""
  12034. #. type: defvr
  12035. #: guix-git/doc/guix.texi:7471
  12036. #, no-wrap
  12037. msgid "{Scheme Variable} cargo-build-system"
  12038. msgstr ""
  12039. #. type: cindex
  12040. #: guix-git/doc/guix.texi:7472
  12041. #, no-wrap
  12042. msgid "Rust programming language"
  12043. msgstr ""
  12044. #. type: cindex
  12045. #: guix-git/doc/guix.texi:7473
  12046. #, no-wrap
  12047. msgid "Cargo (Rust build system)"
  12048. msgstr ""
  12049. #. type: defvr
  12050. #: guix-git/doc/guix.texi:7477
  12051. 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}."
  12052. msgstr ""
  12053. #. type: defvr
  12054. #: guix-git/doc/guix.texi:7480
  12055. 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."
  12056. msgstr ""
  12057. #. type: defvr
  12058. #: guix-git/doc/guix.texi:7490
  12059. 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."
  12060. msgstr ""
  12061. #. type: defvr
  12062. #: guix-git/doc/guix.texi:7500
  12063. 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."
  12064. msgstr ""
  12065. #. type: defvr
  12066. #: guix-git/doc/guix.texi:7502
  12067. #, no-wrap
  12068. msgid "{Scheme Variable} chicken-build-system"
  12069. msgstr ""
  12070. #. type: defvr
  12071. #: guix-git/doc/guix.texi:7507
  12072. 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."
  12073. msgstr ""
  12074. #. type: defvr
  12075. #: guix-git/doc/guix.texi:7510
  12076. msgid "This build system adds @code{chicken} to the package inputs, as well as the packages of @code{gnu-build-system}."
  12077. msgstr ""
  12078. #. type: defvr
  12079. #: guix-git/doc/guix.texi:7514
  12080. 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."
  12081. msgstr ""
  12082. #. type: defvr
  12083. #: guix-git/doc/guix.texi:7516
  12084. msgid "For example, if you are packaging the @code{srfi-1} egg:"
  12085. msgstr ""
  12086. #. type: lisp
  12087. #: guix-git/doc/guix.texi:7519
  12088. #, no-wrap
  12089. msgid "(arguments '(#:egg-name \"srfi-1\"))\n"
  12090. msgstr ""
  12091. #. type: defvr
  12092. #: guix-git/doc/guix.texi:7524
  12093. 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."
  12094. msgstr ""
  12095. #. type: defvr
  12096. #: guix-git/doc/guix.texi:7526
  12097. #, no-wrap
  12098. msgid "{Scheme Variable} copy-build-system"
  12099. msgstr ""
  12100. #. type: defvr
  12101. #: guix-git/doc/guix.texi:7530
  12102. 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."
  12103. msgstr ""
  12104. #. type: defvr
  12105. #: guix-git/doc/guix.texi:7535
  12106. 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}."
  12107. msgstr ""
  12108. #. type: defvr
  12109. #: guix-git/doc/guix.texi:7540
  12110. 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."
  12111. msgstr ""
  12112. #. type: item
  12113. #: guix-git/doc/guix.texi:7542
  12114. #, no-wrap
  12115. msgid "When @var{source} matches a file or directory without trailing slash, install it to @var{target}."
  12116. msgstr ""
  12117. #. type: item
  12118. #: guix-git/doc/guix.texi:7544
  12119. #, no-wrap
  12120. msgid "If @var{target} has a trailing slash, install @var{source} basename beneath @var{target}."
  12121. msgstr ""
  12122. #. type: item
  12123. #: guix-git/doc/guix.texi:7545
  12124. #, no-wrap
  12125. msgid "Otherwise install @var{source} as @var{target}."
  12126. msgstr ""
  12127. #. type: item
  12128. #: guix-git/doc/guix.texi:7548
  12129. #, no-wrap
  12130. msgid "When @var{source} is a directory with a trailing slash, or when @var{filters} are used,"
  12131. msgstr ""
  12132. #. type: itemize
  12133. #: guix-git/doc/guix.texi:7551
  12134. msgid "the trailing slash of @var{target} is implied with the same meaning as above."
  12135. msgstr ""
  12136. #. type: item
  12137. #: guix-git/doc/guix.texi:7552
  12138. #, no-wrap
  12139. msgid "Without @var{filters}, install the full @var{source} @emph{content} to @var{target}."
  12140. msgstr ""
  12141. #. type: item
  12142. #: guix-git/doc/guix.texi:7553
  12143. #, no-wrap
  12144. msgid "With @var{filters} among @code{#:include}, @code{#:include-regexp}, @code{#:exclude},"
  12145. msgstr ""
  12146. #. type: itemize
  12147. #: guix-git/doc/guix.texi:7556
  12148. msgid "@code{#:exclude-regexp}, only select files are installed depending on the filters. Each filters is specified by a list of strings."
  12149. msgstr ""
  12150. #. type: item
  12151. #: guix-git/doc/guix.texi:7557
  12152. #, no-wrap
  12153. msgid "With @code{#:include}, install all the files which the path suffix matches"
  12154. msgstr ""
  12155. #. type: itemize
  12156. #: guix-git/doc/guix.texi:7559
  12157. msgid "at least one of the elements in the given list."
  12158. msgstr ""
  12159. #. type: item
  12160. #: guix-git/doc/guix.texi:7559
  12161. #, no-wrap
  12162. msgid "With @code{#:include-regexp}, install all the files which the"
  12163. msgstr ""
  12164. #. type: itemize
  12165. #: guix-git/doc/guix.texi:7562
  12166. msgid "subpaths match at least one of the regular expressions in the given list."
  12167. msgstr ""
  12168. #. type: item
  12169. #: guix-git/doc/guix.texi:7562
  12170. #, no-wrap
  12171. msgid "The @code{#:exclude} and @code{#:exclude-regexp} filters"
  12172. msgstr ""
  12173. #. type: itemize
  12174. #: guix-git/doc/guix.texi:7567
  12175. 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."
  12176. msgstr ""
  12177. #. type: itemize
  12178. #: guix-git/doc/guix.texi:7571
  12179. msgid "In all cases, the paths relative to @var{source} are preserved within @var{target}."
  12180. msgstr ""
  12181. #. type: defvr
  12182. #: guix-git/doc/guix.texi:7574
  12183. msgid "Examples:"
  12184. msgstr ""
  12185. #. type: item
  12186. #: guix-git/doc/guix.texi:7576
  12187. #, no-wrap
  12188. msgid "@code{(\"foo/bar\" \"share/my-app/\")}: Install @file{bar} to @file{share/my-app/bar}."
  12189. msgstr ""
  12190. #. type: item
  12191. #: guix-git/doc/guix.texi:7577
  12192. #, no-wrap
  12193. msgid "@code{(\"foo/bar\" \"share/my-app/baz\")}: Install @file{bar} to @file{share/my-app/baz}."
  12194. msgstr ""
  12195. #. type: item
  12196. #: guix-git/doc/guix.texi:7578
  12197. #, no-wrap
  12198. msgid "@code{(\"foo/\" \"share/my-app\")}: Install the content of @file{foo} inside @file{share/my-app},"
  12199. msgstr ""
  12200. #. type: itemize
  12201. #: guix-git/doc/guix.texi:7580
  12202. msgid "e.g., install @file{foo/sub/file} to @file{share/my-app/sub/file}."
  12203. msgstr ""
  12204. #. type: item
  12205. #: guix-git/doc/guix.texi:7580
  12206. #, no-wrap
  12207. msgid "@code{(\"foo/\" \"share/my-app\" #:include (\"sub/file\"))}: Install only @file{foo/sub/file} to"
  12208. msgstr ""
  12209. #. type: itemize
  12210. #: guix-git/doc/guix.texi:7582
  12211. msgid "@file{share/my-app/sub/file}."
  12212. msgstr ""
  12213. #. type: item
  12214. #: guix-git/doc/guix.texi:7582
  12215. #, no-wrap
  12216. msgid "@code{(\"foo/sub\" \"share/my-app\" #:include (\"file\"))}: Install @file{foo/sub/file} to"
  12217. msgstr ""
  12218. #. type: itemize
  12219. #: guix-git/doc/guix.texi:7584
  12220. msgid "@file{share/my-app/file}."
  12221. msgstr ""
  12222. #. type: cindex
  12223. #: guix-git/doc/guix.texi:7588
  12224. #, no-wrap
  12225. msgid "Clojure (programming language)"
  12226. msgstr ""
  12227. #. type: cindex
  12228. #: guix-git/doc/guix.texi:7589
  12229. #, no-wrap
  12230. msgid "simple Clojure build system"
  12231. msgstr ""
  12232. #. type: defvr
  12233. #: guix-git/doc/guix.texi:7590
  12234. #, no-wrap
  12235. msgid "{Scheme Variable} clojure-build-system"
  12236. msgstr ""
  12237. #. type: defvr
  12238. #: guix-git/doc/guix.texi:7595
  12239. 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."
  12240. msgstr ""
  12241. #. type: defvr
  12242. #: guix-git/doc/guix.texi:7599
  12243. 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."
  12244. msgstr ""
  12245. #. type: defvr
  12246. #: guix-git/doc/guix.texi:7605
  12247. 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."
  12248. msgstr ""
  12249. #. type: defvr
  12250. #: guix-git/doc/guix.texi:7608
  12251. msgid "This build system is an extension of @code{ant-build-system}, but with the following phases changed:"
  12252. msgstr ""
  12253. #. type: item
  12254. #: guix-git/doc/guix.texi:7611 guix-git/doc/guix.texi:8163
  12255. #: guix-git/doc/guix.texi:8210 guix-git/doc/guix.texi:8279
  12256. #: guix-git/doc/guix.texi:32905
  12257. #, no-wrap
  12258. msgid "build"
  12259. msgstr "build"
  12260. #. type: table
  12261. #: guix-git/doc/guix.texi:7620
  12262. 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."
  12263. msgstr ""
  12264. #. type: item
  12265. #: guix-git/doc/guix.texi:7621 guix-git/doc/guix.texi:8167
  12266. #: guix-git/doc/guix.texi:8284
  12267. #, no-wrap
  12268. msgid "check"
  12269. msgstr "marcar"
  12270. #. type: table
  12271. #: guix-git/doc/guix.texi:7628
  12272. 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."
  12273. msgstr ""
  12274. #. type: item
  12275. #: guix-git/doc/guix.texi:7629 guix-git/doc/guix.texi:8171
  12276. #: guix-git/doc/guix.texi:8214 guix-git/doc/guix.texi:8290
  12277. #, no-wrap
  12278. msgid "install"
  12279. msgstr "instalar"
  12280. #. type: table
  12281. #: guix-git/doc/guix.texi:7631
  12282. msgid "This phase installs all jars built previously."
  12283. msgstr ""
  12284. #. type: defvr
  12285. #: guix-git/doc/guix.texi:7634
  12286. msgid "Apart from the above, this build system also contains an additional phase:"
  12287. msgstr ""
  12288. #. type: item
  12289. #: guix-git/doc/guix.texi:7637
  12290. #, no-wrap
  12291. msgid "install-doc"
  12292. msgstr ""
  12293. #. type: table
  12294. #: guix-git/doc/guix.texi:7642
  12295. 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."
  12296. msgstr ""
  12297. #. type: defvr
  12298. #: guix-git/doc/guix.texi:7645
  12299. #, no-wrap
  12300. msgid "{Scheme Variable} cmake-build-system"
  12301. msgstr ""
  12302. #. type: defvr
  12303. #: guix-git/doc/guix.texi:7649
  12304. 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}."
  12305. msgstr ""
  12306. #. type: defvr
  12307. #: guix-git/doc/guix.texi:7653
  12308. 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."
  12309. msgstr ""
  12310. #. type: defvr
  12311. #: guix-git/doc/guix.texi:7660
  12312. 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."
  12313. msgstr ""
  12314. #. type: defvr
  12315. #: guix-git/doc/guix.texi:7662
  12316. #, no-wrap
  12317. msgid "{Scheme Variable} dune-build-system"
  12318. msgstr ""
  12319. #. type: defvr
  12320. #: guix-git/doc/guix.texi:7669
  12321. 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."
  12322. msgstr ""
  12323. #. type: defvr
  12324. #: guix-git/doc/guix.texi:7673
  12325. 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."
  12326. msgstr ""
  12327. #. type: defvr
  12328. #: guix-git/doc/guix.texi:7677
  12329. 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."
  12330. msgstr ""
  12331. #. type: defvr
  12332. #: guix-git/doc/guix.texi:7681
  12333. 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}."
  12334. msgstr ""
  12335. #. type: defvr
  12336. #: guix-git/doc/guix.texi:7686
  12337. 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}."
  12338. msgstr ""
  12339. #. type: defvr
  12340. #: guix-git/doc/guix.texi:7688
  12341. #, no-wrap
  12342. msgid "{Scheme Variable} go-build-system"
  12343. msgstr ""
  12344. #. type: defvr
  12345. #: guix-git/doc/guix.texi:7693
  12346. 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}."
  12347. msgstr ""
  12348. #. type: defvr
  12349. #: guix-git/doc/guix.texi:7704
  12350. 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."
  12351. msgstr ""
  12352. #. type: defvr
  12353. #: guix-git/doc/guix.texi:7709
  12354. 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."
  12355. msgstr ""
  12356. #. type: defvr
  12357. #: guix-git/doc/guix.texi:7711
  12358. #, no-wrap
  12359. msgid "{Scheme Variable} glib-or-gtk-build-system"
  12360. msgstr ""
  12361. #. type: defvr
  12362. #: guix-git/doc/guix.texi:7714
  12363. 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+."
  12364. msgstr ""
  12365. #. type: defvr
  12366. #: guix-git/doc/guix.texi:7717
  12367. msgid "This build system adds the following two phases to the ones defined by @code{gnu-build-system}:"
  12368. msgstr ""
  12369. #. type: item
  12370. #: guix-git/doc/guix.texi:7719 guix-git/doc/guix.texi:8187
  12371. #, no-wrap
  12372. msgid "glib-or-gtk-wrap"
  12373. msgstr ""
  12374. #. type: table
  12375. #: guix-git/doc/guix.texi:7726
  12376. 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."
  12377. msgstr ""
  12378. #. type: table
  12379. #: guix-git/doc/guix.texi:7733
  12380. 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+."
  12381. msgstr ""
  12382. #. type: item
  12383. #: guix-git/doc/guix.texi:7734 guix-git/doc/guix.texi:8191
  12384. #, no-wrap
  12385. msgid "glib-or-gtk-compile-schemas"
  12386. msgstr ""
  12387. #. type: table
  12388. #: guix-git/doc/guix.texi:7742
  12389. 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."
  12390. msgstr ""
  12391. #. type: defvr
  12392. #: guix-git/doc/guix.texi:7745
  12393. msgid "Both phases are executed after the @code{install} phase."
  12394. msgstr ""
  12395. #. type: defvr
  12396. #: guix-git/doc/guix.texi:7747
  12397. #, no-wrap
  12398. msgid "{Scheme Variable} guile-build-system"
  12399. msgstr ""
  12400. #. type: defvr
  12401. #: guix-git/doc/guix.texi:7754
  12402. 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."
  12403. msgstr ""
  12404. #. type: defvr
  12405. #: guix-git/doc/guix.texi:7757
  12406. msgid "This build system supports cross-compilation by using the @option{--target} option of @samp{guild compile}."
  12407. msgstr ""
  12408. #. type: defvr
  12409. #: guix-git/doc/guix.texi:7760
  12410. msgid "Packages built with @code{guile-build-system} must provide a Guile package in their @code{native-inputs} field."
  12411. msgstr ""
  12412. #. type: defvr
  12413. #: guix-git/doc/guix.texi:7762
  12414. #, no-wrap
  12415. msgid "{Scheme Variable} julia-build-system"
  12416. msgstr ""
  12417. #. type: defvr
  12418. #: guix-git/doc/guix.texi:7769
  12419. 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}."
  12420. msgstr ""
  12421. #. type: defvr
  12422. #: guix-git/doc/guix.texi:7773
  12423. 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)."
  12424. msgstr ""
  12425. #. type: defvr
  12426. #: guix-git/doc/guix.texi:7777
  12427. 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}."
  12428. msgstr ""
  12429. #. type: defvr
  12430. #: guix-git/doc/guix.texi:7782
  12431. 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."
  12432. msgstr ""
  12433. #. type: defvr
  12434. #: guix-git/doc/guix.texi:7786
  12435. 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:"
  12436. msgstr ""
  12437. #. type: lisp
  12438. #: guix-git/doc/guix.texi:7798
  12439. #, no-wrap
  12440. msgid ""
  12441. "(add-after 'unpack 'override-binary-path\n"
  12442. " (lambda* (#:key inputs #:allow-other-keys)\n"
  12443. " (for-each (lambda (wrapper)\n"
  12444. " (substitute* wrapper\n"
  12445. " ((\"generate_wrapper_header.*\")\n"
  12446. " (string-append\n"
  12447. " \"generate_wrapper_header(\\\"MbedTLS\\\", \\\"\"\n"
  12448. " (assoc-ref inputs \"mbedtls-apache\") \"\\\")\\n\"))))\n"
  12449. " ;; There's a Julia file for each platform, override them all.\n"
  12450. " (find-files \"src/wrappers/\" \"\\\\.jl$\"))))\n"
  12451. msgstr ""
  12452. #. type: defvr
  12453. #: guix-git/doc/guix.texi:7806
  12454. 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, it's 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."
  12455. msgstr ""
  12456. #. type: defvr
  12457. #: guix-git/doc/guix.texi:7808
  12458. #, no-wrap
  12459. msgid "{Scheme Variable} maven-build-system"
  12460. msgstr ""
  12461. #. type: defvr
  12462. #: guix-git/doc/guix.texi:7815
  12463. 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."
  12464. msgstr ""
  12465. #. type: defvr
  12466. #: guix-git/doc/guix.texi:7825
  12467. 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."
  12468. msgstr ""
  12469. #. type: defvr
  12470. #: guix-git/doc/guix.texi:7828
  12471. 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."
  12472. msgstr ""
  12473. #. type: defvr
  12474. #: guix-git/doc/guix.texi:7834
  12475. 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}."
  12476. msgstr ""
  12477. #. type: defvr
  12478. #: guix-git/doc/guix.texi:7840
  12479. 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."
  12480. msgstr ""
  12481. #. type: defvr
  12482. #: guix-git/doc/guix.texi:7843
  12483. msgid "You can override the default @code{jdk} and @code{maven} packages with the corresponding argument, @code{#:jdk} and @code{#:maven}."
  12484. msgstr ""
  12485. #. type: defvr
  12486. #: guix-git/doc/guix.texi:7848
  12487. 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."
  12488. msgstr ""
  12489. #. type: defvr
  12490. #: guix-git/doc/guix.texi:7850
  12491. #, no-wrap
  12492. msgid "{Scheme Variable} minify-build-system"
  12493. msgstr ""
  12494. #. type: defvr
  12495. #: guix-git/doc/guix.texi:7853
  12496. msgid "This variable is exported by @code{(guix build-system minify)}. It implements a minification procedure for simple JavaScript packages."
  12497. msgstr ""
  12498. #. type: defvr
  12499. #: guix-git/doc/guix.texi:7859
  12500. 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."
  12501. msgstr ""
  12502. #. type: defvr
  12503. #: guix-git/doc/guix.texi:7863
  12504. 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."
  12505. msgstr ""
  12506. #. type: defvr
  12507. #: guix-git/doc/guix.texi:7865
  12508. #, no-wrap
  12509. msgid "{Scheme Variable} ocaml-build-system"
  12510. msgstr ""
  12511. #. type: defvr
  12512. #: guix-git/doc/guix.texi:7871
  12513. 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."
  12514. msgstr ""
  12515. #. type: defvr
  12516. #: guix-git/doc/guix.texi:7881
  12517. 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."
  12518. msgstr ""
  12519. #. type: defvr
  12520. #: guix-git/doc/guix.texi:7886
  12521. 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."
  12522. msgstr ""
  12523. #. type: defvr
  12524. #: guix-git/doc/guix.texi:7890
  12525. 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."
  12526. msgstr ""
  12527. #. type: defvr
  12528. #: guix-git/doc/guix.texi:7898
  12529. 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."
  12530. msgstr ""
  12531. #. type: defvr
  12532. #: guix-git/doc/guix.texi:7906
  12533. 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."
  12534. msgstr ""
  12535. #. type: defvr
  12536. #: guix-git/doc/guix.texi:7908
  12537. #, no-wrap
  12538. msgid "{Scheme Variable} python-build-system"
  12539. msgstr ""
  12540. #. type: defvr
  12541. #: guix-git/doc/guix.texi:7913
  12542. 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{}}."
  12543. msgstr ""
  12544. #. type: defvr
  12545. #: guix-git/doc/guix.texi:7917
  12546. 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."
  12547. msgstr ""
  12548. #. type: defvr
  12549. #: guix-git/doc/guix.texi:7923
  12550. 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."
  12551. msgstr ""
  12552. #. type: defvr
  12553. #: guix-git/doc/guix.texi:7928
  12554. 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}."
  12555. msgstr ""
  12556. #. type: defvr
  12557. #: guix-git/doc/guix.texi:7930
  12558. #, no-wrap
  12559. msgid "{Scheme Variable} perl-build-system"
  12560. msgstr ""
  12561. #. type: defvr
  12562. #: guix-git/doc/guix.texi:7942
  12563. 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."
  12564. msgstr ""
  12565. #. type: defvr
  12566. #: guix-git/doc/guix.texi:7946
  12567. 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."
  12568. msgstr ""
  12569. #. type: defvr
  12570. #: guix-git/doc/guix.texi:7948
  12571. msgid "Which Perl package is used can be specified with @code{#:perl}."
  12572. msgstr ""
  12573. #. type: defvr
  12574. #: guix-git/doc/guix.texi:7950
  12575. #, no-wrap
  12576. msgid "{Scheme Variable} renpy-build-system"
  12577. msgstr ""
  12578. #. type: defvr
  12579. #: guix-git/doc/guix.texi:7954
  12580. 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."
  12581. msgstr ""
  12582. #. type: defvr
  12583. #: guix-git/doc/guix.texi:7957
  12584. 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."
  12585. msgstr ""
  12586. #. type: defvr
  12587. #: guix-git/doc/guix.texi:7961
  12588. 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}."
  12589. msgstr ""
  12590. #. type: defvr
  12591. #: guix-git/doc/guix.texi:7963
  12592. #, no-wrap
  12593. msgid "{Scheme Variable} qt-build-system"
  12594. msgstr ""
  12595. #. type: defvr
  12596. #: guix-git/doc/guix.texi:7966
  12597. msgid "This variable is exported by @code{(guix build-system qt)}. It is intended for use with applications using Qt or KDE."
  12598. msgstr ""
  12599. #. type: defvr
  12600. #: guix-git/doc/guix.texi:7969
  12601. msgid "This build system adds the following two phases to the ones defined by @code{cmake-build-system}:"
  12602. msgstr ""
  12603. #. type: item
  12604. #: guix-git/doc/guix.texi:7971
  12605. #, no-wrap
  12606. msgid "check-setup"
  12607. msgstr ""
  12608. #. type: table
  12609. #: guix-git/doc/guix.texi:7978
  12610. 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}."
  12611. msgstr ""
  12612. #. type: table
  12613. #: guix-git/doc/guix.texi:7981
  12614. msgid "This phase is added before the @code{check} phase. It's a separate phase to ease adjusting if necessary."
  12615. msgstr ""
  12616. #. type: item
  12617. #: guix-git/doc/guix.texi:7982
  12618. #, no-wrap
  12619. msgid "qt-wrap"
  12620. msgstr ""
  12621. #. type: table
  12622. #: guix-git/doc/guix.texi:7988
  12623. 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."
  12624. msgstr ""
  12625. #. type: table
  12626. #: guix-git/doc/guix.texi:7994
  12627. 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."
  12628. msgstr ""
  12629. #. type: table
  12630. #: guix-git/doc/guix.texi:7996
  12631. msgid "This phase is added after the @code{install} phase."
  12632. msgstr ""
  12633. #. type: defvr
  12634. #: guix-git/doc/guix.texi:7999
  12635. #, no-wrap
  12636. msgid "{Scheme Variable} r-build-system"
  12637. msgstr ""
  12638. #. type: defvr
  12639. #: guix-git/doc/guix.texi:8007
  12640. 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}."
  12641. msgstr ""
  12642. #. type: defvr
  12643. #: guix-git/doc/guix.texi:8009
  12644. #, no-wrap
  12645. msgid "{Scheme Variable} rakudo-build-system"
  12646. msgstr ""
  12647. #. type: defvr
  12648. #: guix-git/doc/guix.texi:8017
  12649. 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."
  12650. msgstr ""
  12651. #. type: defvr
  12652. #: guix-git/doc/guix.texi:8025
  12653. 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."
  12654. msgstr ""
  12655. #. type: defvr
  12656. #: guix-git/doc/guix.texi:8027
  12657. #, no-wrap
  12658. msgid "{Scheme Variable} texlive-build-system"
  12659. msgstr ""
  12660. #. type: defvr
  12661. #: guix-git/doc/guix.texi:8032
  12662. 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."
  12663. msgstr ""
  12664. #. type: defvr
  12665. #: guix-git/doc/guix.texi:8041
  12666. 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."
  12667. msgstr ""
  12668. #. type: defvr
  12669. #: guix-git/doc/guix.texi:8044
  12670. msgid "The @code{#:tex-directory} parameter tells the build system where to install the built files under the texmf tree."
  12671. msgstr ""
  12672. #. type: defvr
  12673. #: guix-git/doc/guix.texi:8046
  12674. #, no-wrap
  12675. msgid "{Scheme Variable} ruby-build-system"
  12676. msgstr ""
  12677. #. type: defvr
  12678. #: guix-git/doc/guix.texi:8050
  12679. 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}."
  12680. msgstr ""
  12681. #. type: defvr
  12682. #: guix-git/doc/guix.texi:8058
  12683. 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."
  12684. msgstr ""
  12685. #. type: defvr
  12686. #: guix-git/doc/guix.texi:8062
  12687. 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."
  12688. msgstr ""
  12689. #. type: defvr
  12690. #: guix-git/doc/guix.texi:8064
  12691. #, no-wrap
  12692. msgid "{Scheme Variable} waf-build-system"
  12693. msgstr ""
  12694. #. type: defvr
  12695. #: guix-git/doc/guix.texi:8070
  12696. 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."
  12697. msgstr ""
  12698. #. type: defvr
  12699. #: guix-git/doc/guix.texi:8074
  12700. 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."
  12701. msgstr ""
  12702. #. type: defvr
  12703. #: guix-git/doc/guix.texi:8076
  12704. #, no-wrap
  12705. msgid "{Scheme Variable} scons-build-system"
  12706. msgstr ""
  12707. #. type: defvr
  12708. #: guix-git/doc/guix.texi:8082
  12709. 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."
  12710. msgstr ""
  12711. #. type: defvr
  12712. #: guix-git/doc/guix.texi:8089
  12713. 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."
  12714. msgstr ""
  12715. #. type: defvr
  12716. #: guix-git/doc/guix.texi:8091
  12717. #, no-wrap
  12718. msgid "{Scheme Variable} haskell-build-system"
  12719. msgstr ""
  12720. #. type: defvr
  12721. #: guix-git/doc/guix.texi:8105
  12722. 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."
  12723. msgstr ""
  12724. #. type: defvr
  12725. #: guix-git/doc/guix.texi:8108
  12726. msgid "Which Haskell compiler is used can be specified with the @code{#:haskell} parameter which defaults to @code{ghc}."
  12727. msgstr ""
  12728. #. type: defvr
  12729. #: guix-git/doc/guix.texi:8110
  12730. #, no-wrap
  12731. msgid "{Scheme Variable} dub-build-system"
  12732. msgstr ""
  12733. #. type: defvr
  12734. #: guix-git/doc/guix.texi:8115
  12735. 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."
  12736. msgstr ""
  12737. #. type: defvr
  12738. #: guix-git/doc/guix.texi:8118
  12739. msgid "Which D compiler is used can be specified with the @code{#:ldc} parameter which defaults to @code{ldc}."
  12740. msgstr ""
  12741. #. type: anchor{#1}
  12742. #: guix-git/doc/guix.texi:8121
  12743. msgid "emacs-build-system"
  12744. msgstr ""
  12745. #. type: defvr
  12746. #: guix-git/doc/guix.texi:8121
  12747. #, no-wrap
  12748. msgid "{Scheme Variable} emacs-build-system"
  12749. msgstr ""
  12750. #. type: defvr
  12751. #: guix-git/doc/guix.texi:8125
  12752. 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})."
  12753. msgstr ""
  12754. #. type: defvr
  12755. #: guix-git/doc/guix.texi:8131
  12756. 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}."
  12757. msgstr ""
  12758. #. type: defvr
  12759. #: guix-git/doc/guix.texi:8133
  12760. #, no-wrap
  12761. msgid "{Scheme Variable} font-build-system"
  12762. msgstr ""
  12763. #. type: defvr
  12764. #: guix-git/doc/guix.texi:8139
  12765. 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."
  12766. msgstr ""
  12767. #. type: defvr
  12768. #: guix-git/doc/guix.texi:8141
  12769. #, no-wrap
  12770. msgid "{Scheme Variable} meson-build-system"
  12771. msgstr ""
  12772. #. type: defvr
  12773. #: guix-git/doc/guix.texi:8145
  12774. 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."
  12775. msgstr ""
  12776. #. type: defvr
  12777. #: guix-git/doc/guix.texi:8151
  12778. 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."
  12779. msgstr ""
  12780. #. type: defvr
  12781. #: guix-git/doc/guix.texi:8154
  12782. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed to some specific for Meson:"
  12783. msgstr ""
  12784. #. type: item
  12785. #: guix-git/doc/guix.texi:8157 guix-git/doc/guix.texi:8206
  12786. #: guix-git/doc/guix.texi:8274
  12787. #, no-wrap
  12788. msgid "configure"
  12789. msgstr ""
  12790. #. type: table
  12791. #: guix-git/doc/guix.texi:8162
  12792. 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}."
  12793. msgstr ""
  12794. #. type: table
  12795. #: guix-git/doc/guix.texi:8166
  12796. msgid "The phase runs @code{ninja} to build the package in parallel by default, but this can be changed with @code{#:parallel-build?}."
  12797. msgstr ""
  12798. #. type: table
  12799. #: guix-git/doc/guix.texi:8170
  12800. msgid "The phase runs @code{ninja} with the target specified in @code{#:test-target}, which is @code{\"test\"} by default."
  12801. msgstr ""
  12802. #. type: table
  12803. #: guix-git/doc/guix.texi:8173
  12804. msgid "The phase runs @code{ninja install} and can not be changed."
  12805. msgstr ""
  12806. #. type: defvr
  12807. #: guix-git/doc/guix.texi:8176
  12808. msgid "Apart from that, the build system also adds the following phases:"
  12809. msgstr ""
  12810. #. type: item
  12811. #: guix-git/doc/guix.texi:8179
  12812. #, no-wrap
  12813. msgid "fix-runpath"
  12814. msgstr ""
  12815. #. type: table
  12816. #: guix-git/doc/guix.texi:8186
  12817. 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."
  12818. msgstr ""
  12819. #. type: table
  12820. #: guix-git/doc/guix.texi:8190 guix-git/doc/guix.texi:8194
  12821. 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?}."
  12822. msgstr ""
  12823. #. type: defvr
  12824. #: guix-git/doc/guix.texi:8197
  12825. #, no-wrap
  12826. msgid "{Scheme Variable} linux-module-build-system"
  12827. msgstr ""
  12828. #. type: defvr
  12829. #: guix-git/doc/guix.texi:8199
  12830. msgid "@code{linux-module-build-system} allows building Linux kernel modules."
  12831. msgstr ""
  12832. #. type: defvr
  12833. #: guix-git/doc/guix.texi:8203
  12834. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed:"
  12835. msgstr ""
  12836. #. type: table
  12837. #: guix-git/doc/guix.texi:8209
  12838. msgid "This phase configures the environment so that the Linux kernel's Makefile can be used to build the external kernel module."
  12839. msgstr ""
  12840. #. type: table
  12841. #: guix-git/doc/guix.texi:8213
  12842. msgid "This phase uses the Linux kernel's Makefile in order to build the external kernel module."
  12843. msgstr ""
  12844. #. type: table
  12845. #: guix-git/doc/guix.texi:8217
  12846. msgid "This phase uses the Linux kernel's Makefile in order to install the external kernel module."
  12847. msgstr ""
  12848. #. type: defvr
  12849. #: guix-git/doc/guix.texi:8222
  12850. 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)."
  12851. msgstr ""
  12852. #. type: defvr
  12853. #: guix-git/doc/guix.texi:8224
  12854. #, no-wrap
  12855. msgid "{Scheme Variable} node-build-system"
  12856. msgstr ""
  12857. #. type: defvr
  12858. #: guix-git/doc/guix.texi:8229
  12859. 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."
  12860. msgstr ""
  12861. #. type: defvr
  12862. #: guix-git/doc/guix.texi:8233
  12863. 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}."
  12864. msgstr ""
  12865. #. type: Plain text
  12866. #: guix-git/doc/guix.texi:8239
  12867. 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."
  12868. msgstr ""
  12869. #. type: defvr
  12870. #: guix-git/doc/guix.texi:8240
  12871. #, no-wrap
  12872. msgid "{Scheme Variable} trivial-build-system"
  12873. msgstr ""
  12874. #. type: defvr
  12875. #: guix-git/doc/guix.texi:8242
  12876. msgid "This variable is exported by @code{(guix build-system trivial)}."
  12877. msgstr ""
  12878. #. type: defvr
  12879. #: guix-git/doc/guix.texi:8247
  12880. 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}})."
  12881. msgstr ""
  12882. #. type: cindex
  12883. #: guix-git/doc/guix.texi:8252
  12884. #, no-wrap
  12885. msgid "build phases, for packages"
  12886. msgstr ""
  12887. #. type: Plain text
  12888. #: guix-git/doc/guix.texi:8258
  12889. 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})."
  12890. msgstr ""
  12891. #. type: Plain text
  12892. #: guix-git/doc/guix.texi:8262
  12893. 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:"
  12894. msgstr ""
  12895. #. type: item
  12896. #: guix-git/doc/guix.texi:8264
  12897. #, no-wrap
  12898. msgid "unpack"
  12899. msgstr ""
  12900. #. type: table
  12901. #: guix-git/doc/guix.texi:8268
  12902. 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."
  12903. msgstr ""
  12904. #. type: item
  12905. #: guix-git/doc/guix.texi:8269
  12906. #, no-wrap
  12907. msgid "patch-source-shebangs"
  12908. msgstr ""
  12909. #. type: table
  12910. #: guix-git/doc/guix.texi:8273
  12911. 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}."
  12912. msgstr ""
  12913. #. type: table
  12914. #: guix-git/doc/guix.texi:8278
  12915. 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."
  12916. msgstr ""
  12917. #. type: table
  12918. #: guix-git/doc/guix.texi:8283
  12919. 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}."
  12920. msgstr ""
  12921. #. type: table
  12922. #: guix-git/doc/guix.texi:8289
  12923. 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}."
  12924. msgstr ""
  12925. #. type: table
  12926. #: guix-git/doc/guix.texi:8292
  12927. msgid "Run @code{make install} with the flags listed in @code{#:make-flags}."
  12928. msgstr ""
  12929. #. type: item
  12930. #: guix-git/doc/guix.texi:8293
  12931. #, no-wrap
  12932. msgid "patch-shebangs"
  12933. msgstr ""
  12934. #. type: table
  12935. #: guix-git/doc/guix.texi:8295
  12936. msgid "Patch shebangs on the installed executable files."
  12937. msgstr ""
  12938. #. type: item
  12939. #: guix-git/doc/guix.texi:8296
  12940. #, no-wrap
  12941. msgid "strip"
  12942. msgstr ""
  12943. #. type: table
  12944. #: guix-git/doc/guix.texi:8300
  12945. 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})."
  12946. msgstr ""
  12947. #. type: Plain text
  12948. #: guix-git/doc/guix.texi:8309
  12949. 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})."
  12950. msgstr ""
  12951. #. type: Plain text
  12952. #: guix-git/doc/guix.texi:8316
  12953. 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."
  12954. msgstr ""
  12955. #. type: vindex
  12956. #: guix-git/doc/guix.texi:8317
  12957. #, no-wrap
  12958. msgid "%standard-phases"
  12959. msgstr ""
  12960. #. type: Plain text
  12961. #: guix-git/doc/guix.texi:8323
  12962. 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!}:"
  12963. msgstr ""
  12964. #. type: lisp
  12965. #: guix-git/doc/guix.texi:8326
  12966. #, no-wrap
  12967. msgid ""
  12968. ";; The build phases of 'gnu-build-system'.\n"
  12969. "\n"
  12970. msgstr ""
  12971. #. type: lisp
  12972. #: guix-git/doc/guix.texi:8330
  12973. #, no-wrap
  12974. msgid ""
  12975. "(define* (unpack #:key source #:allow-other-keys)\n"
  12976. " ;; Extract the source tarball.\n"
  12977. " (invoke \"tar\" \"xvf\" source))\n"
  12978. "\n"
  12979. msgstr ""
  12980. #. type: lisp
  12981. #: guix-git/doc/guix.texi:8336
  12982. #, no-wrap
  12983. msgid ""
  12984. "(define* (configure #:key outputs #:allow-other-keys)\n"
  12985. " ;; Run the 'configure' script. Install to output \"out\".\n"
  12986. " (let ((out (assoc-ref outputs \"out\")))\n"
  12987. " (invoke \"./configure\"\n"
  12988. " (string-append \"--prefix=\" out))))\n"
  12989. "\n"
  12990. msgstr ""
  12991. #. type: lisp
  12992. #: guix-git/doc/guix.texi:8340
  12993. #, no-wrap
  12994. msgid ""
  12995. "(define* (build #:allow-other-keys)\n"
  12996. " ;; Compile.\n"
  12997. " (invoke \"make\"))\n"
  12998. "\n"
  12999. msgstr ""
  13000. #. type: lisp
  13001. #: guix-git/doc/guix.texi:8347
  13002. #, no-wrap
  13003. msgid ""
  13004. "(define* (check #:key (test-target \"check\") (tests? #true)\n"
  13005. " #:allow-other-keys)\n"
  13006. " ;; Run the test suite.\n"
  13007. " (if tests?\n"
  13008. " (invoke \"make\" test-target)\n"
  13009. " (display \"test suite not run\\n\")))\n"
  13010. "\n"
  13011. msgstr ""
  13012. #. type: lisp
  13013. #: guix-git/doc/guix.texi:8351
  13014. #, no-wrap
  13015. msgid ""
  13016. "(define* (install #:allow-other-keys)\n"
  13017. " ;; Install files to the prefix 'configure' specified.\n"
  13018. " (invoke \"make\" \"install\"))\n"
  13019. "\n"
  13020. msgstr ""
  13021. #. type: lisp
  13022. #: guix-git/doc/guix.texi:8360
  13023. #, no-wrap
  13024. msgid ""
  13025. "(define %standard-phases\n"
  13026. " ;; The list of standard phases (quite a few are omitted\n"
  13027. " ;; for brevity). Each element is a symbol/procedure pair.\n"
  13028. " (list (cons 'unpack unpack)\n"
  13029. " (cons 'configure configure)\n"
  13030. " (cons 'build build)\n"
  13031. " (cons 'check check)\n"
  13032. " (cons 'install install)))\n"
  13033. msgstr ""
  13034. #. type: Plain text
  13035. #: guix-git/doc/guix.texi:8370
  13036. 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."
  13037. msgstr ""
  13038. #. type: Plain text
  13039. #: guix-git/doc/guix.texi:8376
  13040. 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})."
  13041. msgstr ""
  13042. #. type: Plain text
  13043. #: guix-git/doc/guix.texi:8392
  13044. 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."
  13045. msgstr ""
  13046. #. type: cindex
  13047. #: guix-git/doc/guix.texi:8393
  13048. #, no-wrap
  13049. msgid "build phases, customizing"
  13050. msgstr ""
  13051. #. type: Plain text
  13052. #: guix-git/doc/guix.texi:8402
  13053. 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}})."
  13054. msgstr ""
  13055. #. type: Plain text
  13056. #: guix-git/doc/guix.texi:8407
  13057. 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}:"
  13058. msgstr ""
  13059. #. type: lisp
  13060. #: guix-git/doc/guix.texi:8427
  13061. #, no-wrap
  13062. msgid ""
  13063. "(define-public example\n"
  13064. " (package\n"
  13065. " (name \"example\")\n"
  13066. " ;; other fields omitted\n"
  13067. " (build-system gnu-build-system)\n"
  13068. " (arguments\n"
  13069. " '(#:phases (modify-phases %standard-phases\n"
  13070. " (delete 'configure)\n"
  13071. " (add-before 'build 'set-prefix-in-makefile\n"
  13072. " (lambda* (#:key outputs #:allow-other-keys)\n"
  13073. " ;; Modify the makefile so that its\n"
  13074. " ;; 'PREFIX' variable points to \"out\".\n"
  13075. " (let ((out (assoc-ref outputs \"out\")))\n"
  13076. " (substitute* \"Makefile\"\n"
  13077. " ((\"PREFIX =.*\")\n"
  13078. " (string-append \"PREFIX = \"\n"
  13079. " out \"\\n\")))\n"
  13080. " #true))))))))\n"
  13081. msgstr ""
  13082. #. type: Plain text
  13083. #: guix-git/doc/guix.texi:8433
  13084. 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}."
  13085. msgstr ""
  13086. #. type: cindex
  13087. #: guix-git/doc/guix.texi:8434 guix-git/doc/guix.texi:9407
  13088. #, no-wrap
  13089. msgid "code staging"
  13090. msgstr ""
  13091. #. type: cindex
  13092. #: guix-git/doc/guix.texi:8435 guix-git/doc/guix.texi:9408
  13093. #, no-wrap
  13094. msgid "staging, of code"
  13095. msgstr ""
  13096. #. type: Plain text
  13097. #: guix-git/doc/guix.texi:8442
  13098. 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."
  13099. msgstr ""
  13100. #. type: Plain text
  13101. #: guix-git/doc/guix.texi:8452
  13102. 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."
  13103. msgstr ""
  13104. #. type: Plain text
  13105. #: guix-git/doc/guix.texi:8456
  13106. 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."
  13107. msgstr ""
  13108. #. type: Plain text
  13109. #: guix-git/doc/guix.texi:8461
  13110. 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}):"
  13111. msgstr ""
  13112. #. type: lisp
  13113. #: guix-git/doc/guix.texi:8468
  13114. #, no-wrap
  13115. msgid ""
  13116. "(with-imported-modules '((guix build utils)) ;import it\n"
  13117. " (computed-file \"empty-tree\"\n"
  13118. " #~(begin\n"
  13119. " ;; Put it in scope.\n"
  13120. " (use-modules (guix build utils))\n"
  13121. "\n"
  13122. msgstr ""
  13123. #. type: lisp
  13124. #: guix-git/doc/guix.texi:8471
  13125. #, no-wrap
  13126. msgid ""
  13127. " ;; Happily use its 'mkdir-p' procedure.\n"
  13128. " (mkdir-p (string-append #$output \"/a/b/c\")))))\n"
  13129. msgstr ""
  13130. #. type: Plain text
  13131. #: guix-git/doc/guix.texi:8475
  13132. msgid "The remainder of this section is the reference for most of the utility procedures provided by @code{(guix build utils)}."
  13133. msgstr ""
  13134. #. type: subsection
  13135. #: guix-git/doc/guix.texi:8478
  13136. #, no-wrap
  13137. msgid "Dealing with Store File Names"
  13138. msgstr ""
  13139. #. type: Plain text
  13140. #: guix-git/doc/guix.texi:8481
  13141. msgid "This section documents procedures that deal with store file names."
  13142. msgstr ""
  13143. #. type: deffn
  13144. #: guix-git/doc/guix.texi:8482
  13145. #, no-wrap
  13146. msgid "{Scheme Procedure} %store-directory"
  13147. msgstr ""
  13148. #. type: deffn
  13149. #: guix-git/doc/guix.texi:8484
  13150. msgid "Return the directory name of the store."
  13151. msgstr ""
  13152. #. type: deffn
  13153. #: guix-git/doc/guix.texi:8486
  13154. #, no-wrap
  13155. msgid "{Scheme Procedure} store-file-name? @var{file}"
  13156. msgstr ""
  13157. #. type: deffn
  13158. #: guix-git/doc/guix.texi:8488
  13159. msgid "Return true if @var{file} is in the store."
  13160. msgstr ""
  13161. #. type: deffn
  13162. #: guix-git/doc/guix.texi:8490
  13163. #, no-wrap
  13164. msgid "{Scheme Procedure} strip-store-file-name @var{file}"
  13165. msgstr ""
  13166. #. type: deffn
  13167. #: guix-git/doc/guix.texi:8493
  13168. 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."
  13169. msgstr ""
  13170. #. type: deffn
  13171. #: guix-git/doc/guix.texi:8495
  13172. #, no-wrap
  13173. msgid "{Scheme Procedure} package-name->name+version @var{name}"
  13174. msgstr ""
  13175. #. type: deffn
  13176. #: guix-git/doc/guix.texi:8500
  13177. 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."
  13178. msgstr ""
  13179. #. type: subsection
  13180. #: guix-git/doc/guix.texi:8502
  13181. #, no-wrap
  13182. msgid "File Types"
  13183. msgstr ""
  13184. #. type: Plain text
  13185. #: guix-git/doc/guix.texi:8505
  13186. msgid "The procedures below deal with files and file types."
  13187. msgstr ""
  13188. #. type: deffn
  13189. #: guix-git/doc/guix.texi:8506
  13190. #, no-wrap
  13191. msgid "{Scheme Procedure} directory-exists? @var{dir}"
  13192. msgstr ""
  13193. #. type: deffn
  13194. #: guix-git/doc/guix.texi:8508
  13195. msgid "Return @code{#t} if @var{dir} exists and is a directory."
  13196. msgstr ""
  13197. #. type: deffn
  13198. #: guix-git/doc/guix.texi:8510
  13199. #, no-wrap
  13200. msgid "{Scheme Procedure} executable-file? @var{file}"
  13201. msgstr ""
  13202. #. type: deffn
  13203. #: guix-git/doc/guix.texi:8512
  13204. msgid "Return @code{#t} if @var{file} exists and is executable."
  13205. msgstr ""
  13206. #. type: deffn
  13207. #: guix-git/doc/guix.texi:8514
  13208. #, no-wrap
  13209. msgid "{Scheme Procedure} symbolic-link? @var{file}"
  13210. msgstr ""
  13211. #. type: deffn
  13212. #: guix-git/doc/guix.texi:8516
  13213. msgid "Return @code{#t} if @var{file} is a symbolic link (aka. a ``symlink'')."
  13214. msgstr ""
  13215. #. type: deffn
  13216. #: guix-git/doc/guix.texi:8518
  13217. #, no-wrap
  13218. msgid "{Scheme Procedure} elf-file? @var{file}"
  13219. msgstr ""
  13220. #. type: deffnx
  13221. #: guix-git/doc/guix.texi:8519
  13222. #, no-wrap
  13223. msgid "{Scheme Procedure} ar-file? @var{file}"
  13224. msgstr ""
  13225. #. type: deffnx
  13226. #: guix-git/doc/guix.texi:8520
  13227. #, no-wrap
  13228. msgid "{Scheme Procedure} gzip-file? @var{file}"
  13229. msgstr ""
  13230. #. type: deffn
  13231. #: guix-git/doc/guix.texi:8523
  13232. 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."
  13233. msgstr ""
  13234. #. type: deffn
  13235. #: guix-git/doc/guix.texi:8525
  13236. #, no-wrap
  13237. msgid "{Scheme Procedure} reset-gzip-timestamp @var{file} [#:keep-mtime? #t]"
  13238. msgstr ""
  13239. #. type: deffn
  13240. #: guix-git/doc/guix.texi:8529
  13241. 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."
  13242. msgstr ""
  13243. #. type: subsection
  13244. #: guix-git/doc/guix.texi:8531
  13245. #, no-wrap
  13246. msgid "File Manipulation"
  13247. msgstr ""
  13248. #. type: Plain text
  13249. #: guix-git/doc/guix.texi:8538
  13250. 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})."
  13251. msgstr ""
  13252. #. type: deffn
  13253. #: guix-git/doc/guix.texi:8539
  13254. #, no-wrap
  13255. msgid "{Scheme Syntax} with-directory-excursion @var{directory} @var{body}@dots{}"
  13256. msgstr ""
  13257. #. type: deffn
  13258. #: guix-git/doc/guix.texi:8541
  13259. msgid "Run @var{body} with @var{directory} as the process's current directory."
  13260. msgstr ""
  13261. #. type: deffn
  13262. #: guix-git/doc/guix.texi:8548
  13263. 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."
  13264. msgstr ""
  13265. #. type: deffn
  13266. #: guix-git/doc/guix.texi:8550
  13267. #, no-wrap
  13268. msgid "{Scheme Procedure} mkdir-p @var{dir}"
  13269. msgstr ""
  13270. #. type: deffn
  13271. #: guix-git/doc/guix.texi:8552
  13272. msgid "Create directory @var{dir} and all its ancestors."
  13273. msgstr ""
  13274. #. type: deffn
  13275. #: guix-git/doc/guix.texi:8554
  13276. #, no-wrap
  13277. msgid "{Scheme Procedure} install-file @var{file} @var{directory}"
  13278. msgstr ""
  13279. #. type: deffn
  13280. #: guix-git/doc/guix.texi:8557
  13281. msgid "Create @var{directory} if it does not exist and copy @var{file} in there under the same name."
  13282. msgstr ""
  13283. #. type: deffn
  13284. #: guix-git/doc/guix.texi:8559
  13285. #, no-wrap
  13286. msgid "{Scheme Procedure} make-file-writable @var{file}"
  13287. msgstr ""
  13288. #. type: deffn
  13289. #: guix-git/doc/guix.texi:8561
  13290. msgid "Make @var{file} writable for its owner."
  13291. msgstr ""
  13292. #. type: deffn
  13293. #: guix-git/doc/guix.texi:8563
  13294. #, no-wrap
  13295. msgid "{Scheme Procedure} copy-recursively @var{source} @var{destination} @"
  13296. msgstr ""
  13297. #. type: deffn
  13298. #: guix-git/doc/guix.texi:8570
  13299. 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."
  13300. msgstr ""
  13301. #. type: deffn
  13302. #: guix-git/doc/guix.texi:8572
  13303. #, no-wrap
  13304. msgid "{Scheme Procedure} delete-file-recursively @var{dir} @"
  13305. msgstr ""
  13306. #. type: deffn
  13307. #: guix-git/doc/guix.texi:8577
  13308. 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."
  13309. msgstr ""
  13310. #. type: deffn
  13311. #: guix-git/doc/guix.texi:8579
  13312. #, no-wrap
  13313. msgid "{Scheme Syntax} substitute* @var{file} @"
  13314. msgstr ""
  13315. #. type: deffn
  13316. #: guix-git/doc/guix.texi:8584
  13317. 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:"
  13318. msgstr ""
  13319. #. type: lisp
  13320. #: guix-git/doc/guix.texi:8591
  13321. #, no-wrap
  13322. msgid ""
  13323. "(substitute* file\n"
  13324. " ((\"hello\")\n"
  13325. " \"good morning\\n\")\n"
  13326. " ((\"foo([a-z]+)bar(.*)$\" all letters end)\n"
  13327. " (string-append \"baz\" letter end)))\n"
  13328. msgstr ""
  13329. #. type: deffn
  13330. #: guix-git/doc/guix.texi:8597
  13331. 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."
  13332. msgstr ""
  13333. #. type: deffn
  13334. #: guix-git/doc/guix.texi:8600
  13335. msgid "When one of the @var{match-var} is @code{_}, no variable is bound to the corresponding match substring."
  13336. msgstr ""
  13337. #. type: deffn
  13338. #: guix-git/doc/guix.texi:8603
  13339. msgid "Alternatively, @var{file} may be a list of file names, in which case they are all subject to the substitutions."
  13340. msgstr ""
  13341. #. type: deffn
  13342. #: guix-git/doc/guix.texi:8606
  13343. 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."
  13344. msgstr ""
  13345. #. type: subsection
  13346. #: guix-git/doc/guix.texi:8608
  13347. #, no-wrap
  13348. msgid "File Search"
  13349. msgstr ""
  13350. #. type: cindex
  13351. #: guix-git/doc/guix.texi:8610
  13352. #, no-wrap
  13353. msgid "file, searching"
  13354. msgstr ""
  13355. #. type: Plain text
  13356. #: guix-git/doc/guix.texi:8612
  13357. msgid "This section documents procedures to search and filter files."
  13358. msgstr ""
  13359. #. type: deffn
  13360. #: guix-git/doc/guix.texi:8613
  13361. #, no-wrap
  13362. msgid "{Scheme Procedure} file-name-predicate @var{regexp}"
  13363. msgstr ""
  13364. #. type: deffn
  13365. #: guix-git/doc/guix.texi:8616
  13366. msgid "Return a predicate that returns true when passed a file name whose base name matches @var{regexp}."
  13367. msgstr ""
  13368. #. type: deffn
  13369. #: guix-git/doc/guix.texi:8618
  13370. #, no-wrap
  13371. msgid "{Scheme Procedure} find-files @var{dir} [@var{pred}] @"
  13372. msgstr ""
  13373. #. type: deffn
  13374. #: guix-git/doc/guix.texi:8629
  13375. 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."
  13376. msgstr ""
  13377. #. type: Plain text
  13378. #: guix-git/doc/guix.texi:8633
  13379. msgid "Here are a few examples where we assume that the current directory is the root of the Guix source tree:"
  13380. msgstr ""
  13381. #. type: lisp
  13382. #: guix-git/doc/guix.texi:8638
  13383. #, no-wrap
  13384. msgid ""
  13385. ";; List all the regular files in the current directory.\n"
  13386. "(find-files \".\")\n"
  13387. "@result{} (\"./.dir-locals.el\" \"./.gitignore\" @dots{})\n"
  13388. "\n"
  13389. msgstr ""
  13390. #. type: lisp
  13391. #: guix-git/doc/guix.texi:8642
  13392. #, no-wrap
  13393. msgid ""
  13394. ";; List all the .scm files under gnu/services.\n"
  13395. "(find-files \"gnu/services\" \"\\\\.scm$\")\n"
  13396. "@result{} (\"gnu/services/admin.scm\" \"gnu/services/audio.scm\" @dots{})\n"
  13397. "\n"
  13398. msgstr ""
  13399. #. type: lisp
  13400. #: guix-git/doc/guix.texi:8646
  13401. #, no-wrap
  13402. msgid ""
  13403. ";; List ar files in the current directory.\n"
  13404. "(find-files \".\" (lambda (file stat) (ar-file? file)))\n"
  13405. "@result{} (\"./libformat.a\" \"./libstore.a\" @dots{})\n"
  13406. msgstr ""
  13407. #. type: deffn
  13408. #: guix-git/doc/guix.texi:8648
  13409. #, no-wrap
  13410. msgid "{Scheme Procedure} which @var{program}"
  13411. msgstr ""
  13412. #. type: deffn
  13413. #: guix-git/doc/guix.texi:8651
  13414. msgid "Return the complete file name for @var{program} as found in @code{$PATH}, or @code{#f} if @var{program} could not be found."
  13415. msgstr ""
  13416. #. type: Plain text
  13417. #: guix-git/doc/guix.texi:8662
  13418. 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})."
  13419. msgstr ""
  13420. #. type: Plain text
  13421. #: guix-git/doc/guix.texi:8666
  13422. 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."
  13423. msgstr ""
  13424. #. type: cindex
  13425. #: guix-git/doc/guix.texi:8667
  13426. #, no-wrap
  13427. msgid "build phases, modifying"
  13428. msgstr ""
  13429. #. type: deffn
  13430. #: guix-git/doc/guix.texi:8668
  13431. #, no-wrap
  13432. msgid "{Scheme Syntax} modify-phases @var{phases} @var{clause}@dots{}"
  13433. msgstr ""
  13434. #. type: deffn
  13435. #: guix-git/doc/guix.texi:8671
  13436. msgid "Modify @var{phases} sequentially as per each @var{clause}, which may have one of the following forms:"
  13437. msgstr ""
  13438. #. type: lisp
  13439. #: guix-git/doc/guix.texi:8677
  13440. #, no-wrap
  13441. msgid ""
  13442. "(delete @var{old-phase-name})\n"
  13443. "(replace @var{old-phase-name} @var{new-phase})\n"
  13444. "(add-before @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  13445. "(add-after @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  13446. msgstr ""
  13447. #. type: deffn
  13448. #: guix-git/doc/guix.texi:8681
  13449. msgid "Where every @var{phase-name} above is an expression evaluating to a symbol, and @var{new-phase} an expression evaluating to a procedure."
  13450. msgstr ""
  13451. #. type: Plain text
  13452. #: guix-git/doc/guix.texi:8692
  13453. 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:"
  13454. msgstr ""
  13455. #. type: lisp
  13456. #: guix-git/doc/guix.texi:8706
  13457. #, no-wrap
  13458. msgid ""
  13459. "(modify-phases %standard-phases\n"
  13460. " (add-after 'install 'fix-egrep-and-fgrep\n"
  13461. " ;; Patch 'egrep' and 'fgrep' to execute 'grep' via its\n"
  13462. " ;; absolute file name instead of searching for it in $PATH.\n"
  13463. " (lambda* (#:key outputs #:allow-other-keys)\n"
  13464. " (let* ((out (assoc-ref outputs \"out\"))\n"
  13465. " (bin (string-append out \"/bin\")))\n"
  13466. " (substitute* (list (string-append bin \"/egrep\")\n"
  13467. " (string-append bin \"/fgrep\"))\n"
  13468. " ((\"^exec grep\")\n"
  13469. " (string-append \"exec \" bin \"/grep\")))\n"
  13470. " #t))))\n"
  13471. msgstr ""
  13472. #. type: Plain text
  13473. #: guix-git/doc/guix.texi:8713
  13474. 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:"
  13475. msgstr ""
  13476. #. type: lisp
  13477. #: guix-git/doc/guix.texi:8726
  13478. #, no-wrap
  13479. msgid ""
  13480. "(modify-phases %standard-phases\n"
  13481. " (delete 'configure) ;no 'configure' script\n"
  13482. " (replace 'install\n"
  13483. " (lambda* (#:key outputs #:allow-other-keys)\n"
  13484. " ;; The package's Makefile doesn't provide an \"install\"\n"
  13485. " ;; rule so do it by ourselves.\n"
  13486. " (let ((bin (string-append (assoc-ref outputs \"out\")\n"
  13487. " \"/bin\")))\n"
  13488. " (install-file \"footswitch\" bin)\n"
  13489. " (install-file \"scythe\" bin)\n"
  13490. " #t))))\n"
  13491. msgstr ""
  13492. #. type: cindex
  13493. #: guix-git/doc/guix.texi:8734
  13494. #, no-wrap
  13495. msgid "store items"
  13496. msgstr ""
  13497. #. type: cindex
  13498. #: guix-git/doc/guix.texi:8735
  13499. #, no-wrap
  13500. msgid "store paths"
  13501. msgstr ""
  13502. #. type: Plain text
  13503. #: guix-git/doc/guix.texi:8746
  13504. 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}."
  13505. msgstr ""
  13506. #. type: Plain text
  13507. #: guix-git/doc/guix.texi:8751
  13508. 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."
  13509. msgstr ""
  13510. #. type: quotation
  13511. #: guix-git/doc/guix.texi:8756
  13512. 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})."
  13513. msgstr ""
  13514. #. type: quotation
  13515. #: guix-git/doc/guix.texi:8760
  13516. 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."
  13517. msgstr ""
  13518. #. type: Plain text
  13519. #: guix-git/doc/guix.texi:8767
  13520. 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."
  13521. msgstr ""
  13522. #. type: defvr
  13523. #: guix-git/doc/guix.texi:8768
  13524. #, no-wrap
  13525. msgid "{Environment Variable} GUIX_DAEMON_SOCKET"
  13526. msgstr ""
  13527. #. type: defvr
  13528. #: guix-git/doc/guix.texi:8773
  13529. 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:"
  13530. msgstr ""
  13531. #. type: code{#1}
  13532. #: guix-git/doc/guix.texi:8775 guix-git/doc/guix.texi:24475
  13533. #, no-wrap
  13534. msgid "file"
  13535. msgstr ""
  13536. #. type: itemx
  13537. #: guix-git/doc/guix.texi:8776
  13538. #, no-wrap
  13539. msgid "unix"
  13540. msgstr "unix"
  13541. #. type: table
  13542. #: guix-git/doc/guix.texi:8780
  13543. msgid "These are for Unix-domain sockets. @code{file:///var/guix/daemon-socket/socket} is equivalent to @file{/var/guix/daemon-socket/socket}."
  13544. msgstr ""
  13545. #. type: item
  13546. #: guix-git/doc/guix.texi:8781
  13547. #, no-wrap
  13548. msgid "guix"
  13549. msgstr "guix"
  13550. #. type: table
  13551. #: guix-git/doc/guix.texi:8789
  13552. 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):"
  13553. msgstr ""
  13554. #. type: example
  13555. #: guix-git/doc/guix.texi:8792
  13556. #, no-wrap
  13557. msgid "guix://master.guix.example.org:1234\n"
  13558. msgstr ""
  13559. #. type: table
  13560. #: guix-git/doc/guix.texi:8797
  13561. 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}."
  13562. msgstr ""
  13563. #. type: table
  13564. #: guix-git/doc/guix.texi:8801
  13565. 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}})."
  13566. msgstr ""
  13567. #. type: item
  13568. #: guix-git/doc/guix.texi:8802
  13569. #, no-wrap
  13570. msgid "ssh"
  13571. msgstr ""
  13572. #. type: cindex
  13573. #: guix-git/doc/guix.texi:8803
  13574. #, no-wrap
  13575. msgid "SSH access to build daemons"
  13576. msgstr ""
  13577. #. type: table
  13578. #: guix-git/doc/guix.texi:8809
  13579. 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:"
  13580. msgstr ""
  13581. #. type: example
  13582. #: guix-git/doc/guix.texi:8812
  13583. #, no-wrap
  13584. msgid "ssh://charlie@@guix.example.org:22\n"
  13585. msgstr ""
  13586. #. type: table
  13587. #: guix-git/doc/guix.texi:8816
  13588. msgid "As for @command{guix copy}, the usual OpenSSH client configuration files are honored (@pxref{Invoking guix copy})."
  13589. msgstr ""
  13590. #. type: defvr
  13591. #: guix-git/doc/guix.texi:8819
  13592. msgid "Additional URI schemes may be supported in the future."
  13593. msgstr ""
  13594. #. type: quotation
  13595. #: guix-git/doc/guix.texi:8826
  13596. 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})."
  13597. msgstr ""
  13598. #. type: deffn
  13599. #: guix-git/doc/guix.texi:8829
  13600. #, no-wrap
  13601. msgid "{Scheme Procedure} open-connection [@var{uri}] [#:reserve-space? #t]"
  13602. msgstr ""
  13603. #. type: deffn
  13604. #: guix-git/doc/guix.texi:8834
  13605. 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."
  13606. msgstr ""
  13607. #. type: deffn
  13608. #: guix-git/doc/guix.texi:8837
  13609. msgid "@var{file} defaults to @code{%default-socket-path}, which is the normal location given the options that were passed to @command{configure}."
  13610. msgstr ""
  13611. #. type: deffn
  13612. #: guix-git/doc/guix.texi:8839
  13613. #, no-wrap
  13614. msgid "{Scheme Procedure} close-connection @var{server}"
  13615. msgstr ""
  13616. #. type: deffn
  13617. #: guix-git/doc/guix.texi:8841
  13618. msgid "Close the connection to @var{server}."
  13619. msgstr ""
  13620. #. type: defvr
  13621. #: guix-git/doc/guix.texi:8843
  13622. #, no-wrap
  13623. msgid "{Scheme Variable} current-build-output-port"
  13624. msgstr ""
  13625. #. type: defvr
  13626. #: guix-git/doc/guix.texi:8846
  13627. 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."
  13628. msgstr ""
  13629. #. type: Plain text
  13630. #: guix-git/doc/guix.texi:8850
  13631. msgid "Procedures that make RPCs all take a server object as their first argument."
  13632. msgstr ""
  13633. #. type: deffn
  13634. #: guix-git/doc/guix.texi:8851
  13635. #, no-wrap
  13636. msgid "{Scheme Procedure} valid-path? @var{server} @var{path}"
  13637. msgstr ""
  13638. #. type: cindex
  13639. #: guix-git/doc/guix.texi:8852
  13640. #, no-wrap
  13641. msgid "invalid store items"
  13642. msgstr ""
  13643. #. type: deffn
  13644. #: guix-git/doc/guix.texi:8857
  13645. 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)."
  13646. msgstr ""
  13647. #. type: deffn
  13648. #: guix-git/doc/guix.texi:8860
  13649. msgid "A @code{&store-protocol-error} condition is raised if @var{path} is not prefixed by the store directory (@file{/gnu/store})."
  13650. msgstr ""
  13651. #. type: deffn
  13652. #: guix-git/doc/guix.texi:8862
  13653. #, no-wrap
  13654. msgid "{Scheme Procedure} add-text-to-store @var{server} @var{name} @var{text} [@var{references}]"
  13655. msgstr ""
  13656. #. type: deffn
  13657. #: guix-git/doc/guix.texi:8866
  13658. 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."
  13659. msgstr ""
  13660. #. type: deffn
  13661. #: guix-git/doc/guix.texi:8868
  13662. #, no-wrap
  13663. msgid "{Scheme Procedure} build-derivations @var{store} @var{derivations} @"
  13664. msgstr ""
  13665. #. type: deffn
  13666. #: guix-git/doc/guix.texi:8873
  13667. 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."
  13668. msgstr ""
  13669. #. type: Plain text
  13670. #: guix-git/doc/guix.texi:8879
  13671. 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})."
  13672. msgstr ""
  13673. #. type: i{#1}
  13674. #: guix-git/doc/guix.texi:8882
  13675. msgid "This section is currently incomplete."
  13676. msgstr ""
  13677. #. type: cindex
  13678. #: guix-git/doc/guix.texi:8886
  13679. #, no-wrap
  13680. msgid "derivations"
  13681. msgstr ""
  13682. #. type: Plain text
  13683. #: guix-git/doc/guix.texi:8890
  13684. 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:"
  13685. msgstr ""
  13686. #. type: itemize
  13687. #: guix-git/doc/guix.texi:8895
  13688. msgid "The outputs of the derivation---derivations produce at least one file or directory in the store, but may produce more."
  13689. msgstr ""
  13690. #. type: cindex
  13691. #: guix-git/doc/guix.texi:8897
  13692. #, no-wrap
  13693. msgid "build-time dependencies"
  13694. msgstr ""
  13695. #. type: cindex
  13696. #: guix-git/doc/guix.texi:8898
  13697. #, no-wrap
  13698. msgid "dependencies, build-time"
  13699. msgstr ""
  13700. #. type: itemize
  13701. #: guix-git/doc/guix.texi:8902
  13702. 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.)."
  13703. msgstr ""
  13704. #. type: itemize
  13705. #: guix-git/doc/guix.texi:8905
  13706. msgid "The system type targeted by the derivation---e.g., @code{x86_64-linux}."
  13707. msgstr ""
  13708. #. type: itemize
  13709. #: guix-git/doc/guix.texi:8909
  13710. msgid "The file name of a build script in the store, along with the arguments to be passed."
  13711. msgstr ""
  13712. #. type: itemize
  13713. #: guix-git/doc/guix.texi:8912
  13714. msgid "A list of environment variables to be defined."
  13715. msgstr ""
  13716. #. type: cindex
  13717. #: guix-git/doc/guix.texi:8915
  13718. #, no-wrap
  13719. msgid "derivation path"
  13720. msgstr ""
  13721. #. type: Plain text
  13722. #: guix-git/doc/guix.texi:8923
  13723. 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})."
  13724. msgstr ""
  13725. #. type: cindex
  13726. #: guix-git/doc/guix.texi:8924
  13727. #, no-wrap
  13728. msgid "fixed-output derivations"
  13729. msgstr ""
  13730. #. type: Plain text
  13731. #: guix-git/doc/guix.texi:8931
  13732. 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."
  13733. msgstr ""
  13734. #. type: item
  13735. #: guix-git/doc/guix.texi:8932 guix-git/doc/guix.texi:12392
  13736. #, no-wrap
  13737. msgid "references"
  13738. msgstr ""
  13739. #. type: cindex
  13740. #: guix-git/doc/guix.texi:8933
  13741. #, no-wrap
  13742. msgid "run-time dependencies"
  13743. msgstr ""
  13744. #. type: cindex
  13745. #: guix-git/doc/guix.texi:8934
  13746. #, no-wrap
  13747. msgid "dependencies, run-time"
  13748. msgstr ""
  13749. #. type: Plain text
  13750. #: guix-git/doc/guix.texi:8941
  13751. 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."
  13752. msgstr ""
  13753. #. type: Plain text
  13754. #: guix-git/doc/guix.texi:8946
  13755. 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:"
  13756. msgstr ""
  13757. #. type: deffn
  13758. #: guix-git/doc/guix.texi:8947
  13759. #, no-wrap
  13760. msgid "{Scheme Procedure} derivation @var{store} @var{name} @var{builder} @"
  13761. msgstr ""
  13762. #. type: deffn
  13763. #: guix-git/doc/guix.texi:8956
  13764. 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."
  13765. msgstr ""
  13766. #. type: deffn
  13767. #: guix-git/doc/guix.texi:8963
  13768. 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."
  13769. msgstr ""
  13770. #. type: deffn
  13771. #: guix-git/doc/guix.texi:8968
  13772. 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."
  13773. msgstr ""
  13774. #. type: deffn
  13775. #: guix-git/doc/guix.texi:8973
  13776. 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."
  13777. msgstr ""
  13778. #. type: deffn
  13779. #: guix-git/doc/guix.texi:8980
  13780. 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."
  13781. msgstr ""
  13782. #. type: deffn
  13783. #: guix-git/doc/guix.texi:8985
  13784. 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."
  13785. msgstr ""
  13786. #. type: deffn
  13787. #: guix-git/doc/guix.texi:8990
  13788. 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."
  13789. msgstr ""
  13790. #. type: deffn
  13791. #: guix-git/doc/guix.texi:8993
  13792. msgid "@var{properties} must be an association list describing ``properties'' of the derivation. It is kept as-is, uninterpreted, in the derivation."
  13793. msgstr ""
  13794. #. type: Plain text
  13795. #: guix-git/doc/guix.texi:8999
  13796. 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:"
  13797. msgstr ""
  13798. #. type: lisp
  13799. #: guix-git/doc/guix.texi:9004
  13800. #, no-wrap
  13801. msgid ""
  13802. "(use-modules (guix utils)\n"
  13803. " (guix store)\n"
  13804. " (guix derivations))\n"
  13805. "\n"
  13806. msgstr ""
  13807. #. type: lisp
  13808. #: guix-git/doc/guix.texi:9013
  13809. #, no-wrap
  13810. msgid ""
  13811. "(let ((builder ; add the Bash script to the store\n"
  13812. " (add-text-to-store store \"my-builder.sh\"\n"
  13813. " \"echo hello world > $out\\n\" '())))\n"
  13814. " (derivation store \"foo\"\n"
  13815. " bash `(\"-e\" ,builder)\n"
  13816. " #:inputs `((,bash) (,builder))\n"
  13817. " #:env-vars '((\"HOME\" . \"/homeless\"))))\n"
  13818. "@result{} #<derivation /gnu/store/@dots{}-foo.drv => /gnu/store/@dots{}-foo>\n"
  13819. msgstr ""
  13820. #. type: Plain text
  13821. #: guix-git/doc/guix.texi:9020
  13822. 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}."
  13823. msgstr ""
  13824. #. type: Plain text
  13825. #: guix-git/doc/guix.texi:9025
  13826. 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}."
  13827. msgstr ""
  13828. #. type: deffn
  13829. #: guix-git/doc/guix.texi:9026
  13830. #, no-wrap
  13831. msgid "{Scheme Procedure} build-expression->derivation @var{store} @"
  13832. msgstr ""
  13833. #. type: deffn
  13834. #: guix-git/doc/guix.texi:9042
  13835. 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))}."
  13836. msgstr ""
  13837. #. type: deffn
  13838. #: guix-git/doc/guix.texi:9050
  13839. 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."
  13840. msgstr ""
  13841. #. type: deffn
  13842. #: guix-git/doc/guix.texi:9054
  13843. 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."
  13844. msgstr ""
  13845. #. type: deffn
  13846. #: guix-git/doc/guix.texi:9059
  13847. 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?}."
  13848. msgstr ""
  13849. #. type: Plain text
  13850. #: guix-git/doc/guix.texi:9064
  13851. msgid "Here's an example of a single-output derivation that creates a directory containing one file:"
  13852. msgstr ""
  13853. #. type: lisp
  13854. #: guix-git/doc/guix.texi:9072
  13855. #, no-wrap
  13856. msgid ""
  13857. "(let ((builder '(let ((out (assoc-ref %outputs \"out\")))\n"
  13858. " (mkdir out) ; create /gnu/store/@dots{}-goo\n"
  13859. " (call-with-output-file (string-append out \"/test\")\n"
  13860. " (lambda (p)\n"
  13861. " (display '(hello guix) p))))))\n"
  13862. " (build-expression->derivation store \"goo\" builder))\n"
  13863. "\n"
  13864. msgstr ""
  13865. #. type: lisp
  13866. #: guix-git/doc/guix.texi:9074
  13867. #, no-wrap
  13868. msgid "@result{} #<derivation /gnu/store/@dots{}-goo.drv => @dots{}>\n"
  13869. msgstr ""
  13870. #. type: cindex
  13871. #: guix-git/doc/guix.texi:9080
  13872. #, no-wrap
  13873. msgid "monad"
  13874. msgstr ""
  13875. #. type: Plain text
  13876. #: guix-git/doc/guix.texi:9086
  13877. 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."
  13878. msgstr ""
  13879. #. type: Plain text
  13880. #: guix-git/doc/guix.texi:9092
  13881. 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."
  13882. msgstr ""
  13883. #. type: cindex
  13884. #: guix-git/doc/guix.texi:9093
  13885. #, no-wrap
  13886. msgid "monadic values"
  13887. msgstr ""
  13888. #. type: cindex
  13889. #: guix-git/doc/guix.texi:9094
  13890. #, no-wrap
  13891. msgid "monadic functions"
  13892. msgstr ""
  13893. #. type: Plain text
  13894. #: guix-git/doc/guix.texi:9104
  13895. 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}."
  13896. msgstr ""
  13897. #. type: Plain text
  13898. #: guix-git/doc/guix.texi:9106
  13899. msgid "Consider this ``normal'' procedure:"
  13900. msgstr ""
  13901. #. type: lisp
  13902. #: guix-git/doc/guix.texi:9115
  13903. #, no-wrap
  13904. msgid ""
  13905. "(define (sh-symlink store)\n"
  13906. " ;; Return a derivation that symlinks the 'bash' executable.\n"
  13907. " (let* ((drv (package-derivation store bash))\n"
  13908. " (out (derivation->output-path drv))\n"
  13909. " (sh (string-append out \"/bin/bash\")))\n"
  13910. " (build-expression->derivation store \"sh\"\n"
  13911. " `(symlink ,sh %output))))\n"
  13912. msgstr ""
  13913. #. type: Plain text
  13914. #: guix-git/doc/guix.texi:9119
  13915. msgid "Using @code{(guix monads)} and @code{(guix gexp)}, it may be rewritten as a monadic function:"
  13916. msgstr ""
  13917. #. type: lisp
  13918. #: guix-git/doc/guix.texi:9127
  13919. #, no-wrap
  13920. msgid ""
  13921. "(define (sh-symlink)\n"
  13922. " ;; Same, but return a monadic value.\n"
  13923. " (mlet %store-monad ((drv (package->derivation bash)))\n"
  13924. " (gexp->derivation \"sh\"\n"
  13925. " #~(symlink (string-append #$drv \"/bin/bash\")\n"
  13926. " #$output))))\n"
  13927. msgstr ""
  13928. #. type: Plain text
  13929. #: guix-git/doc/guix.texi:9134
  13930. 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}."
  13931. msgstr ""
  13932. #. type: Plain text
  13933. #: guix-git/doc/guix.texi:9138
  13934. 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}):"
  13935. msgstr ""
  13936. #. type: lisp
  13937. #: guix-git/doc/guix.texi:9144
  13938. #, no-wrap
  13939. msgid ""
  13940. "(define (sh-symlink)\n"
  13941. " (gexp->derivation \"sh\"\n"
  13942. " #~(symlink (string-append #$bash \"/bin/bash\")\n"
  13943. " #$output)))\n"
  13944. msgstr ""
  13945. #. type: Plain text
  13946. #: guix-git/doc/guix.texi:9153
  13947. 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}:"
  13948. msgstr ""
  13949. #. type: lisp
  13950. #: guix-git/doc/guix.texi:9157
  13951. #, no-wrap
  13952. msgid ""
  13953. "(run-with-store (open-connection) (sh-symlink))\n"
  13954. "@result{} /gnu/store/...-sh-symlink\n"
  13955. msgstr ""
  13956. #. type: Plain text
  13957. #: guix-git/doc/guix.texi:9163
  13958. 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:"
  13959. msgstr ""
  13960. #. type: example
  13961. #: guix-git/doc/guix.texi:9167
  13962. #, no-wrap
  13963. msgid ""
  13964. "scheme@@(guile-user)> ,run-in-store (package->derivation hello)\n"
  13965. "$1 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  13966. msgstr ""
  13967. #. type: Plain text
  13968. #: guix-git/doc/guix.texi:9171
  13969. msgid "The latter enters a recursive REPL, where all the return values are automatically run through the store:"
  13970. msgstr ""
  13971. #. type: example
  13972. #: guix-git/doc/guix.texi:9180
  13973. #, no-wrap
  13974. msgid ""
  13975. "scheme@@(guile-user)> ,enter-store-monad\n"
  13976. "store-monad@@(guile-user) [1]> (package->derivation hello)\n"
  13977. "$2 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  13978. "store-monad@@(guile-user) [1]> (text-file \"foo\" \"Hello!\")\n"
  13979. "$3 = \"/gnu/store/@dots{}-foo\"\n"
  13980. "store-monad@@(guile-user) [1]> ,q\n"
  13981. "scheme@@(guile-user)>\n"
  13982. msgstr ""
  13983. #. type: Plain text
  13984. #: guix-git/doc/guix.texi:9185
  13985. msgid "Note that non-monadic values cannot be returned in the @code{store-monad} REPL."
  13986. msgstr ""
  13987. #. type: Plain text
  13988. #: guix-git/doc/guix.texi:9188
  13989. msgid "The main syntactic forms to deal with monads in general are provided by the @code{(guix monads)} module and are described below."
  13990. msgstr ""
  13991. #. type: deffn
  13992. #: guix-git/doc/guix.texi:9189
  13993. #, no-wrap
  13994. msgid "{Scheme Syntax} with-monad @var{monad} @var{body} ..."
  13995. msgstr ""
  13996. #. type: deffn
  13997. #: guix-git/doc/guix.texi:9192
  13998. msgid "Evaluate any @code{>>=} or @code{return} forms in @var{body} as being in @var{monad}."
  13999. msgstr ""
  14000. #. type: deffn
  14001. #: guix-git/doc/guix.texi:9194
  14002. #, no-wrap
  14003. msgid "{Scheme Syntax} return @var{val}"
  14004. msgstr ""
  14005. #. type: deffn
  14006. #: guix-git/doc/guix.texi:9196
  14007. msgid "Return a monadic value that encapsulates @var{val}."
  14008. msgstr ""
  14009. #. type: deffn
  14010. #: guix-git/doc/guix.texi:9198
  14011. #, no-wrap
  14012. msgid "{Scheme Syntax} >>= @var{mval} @var{mproc} ..."
  14013. msgstr ""
  14014. #. type: deffn
  14015. #: guix-git/doc/guix.texi:9205
  14016. 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:"
  14017. msgstr ""
  14018. #. type: lisp
  14019. #: guix-git/doc/guix.texi:9213
  14020. #, no-wrap
  14021. msgid ""
  14022. "(run-with-state\n"
  14023. " (with-monad %state-monad\n"
  14024. " (>>= (return 1)\n"
  14025. " (lambda (x) (return (+ 1 x)))\n"
  14026. " (lambda (x) (return (* 2 x)))))\n"
  14027. " 'some-state)\n"
  14028. "\n"
  14029. msgstr ""
  14030. #. type: lisp
  14031. #: guix-git/doc/guix.texi:9216
  14032. #, no-wrap
  14033. msgid ""
  14034. "@result{} 4\n"
  14035. "@result{} some-state\n"
  14036. msgstr ""
  14037. #. type: deffn
  14038. #: guix-git/doc/guix.texi:9219
  14039. #, no-wrap
  14040. msgid "{Scheme Syntax} mlet @var{monad} ((@var{var} @var{mval}) ...) @"
  14041. msgstr ""
  14042. #. type: deffn
  14043. #: guix-git/doc/guix.texi:9221
  14044. msgid "@var{body} ..."
  14045. msgstr ""
  14046. #. type: deffnx
  14047. #: guix-git/doc/guix.texi:9221
  14048. #, no-wrap
  14049. msgid "{Scheme Syntax} mlet* @var{monad} ((@var{var} @var{mval}) ...) @"
  14050. msgstr ""
  14051. #. type: deffn
  14052. #: guix-git/doc/guix.texi:9233
  14053. 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}."
  14054. msgstr ""
  14055. #. type: deffn
  14056. #: guix-git/doc/guix.texi:9236
  14057. msgid "@code{mlet*} is to @code{mlet} what @code{let*} is to @code{let} (@pxref{Local Bindings,,, guile, GNU Guile Reference Manual})."
  14058. msgstr ""
  14059. #. type: deffn
  14060. #: guix-git/doc/guix.texi:9238
  14061. #, no-wrap
  14062. msgid "{Scheme System} mbegin @var{monad} @var{mexp} ..."
  14063. msgstr ""
  14064. #. type: deffn
  14065. #: guix-git/doc/guix.texi:9242
  14066. 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."
  14067. msgstr ""
  14068. #. type: deffn
  14069. #: guix-git/doc/guix.texi:9246
  14070. 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."
  14071. msgstr ""
  14072. #. type: deffn
  14073. #: guix-git/doc/guix.texi:9248
  14074. #, no-wrap
  14075. msgid "{Scheme System} mwhen @var{condition} @var{mexp0} @var{mexp*} ..."
  14076. msgstr ""
  14077. #. type: deffn
  14078. #: guix-git/doc/guix.texi:9253
  14079. 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."
  14080. msgstr ""
  14081. #. type: deffn
  14082. #: guix-git/doc/guix.texi:9255
  14083. #, no-wrap
  14084. msgid "{Scheme System} munless @var{condition} @var{mexp0} @var{mexp*} ..."
  14085. msgstr ""
  14086. #. type: deffn
  14087. #: guix-git/doc/guix.texi:9260
  14088. 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."
  14089. msgstr ""
  14090. #. type: cindex
  14091. #: guix-git/doc/guix.texi:9262
  14092. #, no-wrap
  14093. msgid "state monad"
  14094. msgstr ""
  14095. #. type: Plain text
  14096. #: guix-git/doc/guix.texi:9266
  14097. 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."
  14098. msgstr ""
  14099. #. type: defvr
  14100. #: guix-git/doc/guix.texi:9267
  14101. #, no-wrap
  14102. msgid "{Scheme Variable} %state-monad"
  14103. msgstr ""
  14104. #. type: defvr
  14105. #: guix-git/doc/guix.texi:9270
  14106. msgid "The state monad. Procedures in the state monad can access and change the state that is threaded."
  14107. msgstr ""
  14108. #. type: defvr
  14109. #: guix-git/doc/guix.texi:9274
  14110. 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:"
  14111. msgstr ""
  14112. #. type: lisp
  14113. #: guix-git/doc/guix.texi:9281
  14114. #, no-wrap
  14115. msgid ""
  14116. "(define (square x)\n"
  14117. " (mlet %state-monad ((count (current-state)))\n"
  14118. " (mbegin %state-monad\n"
  14119. " (set-current-state (+ 1 count))\n"
  14120. " (return (* x x)))))\n"
  14121. "\n"
  14122. msgstr ""
  14123. #. type: lisp
  14124. #: guix-git/doc/guix.texi:9285
  14125. #, no-wrap
  14126. msgid ""
  14127. "(run-with-state (sequence %state-monad (map square (iota 3))) 0)\n"
  14128. "@result{} (0 1 4)\n"
  14129. "@result{} 3\n"
  14130. msgstr ""
  14131. #. type: defvr
  14132. #: guix-git/doc/guix.texi:9289
  14133. msgid "When ``run'' through @code{%state-monad}, we obtain that additional state value, which is the number of @code{square} calls."
  14134. msgstr ""
  14135. #. type: deffn
  14136. #: guix-git/doc/guix.texi:9291
  14137. #, no-wrap
  14138. msgid "{Monadic Procedure} current-state"
  14139. msgstr ""
  14140. #. type: deffn
  14141. #: guix-git/doc/guix.texi:9293
  14142. msgid "Return the current state as a monadic value."
  14143. msgstr ""
  14144. #. type: deffn
  14145. #: guix-git/doc/guix.texi:9295
  14146. #, no-wrap
  14147. msgid "{Monadic Procedure} set-current-state @var{value}"
  14148. msgstr ""
  14149. #. type: deffn
  14150. #: guix-git/doc/guix.texi:9298
  14151. msgid "Set the current state to @var{value} and return the previous state as a monadic value."
  14152. msgstr ""
  14153. #. type: deffn
  14154. #: guix-git/doc/guix.texi:9300
  14155. #, no-wrap
  14156. msgid "{Monadic Procedure} state-push @var{value}"
  14157. msgstr ""
  14158. #. type: deffn
  14159. #: guix-git/doc/guix.texi:9303
  14160. msgid "Push @var{value} to the current state, which is assumed to be a list, and return the previous state as a monadic value."
  14161. msgstr ""
  14162. #. type: deffn
  14163. #: guix-git/doc/guix.texi:9305
  14164. #, no-wrap
  14165. msgid "{Monadic Procedure} state-pop"
  14166. msgstr ""
  14167. #. type: deffn
  14168. #: guix-git/doc/guix.texi:9308
  14169. msgid "Pop a value from the current state and return it as a monadic value. The state is assumed to be a list."
  14170. msgstr ""
  14171. #. type: deffn
  14172. #: guix-git/doc/guix.texi:9310
  14173. #, no-wrap
  14174. msgid "{Scheme Procedure} run-with-state @var{mval} [@var{state}]"
  14175. msgstr ""
  14176. #. type: deffn
  14177. #: guix-git/doc/guix.texi:9313
  14178. msgid "Run monadic value @var{mval} starting with @var{state} as the initial state. Return two values: the resulting value, and the resulting state."
  14179. msgstr ""
  14180. #. type: Plain text
  14181. #: guix-git/doc/guix.texi:9317
  14182. msgid "The main interface to the store monad, provided by the @code{(guix store)} module, is as follows."
  14183. msgstr ""
  14184. #. type: defvr
  14185. #: guix-git/doc/guix.texi:9318
  14186. #, no-wrap
  14187. msgid "{Scheme Variable} %store-monad"
  14188. msgstr ""
  14189. #. type: defvr
  14190. #: guix-git/doc/guix.texi:9320
  14191. msgid "The store monad---an alias for @code{%state-monad}."
  14192. msgstr ""
  14193. #. type: defvr
  14194. #: guix-git/doc/guix.texi:9324
  14195. 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)."
  14196. msgstr ""
  14197. #. type: deffn
  14198. #: guix-git/doc/guix.texi:9326
  14199. #, no-wrap
  14200. msgid "{Scheme Procedure} run-with-store @var{store} @var{mval} [#:guile-for-build] [#:system (%current-system)]"
  14201. msgstr ""
  14202. #. type: deffn
  14203. #: guix-git/doc/guix.texi:9329
  14204. msgid "Run @var{mval}, a monadic value in the store monad, in @var{store}, an open store connection."
  14205. msgstr ""
  14206. #. type: deffn
  14207. #: guix-git/doc/guix.texi:9331
  14208. #, no-wrap
  14209. msgid "{Monadic Procedure} text-file @var{name} @var{text} [@var{references}]"
  14210. msgstr ""
  14211. #. type: deffn
  14212. #: guix-git/doc/guix.texi:9335
  14213. 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."
  14214. msgstr ""
  14215. #. type: deffn
  14216. #: guix-git/doc/guix.texi:9337
  14217. #, no-wrap
  14218. msgid "{Monadic Procedure} binary-file @var{name} @var{data} [@var{references}]"
  14219. msgstr ""
  14220. #. type: deffn
  14221. #: guix-git/doc/guix.texi:9341
  14222. 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."
  14223. msgstr ""
  14224. #. type: deffn
  14225. #: guix-git/doc/guix.texi:9343
  14226. #, no-wrap
  14227. msgid "{Monadic Procedure} interned-file @var{file} [@var{name}] @"
  14228. msgstr ""
  14229. #. type: deffn
  14230. #: guix-git/doc/guix.texi:9348
  14231. 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."
  14232. msgstr ""
  14233. #. type: deffn
  14234. #: guix-git/doc/guix.texi:9352 guix-git/doc/guix.texi:9775
  14235. 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."
  14236. msgstr ""
  14237. #. type: deffn
  14238. #: guix-git/doc/guix.texi:9357 guix-git/doc/guix.texi:9780
  14239. 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."
  14240. msgstr ""
  14241. #. type: deffn
  14242. #: guix-git/doc/guix.texi:9359
  14243. msgid "The example below adds a file to the store, under two different names:"
  14244. msgstr ""
  14245. #. type: lisp
  14246. #: guix-git/doc/guix.texi:9365
  14247. #, no-wrap
  14248. msgid ""
  14249. "(run-with-store (open-connection)\n"
  14250. " (mlet %store-monad ((a (interned-file \"README\"))\n"
  14251. " (b (interned-file \"README\" \"LEGU-MIN\")))\n"
  14252. " (return (list a b))))\n"
  14253. "\n"
  14254. msgstr ""
  14255. #. type: lisp
  14256. #: guix-git/doc/guix.texi:9367
  14257. #, no-wrap
  14258. msgid "@result{} (\"/gnu/store/rwm@dots{}-README\" \"/gnu/store/44i@dots{}-LEGU-MIN\")\n"
  14259. msgstr ""
  14260. #. type: Plain text
  14261. #: guix-git/doc/guix.texi:9373
  14262. msgid "The @code{(guix packages)} module exports the following package-related monadic procedures:"
  14263. msgstr ""
  14264. #. type: deffn
  14265. #: guix-git/doc/guix.texi:9374
  14266. #, no-wrap
  14267. msgid "{Monadic Procedure} package-file @var{package} [@var{file}] @"
  14268. msgstr ""
  14269. #. type: deffn
  14270. #: guix-git/doc/guix.texi:9382
  14271. 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."
  14272. msgstr ""
  14273. #. type: deffn
  14274. #: guix-git/doc/guix.texi:9386
  14275. 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."
  14276. msgstr ""
  14277. #. type: deffn
  14278. #: guix-git/doc/guix.texi:9388
  14279. #, no-wrap
  14280. msgid "{Monadic Procedure} package->derivation @var{package} [@var{system}]"
  14281. msgstr ""
  14282. #. type: deffnx
  14283. #: guix-git/doc/guix.texi:9389
  14284. #, no-wrap
  14285. msgid "{Monadic Procedure} package->cross-derivation @var{package} @"
  14286. msgstr ""
  14287. #. type: deffn
  14288. #: guix-git/doc/guix.texi:9393
  14289. msgid "@var{target} [@var{system}] Monadic version of @code{package-derivation} and @code{package-cross-derivation} (@pxref{Defining Packages})."
  14290. msgstr ""
  14291. #. type: cindex
  14292. #: guix-git/doc/guix.texi:9399
  14293. #, no-wrap
  14294. msgid "G-expression"
  14295. msgstr ""
  14296. #. type: cindex
  14297. #: guix-git/doc/guix.texi:9400
  14298. #, no-wrap
  14299. msgid "build code quoting"
  14300. msgstr ""
  14301. #. type: Plain text
  14302. #: guix-git/doc/guix.texi:9406
  14303. 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})."
  14304. msgstr ""
  14305. #. type: cindex
  14306. #: guix-git/doc/guix.texi:9409
  14307. #, no-wrap
  14308. msgid "strata of code"
  14309. msgstr ""
  14310. #. type: Plain text
  14311. #: guix-git/doc/guix.texi:9421
  14312. 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})."
  14313. msgstr ""
  14314. #. type: Plain text
  14315. #: guix-git/doc/guix.texi:9428
  14316. 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."
  14317. msgstr ""
  14318. #. type: Plain text
  14319. #: guix-git/doc/guix.texi:9437
  14320. 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:"
  14321. msgstr ""
  14322. #. type: itemize
  14323. #: guix-git/doc/guix.texi:9442
  14324. msgid "Gexps are meant to be written to a file and run or manipulated by other processes."
  14325. msgstr ""
  14326. #. type: itemize
  14327. #: guix-git/doc/guix.texi:9447
  14328. 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."
  14329. msgstr ""
  14330. #. type: itemize
  14331. #: guix-git/doc/guix.texi:9452
  14332. 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."
  14333. msgstr ""
  14334. #. type: cindex
  14335. #: guix-git/doc/guix.texi:9454 guix-git/doc/guix.texi:10011
  14336. #, no-wrap
  14337. msgid "lowering, of high-level objects in gexps"
  14338. msgstr ""
  14339. #. type: Plain text
  14340. #: guix-git/doc/guix.texi:9464
  14341. 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)."
  14342. msgstr ""
  14343. #. type: Plain text
  14344. #: guix-git/doc/guix.texi:9466
  14345. msgid "To illustrate the idea, here is an example of a gexp:"
  14346. msgstr ""
  14347. #. type: lisp
  14348. #: guix-git/doc/guix.texi:9474
  14349. #, no-wrap
  14350. msgid ""
  14351. "(define build-exp\n"
  14352. " #~(begin\n"
  14353. " (mkdir #$output)\n"
  14354. " (chdir #$output)\n"
  14355. " (symlink (string-append #$coreutils \"/bin/ls\")\n"
  14356. " \"list-files\")))\n"
  14357. msgstr ""
  14358. #. type: Plain text
  14359. #: guix-git/doc/guix.texi:9479
  14360. 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}:"
  14361. msgstr ""
  14362. #. type: lisp
  14363. #: guix-git/doc/guix.texi:9482
  14364. #, no-wrap
  14365. msgid "(gexp->derivation \"the-thing\" build-exp)\n"
  14366. msgstr ""
  14367. #. type: Plain text
  14368. #: guix-git/doc/guix.texi:9490
  14369. 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."
  14370. msgstr ""
  14371. #. type: cindex
  14372. #: guix-git/doc/guix.texi:9491
  14373. #, no-wrap
  14374. msgid "cross compilation"
  14375. msgstr ""
  14376. #. type: Plain text
  14377. #: guix-git/doc/guix.texi:9497
  14378. 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:"
  14379. msgstr ""
  14380. #. type: lisp
  14381. #: guix-git/doc/guix.texi:9508
  14382. #, no-wrap
  14383. msgid ""
  14384. "(gexp->derivation \"vi\"\n"
  14385. " #~(begin\n"
  14386. " (mkdir #$output)\n"
  14387. " (mkdir (string-append #$output \"/bin\"))\n"
  14388. " (system* (string-append #+coreutils \"/bin/ln\")\n"
  14389. " \"-s\"\n"
  14390. " (string-append #$emacs \"/bin/emacs\")\n"
  14391. " (string-append #$output \"/bin/vi\")))\n"
  14392. " #:target \"aarch64-linux-gnu\")\n"
  14393. msgstr ""
  14394. #. type: Plain text
  14395. #: guix-git/doc/guix.texi:9514
  14396. 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."
  14397. msgstr ""
  14398. #. type: cindex
  14399. #: guix-git/doc/guix.texi:9515
  14400. #, no-wrap
  14401. msgid "imported modules, for gexps"
  14402. msgstr ""
  14403. #. type: findex
  14404. #: guix-git/doc/guix.texi:9516
  14405. #, no-wrap
  14406. msgid "with-imported-modules"
  14407. msgstr ""
  14408. #. type: Plain text
  14409. #: guix-git/doc/guix.texi:9521
  14410. 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:"
  14411. msgstr ""
  14412. #. type: lisp
  14413. #: guix-git/doc/guix.texi:9532
  14414. #, no-wrap
  14415. msgid ""
  14416. "(let ((build (with-imported-modules '((guix build utils))\n"
  14417. " #~(begin\n"
  14418. " (use-modules (guix build utils))\n"
  14419. " (mkdir-p (string-append #$output \"/bin\"))))))\n"
  14420. " (gexp->derivation \"empty-dir\"\n"
  14421. " #~(begin\n"
  14422. " #$build\n"
  14423. " (display \"success!\\n\")\n"
  14424. " #t)))\n"
  14425. msgstr ""
  14426. #. type: Plain text
  14427. #: guix-git/doc/guix.texi:9538
  14428. 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."
  14429. msgstr ""
  14430. #. type: cindex
  14431. #: guix-git/doc/guix.texi:9539
  14432. #, no-wrap
  14433. msgid "module closure"
  14434. msgstr ""
  14435. #. type: findex
  14436. #: guix-git/doc/guix.texi:9540
  14437. #, no-wrap
  14438. msgid "source-module-closure"
  14439. msgstr ""
  14440. #. type: Plain text
  14441. #: guix-git/doc/guix.texi:9547
  14442. 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:"
  14443. msgstr ""
  14444. #. type: lisp
  14445. #: guix-git/doc/guix.texi:9550
  14446. #, no-wrap
  14447. msgid ""
  14448. "(use-modules (guix modules)) ;for 'source-module-closure'\n"
  14449. "\n"
  14450. msgstr ""
  14451. #. type: lisp
  14452. #: guix-git/doc/guix.texi:9559
  14453. #, no-wrap
  14454. msgid ""
  14455. "(with-imported-modules (source-module-closure\n"
  14456. " '((guix build utils)\n"
  14457. " (gnu build vm)))\n"
  14458. " (gexp->derivation \"something-with-vms\"\n"
  14459. " #~(begin\n"
  14460. " (use-modules (guix build utils)\n"
  14461. " (gnu build vm))\n"
  14462. " @dots{})))\n"
  14463. msgstr ""
  14464. #. type: cindex
  14465. #: guix-git/doc/guix.texi:9561
  14466. #, no-wrap
  14467. msgid "extensions, for gexps"
  14468. msgstr ""
  14469. #. type: findex
  14470. #: guix-git/doc/guix.texi:9562
  14471. #, no-wrap
  14472. msgid "with-extensions"
  14473. msgstr ""
  14474. #. type: Plain text
  14475. #: guix-git/doc/guix.texi:9567
  14476. 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:"
  14477. msgstr ""
  14478. #. type: lisp
  14479. #: guix-git/doc/guix.texi:9570
  14480. #, no-wrap
  14481. msgid ""
  14482. "(use-modules (gnu packages guile)) ;for 'guile-json'\n"
  14483. "\n"
  14484. msgstr ""
  14485. #. type: lisp
  14486. #: guix-git/doc/guix.texi:9576
  14487. #, no-wrap
  14488. msgid ""
  14489. "(with-extensions (list guile-json)\n"
  14490. " (gexp->derivation \"something-with-json\"\n"
  14491. " #~(begin\n"
  14492. " (use-modules (json))\n"
  14493. " @dots{})))\n"
  14494. msgstr ""
  14495. #. type: Plain text
  14496. #: guix-git/doc/guix.texi:9579
  14497. msgid "The syntactic form to construct gexps is summarized below."
  14498. msgstr ""
  14499. #. type: deffn
  14500. #: guix-git/doc/guix.texi:9580
  14501. #, no-wrap
  14502. msgid "{Scheme Syntax} #~@var{exp}"
  14503. msgstr ""
  14504. #. type: deffnx
  14505. #: guix-git/doc/guix.texi:9581
  14506. #, no-wrap
  14507. msgid "{Scheme Syntax} (gexp @var{exp})"
  14508. msgstr ""
  14509. #. type: deffn
  14510. #: guix-git/doc/guix.texi:9584
  14511. msgid "Return a G-expression containing @var{exp}. @var{exp} may contain one or more of the following forms:"
  14512. msgstr ""
  14513. #. type: item
  14514. #: guix-git/doc/guix.texi:9586
  14515. #, no-wrap
  14516. msgid "#$@var{obj}"
  14517. msgstr ""
  14518. #. type: itemx
  14519. #: guix-git/doc/guix.texi:9587
  14520. #, no-wrap
  14521. msgid "(ungexp @var{obj})"
  14522. msgstr ""
  14523. #. type: table
  14524. #: guix-git/doc/guix.texi:9592
  14525. 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}."
  14526. msgstr ""
  14527. #. type: table
  14528. #: guix-git/doc/guix.texi:9595
  14529. msgid "If @var{obj} is a list, it is traversed and references to supported objects are substituted similarly."
  14530. msgstr ""
  14531. #. type: table
  14532. #: guix-git/doc/guix.texi:9598
  14533. msgid "If @var{obj} is another gexp, its contents are inserted and its dependencies are added to those of the containing gexp."
  14534. msgstr ""
  14535. #. type: table
  14536. #: guix-git/doc/guix.texi:9600
  14537. msgid "If @var{obj} is another kind of object, it is inserted as is."
  14538. msgstr ""
  14539. #. type: item
  14540. #: guix-git/doc/guix.texi:9601
  14541. #, no-wrap
  14542. msgid "#$@var{obj}:@var{output}"
  14543. msgstr "#$@var{obj}:@var{saída}"
  14544. #. type: itemx
  14545. #: guix-git/doc/guix.texi:9602
  14546. #, no-wrap
  14547. msgid "(ungexp @var{obj} @var{output})"
  14548. msgstr "(ungexp @var{obj} @var{saída})"
  14549. #. type: table
  14550. #: guix-git/doc/guix.texi:9606
  14551. 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})."
  14552. msgstr ""
  14553. #. type: item
  14554. #: guix-git/doc/guix.texi:9607
  14555. #, no-wrap
  14556. msgid "#+@var{obj}"
  14557. msgstr ""
  14558. #. type: itemx
  14559. #: guix-git/doc/guix.texi:9608
  14560. #, no-wrap
  14561. msgid "#+@var{obj}:output"
  14562. msgstr "#+@var{obj}:output"
  14563. #. type: itemx
  14564. #: guix-git/doc/guix.texi:9609
  14565. #, no-wrap
  14566. msgid "(ungexp-native @var{obj})"
  14567. msgstr ""
  14568. #. type: itemx
  14569. #: guix-git/doc/guix.texi:9610
  14570. #, no-wrap
  14571. msgid "(ungexp-native @var{obj} @var{output})"
  14572. msgstr ""
  14573. #. type: table
  14574. #: guix-git/doc/guix.texi:9613
  14575. msgid "Same as @code{ungexp}, but produces a reference to the @emph{native} build of @var{obj} when used in a cross compilation context."
  14576. msgstr ""
  14577. #. type: item
  14578. #: guix-git/doc/guix.texi:9614
  14579. #, no-wrap
  14580. msgid "#$output[:@var{output}]"
  14581. msgstr "#$output[:@var{saída}]"
  14582. #. type: itemx
  14583. #: guix-git/doc/guix.texi:9615
  14584. #, no-wrap
  14585. msgid "(ungexp output [@var{output}])"
  14586. msgstr "(ungexp output [@var{saída}])"
  14587. #. type: table
  14588. #: guix-git/doc/guix.texi:9618
  14589. msgid "Insert a reference to derivation output @var{output}, or to the main output when @var{output} is omitted."
  14590. msgstr ""
  14591. #. type: table
  14592. #: guix-git/doc/guix.texi:9620
  14593. msgid "This only makes sense for gexps passed to @code{gexp->derivation}."
  14594. msgstr ""
  14595. #. type: item
  14596. #: guix-git/doc/guix.texi:9621
  14597. #, no-wrap
  14598. msgid "#$@@@var{lst}"
  14599. msgstr ""
  14600. #. type: itemx
  14601. #: guix-git/doc/guix.texi:9622
  14602. #, no-wrap
  14603. msgid "(ungexp-splicing @var{lst})"
  14604. msgstr ""
  14605. #. type: table
  14606. #: guix-git/doc/guix.texi:9625
  14607. msgid "Like the above, but splices the contents of @var{lst} inside the containing list."
  14608. msgstr ""
  14609. #. type: item
  14610. #: guix-git/doc/guix.texi:9626
  14611. #, no-wrap
  14612. msgid "#+@@@var{lst}"
  14613. msgstr ""
  14614. #. type: itemx
  14615. #: guix-git/doc/guix.texi:9627
  14616. #, no-wrap
  14617. msgid "(ungexp-native-splicing @var{lst})"
  14618. msgstr ""
  14619. #. type: table
  14620. #: guix-git/doc/guix.texi:9630
  14621. msgid "Like the above, but refers to native builds of the objects listed in @var{lst}."
  14622. msgstr ""
  14623. #. type: deffn
  14624. #: guix-git/doc/guix.texi:9635
  14625. msgid "G-expressions created by @code{gexp} or @code{#~} are run-time objects of the @code{gexp?} type (see below)."
  14626. msgstr ""
  14627. #. type: deffn
  14628. #: guix-git/doc/guix.texi:9637
  14629. #, no-wrap
  14630. msgid "{Scheme Syntax} with-imported-modules @var{modules} @var{body}@dots{}"
  14631. msgstr ""
  14632. #. type: deffn
  14633. #: guix-git/doc/guix.texi:9640
  14634. msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{modules} in their execution environment."
  14635. msgstr ""
  14636. #. type: deffn
  14637. #: guix-git/doc/guix.texi:9644
  14638. 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:"
  14639. msgstr ""
  14640. #. type: lisp
  14641. #: guix-git/doc/guix.texi:9650
  14642. #, no-wrap
  14643. msgid ""
  14644. "`((guix build utils)\n"
  14645. " (guix gcrypt)\n"
  14646. " ((guix config) => ,(scheme-file \"config.scm\"\n"
  14647. " #~(define-module @dots{}))))\n"
  14648. msgstr ""
  14649. #. type: deffn
  14650. #: guix-git/doc/guix.texi:9655
  14651. 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."
  14652. msgstr ""
  14653. #. type: deffn
  14654. #: guix-git/doc/guix.texi:9659
  14655. 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{}."
  14656. msgstr ""
  14657. #. type: deffn
  14658. #: guix-git/doc/guix.texi:9661
  14659. #, no-wrap
  14660. msgid "{Scheme Syntax} with-extensions @var{extensions} @var{body}@dots{}"
  14661. msgstr ""
  14662. #. type: deffn
  14663. #: guix-git/doc/guix.texi:9666
  14664. 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."
  14665. msgstr ""
  14666. #. type: deffn
  14667. #: guix-git/doc/guix.texi:9671
  14668. 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{}."
  14669. msgstr ""
  14670. #. type: deffn
  14671. #: guix-git/doc/guix.texi:9673
  14672. #, no-wrap
  14673. msgid "{Scheme Procedure} gexp? @var{obj}"
  14674. msgstr ""
  14675. #. type: deffn
  14676. #: guix-git/doc/guix.texi:9675
  14677. msgid "Return @code{#t} if @var{obj} is a G-expression."
  14678. msgstr ""
  14679. #. type: Plain text
  14680. #: guix-git/doc/guix.texi:9681
  14681. 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)."
  14682. msgstr ""
  14683. #. type: deffn
  14684. #: guix-git/doc/guix.texi:9682
  14685. #, no-wrap
  14686. msgid "{Monadic Procedure} gexp->derivation @var{name} @var{exp} @"
  14687. msgstr ""
  14688. #. type: deffn
  14689. #: guix-git/doc/guix.texi:9700
  14690. 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}."
  14691. msgstr ""
  14692. #. type: deffn
  14693. #: guix-git/doc/guix.texi:9708
  14694. 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))}."
  14695. msgstr ""
  14696. #. type: deffn
  14697. #: guix-git/doc/guix.texi:9711
  14698. 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\"}."
  14699. msgstr ""
  14700. #. type: deffn
  14701. #: guix-git/doc/guix.texi:9714
  14702. msgid "@var{graft?} determines whether packages referred to by @var{exp} should be grafted when applicable."
  14703. msgstr ""
  14704. #. type: deffn
  14705. #: guix-git/doc/guix.texi:9717
  14706. msgid "When @var{references-graphs} is true, it must be a list of tuples of one of the following forms:"
  14707. msgstr ""
  14708. #. type: example
  14709. #: guix-git/doc/guix.texi:9724
  14710. #, no-wrap
  14711. msgid ""
  14712. "(@var{file-name} @var{package})\n"
  14713. "(@var{file-name} @var{package} @var{output})\n"
  14714. "(@var{file-name} @var{derivation})\n"
  14715. "(@var{file-name} @var{derivation} @var{output})\n"
  14716. "(@var{file-name} @var{store-item})\n"
  14717. msgstr ""
  14718. #. type: deffn
  14719. #: guix-git/doc/guix.texi:9730
  14720. 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."
  14721. msgstr ""
  14722. #. type: deffn
  14723. #: guix-git/doc/guix.texi:9736
  14724. 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."
  14725. msgstr ""
  14726. #. type: deffn
  14727. #: guix-git/doc/guix.texi:9739
  14728. msgid "@var{deprecation-warnings} determines whether to show deprecation warnings while compiling modules. It can be @code{#f}, @code{#t}, or @code{'detailed}."
  14729. msgstr ""
  14730. #. type: deffn
  14731. #: guix-git/doc/guix.texi:9741
  14732. msgid "The other arguments are as for @code{derivation} (@pxref{Derivations})."
  14733. msgstr ""
  14734. #. type: cindex
  14735. #: guix-git/doc/guix.texi:9743
  14736. #, no-wrap
  14737. msgid "file-like objects"
  14738. msgstr ""
  14739. #. type: Plain text
  14740. #: guix-git/doc/guix.texi:9748
  14741. 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:"
  14742. msgstr ""
  14743. #. type: lisp
  14744. #: guix-git/doc/guix.texi:9752
  14745. #, no-wrap
  14746. msgid ""
  14747. "#~(system* #$(file-append glibc \"/sbin/nscd\") \"-f\"\n"
  14748. " #$(local-file \"/tmp/my-nscd.conf\"))\n"
  14749. msgstr ""
  14750. #. type: Plain text
  14751. #: guix-git/doc/guix.texi:9761
  14752. 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."
  14753. msgstr ""
  14754. #. type: deffn
  14755. #: guix-git/doc/guix.texi:9762
  14756. #, no-wrap
  14757. msgid "{Scheme Procedure} local-file @var{file} [@var{name}] @"
  14758. msgstr ""
  14759. #. type: deffn
  14760. #: guix-git/doc/guix.texi:9771
  14761. 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}."
  14762. msgstr ""
  14763. #. type: deffn
  14764. #: guix-git/doc/guix.texi:9783
  14765. msgid "This is the declarative counterpart of the @code{interned-file} monadic procedure (@pxref{The Store Monad, @code{interned-file}})."
  14766. msgstr ""
  14767. #. type: deffn
  14768. #: guix-git/doc/guix.texi:9785
  14769. #, no-wrap
  14770. msgid "{Scheme Procedure} plain-file @var{name} @var{content}"
  14771. msgstr ""
  14772. #. type: deffn
  14773. #: guix-git/doc/guix.texi:9788
  14774. 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."
  14775. msgstr ""
  14776. #. type: deffn
  14777. #: guix-git/doc/guix.texi:9790
  14778. msgid "This is the declarative counterpart of @code{text-file}."
  14779. msgstr ""
  14780. #. type: deffn
  14781. #: guix-git/doc/guix.texi:9792
  14782. #, no-wrap
  14783. msgid "{Scheme Procedure} computed-file @var{name} @var{gexp} @"
  14784. msgstr ""
  14785. #. type: deffn
  14786. #: guix-git/doc/guix.texi:9799
  14787. 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}."
  14788. msgstr ""
  14789. #. type: deffn
  14790. #: guix-git/doc/guix.texi:9801
  14791. msgid "This is the declarative counterpart of @code{gexp->derivation}."
  14792. msgstr ""
  14793. #. type: deffn
  14794. #: guix-git/doc/guix.texi:9803
  14795. #, no-wrap
  14796. msgid "{Monadic Procedure} gexp->script @var{name} @var{exp} @"
  14797. msgstr ""
  14798. #. type: deffn
  14799. #: guix-git/doc/guix.texi:9809
  14800. 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}."
  14801. msgstr ""
  14802. #. type: deffn
  14803. #: guix-git/doc/guix.texi:9812
  14804. msgid "The example below builds a script that simply invokes the @command{ls} command:"
  14805. msgstr ""
  14806. #. type: lisp
  14807. #: guix-git/doc/guix.texi:9815
  14808. #, no-wrap
  14809. msgid ""
  14810. "(use-modules (guix gexp) (gnu packages base))\n"
  14811. "\n"
  14812. msgstr ""
  14813. #. type: lisp
  14814. #: guix-git/doc/guix.texi:9819
  14815. #, no-wrap
  14816. msgid ""
  14817. "(gexp->script \"list-files\"\n"
  14818. " #~(execl #$(file-append coreutils \"/bin/ls\")\n"
  14819. " \"ls\"))\n"
  14820. msgstr ""
  14821. #. type: deffn
  14822. #: guix-git/doc/guix.texi:9824
  14823. 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:"
  14824. msgstr ""
  14825. #. type: example
  14826. #: guix-git/doc/guix.texi:9829
  14827. #, no-wrap
  14828. msgid ""
  14829. "#!/gnu/store/@dots{}-guile-2.0.11/bin/guile -ds\n"
  14830. "!#\n"
  14831. "(execl \"/gnu/store/@dots{}-coreutils-8.22\"/bin/ls\" \"ls\")\n"
  14832. msgstr ""
  14833. #. type: deffn
  14834. #: guix-git/doc/guix.texi:9832
  14835. #, no-wrap
  14836. msgid "{Scheme Procedure} program-file @var{name} @var{exp} @"
  14837. msgstr ""
  14838. #. type: deffn
  14839. #: guix-git/doc/guix.texi:9837
  14840. 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}."
  14841. msgstr ""
  14842. #. type: deffn
  14843. #: guix-git/doc/guix.texi:9839
  14844. msgid "This is the declarative counterpart of @code{gexp->script}."
  14845. msgstr ""
  14846. #. type: deffn
  14847. #: guix-git/doc/guix.texi:9841
  14848. #, no-wrap
  14849. msgid "{Monadic Procedure} gexp->file @var{name} @var{exp} @"
  14850. msgstr ""
  14851. #. type: deffn
  14852. #: guix-git/doc/guix.texi:9848
  14853. 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."
  14854. msgstr ""
  14855. #. type: deffn
  14856. #: guix-git/doc/guix.texi:9853
  14857. 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}."
  14858. msgstr ""
  14859. #. type: deffn
  14860. #: guix-git/doc/guix.texi:9856
  14861. msgid "The resulting file holds references to all the dependencies of @var{exp} or a subset thereof."
  14862. msgstr ""
  14863. #. type: deffn
  14864. #: guix-git/doc/guix.texi:9858
  14865. #, no-wrap
  14866. msgid "{Scheme Procedure} scheme-file @var{name} @var{exp} @"
  14867. msgstr ""
  14868. #. type: deffn
  14869. #: guix-git/doc/guix.texi:9862
  14870. msgid "[#:splice? #f] [#:set-load-path? #t] Return an object representing the Scheme file @var{name} that contains @var{exp}."
  14871. msgstr ""
  14872. #. type: deffn
  14873. #: guix-git/doc/guix.texi:9864
  14874. msgid "This is the declarative counterpart of @code{gexp->file}."
  14875. msgstr ""
  14876. #. type: deffn
  14877. #: guix-git/doc/guix.texi:9866
  14878. #, no-wrap
  14879. msgid "{Monadic Procedure} text-file* @var{name} @var{text} @dots{}"
  14880. msgstr ""
  14881. #. type: deffn
  14882. #: guix-git/doc/guix.texi:9872
  14883. 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."
  14884. msgstr ""
  14885. #. type: deffn
  14886. #: guix-git/doc/guix.texi:9877
  14887. 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:"
  14888. msgstr ""
  14889. #. type: lisp
  14890. #: guix-git/doc/guix.texi:9885
  14891. #, no-wrap
  14892. msgid ""
  14893. "(define (profile.sh)\n"
  14894. " ;; Return the name of a shell script in the store that\n"
  14895. " ;; initializes the 'PATH' environment variable.\n"
  14896. " (text-file* \"profile.sh\"\n"
  14897. " \"export PATH=\" coreutils \"/bin:\"\n"
  14898. " grep \"/bin:\" sed \"/bin\\n\"))\n"
  14899. msgstr ""
  14900. #. type: deffn
  14901. #: guix-git/doc/guix.texi:9890
  14902. 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."
  14903. msgstr ""
  14904. #. type: deffn
  14905. #: guix-git/doc/guix.texi:9892
  14906. #, no-wrap
  14907. msgid "{Scheme Procedure} mixed-text-file @var{name} @var{text} @dots{}"
  14908. msgstr ""
  14909. #. type: deffn
  14910. #: guix-git/doc/guix.texi:9896
  14911. 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:"
  14912. msgstr ""
  14913. #. type: lisp
  14914. #: guix-git/doc/guix.texi:9900
  14915. #, no-wrap
  14916. msgid ""
  14917. "(mixed-text-file \"profile\"\n"
  14918. " \"export PATH=\" coreutils \"/bin:\" grep \"/bin\")\n"
  14919. msgstr ""
  14920. #. type: deffn
  14921. #: guix-git/doc/guix.texi:9903
  14922. msgid "This is the declarative counterpart of @code{text-file*}."
  14923. msgstr ""
  14924. #. type: deffn
  14925. #: guix-git/doc/guix.texi:9905
  14926. #, no-wrap
  14927. msgid "{Scheme Procedure} file-union @var{name} @var{files}"
  14928. msgstr ""
  14929. #. type: deffn
  14930. #: guix-git/doc/guix.texi:9910
  14931. 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:"
  14932. msgstr ""
  14933. #. type: lisp
  14934. #: guix-git/doc/guix.texi:9917
  14935. #, no-wrap
  14936. msgid ""
  14937. "(file-union \"etc\"\n"
  14938. " `((\"hosts\" ,(plain-file \"hosts\"\n"
  14939. " \"127.0.0.1 localhost\"))\n"
  14940. " (\"bashrc\" ,(plain-file \"bashrc\"\n"
  14941. " \"alias ls='ls --color=auto'\"))))\n"
  14942. msgstr ""
  14943. #. type: deffn
  14944. #: guix-git/doc/guix.texi:9920
  14945. msgid "This yields an @code{etc} directory containing these two files."
  14946. msgstr ""
  14947. #. type: deffn
  14948. #: guix-git/doc/guix.texi:9922
  14949. #, no-wrap
  14950. msgid "{Scheme Procedure} directory-union @var{name} @var{things}"
  14951. msgstr ""
  14952. #. type: deffn
  14953. #: guix-git/doc/guix.texi:9925
  14954. 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:"
  14955. msgstr ""
  14956. #. type: lisp
  14957. #: guix-git/doc/guix.texi:9928
  14958. #, no-wrap
  14959. msgid "(directory-union \"guile+emacs\" (list guile emacs))\n"
  14960. msgstr ""
  14961. #. type: deffn
  14962. #: guix-git/doc/guix.texi:9931
  14963. msgid "yields a directory that is the union of the @code{guile} and @code{emacs} packages."
  14964. msgstr ""
  14965. #. type: deffn
  14966. #: guix-git/doc/guix.texi:9933
  14967. #, no-wrap
  14968. msgid "{Scheme Procedure} file-append @var{obj} @var{suffix} @dots{}"
  14969. msgstr ""
  14970. #. type: deffn
  14971. #: guix-git/doc/guix.texi:9937
  14972. 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."
  14973. msgstr ""
  14974. #. type: deffn
  14975. #: guix-git/doc/guix.texi:9939
  14976. msgid "As an example, consider this gexp:"
  14977. msgstr ""
  14978. #. type: lisp
  14979. #: guix-git/doc/guix.texi:9944
  14980. #, no-wrap
  14981. msgid ""
  14982. "(gexp->script \"run-uname\"\n"
  14983. " #~(system* #$(file-append coreutils\n"
  14984. " \"/bin/uname\")))\n"
  14985. msgstr ""
  14986. #. type: deffn
  14987. #: guix-git/doc/guix.texi:9947
  14988. msgid "The same effect could be achieved with:"
  14989. msgstr ""
  14990. #. type: lisp
  14991. #: guix-git/doc/guix.texi:9952
  14992. #, no-wrap
  14993. msgid ""
  14994. "(gexp->script \"run-uname\"\n"
  14995. " #~(system* (string-append #$coreutils\n"
  14996. " \"/bin/uname\")))\n"
  14997. msgstr ""
  14998. #. type: deffn
  14999. #: guix-git/doc/guix.texi:9958
  15000. 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}."
  15001. msgstr ""
  15002. #. type: deffn
  15003. #: guix-git/doc/guix.texi:9960
  15004. #, no-wrap
  15005. msgid "{Scheme Syntax} let-system @var{system} @var{body}@dots{}"
  15006. msgstr ""
  15007. #. type: deffnx
  15008. #: guix-git/doc/guix.texi:9961
  15009. #, no-wrap
  15010. msgid "{Scheme Syntax} let-system (@var{system} @var{target}) @var{body}@dots{}"
  15011. msgstr ""
  15012. #. type: deffn
  15013. #: guix-git/doc/guix.texi:9964
  15014. msgid "Bind @var{system} to the currently targeted system---e.g., @code{\"x86_64-linux\"}---within @var{body}."
  15015. msgstr ""
  15016. #. type: deffn
  15017. #: guix-git/doc/guix.texi:9969
  15018. 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."
  15019. msgstr ""
  15020. #. type: deffn
  15021. #: guix-git/doc/guix.texi:9972
  15022. 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:"
  15023. msgstr ""
  15024. #. type: lisp
  15025. #: guix-git/doc/guix.texi:9983
  15026. #, no-wrap
  15027. msgid ""
  15028. "#~(system*\n"
  15029. " #+(let-system system\n"
  15030. " (cond ((string-prefix? \"armhf-\" system)\n"
  15031. " (file-append qemu \"/bin/qemu-system-arm\"))\n"
  15032. " ((string-prefix? \"x86_64-\" system)\n"
  15033. " (file-append qemu \"/bin/qemu-system-x86_64\"))\n"
  15034. " (else\n"
  15035. " (error \"dunno!\"))))\n"
  15036. " \"-net\" \"user\" #$image)\n"
  15037. msgstr ""
  15038. #. type: deffn
  15039. #: guix-git/doc/guix.texi:9986
  15040. #, no-wrap
  15041. msgid "{Scheme Syntax} with-parameters ((@var{parameter} @var{value}) @dots{}) @var{exp}"
  15042. msgstr ""
  15043. #. type: deffn
  15044. #: guix-git/doc/guix.texi:9992
  15045. 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."
  15046. msgstr ""
  15047. #. type: deffn
  15048. #: guix-git/doc/guix.texi:9995
  15049. msgid "A typical use of @code{with-parameters} is to force the system in effect for a given object:"
  15050. msgstr ""
  15051. #. type: lisp
  15052. #: guix-git/doc/guix.texi:9999
  15053. #, no-wrap
  15054. msgid ""
  15055. "(with-parameters ((%current-system \"i686-linux\"))\n"
  15056. " coreutils)\n"
  15057. msgstr ""
  15058. #. type: deffn
  15059. #: guix-git/doc/guix.texi:10003
  15060. msgid "The example above returns an object that corresponds to the i686 build of Coreutils, regardless of the current value of @code{%current-system}."
  15061. msgstr ""
  15062. #. type: Plain text
  15063. #: guix-git/doc/guix.texi:10010
  15064. 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."
  15065. msgstr ""
  15066. #. type: Plain text
  15067. #: guix-git/doc/guix.texi:10016
  15068. 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."
  15069. msgstr ""
  15070. #. type: deffn
  15071. #: guix-git/doc/guix.texi:10017
  15072. #, no-wrap
  15073. msgid "{Monadic Procedure} lower-object @var{obj} [@var{system}] @"
  15074. msgstr ""
  15075. #. type: deffn
  15076. #: guix-git/doc/guix.texi:10023
  15077. 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>}."
  15078. msgstr ""
  15079. #. type: section
  15080. #: guix-git/doc/guix.texi:10026
  15081. #, no-wrap
  15082. msgid "Invoking @command{guix repl}"
  15083. msgstr "Invocando @command{guix repl}"
  15084. #. type: cindex
  15085. #: guix-git/doc/guix.texi:10028
  15086. #, no-wrap
  15087. msgid "REPL, read-eval-print loop, script"
  15088. msgstr ""
  15089. #. type: Plain text
  15090. #: guix-git/doc/guix.texi:10038
  15091. 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."
  15092. msgstr ""
  15093. #. type: example
  15094. #: guix-git/doc/guix.texi:10043
  15095. #, no-wrap
  15096. msgid "guix repl @var{options} [@var{file} @var{args}]\n"
  15097. msgstr ""
  15098. #. type: Plain text
  15099. #: guix-git/doc/guix.texi:10047
  15100. msgid "When a @var{file} argument is provided, @var{file} is executed as a Guile scripts:"
  15101. msgstr ""
  15102. #. type: example
  15103. #: guix-git/doc/guix.texi:10050
  15104. #, no-wrap
  15105. msgid "guix repl my-script.scm\n"
  15106. msgstr ""
  15107. #. type: Plain text
  15108. #: guix-git/doc/guix.texi:10054
  15109. msgid "To pass arguments to the script, use @code{--} to prevent them from being interpreted as arguments to @command{guix repl} itself:"
  15110. msgstr ""
  15111. #. type: example
  15112. #: guix-git/doc/guix.texi:10057
  15113. #, no-wrap
  15114. msgid "guix repl -- my-script.scm --input=foo.txt\n"
  15115. msgstr ""
  15116. #. type: Plain text
  15117. #: guix-git/doc/guix.texi:10062
  15118. 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:"
  15119. msgstr ""
  15120. #. type: example
  15121. #: guix-git/doc/guix.texi:10066
  15122. #, no-wrap
  15123. msgid ""
  15124. "@code{#!/usr/bin/env -S guix repl --}\n"
  15125. "@code{!#}\n"
  15126. msgstr ""
  15127. #. type: Plain text
  15128. #: guix-git/doc/guix.texi:10069
  15129. msgid "Without a file name argument, a Guile REPL is started:"
  15130. msgstr ""
  15131. #. type: example
  15132. #: guix-git/doc/guix.texi:10075
  15133. #, no-wrap
  15134. msgid ""
  15135. "$ guix repl\n"
  15136. "scheme@@(guile-user)> ,use (gnu packages base)\n"
  15137. "scheme@@(guile-user)> coreutils\n"
  15138. "$1 = #<package coreutils@@8.29 gnu/packages/base.scm:327 3e28300>\n"
  15139. msgstr ""
  15140. #. type: Plain text
  15141. #: guix-git/doc/guix.texi:10082
  15142. 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."
  15143. msgstr ""
  15144. #. type: Plain text
  15145. #: guix-git/doc/guix.texi:10084
  15146. msgid "The available options are as follows:"
  15147. msgstr ""
  15148. #. type: item
  15149. #: guix-git/doc/guix.texi:10086 guix-git/doc/guix.texi:12448
  15150. #, no-wrap
  15151. msgid "--type=@var{type}"
  15152. msgstr ""
  15153. #. type: itemx
  15154. #: guix-git/doc/guix.texi:10087 guix-git/doc/guix.texi:12449
  15155. #: guix-git/doc/guix.texi:33138
  15156. #, no-wrap
  15157. msgid "-t @var{type}"
  15158. msgstr "-t @var{tipo}"
  15159. #. type: table
  15160. #: guix-git/doc/guix.texi:10089
  15161. msgid "Start a REPL of the given @var{TYPE}, which can be one of the following:"
  15162. msgstr ""
  15163. #. type: item
  15164. #: guix-git/doc/guix.texi:10091
  15165. #, no-wrap
  15166. msgid "guile"
  15167. msgstr ""
  15168. #. type: table
  15169. #: guix-git/doc/guix.texi:10093
  15170. msgid "This is default, and it spawns a standard full-featured Guile REPL."
  15171. msgstr ""
  15172. #. type: item
  15173. #: guix-git/doc/guix.texi:10093
  15174. #, no-wrap
  15175. msgid "machine"
  15176. msgstr ""
  15177. #. type: table
  15178. #: guix-git/doc/guix.texi:10096
  15179. msgid "Spawn a REPL that uses the machine-readable protocol. This is the protocol that the @code{(guix inferior)} module speaks."
  15180. msgstr ""
  15181. #. type: table
  15182. #: guix-git/doc/guix.texi:10102
  15183. 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:"
  15184. msgstr ""
  15185. #. type: item
  15186. #: guix-git/doc/guix.texi:10104
  15187. #, no-wrap
  15188. msgid "--listen=tcp:37146"
  15189. msgstr ""
  15190. #. type: table
  15191. #: guix-git/doc/guix.texi:10106
  15192. msgid "Accept connections on localhost on port 37146."
  15193. msgstr ""
  15194. #. type: item
  15195. #: guix-git/doc/guix.texi:10107
  15196. #, no-wrap
  15197. msgid "--listen=unix:/tmp/socket"
  15198. msgstr ""
  15199. #. type: table
  15200. #: guix-git/doc/guix.texi:10109
  15201. msgid "Accept connections on the Unix-domain socket @file{/tmp/socket}."
  15202. msgstr ""
  15203. #. type: item
  15204. #: guix-git/doc/guix.texi:10111 guix-git/doc/guix.texi:10215
  15205. #: guix-git/doc/guix.texi:11917 guix-git/doc/guix.texi:12097
  15206. #: guix-git/doc/guix.texi:12242 guix-git/doc/guix.texi:12496
  15207. #, no-wrap
  15208. msgid "--load-path=@var{directory}"
  15209. msgstr ""
  15210. #. type: itemx
  15211. #: guix-git/doc/guix.texi:10112 guix-git/doc/guix.texi:10216
  15212. #: guix-git/doc/guix.texi:12098 guix-git/doc/guix.texi:12243
  15213. #: guix-git/doc/guix.texi:12497
  15214. #, no-wrap
  15215. msgid "-L @var{directory}"
  15216. msgstr "-L @var{diretório}"
  15217. #. type: table
  15218. #: guix-git/doc/guix.texi:10115 guix-git/doc/guix.texi:10219
  15219. #: guix-git/doc/guix.texi:11920 guix-git/doc/guix.texi:12101
  15220. #: guix-git/doc/guix.texi:12246 guix-git/doc/guix.texi:12500
  15221. msgid "Add @var{directory} to the front of the package module search path (@pxref{Package Modules})."
  15222. msgstr ""
  15223. #. type: table
  15224. #: guix-git/doc/guix.texi:10118
  15225. msgid "This allows users to define their own packages and make them visible to the script or REPL."
  15226. msgstr ""
  15227. #. type: itemx
  15228. #: guix-git/doc/guix.texi:10119 guix-git/doc/guix.texi:10678
  15229. #, no-wrap
  15230. msgid "-q"
  15231. msgstr ""
  15232. #. type: table
  15233. #: guix-git/doc/guix.texi:10122
  15234. msgid "Inhibit loading of the @file{~/.guile} file. By default, that configuration file is loaded when spawning a @code{guile} REPL."
  15235. msgstr ""
  15236. #. type: Plain text
  15237. #: guix-git/doc/guix.texi:10132
  15238. 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."
  15239. msgstr ""
  15240. #. type: cindex
  15241. #: guix-git/doc/guix.texi:10154
  15242. #, no-wrap
  15243. msgid "package building"
  15244. msgstr ""
  15245. #. type: command{#1}
  15246. #: guix-git/doc/guix.texi:10155
  15247. #, no-wrap
  15248. msgid "guix build"
  15249. msgstr ""
  15250. #. type: Plain text
  15251. #: guix-git/doc/guix.texi:10161
  15252. 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."
  15253. msgstr ""
  15254. #. type: example
  15255. #: guix-git/doc/guix.texi:10166
  15256. #, no-wrap
  15257. msgid "guix build @var{options} @var{package-or-derivation}@dots{}\n"
  15258. msgstr ""
  15259. #. type: Plain text
  15260. #: guix-git/doc/guix.texi:10171
  15261. 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:"
  15262. msgstr ""
  15263. #. type: example
  15264. #: guix-git/doc/guix.texi:10174
  15265. #, no-wrap
  15266. msgid "guix build emacs guile\n"
  15267. msgstr ""
  15268. #. type: Plain text
  15269. #: guix-git/doc/guix.texi:10177
  15270. msgid "Similarly, the following command builds all the available packages:"
  15271. msgstr ""
  15272. #. type: example
  15273. #: guix-git/doc/guix.texi:10181
  15274. #, no-wrap
  15275. msgid ""
  15276. "guix build --quiet --keep-going \\\n"
  15277. " $(guix package -A | cut -f1,2 --output-delimiter=@@)\n"
  15278. msgstr ""
  15279. #. type: Plain text
  15280. #: guix-git/doc/guix.texi:10189
  15281. 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})."
  15282. msgstr ""
  15283. #. type: Plain text
  15284. #: guix-git/doc/guix.texi:10194
  15285. 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."
  15286. msgstr ""
  15287. #. type: Plain text
  15288. #: guix-git/doc/guix.texi:10197
  15289. msgid "There may be zero or more @var{options}. The available options are described in the subsections below."
  15290. msgstr ""
  15291. #. type: Plain text
  15292. #: guix-git/doc/guix.texi:10212
  15293. 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:"
  15294. msgstr ""
  15295. #. type: table
  15296. #: guix-git/doc/guix.texi:10222 guix-git/doc/guix.texi:11923
  15297. #: guix-git/doc/guix.texi:12104 guix-git/doc/guix.texi:12249
  15298. #: guix-git/doc/guix.texi:12503
  15299. msgid "This allows users to define their own packages and make them visible to the command-line tools."
  15300. msgstr ""
  15301. #. type: item
  15302. #: guix-git/doc/guix.texi:10223
  15303. #, no-wrap
  15304. msgid "--keep-failed"
  15305. msgstr "--keep-failed"
  15306. #. type: itemx
  15307. #: guix-git/doc/guix.texi:10224
  15308. #, no-wrap
  15309. msgid "-K"
  15310. msgstr ""
  15311. #. type: table
  15312. #: guix-git/doc/guix.texi:10230
  15313. 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."
  15314. msgstr ""
  15315. #. type: table
  15316. #: guix-git/doc/guix.texi:10234
  15317. 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})."
  15318. msgstr ""
  15319. #. type: item
  15320. #: guix-git/doc/guix.texi:10235
  15321. #, no-wrap
  15322. msgid "--keep-going"
  15323. msgstr "--keep-going"
  15324. #. type: itemx
  15325. #: guix-git/doc/guix.texi:10236
  15326. #, no-wrap
  15327. msgid "-k"
  15328. msgstr ""
  15329. #. type: table
  15330. #: guix-git/doc/guix.texi:10239
  15331. msgid "Keep going when some of the derivations fail to build; return only once all the builds have either completed or failed."
  15332. msgstr ""
  15333. #. type: table
  15334. #: guix-git/doc/guix.texi:10242
  15335. msgid "The default behavior is to stop as soon as one of the specified derivations has failed."
  15336. msgstr ""
  15337. #. type: table
  15338. #: guix-git/doc/guix.texi:10246
  15339. msgid "Do not build the derivations."
  15340. msgstr ""
  15341. #. type: anchor{#1}
  15342. #: guix-git/doc/guix.texi:10248
  15343. msgid "fallback-option"
  15344. msgstr "fallback-option"
  15345. #. type: item
  15346. #: guix-git/doc/guix.texi:10248
  15347. #, no-wrap
  15348. msgid "--fallback"
  15349. msgstr "--fallback"
  15350. #. type: table
  15351. #: guix-git/doc/guix.texi:10251
  15352. msgid "When substituting a pre-built binary fails, fall back to building packages locally (@pxref{Substitution Failure})."
  15353. msgstr ""
  15354. #. type: anchor{#1}
  15355. #: guix-git/doc/guix.texi:10257
  15356. msgid "client-substitute-urls"
  15357. msgstr ""
  15358. #. type: table
  15359. #: guix-git/doc/guix.texi:10257
  15360. 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})."
  15361. msgstr ""
  15362. #. type: table
  15363. #: guix-git/doc/guix.texi:10261
  15364. 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})."
  15365. msgstr ""
  15366. #. type: table
  15367. #: guix-git/doc/guix.texi:10264
  15368. msgid "When @var{urls} is the empty string, substitutes are effectively disabled."
  15369. msgstr ""
  15370. #. type: item
  15371. #: guix-git/doc/guix.texi:10270
  15372. #, no-wrap
  15373. msgid "--no-grafts"
  15374. msgstr "--no-grafts"
  15375. #. type: table
  15376. #: guix-git/doc/guix.texi:10274
  15377. 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."
  15378. msgstr ""
  15379. #. type: item
  15380. #: guix-git/doc/guix.texi:10275
  15381. #, no-wrap
  15382. msgid "--rounds=@var{n}"
  15383. msgstr "--rounds=@var{n}"
  15384. #. type: table
  15385. #: guix-git/doc/guix.texi:10278
  15386. msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical."
  15387. msgstr ""
  15388. #. type: table
  15389. #: guix-git/doc/guix.texi:10283
  15390. 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."
  15391. msgstr ""
  15392. #. type: table
  15393. #: guix-git/doc/guix.texi:10299
  15394. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--max-silent-time}})."
  15395. msgstr ""
  15396. #. type: table
  15397. #: guix-git/doc/guix.texi:10306
  15398. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--timeout}})."
  15399. msgstr ""
  15400. #. type: cindex
  15401. #: guix-git/doc/guix.texi:10309
  15402. #, no-wrap
  15403. msgid "verbosity, of the command-line tools"
  15404. msgstr ""
  15405. #. type: cindex
  15406. #: guix-git/doc/guix.texi:10310
  15407. #, no-wrap
  15408. msgid "build logs, verbosity"
  15409. msgstr ""
  15410. #. type: item
  15411. #: guix-git/doc/guix.texi:10311
  15412. #, no-wrap
  15413. msgid "-v @var{level}"
  15414. msgstr ""
  15415. #. type: itemx
  15416. #: guix-git/doc/guix.texi:10312
  15417. #, no-wrap
  15418. msgid "--verbosity=@var{level}"
  15419. msgstr ""
  15420. #. type: table
  15421. #: guix-git/doc/guix.texi:10317
  15422. 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."
  15423. msgstr ""
  15424. #. type: table
  15425. #: guix-git/doc/guix.texi:10322
  15426. 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."
  15427. msgstr ""
  15428. #. type: table
  15429. #: guix-git/doc/guix.texi:10328
  15430. 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."
  15431. msgstr ""
  15432. #. type: item
  15433. #: guix-git/doc/guix.texi:10329
  15434. #, no-wrap
  15435. msgid "--debug=@var{level}"
  15436. msgstr ""
  15437. #. type: table
  15438. #: guix-git/doc/guix.texi:10333
  15439. 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."
  15440. msgstr ""
  15441. #. type: Plain text
  15442. #: guix-git/doc/guix.texi:10340
  15443. 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."
  15444. msgstr ""
  15445. #. type: Plain text
  15446. #: guix-git/doc/guix.texi:10344
  15447. 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."
  15448. msgstr ""
  15449. #. type: defvr
  15450. #: guix-git/doc/guix.texi:10345
  15451. #, no-wrap
  15452. msgid "{Environment Variable} GUIX_BUILD_OPTIONS"
  15453. msgstr ""
  15454. #. type: defvr
  15455. #: guix-git/doc/guix.texi:10350
  15456. 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:"
  15457. msgstr ""
  15458. #. type: example
  15459. #: guix-git/doc/guix.texi:10353
  15460. #, no-wrap
  15461. msgid "$ export GUIX_BUILD_OPTIONS=\"--no-substitutes -c 2 -L /foo/bar\"\n"
  15462. msgstr ""
  15463. #. type: defvr
  15464. #: guix-git/doc/guix.texi:10357
  15465. msgid "These options are parsed independently, and the result is appended to the parsed command-line options."
  15466. msgstr ""
  15467. #. type: cindex
  15468. #: guix-git/doc/guix.texi:10363
  15469. #, no-wrap
  15470. msgid "package variants"
  15471. msgstr ""
  15472. #. type: Plain text
  15473. #: guix-git/doc/guix.texi:10371
  15474. 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})."
  15475. msgstr ""
  15476. #. type: Plain text
  15477. #: guix-git/doc/guix.texi:10375
  15478. 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."
  15479. msgstr ""
  15480. #. type: Plain text
  15481. #: guix-git/doc/guix.texi:10380
  15482. 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)."
  15483. msgstr ""
  15484. #. type: item
  15485. #: guix-git/doc/guix.texi:10383
  15486. #, no-wrap
  15487. msgid "--with-source=@var{source}"
  15488. msgstr "--with-source=@var{fonte}"
  15489. #. type: itemx
  15490. #: guix-git/doc/guix.texi:10384
  15491. #, no-wrap
  15492. msgid "--with-source=@var{package}=@var{source}"
  15493. msgstr "--with-source=@var{pacote}=@var{fonte}"
  15494. #. type: itemx
  15495. #: guix-git/doc/guix.texi:10385
  15496. #, no-wrap
  15497. msgid "--with-source=@var{package}@@@var{version}=@var{source}"
  15498. msgstr ""
  15499. #. type: table
  15500. #: guix-git/doc/guix.texi:10390
  15501. 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})."
  15502. msgstr ""
  15503. #. type: table
  15504. #: guix-git/doc/guix.texi:10396
  15505. 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}."
  15506. msgstr ""
  15507. #. type: table
  15508. #: guix-git/doc/guix.texi:10399
  15509. 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}."
  15510. msgstr ""
  15511. #. type: table
  15512. #: guix-git/doc/guix.texi:10404
  15513. 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:"
  15514. msgstr ""
  15515. #. type: example
  15516. #: guix-git/doc/guix.texi:10407
  15517. #, no-wrap
  15518. msgid "guix build ed --with-source=mirror://gnu/ed/ed-1.7.tar.gz\n"
  15519. msgstr ""
  15520. #. type: table
  15521. #: guix-git/doc/guix.texi:10411
  15522. msgid "As a developer, @option{--with-source} makes it easy to test release candidates:"
  15523. msgstr ""
  15524. #. type: example
  15525. #: guix-git/doc/guix.texi:10414
  15526. #, no-wrap
  15527. msgid "guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz\n"
  15528. msgstr ""
  15529. #. type: table
  15530. #: guix-git/doc/guix.texi:10417
  15531. msgid "@dots{} or to build from a checkout in a pristine environment:"
  15532. msgstr ""
  15533. #. type: example
  15534. #: guix-git/doc/guix.texi:10421
  15535. #, no-wrap
  15536. msgid ""
  15537. "$ git clone git://git.sv.gnu.org/guix.git\n"
  15538. "$ guix build guix --with-source=guix@@1.0=./guix\n"
  15539. msgstr ""
  15540. #. type: item
  15541. #: guix-git/doc/guix.texi:10423
  15542. #, no-wrap
  15543. msgid "--with-input=@var{package}=@var{replacement}"
  15544. msgstr "--with-input=@var{pacote}=@var{substituto}"
  15545. #. type: table
  15546. #: guix-git/doc/guix.texi:10428
  15547. 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}."
  15548. msgstr ""
  15549. #. type: table
  15550. #: guix-git/doc/guix.texi:10432
  15551. 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}:"
  15552. msgstr ""
  15553. #. type: example
  15554. #: guix-git/doc/guix.texi:10435
  15555. #, no-wrap
  15556. msgid "guix build --with-input=guile=guile@@2.0 guix\n"
  15557. msgstr "guix build --with-input=guile=guile@@2.0 guix\n"
  15558. #. type: table
  15559. #: guix-git/doc/guix.texi:10440
  15560. 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}."
  15561. msgstr ""
  15562. #. type: table
  15563. #: guix-git/doc/guix.texi:10443
  15564. msgid "This is implemented using the @code{package-input-rewriting} Scheme procedure (@pxref{Defining Packages, @code{package-input-rewriting}})."
  15565. msgstr ""
  15566. #. type: item
  15567. #: guix-git/doc/guix.texi:10444
  15568. #, no-wrap
  15569. msgid "--with-graft=@var{package}=@var{replacement}"
  15570. msgstr ""
  15571. #. type: table
  15572. #: guix-git/doc/guix.texi:10450
  15573. 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."
  15574. msgstr ""
  15575. #. type: table
  15576. #: guix-git/doc/guix.texi:10454
  15577. 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:"
  15578. msgstr ""
  15579. #. type: example
  15580. #: guix-git/doc/guix.texi:10457
  15581. #, no-wrap
  15582. msgid "guix build --with-graft=gnutls=gnutls@@3.5.4 wget\n"
  15583. msgstr ""
  15584. #. type: table
  15585. #: guix-git/doc/guix.texi:10466
  15586. 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!"
  15587. msgstr ""
  15588. #. type: cindex
  15589. #: guix-git/doc/guix.texi:10467 guix-git/doc/guix.texi:34481
  15590. #, no-wrap
  15591. msgid "debugging info, rebuilding"
  15592. msgstr ""
  15593. #. type: item
  15594. #: guix-git/doc/guix.texi:10468
  15595. #, no-wrap
  15596. msgid "--with-debug-info=@var{package}"
  15597. msgstr ""
  15598. #. type: table
  15599. #: guix-git/doc/guix.texi:10473
  15600. 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})."
  15601. msgstr ""
  15602. #. type: table
  15603. #: guix-git/doc/guix.texi:10479
  15604. 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:"
  15605. msgstr ""
  15606. #. type: example
  15607. #: guix-git/doc/guix.texi:10482 guix-git/doc/guix.texi:34512
  15608. #, no-wrap
  15609. msgid "guix install inkscape --with-debug-info=glib\n"
  15610. msgstr ""
  15611. #. type: table
  15612. #: guix-git/doc/guix.texi:10486
  15613. msgid "Only GLib needs to be recompiled so this takes a reasonable amount of time. @xref{Installing Debugging Files}, for more info."
  15614. msgstr ""
  15615. #. type: quotation
  15616. #: guix-git/doc/guix.texi:10492
  15617. 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."
  15618. msgstr ""
  15619. #. type: quotation
  15620. #: guix-git/doc/guix.texi:10496
  15621. 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."
  15622. msgstr ""
  15623. #. type: cindex
  15624. #: guix-git/doc/guix.texi:10498
  15625. #, no-wrap
  15626. msgid "tool chain, changing the build tool chain of a package"
  15627. msgstr ""
  15628. #. type: item
  15629. #: guix-git/doc/guix.texi:10499
  15630. #, no-wrap
  15631. msgid "--with-c-toolchain=@var{package}=@var{toolchain}"
  15632. msgstr ""
  15633. #. type: table
  15634. #: guix-git/doc/guix.texi:10503
  15635. 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++."
  15636. msgstr ""
  15637. #. type: example
  15638. #: guix-git/doc/guix.texi:10510
  15639. #, no-wrap
  15640. msgid ""
  15641. "guix build octave-cli \\\n"
  15642. " --with-c-toolchain=fftw=gcc-toolchain@@10 \\\n"
  15643. " --with-c-toolchain=fftwf=gcc-toolchain@@10\n"
  15644. msgstr ""
  15645. #. type: table
  15646. #: guix-git/doc/guix.texi:10517
  15647. 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}."
  15648. msgstr ""
  15649. #. type: table
  15650. #: guix-git/doc/guix.texi:10521
  15651. 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:"
  15652. msgstr ""
  15653. #. type: example
  15654. #: guix-git/doc/guix.texi:10525
  15655. #, no-wrap
  15656. msgid ""
  15657. "guix build --with-c-toolchain=hwloc=clang-toolchain \\\n"
  15658. " intel-mpi-benchmarks\n"
  15659. msgstr ""
  15660. #. type: quotation
  15661. #: guix-git/doc/guix.texi:10534
  15662. 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."
  15663. msgstr ""
  15664. #. type: item
  15665. #: guix-git/doc/guix.texi:10536
  15666. #, no-wrap
  15667. msgid "--with-git-url=@var{package}=@var{url}"
  15668. msgstr "--with-git-url=@var{pacote}=@var{url}"
  15669. #. type: cindex
  15670. #: guix-git/doc/guix.texi:10537
  15671. #, no-wrap
  15672. msgid "Git, using the latest commit"
  15673. msgstr ""
  15674. #. type: cindex
  15675. #: guix-git/doc/guix.texi:10538
  15676. #, no-wrap
  15677. msgid "latest commit, building"
  15678. msgstr ""
  15679. #. type: table
  15680. #: guix-git/doc/guix.texi:10542
  15681. 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."
  15682. msgstr ""
  15683. #. type: table
  15684. #: guix-git/doc/guix.texi:10545
  15685. msgid "For example, the following command builds the NumPy Python library against the latest commit of the master branch of Python itself:"
  15686. msgstr ""
  15687. #. type: example
  15688. #: guix-git/doc/guix.texi:10549
  15689. #, no-wrap
  15690. msgid ""
  15691. "guix build python-numpy \\\n"
  15692. " --with-git-url=python=https://github.com/python/cpython\n"
  15693. msgstr ""
  15694. #. type: table
  15695. #: guix-git/doc/guix.texi:10553
  15696. msgid "This option can also be combined with @option{--with-branch} or @option{--with-commit} (see below)."
  15697. msgstr ""
  15698. #. type: cindex
  15699. #: guix-git/doc/guix.texi:10554 guix-git/doc/guix.texi:27180
  15700. #, no-wrap
  15701. msgid "continuous integration"
  15702. msgstr ""
  15703. #. type: table
  15704. #: guix-git/doc/guix.texi:10560
  15705. 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)."
  15706. msgstr ""
  15707. #. type: table
  15708. #: guix-git/doc/guix.texi:10564
  15709. 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."
  15710. msgstr ""
  15711. #. type: item
  15712. #: guix-git/doc/guix.texi:10565
  15713. #, no-wrap
  15714. msgid "--with-branch=@var{package}=@var{branch}"
  15715. msgstr "--with-branch=@var{pacote}=@var{ramo}"
  15716. #. type: table
  15717. #: guix-git/doc/guix.texi:10571
  15718. 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."
  15719. msgstr ""
  15720. #. type: table
  15721. #: guix-git/doc/guix.texi:10576
  15722. 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:"
  15723. msgstr ""
  15724. #. type: example
  15725. #: guix-git/doc/guix.texi:10579
  15726. #, no-wrap
  15727. msgid "guix build --with-branch=guile-sqlite3=master cuirass\n"
  15728. msgstr "guix build --with-branch=guile-sqlite3=master cuirass\n"
  15729. #. type: item
  15730. #: guix-git/doc/guix.texi:10581
  15731. #, no-wrap
  15732. msgid "--with-commit=@var{package}=@var{commit}"
  15733. msgstr "--with-commit=@var{pacote}=@var{commit}"
  15734. #. type: table
  15735. #: guix-git/doc/guix.texi:10585
  15736. 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."
  15737. msgstr ""
  15738. #. type: item
  15739. #: guix-git/doc/guix.texi:10586
  15740. #, no-wrap
  15741. msgid "--with-patch=@var{package}=@var{file}"
  15742. msgstr ""
  15743. #. type: table
  15744. #: guix-git/doc/guix.texi:10593
  15745. 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})."
  15746. msgstr ""
  15747. #. type: table
  15748. #: guix-git/doc/guix.texi:10596
  15749. msgid "As an example, the command below rebuilds Coreutils with the GNU C Library (glibc) patched with the given patch:"
  15750. msgstr ""
  15751. #. type: example
  15752. #: guix-git/doc/guix.texi:10599
  15753. #, no-wrap
  15754. msgid "guix build coreutils --with-patch=glibc=./glibc-frob.patch\n"
  15755. msgstr ""
  15756. #. type: table
  15757. #: guix-git/doc/guix.texi:10603
  15758. msgid "In this example, glibc itself as well as everything that leads to Coreutils in the dependency graph is rebuilt."
  15759. msgstr ""
  15760. #. type: cindex
  15761. #: guix-git/doc/guix.texi:10604
  15762. #, no-wrap
  15763. msgid "upstream, latest version"
  15764. msgstr ""
  15765. #. type: item
  15766. #: guix-git/doc/guix.texi:10605
  15767. #, no-wrap
  15768. msgid "--with-latest=@var{package}"
  15769. msgstr ""
  15770. #. type: table
  15771. #: guix-git/doc/guix.texi:10610
  15772. 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})."
  15773. msgstr ""
  15774. #. type: table
  15775. #: guix-git/doc/guix.texi:10614
  15776. 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."
  15777. msgstr ""
  15778. #. type: table
  15779. #: guix-git/doc/guix.texi:10617
  15780. msgid "As an example, the command below builds Guix against the latest version of Guile-JSON:"
  15781. msgstr ""
  15782. #. type: example
  15783. #: guix-git/doc/guix.texi:10620
  15784. #, no-wrap
  15785. msgid "guix build guix --with-latest=guile-json\n"
  15786. msgstr ""
  15787. #. type: table
  15788. #: guix-git/doc/guix.texi:10629
  15789. 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."
  15790. msgstr ""
  15791. #. type: table
  15792. #: guix-git/doc/guix.texi:10634
  15793. 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})."
  15794. msgstr ""
  15795. #. type: cindex
  15796. #: guix-git/doc/guix.texi:10635
  15797. #, no-wrap
  15798. msgid "test suite, skipping"
  15799. msgstr ""
  15800. #. type: item
  15801. #: guix-git/doc/guix.texi:10636
  15802. #, no-wrap
  15803. msgid "--without-tests=@var{package}"
  15804. msgstr ""
  15805. #. type: table
  15806. #: guix-git/doc/guix.texi:10642
  15807. 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."
  15808. msgstr ""
  15809. #. type: table
  15810. #: guix-git/doc/guix.texi:10646
  15811. 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:"
  15812. msgstr ""
  15813. #. type: example
  15814. #: guix-git/doc/guix.texi:10649
  15815. #, no-wrap
  15816. msgid "guix install --without-tests=python python-notebook\n"
  15817. msgstr ""
  15818. #. type: table
  15819. #: guix-git/doc/guix.texi:10655
  15820. 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."
  15821. msgstr ""
  15822. #. type: table
  15823. #: guix-git/doc/guix.texi:10661
  15824. 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."
  15825. msgstr ""
  15826. #. type: Plain text
  15827. #: guix-git/doc/guix.texi:10668
  15828. 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."
  15829. msgstr ""
  15830. #. type: Plain text
  15831. #: guix-git/doc/guix.texi:10674
  15832. msgid "The command-line options presented below are specific to @command{guix build}."
  15833. msgstr ""
  15834. #. type: item
  15835. #: guix-git/doc/guix.texi:10677
  15836. #, no-wrap
  15837. msgid "--quiet"
  15838. msgstr ""
  15839. #. type: table
  15840. #: guix-git/doc/guix.texi:10682
  15841. 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."
  15842. msgstr ""
  15843. #. type: item
  15844. #: guix-git/doc/guix.texi:10683
  15845. #, no-wrap
  15846. msgid "--file=@var{file}"
  15847. msgstr ""
  15848. #. type: table
  15849. #: guix-git/doc/guix.texi:10687
  15850. msgid "Build the package, derivation, or other file-like object that the code within @var{file} evaluates to (@pxref{G-Expressions, file-like objects})."
  15851. msgstr ""
  15852. #. type: table
  15853. #: guix-git/doc/guix.texi:10690
  15854. msgid "As an example, @var{file} might contain a package definition like this (@pxref{Defining Packages}):"
  15855. msgstr ""
  15856. #. type: table
  15857. #: guix-git/doc/guix.texi:10699
  15858. 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}:"
  15859. msgstr ""
  15860. #. type: item
  15861. #: guix-git/doc/guix.texi:10704
  15862. #, no-wrap
  15863. msgid "--manifest=@var{manifest}"
  15864. msgstr ""
  15865. #. type: itemx
  15866. #: guix-git/doc/guix.texi:10705
  15867. #, no-wrap
  15868. msgid "-m @var{manifest}"
  15869. msgstr ""
  15870. #. type: table
  15871. #: guix-git/doc/guix.texi:10708
  15872. msgid "Build all packages listed in the given @var{manifest} (@pxref{profile-manifest, @option{--manifest}})."
  15873. msgstr ""
  15874. #. type: table
  15875. #: guix-git/doc/guix.texi:10712
  15876. msgid "Build the package or derivation @var{expr} evaluates to."
  15877. msgstr ""
  15878. #. type: table
  15879. #: guix-git/doc/guix.texi:10716
  15880. 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."
  15881. msgstr ""
  15882. #. type: table
  15883. #: guix-git/doc/guix.texi:10720
  15884. 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})."
  15885. msgstr ""
  15886. #. type: table
  15887. #: guix-git/doc/guix.texi:10724
  15888. 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}."
  15889. msgstr ""
  15890. #. type: item
  15891. #: guix-git/doc/guix.texi:10725
  15892. #, no-wrap
  15893. msgid "--source"
  15894. msgstr ""
  15895. #. type: itemx
  15896. #: guix-git/doc/guix.texi:10726
  15897. #, no-wrap
  15898. msgid "-S"
  15899. msgstr ""
  15900. #. type: table
  15901. #: guix-git/doc/guix.texi:10729
  15902. msgid "Build the source derivations of the packages, rather than the packages themselves."
  15903. msgstr ""
  15904. #. type: table
  15905. #: guix-git/doc/guix.texi:10733
  15906. 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."
  15907. msgstr ""
  15908. #. type: table
  15909. #: guix-git/doc/guix.texi:10737
  15910. msgid "The returned source tarball is the result of applying any patches and code snippets specified in the package @code{origin} (@pxref{Defining Packages})."
  15911. msgstr ""
  15912. #. type: cindex
  15913. #: guix-git/doc/guix.texi:10738
  15914. #, no-wrap
  15915. msgid "source, verification"
  15916. msgstr ""
  15917. #. type: table
  15918. #: guix-git/doc/guix.texi:10744
  15919. 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."
  15920. msgstr ""
  15921. #. type: table
  15922. #: guix-git/doc/guix.texi:10749
  15923. 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."
  15924. msgstr ""
  15925. #. type: item
  15926. #: guix-git/doc/guix.texi:10750
  15927. #, no-wrap
  15928. msgid "--sources"
  15929. msgstr ""
  15930. #. type: table
  15931. #: guix-git/doc/guix.texi:10757
  15932. 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:"
  15933. msgstr ""
  15934. #. type: item
  15935. #: guix-git/doc/guix.texi:10759 guix-git/doc/guix.texi:12303
  15936. #, no-wrap
  15937. msgid "package"
  15938. msgstr ""
  15939. #. type: table
  15940. #: guix-git/doc/guix.texi:10762
  15941. msgid "This value causes the @option{--sources} option to behave in the same way as the @option{--source} option."
  15942. msgstr ""
  15943. #. type: item
  15944. #: guix-git/doc/guix.texi:10763 guix-git/doc/guix.texi:18249
  15945. #, no-wrap
  15946. msgid "all"
  15947. msgstr ""
  15948. #. type: table
  15949. #: guix-git/doc/guix.texi:10766
  15950. msgid "Build the source derivations of all packages, including any source that might be listed as @code{inputs}. This is the default value."
  15951. msgstr ""
  15952. #. type: example
  15953. #: guix-git/doc/guix.texi:10772
  15954. #, no-wrap
  15955. msgid ""
  15956. "$ guix build --sources tzdata\n"
  15957. "The following derivations will be built:\n"
  15958. " /gnu/store/@dots{}-tzdata2015b.tar.gz.drv\n"
  15959. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  15960. msgstr ""
  15961. #. type: item
  15962. #: guix-git/doc/guix.texi:10774
  15963. #, no-wrap
  15964. msgid "transitive"
  15965. msgstr ""
  15966. #. type: table
  15967. #: guix-git/doc/guix.texi:10778
  15968. 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."
  15969. msgstr ""
  15970. #. type: example
  15971. #: guix-git/doc/guix.texi:10789
  15972. #, no-wrap
  15973. msgid ""
  15974. "$ guix build --sources=transitive tzdata\n"
  15975. "The following derivations will be built:\n"
  15976. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  15977. " /gnu/store/@dots{}-findutils-4.4.2.tar.xz.drv\n"
  15978. " /gnu/store/@dots{}-grep-2.21.tar.xz.drv\n"
  15979. " /gnu/store/@dots{}-coreutils-8.23.tar.xz.drv\n"
  15980. " /gnu/store/@dots{}-make-4.1.tar.xz.drv\n"
  15981. " /gnu/store/@dots{}-bash-4.3.tar.xz.drv\n"
  15982. "@dots{}\n"
  15983. msgstr ""
  15984. #. type: table
  15985. #: guix-git/doc/guix.texi:10799
  15986. 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."
  15987. msgstr ""
  15988. #. type: quotation
  15989. #: guix-git/doc/guix.texi:10804
  15990. 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."
  15991. msgstr ""
  15992. #. type: table
  15993. #: guix-git/doc/guix.texi:10811
  15994. 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."
  15995. msgstr ""
  15996. #. type: quotation
  15997. #: guix-git/doc/guix.texi:10816
  15998. 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."
  15999. msgstr ""
  16000. #. type: table
  16001. #: guix-git/doc/guix.texi:10822
  16002. 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."
  16003. msgstr ""
  16004. #. type: table
  16005. #: guix-git/doc/guix.texi:10826
  16006. 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."
  16007. msgstr ""
  16008. #. type: table
  16009. #: guix-git/doc/guix.texi:10832
  16010. 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})."
  16011. msgstr ""
  16012. #. type: anchor{#1}
  16013. #: guix-git/doc/guix.texi:10834
  16014. msgid "build-check"
  16015. msgstr "build-check"
  16016. #. type: item
  16017. #: guix-git/doc/guix.texi:10834
  16018. #, no-wrap
  16019. msgid "--check"
  16020. msgstr "--check"
  16021. #. type: cindex
  16022. #: guix-git/doc/guix.texi:10835
  16023. #, no-wrap
  16024. msgid "determinism, checking"
  16025. msgstr "determinismo, verificação"
  16026. #. type: cindex
  16027. #: guix-git/doc/guix.texi:10836
  16028. #, no-wrap
  16029. msgid "reproducibility, checking"
  16030. msgstr "reprodutibilidade, verificação"
  16031. #. type: table
  16032. #: guix-git/doc/guix.texi:10840
  16033. 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."
  16034. msgstr ""
  16035. #. type: table
  16036. #: guix-git/doc/guix.texi:10845
  16037. 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."
  16038. msgstr ""
  16039. #. type: item
  16040. #: guix-git/doc/guix.texi:10850
  16041. #, no-wrap
  16042. msgid "--repair"
  16043. msgstr ""
  16044. #. type: cindex
  16045. #: guix-git/doc/guix.texi:10851
  16046. #, no-wrap
  16047. msgid "repairing store items"
  16048. msgstr ""
  16049. #. type: table
  16050. #: guix-git/doc/guix.texi:10855
  16051. msgid "Attempt to repair the specified store items, if they are corrupt, by re-downloading or rebuilding them."
  16052. msgstr ""
  16053. #. type: table
  16054. #: guix-git/doc/guix.texi:10857
  16055. msgid "This operation is not atomic and thus restricted to @code{root}."
  16056. msgstr ""
  16057. #. type: item
  16058. #: guix-git/doc/guix.texi:10858
  16059. #, no-wrap
  16060. msgid "--derivations"
  16061. msgstr ""
  16062. #. type: table
  16063. #: guix-git/doc/guix.texi:10862
  16064. msgid "Return the derivation paths, not the output paths, of the given packages."
  16065. msgstr ""
  16066. #. type: cindex
  16067. #: guix-git/doc/guix.texi:10865
  16068. #, no-wrap
  16069. msgid "GC roots, adding"
  16070. msgstr ""
  16071. #. type: cindex
  16072. #: guix-git/doc/guix.texi:10866
  16073. #, no-wrap
  16074. msgid "garbage collector roots, adding"
  16075. msgstr ""
  16076. #. type: table
  16077. #: guix-git/doc/guix.texi:10869 guix-git/doc/guix.texi:33169
  16078. msgid "Make @var{file} a symlink to the result, and register it as a garbage collector root."
  16079. msgstr ""
  16080. #. type: table
  16081. #: guix-git/doc/guix.texi:10875
  16082. 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."
  16083. msgstr ""
  16084. #. type: item
  16085. #: guix-git/doc/guix.texi:10876
  16086. #, no-wrap
  16087. msgid "--log-file"
  16088. msgstr ""
  16089. #. type: cindex
  16090. #: guix-git/doc/guix.texi:10877
  16091. #, no-wrap
  16092. msgid "build logs, access"
  16093. msgstr ""
  16094. #. type: table
  16095. #: guix-git/doc/guix.texi:10881
  16096. 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."
  16097. msgstr ""
  16098. #. type: table
  16099. #: guix-git/doc/guix.texi:10884
  16100. msgid "This works regardless of how packages or derivations are specified. For instance, the following invocations are equivalent:"
  16101. msgstr ""
  16102. #. type: example
  16103. #: guix-git/doc/guix.texi:10890
  16104. #, no-wrap
  16105. msgid ""
  16106. "guix build --log-file $(guix build -d guile)\n"
  16107. "guix build --log-file $(guix build guile)\n"
  16108. "guix build --log-file guile\n"
  16109. "guix build --log-file -e '(@@ (gnu packages guile) guile-2.0)'\n"
  16110. msgstr ""
  16111. #. type: table
  16112. #: guix-git/doc/guix.texi:10895
  16113. 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})."
  16114. msgstr ""
  16115. #. type: table
  16116. #: guix-git/doc/guix.texi:10898
  16117. 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:"
  16118. msgstr ""
  16119. #. type: example
  16120. #: guix-git/doc/guix.texi:10902
  16121. #, no-wrap
  16122. msgid ""
  16123. "$ guix build --log-file gdb -s aarch64-linux\n"
  16124. "https://@value{SUBSTITUTE-SERVER}/log/@dots{}-gdb-7.10\n"
  16125. msgstr ""
  16126. #. type: table
  16127. #: guix-git/doc/guix.texi:10905
  16128. msgid "You can freely access a huge library of build logs!"
  16129. msgstr ""
  16130. #. type: cindex
  16131. #: guix-git/doc/guix.texi:10910
  16132. #, no-wrap
  16133. msgid "build failures, debugging"
  16134. msgstr ""
  16135. #. type: Plain text
  16136. #: guix-git/doc/guix.texi:10916
  16137. 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."
  16138. msgstr ""
  16139. #. type: Plain text
  16140. #: guix-git/doc/guix.texi:10921
  16141. 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}})."
  16142. msgstr ""
  16143. #. type: Plain text
  16144. #: guix-git/doc/guix.texi:10927
  16145. 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:"
  16146. msgstr ""
  16147. #. type: example
  16148. #: guix-git/doc/guix.texi:10934
  16149. #, no-wrap
  16150. msgid ""
  16151. "$ guix build foo -K\n"
  16152. "@dots{} @i{build fails}\n"
  16153. "$ cd /tmp/guix-build-foo.drv-0\n"
  16154. "$ source ./environment-variables\n"
  16155. "$ cd foo-1.2\n"
  16156. msgstr ""
  16157. #. type: Plain text
  16158. #: guix-git/doc/guix.texi:10938
  16159. msgid "Now, you can invoke commands as if you were the daemon (almost) and troubleshoot your build process."
  16160. msgstr ""
  16161. #. type: Plain text
  16162. #: guix-git/doc/guix.texi:10944
  16163. 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})."
  16164. msgstr ""
  16165. #. type: Plain text
  16166. #: guix-git/doc/guix.texi:10947
  16167. 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:"
  16168. msgstr ""
  16169. #. type: example
  16170. #: guix-git/doc/guix.texi:10955
  16171. #, no-wrap
  16172. msgid ""
  16173. "$ guix build -K foo\n"
  16174. "@dots{}\n"
  16175. "$ cd /tmp/guix-build-foo.drv-0\n"
  16176. "$ guix environment --no-grafts -C foo --ad-hoc strace gdb\n"
  16177. "[env]# source ./environment-variables\n"
  16178. "[env]# cd foo-1.2\n"
  16179. msgstr ""
  16180. #. type: Plain text
  16181. #: guix-git/doc/guix.texi:10964
  16182. 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)."
  16183. msgstr ""
  16184. #. type: Plain text
  16185. #: guix-git/doc/guix.texi:10967
  16186. msgid "To get closer to a container like that used by the build daemon, we can remove @file{/bin/sh}:"
  16187. msgstr ""
  16188. #. type: example
  16189. #: guix-git/doc/guix.texi:10970
  16190. #, no-wrap
  16191. msgid "[env]# rm /bin/sh\n"
  16192. msgstr ""
  16193. #. type: Plain text
  16194. #: guix-git/doc/guix.texi:10974
  16195. msgid "(Don't worry, this is harmless: this is all happening in the throw-away container created by @command{guix environment}.)"
  16196. msgstr ""
  16197. #. type: Plain text
  16198. #: guix-git/doc/guix.texi:10977
  16199. msgid "The @command{strace} command is probably not in the search path, but we can run:"
  16200. msgstr ""
  16201. #. type: example
  16202. #: guix-git/doc/guix.texi:10980
  16203. #, no-wrap
  16204. msgid "[env]# $GUIX_ENVIRONMENT/bin/strace -f -o log make check\n"
  16205. msgstr ""
  16206. #. type: Plain text
  16207. #: guix-git/doc/guix.texi:10985
  16208. 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."
  16209. msgstr ""
  16210. #. type: section
  16211. #: guix-git/doc/guix.texi:10988
  16212. #, no-wrap
  16213. msgid "Invoking @command{guix edit}"
  16214. msgstr "Invocando @command{guix edit}"
  16215. #. type: command{#1}
  16216. #: guix-git/doc/guix.texi:10990
  16217. #, no-wrap
  16218. msgid "guix edit"
  16219. msgstr ""
  16220. #. type: cindex
  16221. #: guix-git/doc/guix.texi:10991
  16222. #, no-wrap
  16223. msgid "package definition, editing"
  16224. msgstr ""
  16225. #. type: Plain text
  16226. #: guix-git/doc/guix.texi:10996
  16227. 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:"
  16228. msgstr ""
  16229. #. type: example
  16230. #: guix-git/doc/guix.texi:10999
  16231. #, no-wrap
  16232. msgid "guix edit gcc@@4.9 vim\n"
  16233. msgstr ""
  16234. #. type: Plain text
  16235. #: guix-git/doc/guix.texi:11005
  16236. 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."
  16237. msgstr ""
  16238. #. type: Plain text
  16239. #: guix-git/doc/guix.texi:11011
  16240. 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."
  16241. msgstr ""
  16242. #. type: Plain text
  16243. #: guix-git/doc/guix.texi:11016
  16244. 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."
  16245. msgstr ""
  16246. #. type: section
  16247. #: guix-git/doc/guix.texi:11018
  16248. #, no-wrap
  16249. msgid "Invoking @command{guix download}"
  16250. msgstr "Invocando @command{guix download}"
  16251. #. type: command{#1}
  16252. #: guix-git/doc/guix.texi:11020
  16253. #, no-wrap
  16254. msgid "guix download"
  16255. msgstr ""
  16256. #. type: cindex
  16257. #: guix-git/doc/guix.texi:11021
  16258. #, no-wrap
  16259. msgid "downloading package sources"
  16260. msgstr ""
  16261. #. type: Plain text
  16262. #: guix-git/doc/guix.texi:11028
  16263. 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."
  16264. msgstr ""
  16265. #. type: Plain text
  16266. #: guix-git/doc/guix.texi:11035
  16267. 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})."
  16268. msgstr ""
  16269. #. type: Plain text
  16270. #: guix-git/doc/guix.texi:11043
  16271. 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."
  16272. msgstr ""
  16273. #. type: Plain text
  16274. #: guix-git/doc/guix.texi:11048
  16275. 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."
  16276. msgstr ""
  16277. #. type: Plain text
  16278. #: guix-git/doc/guix.texi:11050 guix-git/doc/guix.texi:12602
  16279. msgid "The following options are available:"
  16280. msgstr ""
  16281. #. type: item
  16282. #: guix-git/doc/guix.texi:11052 guix-git/doc/guix.texi:11096
  16283. #, no-wrap
  16284. msgid "--hash=@var{algorithm}"
  16285. msgstr ""
  16286. #. type: itemx
  16287. #: guix-git/doc/guix.texi:11053 guix-git/doc/guix.texi:11097
  16288. #, no-wrap
  16289. msgid "-H @var{algorithm}"
  16290. msgstr ""
  16291. #. type: table
  16292. #: guix-git/doc/guix.texi:11056
  16293. msgid "Compute a hash using the specified @var{algorithm}. @xref{Invoking guix hash}, for more information."
  16294. msgstr ""
  16295. #. type: item
  16296. #: guix-git/doc/guix.texi:11057 guix-git/doc/guix.texi:11106
  16297. #, no-wrap
  16298. msgid "--format=@var{fmt}"
  16299. msgstr ""
  16300. #. type: itemx
  16301. #: guix-git/doc/guix.texi:11058 guix-git/doc/guix.texi:11107
  16302. #, no-wrap
  16303. msgid "-f @var{fmt}"
  16304. msgstr ""
  16305. #. type: table
  16306. #: guix-git/doc/guix.texi:11061
  16307. 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}."
  16308. msgstr ""
  16309. #. type: item
  16310. #: guix-git/doc/guix.texi:11062
  16311. #, no-wrap
  16312. msgid "--no-check-certificate"
  16313. msgstr ""
  16314. #. type: table
  16315. #: guix-git/doc/guix.texi:11064
  16316. msgid "Do not validate the X.509 certificates of HTTPS servers."
  16317. msgstr ""
  16318. #. type: table
  16319. #: guix-git/doc/guix.texi:11068
  16320. 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."
  16321. msgstr ""
  16322. #. type: item
  16323. #: guix-git/doc/guix.texi:11069
  16324. #, no-wrap
  16325. msgid "--output=@var{file}"
  16326. msgstr "--output=@var{arquivo}"
  16327. #. type: itemx
  16328. #: guix-git/doc/guix.texi:11070
  16329. #, no-wrap
  16330. msgid "-o @var{file}"
  16331. msgstr "-o @var{arquivo}"
  16332. #. type: table
  16333. #: guix-git/doc/guix.texi:11073
  16334. msgid "Save the downloaded file to @var{file} instead of adding it to the store."
  16335. msgstr ""
  16336. #. type: section
  16337. #: guix-git/doc/guix.texi:11076
  16338. #, no-wrap
  16339. msgid "Invoking @command{guix hash}"
  16340. msgstr "Invocando @command{guix hash}"
  16341. #. type: command{#1}
  16342. #: guix-git/doc/guix.texi:11078
  16343. #, no-wrap
  16344. msgid "guix hash"
  16345. msgstr ""
  16346. #. type: Plain text
  16347. #: guix-git/doc/guix.texi:11083
  16348. 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})."
  16349. msgstr ""
  16350. #. type: example
  16351. #: guix-git/doc/guix.texi:11088
  16352. #, no-wrap
  16353. msgid "guix hash @var{option} @var{file}\n"
  16354. msgstr ""
  16355. #. type: Plain text
  16356. #: guix-git/doc/guix.texi:11093
  16357. 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:"
  16358. msgstr ""
  16359. #. type: table
  16360. #: guix-git/doc/guix.texi:11100
  16361. msgid "Compute a hash using the specified @var{algorithm}, @code{sha256} by default."
  16362. msgstr ""
  16363. #. type: table
  16364. #: guix-git/doc/guix.texi:11105
  16365. 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})."
  16366. msgstr ""
  16367. #. type: table
  16368. #: guix-git/doc/guix.texi:11109
  16369. msgid "Write the hash in the format specified by @var{fmt}."
  16370. msgstr ""
  16371. #. type: table
  16372. #: guix-git/doc/guix.texi:11112
  16373. msgid "Supported formats: @code{base64}, @code{nix-base32}, @code{base32}, @code{base16} (@code{hex} and @code{hexadecimal} can be used as well)."
  16374. msgstr ""
  16375. #. type: table
  16376. #: guix-git/doc/guix.texi:11116
  16377. 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."
  16378. msgstr ""
  16379. #. type: table
  16380. #: guix-git/doc/guix.texi:11120
  16381. msgid "Compute the hash on @var{file} recursively."
  16382. msgstr ""
  16383. #. type: table
  16384. #: guix-git/doc/guix.texi:11129
  16385. 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})."
  16386. msgstr ""
  16387. #. type: item
  16388. #: guix-git/doc/guix.texi:11130
  16389. #, no-wrap
  16390. msgid "--exclude-vcs"
  16391. msgstr ""
  16392. #. type: itemx
  16393. #: guix-git/doc/guix.texi:11131 guix-git/doc/guix.texi:12089
  16394. #, no-wrap
  16395. msgid "-x"
  16396. msgstr "-x"
  16397. #. type: table
  16398. #: guix-git/doc/guix.texi:11134
  16399. msgid "When combined with @option{--recursive}, exclude version control system directories (@file{.bzr}, @file{.git}, @file{.hg}, etc.)."
  16400. msgstr ""
  16401. #. type: vindex
  16402. #: guix-git/doc/guix.texi:11135
  16403. #, no-wrap
  16404. msgid "git-fetch"
  16405. msgstr ""
  16406. #. type: table
  16407. #: guix-git/doc/guix.texi:11139
  16408. 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}):"
  16409. msgstr ""
  16410. #. type: example
  16411. #: guix-git/doc/guix.texi:11144
  16412. #, no-wrap
  16413. msgid ""
  16414. "$ git clone http://example.org/foo.git\n"
  16415. "$ cd foo\n"
  16416. "$ guix hash -rx .\n"
  16417. msgstr ""
  16418. #. type: cindex
  16419. #: guix-git/doc/guix.texi:11148 guix-git/doc/guix.texi:11153
  16420. #, no-wrap
  16421. msgid "Invoking @command{guix import}"
  16422. msgstr ""
  16423. #. type: cindex
  16424. #: guix-git/doc/guix.texi:11150
  16425. #, no-wrap
  16426. msgid "importing packages"
  16427. msgstr ""
  16428. #. type: cindex
  16429. #: guix-git/doc/guix.texi:11151
  16430. #, no-wrap
  16431. msgid "package import"
  16432. msgstr ""
  16433. #. type: cindex
  16434. #: guix-git/doc/guix.texi:11152
  16435. #, no-wrap
  16436. msgid "package conversion"
  16437. msgstr ""
  16438. #. type: Plain text
  16439. #: guix-git/doc/guix.texi:11160
  16440. 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})."
  16441. msgstr ""
  16442. #. type: example
  16443. #: guix-git/doc/guix.texi:11165
  16444. #, no-wrap
  16445. msgid "guix import @var{importer} @var{options}@dots{}\n"
  16446. msgstr ""
  16447. #. type: Plain text
  16448. #: guix-git/doc/guix.texi:11170
  16449. 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}."
  16450. msgstr ""
  16451. #. type: Plain text
  16452. #: guix-git/doc/guix.texi:11174
  16453. 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."
  16454. msgstr ""
  16455. #. type: Plain text
  16456. #: guix-git/doc/guix.texi:11176
  16457. msgid "Currently, the available ``importers'' are:"
  16458. msgstr ""
  16459. #. type: item
  16460. #: guix-git/doc/guix.texi:11178 guix-git/doc/guix.texi:11736
  16461. #, no-wrap
  16462. msgid "gnu"
  16463. msgstr ""
  16464. #. type: table
  16465. #: guix-git/doc/guix.texi:11182
  16466. 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."
  16467. msgstr ""
  16468. #. type: table
  16469. #: guix-git/doc/guix.texi:11185
  16470. msgid "Additional information such as the package dependencies and its license needs to be figured out manually."
  16471. msgstr ""
  16472. #. type: table
  16473. #: guix-git/doc/guix.texi:11188
  16474. msgid "For example, the following command returns a package definition for GNU@tie{}Hello:"
  16475. msgstr ""
  16476. #. type: example
  16477. #: guix-git/doc/guix.texi:11191
  16478. #, no-wrap
  16479. msgid "guix import gnu hello\n"
  16480. msgstr ""
  16481. #. type: table
  16482. #: guix-git/doc/guix.texi:11194 guix-git/doc/guix.texi:11404
  16483. #: guix-git/doc/guix.texi:11454 guix-git/doc/guix.texi:11483
  16484. msgid "Specific command-line options are:"
  16485. msgstr ""
  16486. #. type: item
  16487. #: guix-git/doc/guix.texi:11196 guix-git/doc/guix.texi:11897
  16488. #, no-wrap
  16489. msgid "--key-download=@var{policy}"
  16490. msgstr ""
  16491. #. type: table
  16492. #: guix-git/doc/guix.texi:11200
  16493. 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}}."
  16494. msgstr ""
  16495. #. type: item
  16496. #: guix-git/doc/guix.texi:11202 guix-git/doc/guix.texi:11203
  16497. #: guix-git/doc/guix.texi:11758
  16498. #, no-wrap
  16499. msgid "pypi"
  16500. msgstr "pypi"
  16501. #. type: table
  16502. #: guix-git/doc/guix.texi:11210
  16503. 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."
  16504. msgstr ""
  16505. #. type: table
  16506. #: guix-git/doc/guix.texi:11213
  16507. msgid "The command below imports metadata for the @code{itsdangerous} Python package:"
  16508. msgstr ""
  16509. #. type: example
  16510. #: guix-git/doc/guix.texi:11216
  16511. #, no-wrap
  16512. msgid "guix import pypi itsdangerous\n"
  16513. msgstr ""
  16514. #. type: table
  16515. #: guix-git/doc/guix.texi:11224 guix-git/doc/guix.texi:11249
  16516. #: guix-git/doc/guix.texi:11427 guix-git/doc/guix.texi:11468
  16517. #: guix-git/doc/guix.texi:11515 guix-git/doc/guix.texi:11540
  16518. #: guix-git/doc/guix.texi:11556 guix-git/doc/guix.texi:11587
  16519. 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."
  16520. msgstr ""
  16521. #. type: item
  16522. #: guix-git/doc/guix.texi:11226 guix-git/doc/guix.texi:11227
  16523. #: guix-git/doc/guix.texi:11760
  16524. #, no-wrap
  16525. msgid "gem"
  16526. msgstr ""
  16527. #. type: table
  16528. #: guix-git/doc/guix.texi:11236
  16529. 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."
  16530. msgstr ""
  16531. #. type: table
  16532. #: guix-git/doc/guix.texi:11238
  16533. msgid "The command below imports metadata for the @code{rails} Ruby package:"
  16534. msgstr ""
  16535. #. type: example
  16536. #: guix-git/doc/guix.texi:11241
  16537. #, no-wrap
  16538. msgid "guix import gem rails\n"
  16539. msgstr ""
  16540. #. type: item
  16541. #: guix-git/doc/guix.texi:11251 guix-git/doc/guix.texi:11756
  16542. #, no-wrap
  16543. msgid "cpan"
  16544. msgstr ""
  16545. #. type: cindex
  16546. #: guix-git/doc/guix.texi:11252
  16547. #, no-wrap
  16548. msgid "CPAN"
  16549. msgstr ""
  16550. #. type: table
  16551. #: guix-git/doc/guix.texi:11260
  16552. 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."
  16553. msgstr ""
  16554. #. type: table
  16555. #: guix-git/doc/guix.texi:11263
  16556. msgid "The command command below imports metadata for the Acme::Boolean Perl module:"
  16557. msgstr ""
  16558. #. type: example
  16559. #: guix-git/doc/guix.texi:11266
  16560. #, no-wrap
  16561. msgid "guix import cpan Acme::Boolean\n"
  16562. msgstr ""
  16563. #. type: item
  16564. #: guix-git/doc/guix.texi:11268 guix-git/doc/guix.texi:11752
  16565. #, no-wrap
  16566. msgid "cran"
  16567. msgstr "cran"
  16568. #. type: cindex
  16569. #: guix-git/doc/guix.texi:11269
  16570. #, no-wrap
  16571. msgid "CRAN"
  16572. msgstr "CRAN"
  16573. #. type: cindex
  16574. #: guix-git/doc/guix.texi:11270
  16575. #, no-wrap
  16576. msgid "Bioconductor"
  16577. msgstr ""
  16578. #. type: table
  16579. #: guix-git/doc/guix.texi:11274
  16580. 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}."
  16581. msgstr ""
  16582. #. type: table
  16583. #: guix-git/doc/guix.texi:11276
  16584. msgid "Information is extracted from the @file{DESCRIPTION} file of the package."
  16585. msgstr ""
  16586. #. type: table
  16587. #: guix-git/doc/guix.texi:11278
  16588. msgid "The command command below imports metadata for the Cairo R package:"
  16589. msgstr ""
  16590. #. type: example
  16591. #: guix-git/doc/guix.texi:11281
  16592. #, no-wrap
  16593. msgid "guix import cran Cairo\n"
  16594. msgstr ""
  16595. #. type: table
  16596. #: guix-git/doc/guix.texi:11286
  16597. 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."
  16598. msgstr ""
  16599. #. type: table
  16600. #: guix-git/doc/guix.texi:11293
  16601. 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}."
  16602. msgstr ""
  16603. #. type: table
  16604. #: guix-git/doc/guix.texi:11298
  16605. 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."
  16606. msgstr ""
  16607. #. type: table
  16608. #: guix-git/doc/guix.texi:11301
  16609. msgid "Information is extracted from the @file{DESCRIPTION} file contained in the package archive."
  16610. msgstr ""
  16611. #. type: table
  16612. #: guix-git/doc/guix.texi:11303
  16613. msgid "The command below imports metadata for the GenomicRanges R package:"
  16614. msgstr ""
  16615. #. type: example
  16616. #: guix-git/doc/guix.texi:11306
  16617. #, no-wrap
  16618. msgid "guix import cran --archive=bioconductor GenomicRanges\n"
  16619. msgstr ""
  16620. #. type: table
  16621. #: guix-git/doc/guix.texi:11311
  16622. 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:"
  16623. msgstr ""
  16624. #. type: example
  16625. #: guix-git/doc/guix.texi:11314
  16626. #, no-wrap
  16627. msgid "guix import cran --archive=git https://github.com/immunogenomics/harmony\n"
  16628. msgstr ""
  16629. #. type: item
  16630. #: guix-git/doc/guix.texi:11316
  16631. #, no-wrap
  16632. msgid "texlive"
  16633. msgstr ""
  16634. #. type: cindex
  16635. #: guix-git/doc/guix.texi:11317
  16636. #, no-wrap
  16637. msgid "TeX Live"
  16638. msgstr "TeX Live"
  16639. #. type: cindex
  16640. #: guix-git/doc/guix.texi:11318
  16641. #, no-wrap
  16642. msgid "CTAN"
  16643. msgstr ""
  16644. #. type: table
  16645. #: guix-git/doc/guix.texi:11322
  16646. 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}."
  16647. msgstr ""
  16648. #. type: table
  16649. #: guix-git/doc/guix.texi:11327
  16650. 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."
  16651. msgstr ""
  16652. #. type: table
  16653. #: guix-git/doc/guix.texi:11330
  16654. msgid "The command command below imports metadata for the @code{fontspec} TeX package:"
  16655. msgstr ""
  16656. #. type: example
  16657. #: guix-git/doc/guix.texi:11333
  16658. #, no-wrap
  16659. msgid "guix import texlive fontspec\n"
  16660. msgstr ""
  16661. #. type: table
  16662. #: guix-git/doc/guix.texi:11339
  16663. 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."
  16664. msgstr ""
  16665. #. type: table
  16666. #: guix-git/doc/guix.texi:11343
  16667. msgid "The command below imports metadata for the @code{ifxetex} package from CTAN while fetching the sources from the directory @file{texmf/source/generic}:"
  16668. msgstr ""
  16669. #. type: example
  16670. #: guix-git/doc/guix.texi:11346
  16671. #, no-wrap
  16672. msgid "guix import texlive --archive=generic ifxetex\n"
  16673. msgstr ""
  16674. #. type: cindex
  16675. #: guix-git/doc/guix.texi:11349
  16676. #, no-wrap
  16677. msgid "JSON, import"
  16678. msgstr ""
  16679. #. type: table
  16680. #: guix-git/doc/guix.texi:11352
  16681. msgid "Import package metadata from a local JSON file. Consider the following example package definition in JSON format:"
  16682. msgstr ""
  16683. #. type: example
  16684. #: guix-git/doc/guix.texi:11365
  16685. #, no-wrap
  16686. msgid ""
  16687. "@{\n"
  16688. " \"name\": \"hello\",\n"
  16689. " \"version\": \"2.10\",\n"
  16690. " \"source\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  16691. " \"build-system\": \"gnu\",\n"
  16692. " \"home-page\": \"https://www.gnu.org/software/hello/\",\n"
  16693. " \"synopsis\": \"Hello, GNU world: An example GNU package\",\n"
  16694. " \"description\": \"GNU Hello prints a greeting.\",\n"
  16695. " \"license\": \"GPL-3.0+\",\n"
  16696. " \"native-inputs\": [\"gettext\"]\n"
  16697. "@}\n"
  16698. msgstr ""
  16699. #. type: table
  16700. #: guix-git/doc/guix.texi:11371
  16701. 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}."
  16702. msgstr ""
  16703. #. type: table
  16704. #: guix-git/doc/guix.texi:11374
  16705. msgid "The importer also supports a more explicit source definition using the common fields for @code{<origin>} records:"
  16706. msgstr ""
  16707. #. type: example
  16708. #: guix-git/doc/guix.texi:11387
  16709. #, no-wrap
  16710. msgid ""
  16711. "@{\n"
  16712. " @dots{}\n"
  16713. " \"source\": @{\n"
  16714. " \"method\": \"url-fetch\",\n"
  16715. " \"uri\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  16716. " \"sha256\": @{\n"
  16717. " \"base32\": \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"\n"
  16718. " @}\n"
  16719. " @}\n"
  16720. " @dots{}\n"
  16721. "@}\n"
  16722. msgstr ""
  16723. #. type: table
  16724. #: guix-git/doc/guix.texi:11391
  16725. msgid "The command below reads metadata from the JSON file @code{hello.json} and outputs a package expression:"
  16726. msgstr ""
  16727. #. type: example
  16728. #: guix-git/doc/guix.texi:11394
  16729. #, no-wrap
  16730. msgid "guix import json hello.json\n"
  16731. msgstr ""
  16732. #. type: item
  16733. #: guix-git/doc/guix.texi:11396 guix-git/doc/guix.texi:11397
  16734. #: guix-git/doc/guix.texi:11764
  16735. #, no-wrap
  16736. msgid "hackage"
  16737. msgstr ""
  16738. #. type: table
  16739. #: guix-git/doc/guix.texi:11402
  16740. 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."
  16741. msgstr ""
  16742. #. type: item
  16743. #: guix-git/doc/guix.texi:11406
  16744. #, no-wrap
  16745. msgid "--stdin"
  16746. msgstr ""
  16747. #. type: itemx
  16748. #: guix-git/doc/guix.texi:11407
  16749. #, no-wrap
  16750. msgid "-s"
  16751. msgstr "-s"
  16752. #. type: table
  16753. #: guix-git/doc/guix.texi:11409
  16754. msgid "Read a Cabal file from standard input."
  16755. msgstr ""
  16756. #. type: item
  16757. #: guix-git/doc/guix.texi:11409 guix-git/doc/guix.texi:11456
  16758. #, no-wrap
  16759. msgid "--no-test-dependencies"
  16760. msgstr ""
  16761. #. type: table
  16762. #: guix-git/doc/guix.texi:11412 guix-git/doc/guix.texi:11459
  16763. msgid "Do not include dependencies required only by the test suites."
  16764. msgstr ""
  16765. #. type: item
  16766. #: guix-git/doc/guix.texi:11412
  16767. #, no-wrap
  16768. msgid "--cabal-environment=@var{alist}"
  16769. msgstr ""
  16770. #. type: itemx
  16771. #: guix-git/doc/guix.texi:11413
  16772. #, no-wrap
  16773. msgid "-e @var{alist}"
  16774. msgstr ""
  16775. #. type: table
  16776. #: guix-git/doc/guix.texi:11422
  16777. 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."
  16778. msgstr ""
  16779. #. type: table
  16780. #: guix-git/doc/guix.texi:11432
  16781. 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}:"
  16782. msgstr ""
  16783. #. type: example
  16784. #: guix-git/doc/guix.texi:11435
  16785. #, no-wrap
  16786. msgid "guix import hackage -t -e \"'((\\\"network-uri\\\" . false))\" HTTP\n"
  16787. msgstr ""
  16788. #. type: table
  16789. #: guix-git/doc/guix.texi:11439
  16790. 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:"
  16791. msgstr ""
  16792. #. type: example
  16793. #: guix-git/doc/guix.texi:11442
  16794. #, no-wrap
  16795. msgid "guix import hackage mtl@@2.1.3.1\n"
  16796. msgstr ""
  16797. #. type: item
  16798. #: guix-git/doc/guix.texi:11444 guix-git/doc/guix.texi:11445
  16799. #: guix-git/doc/guix.texi:11766
  16800. #, no-wrap
  16801. msgid "stackage"
  16802. msgstr ""
  16803. #. type: table
  16804. #: guix-git/doc/guix.texi:11452
  16805. 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."
  16806. msgstr ""
  16807. #. type: item
  16808. #: guix-git/doc/guix.texi:11459
  16809. #, no-wrap
  16810. msgid "--lts-version=@var{version}"
  16811. msgstr "--lts-version=@var{versão}"
  16812. #. type: itemx
  16813. #: guix-git/doc/guix.texi:11460
  16814. #, no-wrap
  16815. msgid "-l @var{version}"
  16816. msgstr "-l @var{versão}"
  16817. #. type: table
  16818. #: guix-git/doc/guix.texi:11463
  16819. msgid "@var{version} is the desired LTS release version. If omitted the latest release is used."
  16820. msgstr ""
  16821. #. type: table
  16822. #: guix-git/doc/guix.texi:11472
  16823. msgid "The command below imports metadata for the HTTP Haskell package included in the LTS Stackage release version 7.18:"
  16824. msgstr ""
  16825. #. type: example
  16826. #: guix-git/doc/guix.texi:11475
  16827. #, no-wrap
  16828. msgid "guix import stackage --lts-version=7.18 HTTP\n"
  16829. msgstr ""
  16830. #. type: item
  16831. #: guix-git/doc/guix.texi:11477 guix-git/doc/guix.texi:11478
  16832. #: guix-git/doc/guix.texi:11750
  16833. #, no-wrap
  16834. msgid "elpa"
  16835. msgstr "elpa"
  16836. #. type: table
  16837. #: guix-git/doc/guix.texi:11481
  16838. msgid "Import metadata from an Emacs Lisp Package Archive (ELPA) package repository (@pxref{Packages,,, emacs, The GNU Emacs Manual})."
  16839. msgstr ""
  16840. #. type: item
  16841. #: guix-git/doc/guix.texi:11485
  16842. #, no-wrap
  16843. msgid "--archive=@var{repo}"
  16844. msgstr ""
  16845. #. type: itemx
  16846. #: guix-git/doc/guix.texi:11486
  16847. #, no-wrap
  16848. msgid "-a @var{repo}"
  16849. msgstr ""
  16850. #. type: table
  16851. #: guix-git/doc/guix.texi:11490
  16852. msgid "@var{repo} identifies the archive repository from which to retrieve the information. Currently the supported repositories and their identifiers are:"
  16853. msgstr ""
  16854. #. type: itemize
  16855. #: guix-git/doc/guix.texi:11494
  16856. msgid "@uref{https://elpa.gnu.org/packages, GNU}, selected by the @code{gnu} identifier. This is the default."
  16857. msgstr ""
  16858. #. type: itemize
  16859. #: guix-git/doc/guix.texi:11500
  16860. 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})."
  16861. msgstr ""
  16862. #. type: itemize
  16863. #: guix-git/doc/guix.texi:11504
  16864. msgid "@uref{https://stable.melpa.org/packages, MELPA-Stable}, selected by the @code{melpa-stable} identifier."
  16865. msgstr ""
  16866. #. type: itemize
  16867. #: guix-git/doc/guix.texi:11508
  16868. msgid "@uref{https://melpa.org/packages, MELPA}, selected by the @code{melpa} identifier."
  16869. msgstr ""
  16870. #. type: item
  16871. #: guix-git/doc/guix.texi:11517 guix-git/doc/guix.texi:11518
  16872. #: guix-git/doc/guix.texi:11768
  16873. #, no-wrap
  16874. msgid "crate"
  16875. msgstr ""
  16876. #. type: table
  16877. #: guix-git/doc/guix.texi:11521
  16878. msgid "Import metadata from the crates.io Rust package repository @uref{https://crates.io, crates.io}, as in this example:"
  16879. msgstr ""
  16880. #. type: example
  16881. #: guix-git/doc/guix.texi:11524
  16882. #, no-wrap
  16883. msgid "guix import crate blake2-rfc\n"
  16884. msgstr ""
  16885. #. type: table
  16886. #: guix-git/doc/guix.texi:11527
  16887. msgid "The crate importer also allows you to specify a version string:"
  16888. msgstr ""
  16889. #. type: example
  16890. #: guix-git/doc/guix.texi:11530
  16891. #, no-wrap
  16892. msgid "guix import crate constant-time-eq@@0.1.0\n"
  16893. msgstr ""
  16894. #. type: table
  16895. #: guix-git/doc/guix.texi:11533 guix-git/doc/guix.texi:11549
  16896. #: guix-git/doc/guix.texi:11580
  16897. msgid "Additional options include:"
  16898. msgstr ""
  16899. #. type: item
  16900. #: guix-git/doc/guix.texi:11542
  16901. #, no-wrap
  16902. msgid "opam"
  16903. msgstr ""
  16904. #. type: cindex
  16905. #: guix-git/doc/guix.texi:11543
  16906. #, no-wrap
  16907. msgid "OPAM"
  16908. msgstr ""
  16909. #. type: cindex
  16910. #: guix-git/doc/guix.texi:11544
  16911. #, no-wrap
  16912. msgid "OCaml"
  16913. msgstr ""
  16914. #. type: table
  16915. #: guix-git/doc/guix.texi:11547
  16916. msgid "Import metadata from the @uref{https://opam.ocaml.org/, OPAM} package repository used by the OCaml community."
  16917. msgstr ""
  16918. #. type: item
  16919. #: guix-git/doc/guix.texi:11556
  16920. #, no-wrap
  16921. msgid "--repo"
  16922. msgstr ""
  16923. #. type: table
  16924. #: guix-git/doc/guix.texi:11558
  16925. msgid "Select the given repository (a repository name). Possible values include:"
  16926. msgstr ""
  16927. #. type: item
  16928. #: guix-git/doc/guix.texi:11559
  16929. #, no-wrap
  16930. msgid "@code{opam}, the default opam repository,"
  16931. msgstr ""
  16932. #. type: item
  16933. #: guix-git/doc/guix.texi:11560
  16934. #, no-wrap
  16935. msgid "@code{coq} or @code{coq-released}, the stable repository for coq packages,"
  16936. msgstr ""
  16937. #. type: item
  16938. #: guix-git/doc/guix.texi:11561
  16939. #, no-wrap
  16940. msgid "@code{coq-core-dev}, the repository that contains development versions of coq,"
  16941. msgstr ""
  16942. #. type: item
  16943. #: guix-git/doc/guix.texi:11562
  16944. #, no-wrap
  16945. msgid "@code{coq-extra-dev}, the repository that contains development versions"
  16946. msgstr ""
  16947. #. type: itemize
  16948. #: guix-git/doc/guix.texi:11564
  16949. msgid "of coq packages."
  16950. msgstr ""
  16951. #. type: cindex
  16952. #: guix-git/doc/guix.texi:11567 guix-git/doc/guix.texi:11568
  16953. #, no-wrap
  16954. msgid "go"
  16955. msgstr ""
  16956. #. type: table
  16957. #: guix-git/doc/guix.texi:11571
  16958. msgid "Import metadata for a Go module using @uref{https://proxy.golang.org, proxy.golang.org}."
  16959. msgstr ""
  16960. #. type: example
  16961. #: guix-git/doc/guix.texi:11574
  16962. #, no-wrap
  16963. msgid "guix import go gopkg.in/yaml.v2\n"
  16964. msgstr ""
  16965. #. type: table
  16966. #: guix-git/doc/guix.texi:11578
  16967. msgid "It is possible to use a package specification with a @code{@@VERSION} suffix to import a specific version."
  16968. msgstr ""
  16969. #. type: item
  16970. #: guix-git/doc/guix.texi:11587
  16971. #, fuzzy, no-wrap
  16972. #| msgid "--verbose"
  16973. msgid "--pin-versions"
  16974. msgstr "--verbose"
  16975. #. type: table
  16976. #: guix-git/doc/guix.texi:11595
  16977. 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."
  16978. msgstr ""
  16979. #. type: Plain text
  16980. #: guix-git/doc/guix.texi:11601
  16981. 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})."
  16982. msgstr ""
  16983. #. type: section
  16984. #: guix-git/doc/guix.texi:11603
  16985. #, no-wrap
  16986. msgid "Invoking @command{guix refresh}"
  16987. msgstr "Invocando @command{guix refresh}"
  16988. #. type: command{#1}
  16989. #: guix-git/doc/guix.texi:11605
  16990. #, no-wrap
  16991. msgid "guix refresh"
  16992. msgstr ""
  16993. #. type: Plain text
  16994. #: guix-git/doc/guix.texi:11613
  16995. 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:"
  16996. msgstr ""
  16997. #. type: example
  16998. #: guix-git/doc/guix.texi:11618
  16999. #, no-wrap
  17000. msgid ""
  17001. "$ guix refresh\n"
  17002. "gnu/packages/gettext.scm:29:13: gettext would be upgraded from 0.18.1.1 to 0.18.2.1\n"
  17003. "gnu/packages/glib.scm:77:12: glib would be upgraded from 2.34.3 to 2.37.0\n"
  17004. msgstr ""
  17005. #. type: Plain text
  17006. #: guix-git/doc/guix.texi:11622
  17007. msgid "Alternatively, one can specify packages to consider, in which case a warning is emitted for packages that lack an updater:"
  17008. msgstr ""
  17009. #. type: example
  17010. #: guix-git/doc/guix.texi:11627
  17011. #, no-wrap
  17012. msgid ""
  17013. "$ guix refresh coreutils guile guile-ssh\n"
  17014. "gnu/packages/ssh.scm:205:2: warning: no updater for guile-ssh\n"
  17015. "gnu/packages/guile.scm:136:12: guile would be upgraded from 2.0.12 to 2.0.13\n"
  17016. msgstr ""
  17017. #. type: Plain text
  17018. #: guix-git/doc/guix.texi:11636
  17019. 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!"
  17020. msgstr ""
  17021. #. type: table
  17022. #: guix-git/doc/guix.texi:11641
  17023. msgid "Consider the packages specified, and all the packages upon which they depend."
  17024. msgstr ""
  17025. #. type: example
  17026. #: guix-git/doc/guix.texi:11649
  17027. #, no-wrap
  17028. msgid ""
  17029. "$ guix refresh --recursive coreutils\n"
  17030. "gnu/packages/acl.scm:40:13: acl would be upgraded from 2.2.53 to 2.3.1\n"
  17031. "gnu/packages/m4.scm:30:12: 1.4.18 is already the latest version of m4\n"
  17032. "gnu/packages/xml.scm:68:2: warning: no updater for expat\n"
  17033. "gnu/packages/multiprecision.scm:40:12: 6.1.2 is already the latest version of gmp\n"
  17034. "@dots{}\n"
  17035. msgstr ""
  17036. #. type: Plain text
  17037. #: guix-git/doc/guix.texi:11657
  17038. 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:"
  17039. msgstr ""
  17040. #. type: lisp
  17041. #: guix-git/doc/guix.texi:11664
  17042. #, no-wrap
  17043. msgid ""
  17044. "(define-public network-manager\n"
  17045. " (package\n"
  17046. " (name \"network-manager\")\n"
  17047. " ;; @dots{}\n"
  17048. " (properties '((upstream-name . \"NetworkManager\")))))\n"
  17049. msgstr ""
  17050. #. type: Plain text
  17051. #: guix-git/doc/guix.texi:11673
  17052. 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."
  17053. msgstr ""
  17054. #. type: Plain text
  17055. #: guix-git/doc/guix.texi:11679
  17056. 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."
  17057. msgstr ""
  17058. #. type: Plain text
  17059. #: guix-git/doc/guix.texi:11681
  17060. msgid "The following options are supported:"
  17061. msgstr ""
  17062. #. type: table
  17063. #: guix-git/doc/guix.texi:11689 guix-git/doc/guix.texi:12484
  17064. msgid "This is useful to precisely refer to a package, as in this example:"
  17065. msgstr ""
  17066. #. type: example
  17067. #: guix-git/doc/guix.texi:11692
  17068. #, no-wrap
  17069. msgid "guix refresh -l -e '(@@@@ (gnu packages commencement) glibc-final)'\n"
  17070. msgstr ""
  17071. #. type: table
  17072. #: guix-git/doc/guix.texi:11696
  17073. msgid "This command lists the dependents of the ``final'' libc (essentially all the packages)."
  17074. msgstr ""
  17075. #. type: item
  17076. #: guix-git/doc/guix.texi:11697
  17077. #, no-wrap
  17078. msgid "--update"
  17079. msgstr ""
  17080. #. type: itemx
  17081. #: guix-git/doc/guix.texi:11698
  17082. #, no-wrap
  17083. msgid "-u"
  17084. msgstr "-u"
  17085. #. type: table
  17086. #: guix-git/doc/guix.texi:11702
  17087. 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}):"
  17088. msgstr ""
  17089. #. type: example
  17090. #: guix-git/doc/guix.texi:11705
  17091. #, no-wrap
  17092. msgid "$ ./pre-inst-env guix refresh -s non-core -u\n"
  17093. msgstr ""
  17094. #. type: table
  17095. #: guix-git/doc/guix.texi:11708
  17096. msgid "@xref{Defining Packages}, for more information on package definitions."
  17097. msgstr ""
  17098. #. type: item
  17099. #: guix-git/doc/guix.texi:11709
  17100. #, no-wrap
  17101. msgid "--select=[@var{subset}]"
  17102. msgstr ""
  17103. #. type: itemx
  17104. #: guix-git/doc/guix.texi:11710
  17105. #, no-wrap
  17106. msgid "-s @var{subset}"
  17107. msgstr ""
  17108. #. type: table
  17109. #: guix-git/doc/guix.texi:11713
  17110. msgid "Select all the packages in @var{subset}, one of @code{core} or @code{non-core}."
  17111. msgstr ""
  17112. #. type: table
  17113. #: guix-git/doc/guix.texi:11720
  17114. 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."
  17115. msgstr ""
  17116. #. type: table
  17117. #: guix-git/doc/guix.texi:11724
  17118. 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."
  17119. msgstr ""
  17120. #. type: table
  17121. #: guix-git/doc/guix.texi:11729
  17122. 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."
  17123. msgstr ""
  17124. #. type: item
  17125. #: guix-git/doc/guix.texi:11730
  17126. #, no-wrap
  17127. msgid "--type=@var{updater}"
  17128. msgstr ""
  17129. #. type: itemx
  17130. #: guix-git/doc/guix.texi:11731
  17131. #, no-wrap
  17132. msgid "-t @var{updater}"
  17133. msgstr ""
  17134. #. type: table
  17135. #: guix-git/doc/guix.texi:11734
  17136. msgid "Select only packages handled by @var{updater} (may be a comma-separated list of updaters). Currently, @var{updater} may be one of:"
  17137. msgstr ""
  17138. #. type: table
  17139. #: guix-git/doc/guix.texi:11738
  17140. msgid "the updater for GNU packages;"
  17141. msgstr ""
  17142. #. type: item
  17143. #: guix-git/doc/guix.texi:11738
  17144. #, no-wrap
  17145. msgid "savannah"
  17146. msgstr ""
  17147. #. type: table
  17148. #: guix-git/doc/guix.texi:11740
  17149. msgid "the updater for packages hosted at @uref{https://savannah.gnu.org, Savannah};"
  17150. msgstr ""
  17151. #. type: item
  17152. #: guix-git/doc/guix.texi:11740
  17153. #, no-wrap
  17154. msgid "sourceforge"
  17155. msgstr ""
  17156. #. type: table
  17157. #: guix-git/doc/guix.texi:11742
  17158. msgid "the updater for packages hosted at @uref{https://sourceforge.net, SourceForge};"
  17159. msgstr ""
  17160. #. type: item
  17161. #: guix-git/doc/guix.texi:11742
  17162. #, no-wrap
  17163. msgid "gnome"
  17164. msgstr "gnome"
  17165. #. type: table
  17166. #: guix-git/doc/guix.texi:11744
  17167. msgid "the updater for GNOME packages;"
  17168. msgstr ""
  17169. #. type: item
  17170. #: guix-git/doc/guix.texi:11744
  17171. #, no-wrap
  17172. msgid "kde"
  17173. msgstr ""
  17174. #. type: table
  17175. #: guix-git/doc/guix.texi:11746
  17176. msgid "the updater for KDE packages;"
  17177. msgstr ""
  17178. #. type: item
  17179. #: guix-git/doc/guix.texi:11746
  17180. #, no-wrap
  17181. msgid "xorg"
  17182. msgstr ""
  17183. #. type: table
  17184. #: guix-git/doc/guix.texi:11748
  17185. msgid "the updater for X.org packages;"
  17186. msgstr ""
  17187. #. type: item
  17188. #: guix-git/doc/guix.texi:11748
  17189. #, no-wrap
  17190. msgid "kernel.org"
  17191. msgstr ""
  17192. #. type: table
  17193. #: guix-git/doc/guix.texi:11750
  17194. msgid "the updater for packages hosted on kernel.org;"
  17195. msgstr ""
  17196. #. type: table
  17197. #: guix-git/doc/guix.texi:11752
  17198. msgid "the updater for @uref{https://elpa.gnu.org/, ELPA} packages;"
  17199. msgstr ""
  17200. #. type: table
  17201. #: guix-git/doc/guix.texi:11754
  17202. msgid "the updater for @uref{https://cran.r-project.org/, CRAN} packages;"
  17203. msgstr ""
  17204. #. type: item
  17205. #: guix-git/doc/guix.texi:11754
  17206. #, no-wrap
  17207. msgid "bioconductor"
  17208. msgstr ""
  17209. #. type: table
  17210. #: guix-git/doc/guix.texi:11756
  17211. msgid "the updater for @uref{https://www.bioconductor.org/, Bioconductor} R packages;"
  17212. msgstr ""
  17213. #. type: table
  17214. #: guix-git/doc/guix.texi:11758
  17215. msgid "the updater for @uref{https://www.cpan.org/, CPAN} packages;"
  17216. msgstr ""
  17217. #. type: table
  17218. #: guix-git/doc/guix.texi:11760
  17219. msgid "the updater for @uref{https://pypi.python.org, PyPI} packages."
  17220. msgstr ""
  17221. #. type: table
  17222. #: guix-git/doc/guix.texi:11762
  17223. msgid "the updater for @uref{https://rubygems.org, RubyGems} packages."
  17224. msgstr ""
  17225. #. type: item
  17226. #: guix-git/doc/guix.texi:11762
  17227. #, no-wrap
  17228. msgid "github"
  17229. msgstr ""
  17230. #. type: table
  17231. #: guix-git/doc/guix.texi:11764
  17232. msgid "the updater for @uref{https://github.com, GitHub} packages."
  17233. msgstr ""
  17234. #. type: table
  17235. #: guix-git/doc/guix.texi:11766
  17236. msgid "the updater for @uref{https://hackage.haskell.org, Hackage} packages."
  17237. msgstr ""
  17238. #. type: table
  17239. #: guix-git/doc/guix.texi:11768
  17240. msgid "the updater for @uref{https://www.stackage.org, Stackage} packages."
  17241. msgstr ""
  17242. #. type: table
  17243. #: guix-git/doc/guix.texi:11770
  17244. msgid "the updater for @uref{https://crates.io, Crates} packages."
  17245. msgstr ""
  17246. #. type: item
  17247. #: guix-git/doc/guix.texi:11770
  17248. #, no-wrap
  17249. msgid "launchpad"
  17250. msgstr ""
  17251. #. type: table
  17252. #: guix-git/doc/guix.texi:11772
  17253. msgid "the updater for @uref{https://launchpad.net, Launchpad} packages."
  17254. msgstr ""
  17255. #. type: item
  17256. #: guix-git/doc/guix.texi:11772
  17257. #, no-wrap
  17258. msgid "generic-html"
  17259. msgstr ""
  17260. #. type: table
  17261. #: guix-git/doc/guix.texi:11775
  17262. msgid "a generic updater that crawls the HTML page where the source tarball of the package is hosted, when applicable."
  17263. msgstr ""
  17264. #. type: table
  17265. #: guix-git/doc/guix.texi:11779
  17266. 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:"
  17267. msgstr ""
  17268. #. type: example
  17269. #: guix-git/doc/guix.texi:11784
  17270. #, no-wrap
  17271. msgid ""
  17272. "$ guix refresh --type=elpa,cran\n"
  17273. "gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.10.0 to 0.11.0\n"
  17274. "gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 11.88.9\n"
  17275. msgstr ""
  17276. #. type: item
  17277. #: guix-git/doc/guix.texi:11786
  17278. #, no-wrap
  17279. msgid "--list-updaters"
  17280. msgstr ""
  17281. #. type: itemx
  17282. #: guix-git/doc/guix.texi:11787
  17283. #, no-wrap
  17284. msgid "-L"
  17285. msgstr ""
  17286. #. type: table
  17287. #: guix-git/doc/guix.texi:11789
  17288. msgid "List available updaters and exit (see @option{--type} above)."
  17289. msgstr ""
  17290. #. type: table
  17291. #: guix-git/doc/guix.texi:11792
  17292. msgid "For each updater, display the fraction of packages it covers; at the end, display the fraction of packages covered by all these updaters."
  17293. msgstr ""
  17294. #. type: Plain text
  17295. #: guix-git/doc/guix.texi:11796
  17296. msgid "In addition, @command{guix refresh} can be passed one or more package names, as in this example:"
  17297. msgstr ""
  17298. #. type: example
  17299. #: guix-git/doc/guix.texi:11799
  17300. #, no-wrap
  17301. msgid "$ ./pre-inst-env guix refresh -u emacs idutils gcc@@4.8\n"
  17302. msgstr ""
  17303. #. type: Plain text
  17304. #: guix-git/doc/guix.texi:11806
  17305. 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:"
  17306. msgstr ""
  17307. #. type: example
  17308. #: guix-git/doc/guix.texi:11810
  17309. #, no-wrap
  17310. msgid ""
  17311. "$ ./pre-inst-env guix refresh -u \\\n"
  17312. " $(guix package --list-installed | cut -f1)\n"
  17313. msgstr ""
  17314. #. type: Plain text
  17315. #: guix-git/doc/guix.texi:11816
  17316. 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:"
  17317. msgstr ""
  17318. #. type: item
  17319. #: guix-git/doc/guix.texi:11819
  17320. #, no-wrap
  17321. msgid "--list-dependent"
  17322. msgstr ""
  17323. #. type: itemx
  17324. #: guix-git/doc/guix.texi:11820 guix-git/doc/guix.texi:12079
  17325. #, no-wrap
  17326. msgid "-l"
  17327. msgstr ""
  17328. #. type: table
  17329. #: guix-git/doc/guix.texi:11823
  17330. msgid "List top-level dependent packages that would need to be rebuilt as a result of upgrading one or more packages."
  17331. msgstr ""
  17332. #. type: table
  17333. #: guix-git/doc/guix.texi:11827
  17334. 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."
  17335. msgstr ""
  17336. #. type: Plain text
  17337. #: guix-git/doc/guix.texi:11833
  17338. 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."
  17339. msgstr ""
  17340. #. type: example
  17341. #: guix-git/doc/guix.texi:11838
  17342. #, no-wrap
  17343. msgid ""
  17344. "$ guix refresh --list-dependent flex\n"
  17345. "Building the following 120 packages would ensure 213 dependent packages are rebuilt:\n"
  17346. "hop@@2.4.0 geiser@@0.4 notmuch@@0.18 mu@@0.9.9.5 cflow@@1.4 idutils@@4.6 @dots{}\n"
  17347. msgstr ""
  17348. #. type: Plain text
  17349. #: guix-git/doc/guix.texi:11842
  17350. msgid "The command above lists a set of packages that could be built to check for compatibility with an upgraded @code{flex} package."
  17351. msgstr ""
  17352. #. type: item
  17353. #: guix-git/doc/guix.texi:11845
  17354. #, no-wrap
  17355. msgid "--list-transitive"
  17356. msgstr "--list-transitive"
  17357. #. type: table
  17358. #: guix-git/doc/guix.texi:11847
  17359. msgid "List all the packages which one or more packages depend upon."
  17360. msgstr ""
  17361. #. type: example
  17362. #: guix-git/doc/guix.texi:11852
  17363. #, no-wrap
  17364. msgid ""
  17365. "$ guix refresh --list-transitive flex\n"
  17366. "flex@@2.6.4 depends on the following 25 packages: perl@@5.28.0 help2man@@1.47.6\n"
  17367. "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"
  17368. msgstr ""
  17369. #. type: Plain text
  17370. #: guix-git/doc/guix.texi:11858
  17371. msgid "The command above lists a set of packages which, when changed, would cause @code{flex} to be rebuilt."
  17372. msgstr ""
  17373. #. type: Plain text
  17374. #: guix-git/doc/guix.texi:11860
  17375. msgid "The following options can be used to customize GnuPG operation:"
  17376. msgstr ""
  17377. #. type: item
  17378. #: guix-git/doc/guix.texi:11863
  17379. #, no-wrap
  17380. msgid "--gpg=@var{command}"
  17381. msgstr ""
  17382. #. type: table
  17383. #: guix-git/doc/guix.texi:11866
  17384. msgid "Use @var{command} as the GnuPG 2.x command. @var{command} is searched for in @code{$PATH}."
  17385. msgstr ""
  17386. #. type: item
  17387. #: guix-git/doc/guix.texi:11867
  17388. #, no-wrap
  17389. msgid "--keyring=@var{file}"
  17390. msgstr ""
  17391. #. type: table
  17392. #: guix-git/doc/guix.texi:11873
  17393. 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)."
  17394. msgstr ""
  17395. #. type: table
  17396. #: guix-git/doc/guix.texi:11879
  17397. 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)."
  17398. msgstr ""
  17399. #. type: table
  17400. #: guix-git/doc/guix.texi:11882
  17401. msgid "You can export keys from your default GPG keyring into a keybox file using commands like this one:"
  17402. msgstr ""
  17403. #. type: example
  17404. #: guix-git/doc/guix.texi:11885
  17405. #, no-wrap
  17406. msgid "gpg --export rms@@gnu.org | kbxutil --import-openpgp >> mykeyring.kbx\n"
  17407. msgstr ""
  17408. #. type: table
  17409. #: guix-git/doc/guix.texi:11888
  17410. msgid "Likewise, you can fetch keys to a specific keybox file like this:"
  17411. msgstr ""
  17412. #. type: example
  17413. #: guix-git/doc/guix.texi:11892
  17414. #, no-wrap
  17415. msgid ""
  17416. "gpg --no-default-keyring --keyring mykeyring.kbx \\\n"
  17417. " --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n"
  17418. msgstr ""
  17419. #. type: table
  17420. #: guix-git/doc/guix.texi:11896
  17421. msgid "@xref{GPG Configuration Options, @option{--keyring},, gnupg, Using the GNU Privacy Guard}, for more information on GPG's @option{--keyring} option."
  17422. msgstr ""
  17423. #. type: table
  17424. #: guix-git/doc/guix.texi:11900
  17425. msgid "Handle missing OpenPGP keys according to @var{policy}, which may be one of:"
  17426. msgstr ""
  17427. #. type: item
  17428. #: guix-git/doc/guix.texi:11902 guix-git/doc/guix.texi:20769
  17429. #, no-wrap
  17430. msgid "always"
  17431. msgstr ""
  17432. #. type: table
  17433. #: guix-git/doc/guix.texi:11905
  17434. msgid "Always download missing OpenPGP keys from the key server, and add them to the user's GnuPG keyring."
  17435. msgstr ""
  17436. #. type: item
  17437. #: guix-git/doc/guix.texi:11906 guix-git/doc/guix.texi:20771
  17438. #, no-wrap
  17439. msgid "never"
  17440. msgstr ""
  17441. #. type: table
  17442. #: guix-git/doc/guix.texi:11908
  17443. msgid "Never try to download missing OpenPGP keys. Instead just bail out."
  17444. msgstr ""
  17445. #. type: item
  17446. #: guix-git/doc/guix.texi:11909
  17447. #, no-wrap
  17448. msgid "interactive"
  17449. msgstr ""
  17450. #. type: table
  17451. #: guix-git/doc/guix.texi:11912
  17452. 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."
  17453. msgstr ""
  17454. #. type: item
  17455. #: guix-git/doc/guix.texi:11914
  17456. #, no-wrap
  17457. msgid "--key-server=@var{host}"
  17458. msgstr ""
  17459. #. type: table
  17460. #: guix-git/doc/guix.texi:11916
  17461. msgid "Use @var{host} as the OpenPGP key server when importing a public key."
  17462. msgstr ""
  17463. #. type: Plain text
  17464. #: guix-git/doc/guix.texi:11936
  17465. 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."
  17466. msgstr ""
  17467. #. type: section
  17468. #: guix-git/doc/guix.texi:11939
  17469. #, no-wrap
  17470. msgid "Invoking @command{guix lint}"
  17471. msgstr "Invocando @command{guix lint}"
  17472. #. type: command{#1}
  17473. #: guix-git/doc/guix.texi:11941
  17474. #, no-wrap
  17475. msgid "guix lint"
  17476. msgstr ""
  17477. #. type: cindex
  17478. #: guix-git/doc/guix.texi:11942
  17479. #, no-wrap
  17480. msgid "package, checking for errors"
  17481. msgstr ""
  17482. #. type: Plain text
  17483. #: guix-git/doc/guix.texi:11948
  17484. 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):"
  17485. msgstr ""
  17486. #. type: table
  17487. #: guix-git/doc/guix.texi:11954
  17488. msgid "Validate certain typographical and stylistic rules about package descriptions and synopses."
  17489. msgstr ""
  17490. #. type: item
  17491. #: guix-git/doc/guix.texi:11955
  17492. #, no-wrap
  17493. msgid "inputs-should-be-native"
  17494. msgstr ""
  17495. #. type: table
  17496. #: guix-git/doc/guix.texi:11957
  17497. msgid "Identify inputs that should most likely be native inputs."
  17498. msgstr ""
  17499. #. type: itemx
  17500. #: guix-git/doc/guix.texi:11960
  17501. #, no-wrap
  17502. msgid "mirror-url"
  17503. msgstr ""
  17504. #. type: itemx
  17505. #: guix-git/doc/guix.texi:11961
  17506. #, no-wrap
  17507. msgid "github-url"
  17508. msgstr ""
  17509. #. type: itemx
  17510. #: guix-git/doc/guix.texi:11962
  17511. #, no-wrap
  17512. msgid "source-file-name"
  17513. msgstr ""
  17514. #. type: table
  17515. #: guix-git/doc/guix.texi:11969
  17516. 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})."
  17517. msgstr ""
  17518. #. type: item
  17519. #: guix-git/doc/guix.texi:11970
  17520. #, no-wrap
  17521. msgid "source-unstable-tarball"
  17522. msgstr ""
  17523. #. type: table
  17524. #: guix-git/doc/guix.texi:11974
  17525. 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."
  17526. msgstr ""
  17527. #. type: table
  17528. #: guix-git/doc/guix.texi:11978
  17529. msgid "Check that the derivation of the given packages can be successfully computed for all the supported systems (@pxref{Derivations})."
  17530. msgstr ""
  17531. #. type: item
  17532. #: guix-git/doc/guix.texi:11979
  17533. #, no-wrap
  17534. msgid "profile-collisions"
  17535. msgstr ""
  17536. #. type: table
  17537. #: guix-git/doc/guix.texi:11985
  17538. 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."
  17539. msgstr ""
  17540. #. type: item
  17541. #: guix-git/doc/guix.texi:11986
  17542. #, no-wrap
  17543. msgid "archival"
  17544. msgstr ""
  17545. #. type: cindex
  17546. #: guix-git/doc/guix.texi:11987
  17547. #, no-wrap
  17548. msgid "Software Heritage, source code archive"
  17549. msgstr ""
  17550. #. type: cindex
  17551. #: guix-git/doc/guix.texi:11988
  17552. #, no-wrap
  17553. msgid "archival of source code, Software Heritage"
  17554. msgstr ""
  17555. #. type: table
  17556. #: guix-git/doc/guix.texi:11991
  17557. msgid "Checks whether the package's source code is archived at @uref{https://www.softwareheritage.org, Software Heritage}."
  17558. msgstr ""
  17559. #. type: table
  17560. #: guix-git/doc/guix.texi:11999
  17561. 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}."
  17562. msgstr ""
  17563. #. type: table
  17564. #: guix-git/doc/guix.texi:12004
  17565. 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."
  17566. msgstr ""
  17567. #. type: table
  17568. #: guix-git/doc/guix.texi:12010
  17569. 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."
  17570. msgstr ""
  17571. #. type: item
  17572. #: guix-git/doc/guix.texi:12011
  17573. #, no-wrap
  17574. msgid "cve"
  17575. msgstr ""
  17576. #. type: cindex
  17577. #: guix-git/doc/guix.texi:12012 guix-git/doc/guix.texi:34545
  17578. #, no-wrap
  17579. msgid "security vulnerabilities"
  17580. msgstr ""
  17581. #. type: cindex
  17582. #: guix-git/doc/guix.texi:12013
  17583. #, no-wrap
  17584. msgid "CVE, Common Vulnerabilities and Exposures"
  17585. msgstr ""
  17586. #. type: table
  17587. #: guix-git/doc/guix.texi:12018
  17588. 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}."
  17589. msgstr ""
  17590. #. type: table
  17591. #: guix-git/doc/guix.texi:12020
  17592. msgid "To view information about a particular vulnerability, visit pages such as:"
  17593. msgstr ""
  17594. #. type: indicateurl{#1}
  17595. #: guix-git/doc/guix.texi:12024
  17596. msgid "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-YYYY-ABCD"
  17597. msgstr ""
  17598. #. type: indicateurl{#1}
  17599. #: guix-git/doc/guix.texi:12026
  17600. msgid "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-YYYY-ABCD"
  17601. msgstr ""
  17602. #. type: table
  17603. #: guix-git/doc/guix.texi:12031
  17604. msgid "where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., @code{CVE-2015-7554}."
  17605. msgstr ""
  17606. #. type: table
  17607. #: guix-git/doc/guix.texi:12036
  17608. 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:"
  17609. msgstr ""
  17610. #. type: lisp
  17611. #: guix-git/doc/guix.texi:12044
  17612. #, no-wrap
  17613. msgid ""
  17614. "(package\n"
  17615. " (name \"grub\")\n"
  17616. " ;; @dots{}\n"
  17617. " ;; CPE calls this package \"grub2\".\n"
  17618. " (properties '((cpe-name . \"grub2\")\n"
  17619. " (cpe-version . \"2.3\"))))\n"
  17620. msgstr ""
  17621. #. type: table
  17622. #: guix-git/doc/guix.texi:12051
  17623. 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:"
  17624. msgstr ""
  17625. #. type: lisp
  17626. #: guix-git/doc/guix.texi:12061
  17627. #, no-wrap
  17628. msgid ""
  17629. "(package\n"
  17630. " (name \"t1lib\")\n"
  17631. " ;; @dots{}\n"
  17632. " ;; These CVEs no longer apply and can be safely ignored.\n"
  17633. " (properties `((lint-hidden-cve . (\"CVE-2011-0433\"\n"
  17634. " \"CVE-2011-1553\"\n"
  17635. " \"CVE-2011-1554\"\n"
  17636. " \"CVE-2011-5244\")))))\n"
  17637. msgstr ""
  17638. #. type: item
  17639. #: guix-git/doc/guix.texi:12063
  17640. #, no-wrap
  17641. msgid "formatting"
  17642. msgstr ""
  17643. #. type: table
  17644. #: guix-git/doc/guix.texi:12066
  17645. msgid "Warn about obvious source code formatting issues: trailing white space, use of tabulations, etc."
  17646. msgstr ""
  17647. #. type: example
  17648. #: guix-git/doc/guix.texi:12072
  17649. #, no-wrap
  17650. msgid "guix lint @var{options} @var{package}@dots{}\n"
  17651. msgstr ""
  17652. #. type: Plain text
  17653. #: guix-git/doc/guix.texi:12076
  17654. 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:"
  17655. msgstr ""
  17656. #. type: item
  17657. #: guix-git/doc/guix.texi:12078
  17658. #, no-wrap
  17659. msgid "--list-checkers"
  17660. msgstr "--list-checkers"
  17661. #. type: table
  17662. #: guix-git/doc/guix.texi:12082
  17663. msgid "List and describe all the available checkers that will be run on packages and exit."
  17664. msgstr ""
  17665. #. type: item
  17666. #: guix-git/doc/guix.texi:12083
  17667. #, no-wrap
  17668. msgid "--checkers"
  17669. msgstr "--checkers"
  17670. #. type: itemx
  17671. #: guix-git/doc/guix.texi:12084
  17672. #, no-wrap
  17673. msgid "-c"
  17674. msgstr "-c"
  17675. #. type: table
  17676. #: guix-git/doc/guix.texi:12087
  17677. msgid "Only enable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  17678. msgstr ""
  17679. #. type: item
  17680. #: guix-git/doc/guix.texi:12088
  17681. #, no-wrap
  17682. msgid "--exclude"
  17683. msgstr ""
  17684. #. type: table
  17685. #: guix-git/doc/guix.texi:12092
  17686. msgid "Only disable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  17687. msgstr ""
  17688. #. type: item
  17689. #: guix-git/doc/guix.texi:12093
  17690. #, no-wrap
  17691. msgid "--no-network"
  17692. msgstr ""
  17693. #. type: table
  17694. #: guix-git/doc/guix.texi:12096
  17695. msgid "Only enable the checkers that do not depend on Internet access."
  17696. msgstr ""
  17697. #. type: section
  17698. #: guix-git/doc/guix.texi:12108
  17699. #, no-wrap
  17700. msgid "Invoking @command{guix size}"
  17701. msgstr "Invocando @command{guix size}"
  17702. #. type: code{#1}
  17703. #: guix-git/doc/guix.texi:12110 guix-git/doc/guix.texi:33481
  17704. #, no-wrap
  17705. msgid "size"
  17706. msgstr "tamanho"
  17707. #. type: cindex
  17708. #: guix-git/doc/guix.texi:12111
  17709. #, no-wrap
  17710. msgid "package size"
  17711. msgstr ""
  17712. #. type: command{#1}
  17713. #: guix-git/doc/guix.texi:12113
  17714. #, no-wrap
  17715. msgid "guix size"
  17716. msgstr ""
  17717. #. type: Plain text
  17718. #: guix-git/doc/guix.texi:12120
  17719. 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."
  17720. msgstr ""
  17721. #. type: Plain text
  17722. #: guix-git/doc/guix.texi:12125
  17723. 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:"
  17724. msgstr ""
  17725. #. type: example
  17726. #: guix-git/doc/guix.texi:12138
  17727. #, no-wrap
  17728. msgid ""
  17729. "$ guix size coreutils\n"
  17730. "store item total self\n"
  17731. "/gnu/store/@dots{}-gcc-5.5.0-lib 60.4 30.1 38.1%\n"
  17732. "/gnu/store/@dots{}-glibc-2.27 30.3 28.8 36.6%\n"
  17733. "/gnu/store/@dots{}-coreutils-8.28 78.9 15.0 19.0%\n"
  17734. "/gnu/store/@dots{}-gmp-6.1.2 63.1 2.7 3.4%\n"
  17735. "/gnu/store/@dots{}-bash-static-4.4.12 1.5 1.5 1.9%\n"
  17736. "/gnu/store/@dots{}-acl-2.2.52 61.1 0.4 0.5%\n"
  17737. "/gnu/store/@dots{}-attr-2.4.47 60.6 0.2 0.3%\n"
  17738. "/gnu/store/@dots{}-libcap-2.25 60.5 0.2 0.2%\n"
  17739. "total: 78.9 MiB\n"
  17740. msgstr ""
  17741. #. type: Plain text
  17742. #: guix-git/doc/guix.texi:12144
  17743. 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:"
  17744. msgstr ""
  17745. #. type: example
  17746. #: guix-git/doc/guix.texi:12147
  17747. #, no-wrap
  17748. msgid "$ guix gc -R /gnu/store/@dots{}-coreutils-8.23\n"
  17749. msgstr ""
  17750. #. type: Plain text
  17751. #: guix-git/doc/guix.texi:12155
  17752. 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."
  17753. msgstr ""
  17754. #. type: Plain text
  17755. #: guix-git/doc/guix.texi:12161
  17756. 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.)"
  17757. msgstr ""
  17758. #. type: Plain text
  17759. #: guix-git/doc/guix.texi:12164
  17760. msgid "Since the command also accepts store file names, assessing the size of a build result is straightforward:"
  17761. msgstr ""
  17762. #. type: example
  17763. #: guix-git/doc/guix.texi:12167
  17764. #, no-wrap
  17765. msgid "guix size $(guix system build config.scm)\n"
  17766. msgstr ""
  17767. #. type: Plain text
  17768. #: guix-git/doc/guix.texi:12177
  17769. 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})."
  17770. msgstr ""
  17771. #. type: Plain text
  17772. #: guix-git/doc/guix.texi:12182
  17773. 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."
  17774. msgstr ""
  17775. #. type: Plain text
  17776. #: guix-git/doc/guix.texi:12184
  17777. msgid "You can also specify several package names:"
  17778. msgstr ""
  17779. #. type: example
  17780. #: guix-git/doc/guix.texi:12194
  17781. #, no-wrap
  17782. msgid ""
  17783. "$ guix size coreutils grep sed bash\n"
  17784. "store item total self\n"
  17785. "/gnu/store/@dots{}-coreutils-8.24 77.8 13.8 13.4%\n"
  17786. "/gnu/store/@dots{}-grep-2.22 73.1 0.8 0.8%\n"
  17787. "/gnu/store/@dots{}-bash-4.3.42 72.3 4.7 4.6%\n"
  17788. "/gnu/store/@dots{}-readline-6.3 67.6 1.2 1.2%\n"
  17789. "@dots{}\n"
  17790. "total: 102.3 MiB\n"
  17791. msgstr ""
  17792. #. type: Plain text
  17793. #: guix-git/doc/guix.texi:12200
  17794. 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."
  17795. msgstr ""
  17796. #. type: Plain text
  17797. #: guix-git/doc/guix.texi:12206
  17798. 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})."
  17799. msgstr ""
  17800. #. type: Plain text
  17801. #: guix-git/doc/guix.texi:12208
  17802. msgid "The available options are:"
  17803. msgstr ""
  17804. #. type: table
  17805. #: guix-git/doc/guix.texi:12214
  17806. msgid "Use substitute information from @var{urls}. @xref{client-substitute-urls, the same option for @code{guix build}}."
  17807. msgstr ""
  17808. #. type: item
  17809. #: guix-git/doc/guix.texi:12215
  17810. #, no-wrap
  17811. msgid "--sort=@var{key}"
  17812. msgstr ""
  17813. #. type: table
  17814. #: guix-git/doc/guix.texi:12217
  17815. msgid "Sort lines according to @var{key}, one of the following options:"
  17816. msgstr ""
  17817. #. type: item
  17818. #: guix-git/doc/guix.texi:12219
  17819. #, no-wrap
  17820. msgid "self"
  17821. msgstr ""
  17822. #. type: table
  17823. #: guix-git/doc/guix.texi:12221
  17824. msgid "the size of each item (the default);"
  17825. msgstr ""
  17826. #. type: table
  17827. #: guix-git/doc/guix.texi:12223
  17828. msgid "the total size of the item's closure."
  17829. msgstr ""
  17830. #. type: item
  17831. #: guix-git/doc/guix.texi:12225
  17832. #, no-wrap
  17833. msgid "--map-file=@var{file}"
  17834. msgstr "--map-file=@var{arquivo}"
  17835. #. type: table
  17836. #: guix-git/doc/guix.texi:12227
  17837. msgid "Write a graphical map of disk usage in PNG format to @var{file}."
  17838. msgstr ""
  17839. #. type: table
  17840. #: guix-git/doc/guix.texi:12229
  17841. msgid "For the example above, the map looks like this:"
  17842. msgstr ""
  17843. #. type: table
  17844. #: guix-git/doc/guix.texi:12232
  17845. msgid "@image{images/coreutils-size-map,5in,, map of Coreutils disk usage produced by @command{guix size}}"
  17846. msgstr ""
  17847. #. type: table
  17848. #: guix-git/doc/guix.texi:12237
  17849. 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."
  17850. msgstr ""
  17851. #. type: table
  17852. #: guix-git/doc/guix.texi:12241
  17853. msgid "Consider packages for @var{system}---e.g., @code{x86_64-linux}."
  17854. msgstr ""
  17855. #. type: section
  17856. #: guix-git/doc/guix.texi:12252
  17857. #, no-wrap
  17858. msgid "Invoking @command{guix graph}"
  17859. msgstr "Invocando @command{guix graph}"
  17860. #. type: cindex
  17861. #: guix-git/doc/guix.texi:12254
  17862. #, no-wrap
  17863. msgid "DAG"
  17864. msgstr ""
  17865. #. type: command{#1}
  17866. #: guix-git/doc/guix.texi:12255
  17867. #, no-wrap
  17868. msgid "guix graph"
  17869. msgstr "guix graph"
  17870. #. type: Plain text
  17871. #: guix-git/doc/guix.texi:12270
  17872. 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:"
  17873. msgstr ""
  17874. #. type: example
  17875. #: guix-git/doc/guix.texi:12273
  17876. #, no-wrap
  17877. msgid "guix graph @var{options} @var{package}@dots{}\n"
  17878. msgstr ""
  17879. #. type: Plain text
  17880. #: guix-git/doc/guix.texi:12278
  17881. 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:"
  17882. msgstr ""
  17883. #. type: example
  17884. #: guix-git/doc/guix.texi:12281
  17885. #, no-wrap
  17886. msgid "guix graph coreutils | dot -Tpdf > dag.pdf\n"
  17887. msgstr ""
  17888. #. type: Plain text
  17889. #: guix-git/doc/guix.texi:12284
  17890. msgid "The output looks like this:"
  17891. msgstr ""
  17892. #. type: Plain text
  17893. #: guix-git/doc/guix.texi:12286
  17894. msgid "@image{images/coreutils-graph,2in,,Dependency graph of the GNU Coreutils}"
  17895. msgstr ""
  17896. #. type: Plain text
  17897. #: guix-git/doc/guix.texi:12288
  17898. msgid "Nice little graph, no?"
  17899. msgstr ""
  17900. #. type: Plain text
  17901. #: guix-git/doc/guix.texi:12291
  17902. msgid "You may find it more pleasant to navigate the graph interactively with @command{xdot} (from the @code{xdot} package):"
  17903. msgstr ""
  17904. #. type: example
  17905. #: guix-git/doc/guix.texi:12294
  17906. #, no-wrap
  17907. msgid "guix graph coreutils | xdot -\n"
  17908. msgstr ""
  17909. #. type: Plain text
  17910. #: guix-git/doc/guix.texi:12301
  17911. 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:"
  17912. msgstr ""
  17913. #. type: table
  17914. #: guix-git/doc/guix.texi:12307
  17915. 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."
  17916. msgstr ""
  17917. #. type: item
  17918. #: guix-git/doc/guix.texi:12308
  17919. #, no-wrap
  17920. msgid "reverse-package"
  17921. msgstr ""
  17922. #. type: table
  17923. #: guix-git/doc/guix.texi:12310
  17924. msgid "This shows the @emph{reverse} DAG of packages. For example:"
  17925. msgstr ""
  17926. #. type: example
  17927. #: guix-git/doc/guix.texi:12313
  17928. #, no-wrap
  17929. msgid "guix graph --type=reverse-package ocaml\n"
  17930. msgstr ""
  17931. #. type: table
  17932. #: guix-git/doc/guix.texi:12318
  17933. 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)."
  17934. msgstr ""
  17935. #. type: table
  17936. #: guix-git/doc/guix.texi:12323
  17937. 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}})."
  17938. msgstr ""
  17939. #. type: item
  17940. #: guix-git/doc/guix.texi:12324
  17941. #, no-wrap
  17942. msgid "bag-emerged"
  17943. msgstr ""
  17944. #. type: table
  17945. #: guix-git/doc/guix.texi:12326
  17946. msgid "This is the package DAG, @emph{including} implicit inputs."
  17947. msgstr ""
  17948. #. type: table
  17949. #: guix-git/doc/guix.texi:12328
  17950. msgid "For instance, the following command:"
  17951. msgstr ""
  17952. #. type: example
  17953. #: guix-git/doc/guix.texi:12331
  17954. #, no-wrap
  17955. msgid "guix graph --type=bag-emerged coreutils\n"
  17956. msgstr ""
  17957. #. type: table
  17958. #: guix-git/doc/guix.texi:12334
  17959. msgid "...@: yields this bigger graph:"
  17960. msgstr ""
  17961. #. type: table
  17962. #: guix-git/doc/guix.texi:12336
  17963. msgid "@image{images/coreutils-bag-graph,,5in,Detailed dependency graph of the GNU Coreutils}"
  17964. msgstr ""
  17965. #. type: table
  17966. #: guix-git/doc/guix.texi:12339
  17967. 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}})."
  17968. msgstr ""
  17969. #. type: table
  17970. #: guix-git/doc/guix.texi:12343
  17971. msgid "Now, note that the dependencies of these implicit inputs---that is, the @dfn{bootstrap dependencies} (@pxref{Bootstrapping})---are not shown here, for conciseness."
  17972. msgstr ""
  17973. #. type: item
  17974. #: guix-git/doc/guix.texi:12344
  17975. #, no-wrap
  17976. msgid "bag"
  17977. msgstr ""
  17978. #. type: table
  17979. #: guix-git/doc/guix.texi:12347
  17980. msgid "Similar to @code{bag-emerged}, but this time including all the bootstrap dependencies."
  17981. msgstr ""
  17982. #. type: item
  17983. #: guix-git/doc/guix.texi:12348
  17984. #, no-wrap
  17985. msgid "bag-with-origins"
  17986. msgstr ""
  17987. #. type: table
  17988. #: guix-git/doc/guix.texi:12350
  17989. msgid "Similar to @code{bag}, but also showing origins and their dependencies."
  17990. msgstr ""
  17991. #. type: item
  17992. #: guix-git/doc/guix.texi:12351
  17993. #, no-wrap
  17994. msgid "reverse-bag"
  17995. msgstr ""
  17996. #. type: table
  17997. #: guix-git/doc/guix.texi:12354
  17998. msgid "This shows the @emph{reverse} DAG of packages. Unlike @code{reverse-package}, it also takes implicit dependencies into account. For example:"
  17999. msgstr ""
  18000. #. type: example
  18001. #: guix-git/doc/guix.texi:12357
  18002. #, no-wrap
  18003. msgid "guix graph -t reverse-bag dune\n"
  18004. msgstr ""
  18005. #. type: table
  18006. #: guix-git/doc/guix.texi:12364
  18007. 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."
  18008. msgstr ""
  18009. #. type: table
  18010. #: guix-git/doc/guix.texi:12370
  18011. 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."
  18012. msgstr ""
  18013. #. type: table
  18014. #: guix-git/doc/guix.texi:12373
  18015. msgid "For this type of graph, it is also possible to pass a @file{.drv} file name instead of a package name, as in:"
  18016. msgstr ""
  18017. #. type: example
  18018. #: guix-git/doc/guix.texi:12376
  18019. #, no-wrap
  18020. msgid "guix graph -t derivation $(guix system build -d my-config.scm)\n"
  18021. msgstr ""
  18022. #. type: item
  18023. #: guix-git/doc/guix.texi:12378
  18024. #, no-wrap
  18025. msgid "module"
  18026. msgstr "módulo"
  18027. #. type: table
  18028. #: guix-git/doc/guix.texi:12382
  18029. 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:"
  18030. msgstr ""
  18031. #. type: example
  18032. #: guix-git/doc/guix.texi:12385
  18033. #, no-wrap
  18034. msgid "guix graph -t module guile | xdot -\n"
  18035. msgstr ""
  18036. #. type: Plain text
  18037. #: guix-git/doc/guix.texi:12390
  18038. msgid "All the types above correspond to @emph{build-time dependencies}. The following graph type represents the @emph{run-time dependencies}:"
  18039. msgstr ""
  18040. #. type: table
  18041. #: guix-git/doc/guix.texi:12395
  18042. msgid "This is the graph of @dfn{references} of a package output, as returned by @command{guix gc --references} (@pxref{Invoking guix gc})."
  18043. msgstr ""
  18044. #. type: table
  18045. #: guix-git/doc/guix.texi:12398
  18046. msgid "If the given package output is not available in the store, @command{guix graph} attempts to obtain dependency information from substitutes."
  18047. msgstr ""
  18048. #. type: table
  18049. #: guix-git/doc/guix.texi:12402
  18050. 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!):"
  18051. msgstr ""
  18052. #. type: example
  18053. #: guix-git/doc/guix.texi:12405
  18054. #, no-wrap
  18055. msgid "guix graph -t references $(readlink -f ~/.guix-profile)\n"
  18056. msgstr ""
  18057. #. type: item
  18058. #: guix-git/doc/guix.texi:12407
  18059. #, no-wrap
  18060. msgid "referrers"
  18061. msgstr ""
  18062. #. type: table
  18063. #: guix-git/doc/guix.texi:12410
  18064. msgid "This is the graph of the @dfn{referrers} of a store item, as returned by @command{guix gc --referrers} (@pxref{Invoking guix gc})."
  18065. msgstr ""
  18066. #. type: table
  18067. #: guix-git/doc/guix.texi:12416
  18068. 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."
  18069. msgstr ""
  18070. #. type: table
  18071. #: guix-git/doc/guix.texi:12419
  18072. msgid "It can help determine what is preventing a store item from being garbage collected."
  18073. msgstr ""
  18074. #. type: cindex
  18075. #: guix-git/doc/guix.texi:12422
  18076. #, no-wrap
  18077. msgid "shortest path, between packages"
  18078. msgstr ""
  18079. #. type: Plain text
  18080. #: guix-git/doc/guix.texi:12429
  18081. 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.):"
  18082. msgstr ""
  18083. #. type: example
  18084. #: guix-git/doc/guix.texi:12443
  18085. #, no-wrap
  18086. msgid ""
  18087. "$ guix graph --path emacs libunistring\n"
  18088. "emacs@@26.3\n"
  18089. "mailutils@@3.9\n"
  18090. "libunistring@@0.9.10\n"
  18091. "$ guix graph --path -t derivation emacs libunistring\n"
  18092. "/gnu/store/@dots{}-emacs-26.3.drv\n"
  18093. "/gnu/store/@dots{}-mailutils-3.9.drv\n"
  18094. "/gnu/store/@dots{}-libunistring-0.9.10.drv\n"
  18095. "$ guix graph --path -t references emacs libunistring\n"
  18096. "/gnu/store/@dots{}-emacs-26.3\n"
  18097. "/gnu/store/@dots{}-libidn2-2.2.0\n"
  18098. "/gnu/store/@dots{}-libunistring-0.9.10\n"
  18099. msgstr ""
  18100. #. type: Plain text
  18101. #: guix-git/doc/guix.texi:12446
  18102. msgid "The available options are the following:"
  18103. msgstr ""
  18104. #. type: table
  18105. #: guix-git/doc/guix.texi:12452
  18106. msgid "Produce a graph output of @var{type}, where @var{type} must be one of the values listed above."
  18107. msgstr ""
  18108. #. type: item
  18109. #: guix-git/doc/guix.texi:12453
  18110. #, no-wrap
  18111. msgid "--list-types"
  18112. msgstr ""
  18113. #. type: table
  18114. #: guix-git/doc/guix.texi:12455
  18115. msgid "List the supported graph types."
  18116. msgstr "Lista os tipos de gráficos disponíveis."
  18117. #. type: item
  18118. #: guix-git/doc/guix.texi:12456
  18119. #, no-wrap
  18120. msgid "--backend=@var{backend}"
  18121. msgstr ""
  18122. #. type: itemx
  18123. #: guix-git/doc/guix.texi:12457
  18124. #, no-wrap
  18125. msgid "-b @var{backend}"
  18126. msgstr ""
  18127. #. type: table
  18128. #: guix-git/doc/guix.texi:12459
  18129. msgid "Produce a graph using the selected @var{backend}."
  18130. msgstr ""
  18131. #. type: item
  18132. #: guix-git/doc/guix.texi:12460
  18133. #, no-wrap
  18134. msgid "--list-backends"
  18135. msgstr "--list-backends"
  18136. #. type: table
  18137. #: guix-git/doc/guix.texi:12462
  18138. msgid "List the supported graph backends."
  18139. msgstr "Lista os backends de gráficos disponíveis."
  18140. #. type: table
  18141. #: guix-git/doc/guix.texi:12464
  18142. msgid "Currently, the available backends are Graphviz and d3.js."
  18143. msgstr ""
  18144. #. type: item
  18145. #: guix-git/doc/guix.texi:12465
  18146. #, no-wrap
  18147. msgid "--path"
  18148. msgstr ""
  18149. #. type: table
  18150. #: guix-git/doc/guix.texi:12470
  18151. 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}:"
  18152. msgstr ""
  18153. #. type: example
  18154. #: guix-git/doc/guix.texi:12477
  18155. #, no-wrap
  18156. msgid ""
  18157. "$ guix graph --path -t references libreoffice llvm\n"
  18158. "/gnu/store/@dots{}-libreoffice-6.4.2.2\n"
  18159. "/gnu/store/@dots{}-libepoxy-1.5.4\n"
  18160. "/gnu/store/@dots{}-mesa-19.3.4\n"
  18161. "/gnu/store/@dots{}-llvm-9.0.1\n"
  18162. msgstr ""
  18163. #. type: example
  18164. #: guix-git/doc/guix.texi:12487
  18165. #, no-wrap
  18166. msgid "guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)'\n"
  18167. msgstr ""
  18168. #. type: table
  18169. #: guix-git/doc/guix.texi:12492
  18170. msgid "Display the graph for @var{system}---e.g., @code{i686-linux}."
  18171. msgstr ""
  18172. #. type: table
  18173. #: guix-git/doc/guix.texi:12495
  18174. msgid "The package dependency graph is largely architecture-independent, but there are some architecture-dependent bits that this option allows you to visualize."
  18175. msgstr ""
  18176. #. type: Plain text
  18177. #: guix-git/doc/guix.texi:12511
  18178. 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:"
  18179. msgstr ""
  18180. #. type: example
  18181. #: guix-git/doc/guix.texi:12514
  18182. #, no-wrap
  18183. msgid "guix graph git --with-input=openssl=libressl\n"
  18184. msgstr ""
  18185. #. type: Plain text
  18186. #: guix-git/doc/guix.texi:12517
  18187. msgid "So many possibilities, so much fun!"
  18188. msgstr ""
  18189. #. type: section
  18190. #: guix-git/doc/guix.texi:12519
  18191. #, no-wrap
  18192. msgid "Invoking @command{guix publish}"
  18193. msgstr "Invocando @command{guix publish}"
  18194. #. type: command{#1}
  18195. #: guix-git/doc/guix.texi:12521
  18196. #, no-wrap
  18197. msgid "guix publish"
  18198. msgstr ""
  18199. #. type: Plain text
  18200. #: guix-git/doc/guix.texi:12525
  18201. 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})."
  18202. msgstr ""
  18203. #. type: Plain text
  18204. #: guix-git/doc/guix.texi:12531
  18205. 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}} build farm."
  18206. msgstr ""
  18207. #. type: Plain text
  18208. #: guix-git/doc/guix.texi:12537
  18209. 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."
  18210. msgstr ""
  18211. #. type: Plain text
  18212. #: guix-git/doc/guix.texi:12541
  18213. msgid "The signing key pair must be generated before @command{guix publish} is launched, using @command{guix archive --generate-key} (@pxref{Invoking guix archive})."
  18214. msgstr ""
  18215. #. type: Plain text
  18216. #: guix-git/doc/guix.texi:12546
  18217. 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})."
  18218. msgstr ""
  18219. #. type: example
  18220. #: guix-git/doc/guix.texi:12551
  18221. #, no-wrap
  18222. msgid "guix publish @var{options}@dots{}\n"
  18223. msgstr ""
  18224. #. type: Plain text
  18225. #: guix-git/doc/guix.texi:12555
  18226. msgid "Running @command{guix publish} without any additional arguments will spawn an HTTP server on port 8080:"
  18227. msgstr ""
  18228. #. type: example
  18229. #: guix-git/doc/guix.texi:12558
  18230. #, no-wrap
  18231. msgid "guix publish\n"
  18232. msgstr ""
  18233. #. type: Plain text
  18234. #: guix-git/doc/guix.texi:12562
  18235. msgid "Once a publishing server has been authorized, the daemon may download substitutes from it. @xref{Getting Substitutes from Other Servers}."
  18236. msgstr ""
  18237. #. type: Plain text
  18238. #: guix-git/doc/guix.texi:12570
  18239. 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})."
  18240. msgstr ""
  18241. #. type: Plain text
  18242. #: guix-git/doc/guix.texi:12577
  18243. 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}):"
  18244. msgstr ""
  18245. #. type: example
  18246. #: guix-git/doc/guix.texi:12580
  18247. #, no-wrap
  18248. msgid "http://example.org/file/hello-2.10.tar.gz/sha256/0ssi1@dots{}ndq1i\n"
  18249. msgstr ""
  18250. #. type: Plain text
  18251. #: guix-git/doc/guix.texi:12584
  18252. msgid "Obviously, these URLs only work for files that are in the store; in other cases, they return 404 (``Not Found'')."
  18253. msgstr ""
  18254. #. type: cindex
  18255. #: guix-git/doc/guix.texi:12585
  18256. #, no-wrap
  18257. msgid "build logs, publication"
  18258. msgstr ""
  18259. #. type: Plain text
  18260. #: guix-git/doc/guix.texi:12587
  18261. msgid "Build logs are available from @code{/log} URLs like:"
  18262. msgstr ""
  18263. #. type: example
  18264. #: guix-git/doc/guix.texi:12590
  18265. #, no-wrap
  18266. msgid "http://example.org/log/gwspk@dots{}-guile-2.2.3\n"
  18267. msgstr ""
  18268. #. type: Plain text
  18269. #: guix-git/doc/guix.texi:12600
  18270. 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."
  18271. msgstr ""
  18272. #. type: item
  18273. #: guix-git/doc/guix.texi:12604
  18274. #, no-wrap
  18275. msgid "--port=@var{port}"
  18276. msgstr "--port=@var{porta}"
  18277. #. type: itemx
  18278. #: guix-git/doc/guix.texi:12605
  18279. #, no-wrap
  18280. msgid "-p @var{port}"
  18281. msgstr "-p @var{porta}"
  18282. #. type: table
  18283. #: guix-git/doc/guix.texi:12607
  18284. msgid "Listen for HTTP requests on @var{port}."
  18285. msgstr "Ouve requisições HTTP na @var{porta}."
  18286. #. type: item
  18287. #: guix-git/doc/guix.texi:12608
  18288. #, no-wrap
  18289. msgid "--listen=@var{host}"
  18290. msgstr ""
  18291. #. type: table
  18292. #: guix-git/doc/guix.texi:12611
  18293. msgid "Listen on the network interface for @var{host}. The default is to accept connections from any interface."
  18294. msgstr ""
  18295. #. type: table
  18296. #: guix-git/doc/guix.texi:12616
  18297. 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."
  18298. msgstr ""
  18299. #. type: item
  18300. #: guix-git/doc/guix.texi:12617
  18301. #, no-wrap
  18302. msgid "--compression[=@var{method}[:@var{level}]]"
  18303. msgstr ""
  18304. #. type: itemx
  18305. #: guix-git/doc/guix.texi:12618
  18306. #, no-wrap
  18307. msgid "-C [@var{method}[:@var{level}]]"
  18308. msgstr ""
  18309. #. type: table
  18310. #: guix-git/doc/guix.texi:12622
  18311. 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."
  18312. msgstr ""
  18313. #. type: table
  18314. #: guix-git/doc/guix.texi:12626
  18315. 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."
  18316. msgstr ""
  18317. #. type: table
  18318. #: guix-git/doc/guix.texi:12633
  18319. 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."
  18320. msgstr ""
  18321. #. type: table
  18322. #: guix-git/doc/guix.texi:12637
  18323. 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}."
  18324. msgstr ""
  18325. #. type: table
  18326. #: guix-git/doc/guix.texi:12646
  18327. 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."
  18328. msgstr ""
  18329. #. type: table
  18330. #: guix-git/doc/guix.texi:12651
  18331. 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."
  18332. msgstr ""
  18333. #. type: item
  18334. #: guix-git/doc/guix.texi:12652
  18335. #, no-wrap
  18336. msgid "--cache=@var{directory}"
  18337. msgstr ""
  18338. #. type: itemx
  18339. #: guix-git/doc/guix.texi:12653
  18340. #, no-wrap
  18341. msgid "-c @var{directory}"
  18342. msgstr ""
  18343. #. type: table
  18344. #: guix-git/doc/guix.texi:12656
  18345. msgid "Cache archives and meta-data (@code{.narinfo} URLs) to @var{directory} and only serve archives that are in cache."
  18346. msgstr ""
  18347. #. type: table
  18348. #: guix-git/doc/guix.texi:12664
  18349. 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."
  18350. msgstr ""
  18351. #. type: table
  18352. #: guix-git/doc/guix.texi:12672
  18353. 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."
  18354. msgstr ""
  18355. #. type: table
  18356. #: guix-git/doc/guix.texi:12679
  18357. 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."
  18358. msgstr ""
  18359. #. type: table
  18360. #: guix-git/doc/guix.texi:12683
  18361. 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."
  18362. msgstr ""
  18363. #. type: table
  18364. #: guix-git/doc/guix.texi:12686
  18365. msgid "When @option{--ttl} is used, cached entries are automatically deleted when they have expired."
  18366. msgstr ""
  18367. #. type: item
  18368. #: guix-git/doc/guix.texi:12687
  18369. #, no-wrap
  18370. msgid "--workers=@var{N}"
  18371. msgstr "--workers=@var{N}"
  18372. #. type: table
  18373. #: guix-git/doc/guix.texi:12690
  18374. msgid "When @option{--cache} is used, request the allocation of @var{N} worker threads to ``bake'' archives."
  18375. msgstr ""
  18376. #. type: item
  18377. #: guix-git/doc/guix.texi:12691
  18378. #, no-wrap
  18379. msgid "--ttl=@var{ttl}"
  18380. msgstr ""
  18381. #. type: table
  18382. #: guix-git/doc/guix.texi:12695
  18383. 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."
  18384. msgstr ""
  18385. #. type: table
  18386. #: guix-git/doc/guix.texi:12700
  18387. 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}."
  18388. msgstr ""
  18389. #. type: table
  18390. #: guix-git/doc/guix.texi:12704
  18391. 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."
  18392. msgstr ""
  18393. #. type: item
  18394. #: guix-git/doc/guix.texi:12705
  18395. #, no-wrap
  18396. msgid "--cache-bypass-threshold=@var{size}"
  18397. msgstr ""
  18398. #. type: table
  18399. #: guix-git/doc/guix.texi:12710
  18400. 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}."
  18401. msgstr ""
  18402. #. type: table
  18403. #: guix-git/doc/guix.texi:12715
  18404. 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."
  18405. msgstr ""
  18406. #. type: table
  18407. #: guix-git/doc/guix.texi:12719
  18408. 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."
  18409. msgstr ""
  18410. #. type: item
  18411. #: guix-git/doc/guix.texi:12720
  18412. #, no-wrap
  18413. msgid "--nar-path=@var{path}"
  18414. msgstr ""
  18415. #. type: table
  18416. #: guix-git/doc/guix.texi:12723
  18417. msgid "Use @var{path} as the prefix for the URLs of ``nar'' files (@pxref{Invoking guix archive, normalized archives})."
  18418. msgstr ""
  18419. #. type: table
  18420. #: guix-git/doc/guix.texi:12727
  18421. 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}."
  18422. msgstr ""
  18423. #. type: item
  18424. #: guix-git/doc/guix.texi:12728
  18425. #, no-wrap
  18426. msgid "--public-key=@var{file}"
  18427. msgstr ""
  18428. #. type: itemx
  18429. #: guix-git/doc/guix.texi:12729
  18430. #, no-wrap
  18431. msgid "--private-key=@var{file}"
  18432. msgstr ""
  18433. #. type: table
  18434. #: guix-git/doc/guix.texi:12732 guix-git/doc/guix.texi:27359
  18435. #: guix-git/doc/guix.texi:27393
  18436. msgid "Use the specific @var{file}s as the public/private key pair used to sign the store items being published."
  18437. msgstr ""
  18438. #. type: table
  18439. #: guix-git/doc/guix.texi:12739
  18440. 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."
  18441. msgstr ""
  18442. #. type: item
  18443. #: guix-git/doc/guix.texi:12740
  18444. #, no-wrap
  18445. msgid "--repl[=@var{port}]"
  18446. msgstr ""
  18447. #. type: itemx
  18448. #: guix-git/doc/guix.texi:12741
  18449. #, no-wrap
  18450. msgid "-r [@var{port}]"
  18451. msgstr "-r [@var{porta}]"
  18452. #. type: table
  18453. #: guix-git/doc/guix.texi:12745
  18454. 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."
  18455. msgstr ""
  18456. #. type: Plain text
  18457. #: guix-git/doc/guix.texi:12751
  18458. 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}})."
  18459. msgstr ""
  18460. #. type: Plain text
  18461. #: guix-git/doc/guix.texi:12754
  18462. msgid "If you are instead running Guix on a ``foreign distro'', follow these instructions:"
  18463. msgstr ""
  18464. #. type: itemize
  18465. #: guix-git/doc/guix.texi:12758
  18466. msgid "If your host distro uses the systemd init system:"
  18467. msgstr ""
  18468. #. type: example
  18469. #: guix-git/doc/guix.texi:12763
  18470. #, no-wrap
  18471. msgid ""
  18472. "# ln -s ~root/.guix-profile/lib/systemd/system/guix-publish.service \\\n"
  18473. " /etc/systemd/system/\n"
  18474. "# systemctl start guix-publish && systemctl enable guix-publish\n"
  18475. msgstr ""
  18476. #. type: example
  18477. #: guix-git/doc/guix.texi:12771
  18478. #, no-wrap
  18479. msgid ""
  18480. "# ln -s ~root/.guix-profile/lib/upstart/system/guix-publish.conf /etc/init/\n"
  18481. "# start guix-publish\n"
  18482. msgstr ""
  18483. #. type: itemize
  18484. #: guix-git/doc/guix.texi:12775
  18485. msgid "Otherwise, proceed similarly with your distro's init system."
  18486. msgstr ""
  18487. #. type: section
  18488. #: guix-git/doc/guix.texi:12778
  18489. #, no-wrap
  18490. msgid "Invoking @command{guix challenge}"
  18491. msgstr "Invocando @command{guix challenge}"
  18492. #. type: cindex
  18493. #: guix-git/doc/guix.texi:12781
  18494. #, no-wrap
  18495. msgid "verifiable builds"
  18496. msgstr ""
  18497. #. type: command{#1}
  18498. #: guix-git/doc/guix.texi:12782
  18499. #, no-wrap
  18500. msgid "guix challenge"
  18501. msgstr ""
  18502. #. type: cindex
  18503. #: guix-git/doc/guix.texi:12783
  18504. #, no-wrap
  18505. msgid "challenge"
  18506. msgstr ""
  18507. #. type: Plain text
  18508. #: guix-git/doc/guix.texi:12788
  18509. 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."
  18510. msgstr ""
  18511. #. type: Plain text
  18512. #: guix-git/doc/guix.texi:12796
  18513. 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."
  18514. msgstr ""
  18515. #. type: Plain text
  18516. #: guix-git/doc/guix.texi:12805
  18517. 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."
  18518. msgstr ""
  18519. #. type: Plain text
  18520. #: guix-git/doc/guix.texi:12807
  18521. msgid "The command output looks like this:"
  18522. msgstr ""
  18523. #. type: smallexample
  18524. #: guix-git/doc/guix.texi:12819
  18525. #, no-wrap
  18526. msgid ""
  18527. "$ guix challenge --substitute-urls=\"https://@value{SUBSTITUTE-SERVER} https://guix.example.org\"\n"
  18528. "updating list of substitutes from 'https://@value{SUBSTITUTE-SERVER}'... 100.0%\n"
  18529. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  18530. "/gnu/store/@dots{}-openssl-1.0.2d contents differ:\n"
  18531. " local hash: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  18532. " https://@value{SUBSTITUTE-SERVER}/nar/@dots{}-openssl-1.0.2d: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  18533. " https://guix.example.org/nar/@dots{}-openssl-1.0.2d: 1zy4fmaaqcnjrzzajkdn3f5gmjk754b43qkq47llbyak9z0qjyim\n"
  18534. " differing files:\n"
  18535. " /lib/libcrypto.so.1.1\n"
  18536. " /lib/libssl.so.1.1\n"
  18537. "\n"
  18538. msgstr ""
  18539. #. type: smallexample
  18540. #: guix-git/doc/guix.texi:12826
  18541. #, no-wrap
  18542. msgid ""
  18543. "/gnu/store/@dots{}-git-2.5.0 contents differ:\n"
  18544. " local hash: 00p3bmryhjxrhpn2gxs2fy0a15lnip05l97205pgbk5ra395hyha\n"
  18545. " https://@value{SUBSTITUTE-SERVER}/nar/@dots{}-git-2.5.0: 069nb85bv4d4a6slrwjdy8v1cn4cwspm3kdbmyb81d6zckj3nq9f\n"
  18546. " https://guix.example.org/nar/@dots{}-git-2.5.0: 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73\n"
  18547. " differing file:\n"
  18548. " /libexec/git-core/git-fsck\n"
  18549. "\n"
  18550. msgstr ""
  18551. #. type: smallexample
  18552. #: guix-git/doc/guix.texi:12833
  18553. #, no-wrap
  18554. msgid ""
  18555. "/gnu/store/@dots{}-pius-2.1.1 contents differ:\n"
  18556. " local hash: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  18557. " https://@value{SUBSTITUTE-SERVER}/nar/@dots{}-pius-2.1.1: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  18558. " https://guix.example.org/nar/@dots{}-pius-2.1.1: 1cy25x1a4fzq5rk0pmvc8xhwyffnqz95h2bpvqsz2mpvlbccy0gs\n"
  18559. " differing file:\n"
  18560. " /share/man/man1/pius.1.gz\n"
  18561. "\n"
  18562. msgstr ""
  18563. #. type: smallexample
  18564. #: guix-git/doc/guix.texi:12835
  18565. #, no-wrap
  18566. msgid ""
  18567. "@dots{}\n"
  18568. "\n"
  18569. msgstr ""
  18570. #. type: smallexample
  18571. #: guix-git/doc/guix.texi:12840
  18572. #, no-wrap
  18573. msgid ""
  18574. "6,406 store items were analyzed:\n"
  18575. " - 4,749 (74.1%) were identical\n"
  18576. " - 525 (8.2%) differed\n"
  18577. " - 1,132 (17.7%) were inconclusive\n"
  18578. msgstr ""
  18579. #. type: Plain text
  18580. #: guix-git/doc/guix.texi:12848
  18581. 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."
  18582. msgstr ""
  18583. #. type: cindex
  18584. #: guix-git/doc/guix.texi:12849
  18585. #, no-wrap
  18586. msgid "non-determinism, in package builds"
  18587. msgstr ""
  18588. #. type: Plain text
  18589. #: guix-git/doc/guix.texi:12860
  18590. msgid "As an example, @code{guix.example.org} always gets a different answer. Conversely, @code{@value{SUBSTITUTE-SERVER}} 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."
  18591. msgstr ""
  18592. #. type: Plain text
  18593. #: guix-git/doc/guix.texi:12863
  18594. msgid "To find out what is wrong with this Git binary, the easiest approach is to run:"
  18595. msgstr ""
  18596. #. type: example
  18597. #: guix-git/doc/guix.texi:12868
  18598. #, no-wrap
  18599. msgid ""
  18600. "guix challenge git \\\n"
  18601. " --diff=diffoscope \\\n"
  18602. " --substitute-urls=\"https://@value{SUBSTITUTE-SERVER} https://guix.example.org\"\n"
  18603. msgstr ""
  18604. #. type: Plain text
  18605. #: guix-git/doc/guix.texi:12872
  18606. msgid "This automatically invokes @command{diffoscope}, which displays detailed information about files that differ."
  18607. msgstr ""
  18608. #. type: Plain text
  18609. #: guix-git/doc/guix.texi:12875
  18610. msgid "Alternatively, we can do something along these lines (@pxref{Invoking guix archive}):"
  18611. msgstr ""
  18612. #. type: example
  18613. #: guix-git/doc/guix.texi:12880
  18614. #, no-wrap
  18615. msgid ""
  18616. "$ wget -q -O - https://@value{SUBSTITUTE-SERVER}/nar/lzip/@dots{}-git-2.5.0 \\\n"
  18617. " | lzip -d | guix archive -x /tmp/git\n"
  18618. "$ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git\n"
  18619. msgstr ""
  18620. #. type: Plain text
  18621. #: guix-git/doc/guix.texi:12889
  18622. 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}} (@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."
  18623. msgstr ""
  18624. #. type: Plain text
  18625. #: guix-git/doc/guix.texi:12897
  18626. 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."
  18627. msgstr ""
  18628. #. type: Plain text
  18629. #: guix-git/doc/guix.texi:12901
  18630. msgid "If you are writing packages for Guix, you are encouraged to check whether @code{@value{SUBSTITUTE-SERVER}} and other substitute servers obtain the same build result as you did with:"
  18631. msgstr ""
  18632. #. type: example
  18633. #: guix-git/doc/guix.texi:12904
  18634. #, no-wrap
  18635. msgid "$ guix challenge @var{package}\n"
  18636. msgstr ""
  18637. #. type: Plain text
  18638. #: guix-git/doc/guix.texi:12909
  18639. msgid "where @var{package} is a package specification such as @code{guile@@2.0} or @code{glibc:debug}."
  18640. msgstr ""
  18641. #. type: example
  18642. #: guix-git/doc/guix.texi:12914
  18643. #, no-wrap
  18644. msgid "guix challenge @var{options} [@var{packages}@dots{}]\n"
  18645. msgstr ""
  18646. #. type: Plain text
  18647. #: guix-git/doc/guix.texi:12921
  18648. 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)."
  18649. msgstr ""
  18650. #. type: Plain text
  18651. #: guix-git/doc/guix.texi:12923
  18652. msgid "The one option that matters is:"
  18653. msgstr ""
  18654. #. type: table
  18655. #: guix-git/doc/guix.texi:12929
  18656. msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs to compare to."
  18657. msgstr ""
  18658. #. type: item
  18659. #: guix-git/doc/guix.texi:12930
  18660. #, no-wrap
  18661. msgid "--diff=@var{mode}"
  18662. msgstr ""
  18663. #. type: table
  18664. #: guix-git/doc/guix.texi:12932
  18665. msgid "Upon mismatches, show differences according to @var{mode}, one of:"
  18666. msgstr ""
  18667. #. type: item
  18668. #: guix-git/doc/guix.texi:12934
  18669. #, no-wrap
  18670. msgid "@code{simple} (the default)"
  18671. msgstr ""
  18672. #. type: table
  18673. #: guix-git/doc/guix.texi:12936
  18674. msgid "Show the list of files that differ."
  18675. msgstr ""
  18676. #. type: code{#1}
  18677. #: guix-git/doc/guix.texi:12937
  18678. #, no-wrap
  18679. msgid "diffoscope"
  18680. msgstr ""
  18681. #. type: var{#1}
  18682. #: guix-git/doc/guix.texi:12938
  18683. #, no-wrap
  18684. msgid "command"
  18685. msgstr ""
  18686. #. type: table
  18687. #: guix-git/doc/guix.texi:12941
  18688. msgid "Invoke @uref{https://diffoscope.org/, Diffoscope}, passing it two directories whose contents do not match."
  18689. msgstr ""
  18690. #. type: table
  18691. #: guix-git/doc/guix.texi:12944
  18692. msgid "When @var{command} is an absolute file name, run @var{command} instead of Diffoscope."
  18693. msgstr ""
  18694. #. type: item
  18695. #: guix-git/doc/guix.texi:12945 guix-git/doc/guix.texi:16257
  18696. #: guix-git/doc/guix.texi:18246
  18697. #, no-wrap
  18698. msgid "none"
  18699. msgstr "nenhuma"
  18700. #. type: table
  18701. #: guix-git/doc/guix.texi:12947
  18702. msgid "Do not show further details about the differences."
  18703. msgstr ""
  18704. #. type: table
  18705. #: guix-git/doc/guix.texi:12952
  18706. 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."
  18707. msgstr ""
  18708. #. type: item
  18709. #: guix-git/doc/guix.texi:12953
  18710. #, no-wrap
  18711. msgid "--verbose"
  18712. msgstr "--verbose"
  18713. #. type: itemx
  18714. #: guix-git/doc/guix.texi:12954
  18715. #, no-wrap
  18716. msgid "-v"
  18717. msgstr ""
  18718. #. type: table
  18719. #: guix-git/doc/guix.texi:12957
  18720. msgid "Show details about matches (identical contents) in addition to information about mismatches."
  18721. msgstr ""
  18722. #. type: section
  18723. #: guix-git/doc/guix.texi:12961
  18724. #, no-wrap
  18725. msgid "Invoking @command{guix copy}"
  18726. msgstr "Invocando @command{guix copy}"
  18727. #. type: cindex
  18728. #: guix-git/doc/guix.texi:12963
  18729. #, no-wrap
  18730. msgid "copy, of store items, over SSH"
  18731. msgstr ""
  18732. #. type: cindex
  18733. #: guix-git/doc/guix.texi:12964
  18734. #, no-wrap
  18735. msgid "SSH, copy of store items"
  18736. msgstr ""
  18737. #. type: cindex
  18738. #: guix-git/doc/guix.texi:12965
  18739. #, no-wrap
  18740. msgid "sharing store items across machines"
  18741. msgstr ""
  18742. #. type: cindex
  18743. #: guix-git/doc/guix.texi:12966
  18744. #, no-wrap
  18745. msgid "transferring store items across machines"
  18746. msgstr ""
  18747. #. type: Plain text
  18748. #: guix-git/doc/guix.texi:12973
  18749. 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}:"
  18750. msgstr ""
  18751. #. type: example
  18752. #: guix-git/doc/guix.texi:12977
  18753. #, no-wrap
  18754. msgid ""
  18755. "guix copy --to=@var{user}@@@var{host} \\\n"
  18756. " coreutils $(readlink -f ~/.guix-profile)\n"
  18757. msgstr ""
  18758. #. type: Plain text
  18759. #: guix-git/doc/guix.texi:12981
  18760. msgid "If some of the items to be copied are already present on @var{host}, they are not actually sent."
  18761. msgstr ""
  18762. #. type: Plain text
  18763. #: guix-git/doc/guix.texi:12984
  18764. msgid "The command below retrieves @code{libreoffice} and @code{gimp} from @var{host}, assuming they are available there:"
  18765. msgstr ""
  18766. #. type: example
  18767. #: guix-git/doc/guix.texi:12987
  18768. #, no-wrap
  18769. msgid "guix copy --from=@var{host} libreoffice gimp\n"
  18770. msgstr ""
  18771. #. type: Plain text
  18772. #: guix-git/doc/guix.texi:12992
  18773. 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."
  18774. msgstr ""
  18775. #. type: Plain text
  18776. #: guix-git/doc/guix.texi:12998
  18777. 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."
  18778. msgstr ""
  18779. #. type: example
  18780. #: guix-git/doc/guix.texi:13003
  18781. #, no-wrap
  18782. msgid "guix copy [--to=@var{spec}|--from=@var{spec}] @var{items}@dots{}\n"
  18783. msgstr ""
  18784. #. type: Plain text
  18785. #: guix-git/doc/guix.texi:13006
  18786. msgid "You must always specify one of the following options:"
  18787. msgstr ""
  18788. #. type: item
  18789. #: guix-git/doc/guix.texi:13008
  18790. #, no-wrap
  18791. msgid "--to=@var{spec}"
  18792. msgstr ""
  18793. #. type: itemx
  18794. #: guix-git/doc/guix.texi:13009
  18795. #, no-wrap
  18796. msgid "--from=@var{spec}"
  18797. msgstr ""
  18798. #. type: table
  18799. #: guix-git/doc/guix.texi:13013
  18800. 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}."
  18801. msgstr ""
  18802. #. type: Plain text
  18803. #: guix-git/doc/guix.texi:13017
  18804. 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}."
  18805. msgstr ""
  18806. #. type: Plain text
  18807. #: guix-git/doc/guix.texi:13021
  18808. 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})."
  18809. msgstr ""
  18810. #. type: section
  18811. #: guix-git/doc/guix.texi:13024
  18812. #, no-wrap
  18813. msgid "Invoking @command{guix container}"
  18814. msgstr "Invocando @command{guix container}"
  18815. #. type: command{#1}
  18816. #: guix-git/doc/guix.texi:13026
  18817. #, no-wrap
  18818. msgid "guix container"
  18819. msgstr ""
  18820. #. type: quotation
  18821. #: guix-git/doc/guix.texi:13030
  18822. msgid "As of version @value{VERSION}, this tool is experimental. The interface is subject to radical change in the future."
  18823. msgstr ""
  18824. #. type: Plain text
  18825. #: guix-git/doc/guix.texi:13037
  18826. 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."
  18827. msgstr ""
  18828. #. type: example
  18829. #: guix-git/doc/guix.texi:13042
  18830. #, no-wrap
  18831. msgid "guix container @var{action} @var{options}@dots{}\n"
  18832. msgstr ""
  18833. #. type: Plain text
  18834. #: guix-git/doc/guix.texi:13046
  18835. msgid "@var{action} specifies the operation to perform with a container, and @var{options} specifies the context-specific arguments for the action."
  18836. msgstr ""
  18837. #. type: Plain text
  18838. #: guix-git/doc/guix.texi:13048
  18839. msgid "The following actions are available:"
  18840. msgstr ""
  18841. #. type: item
  18842. #: guix-git/doc/guix.texi:13050
  18843. #, no-wrap
  18844. msgid "exec"
  18845. msgstr ""
  18846. #. type: table
  18847. #: guix-git/doc/guix.texi:13052
  18848. msgid "Execute a command within the context of a running container."
  18849. msgstr ""
  18850. #. type: table
  18851. #: guix-git/doc/guix.texi:13054
  18852. msgid "The syntax is:"
  18853. msgstr ""
  18854. #. type: example
  18855. #: guix-git/doc/guix.texi:13057
  18856. #, no-wrap
  18857. msgid "guix container exec @var{pid} @var{program} @var{arguments}@dots{}\n"
  18858. msgstr ""
  18859. #. type: table
  18860. #: guix-git/doc/guix.texi:13063
  18861. 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}."
  18862. msgstr ""
  18863. #. type: table
  18864. #: guix-git/doc/guix.texi:13067
  18865. 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:"
  18866. msgstr ""
  18867. #. type: example
  18868. #: guix-git/doc/guix.texi:13070
  18869. #, no-wrap
  18870. msgid "guix container exec 9001 /run/current-system/profile/bin/bash --login\n"
  18871. msgstr ""
  18872. #. type: table
  18873. #: guix-git/doc/guix.texi:13074
  18874. 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."
  18875. msgstr ""
  18876. #. type: section
  18877. #: guix-git/doc/guix.texi:13078
  18878. #, no-wrap
  18879. msgid "Invoking @command{guix weather}"
  18880. msgstr "Invocando @command{guix weather}"
  18881. #. type: Plain text
  18882. #: guix-git/doc/guix.texi:13087
  18883. 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})."
  18884. msgstr ""
  18885. #. type: cindex
  18886. #: guix-git/doc/guix.texi:13088
  18887. #, no-wrap
  18888. msgid "statistics, for substitutes"
  18889. msgstr ""
  18890. #. type: cindex
  18891. #: guix-git/doc/guix.texi:13089
  18892. #, no-wrap
  18893. msgid "availability of substitutes"
  18894. msgstr ""
  18895. #. type: cindex
  18896. #: guix-git/doc/guix.texi:13090
  18897. #, no-wrap
  18898. msgid "substitute availability"
  18899. msgstr ""
  18900. #. type: cindex
  18901. #: guix-git/doc/guix.texi:13091
  18902. #, no-wrap
  18903. msgid "weather, substitute availability"
  18904. msgstr ""
  18905. #. type: Plain text
  18906. #: guix-git/doc/guix.texi:13093
  18907. msgid "Here's a sample run:"
  18908. msgstr ""
  18909. #. type: example
  18910. #: guix-git/doc/guix.texi:13105
  18911. #, no-wrap
  18912. msgid ""
  18913. "$ guix weather --substitute-urls=https://guix.example.org\n"
  18914. "computing 5,872 package derivations for x86_64-linux...\n"
  18915. "looking for 6,128 store items on https://guix.example.org..\n"
  18916. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  18917. "https://guix.example.org\n"
  18918. " 43.4% substitutes available (2,658 out of 6,128)\n"
  18919. " 7,032.5 MiB of nars (compressed)\n"
  18920. " 19,824.2 MiB on disk (uncompressed)\n"
  18921. " 0.030 seconds per request (182.9 seconds in total)\n"
  18922. " 33.5 requests per second\n"
  18923. "\n"
  18924. msgstr ""
  18925. #. type: example
  18926. #: guix-git/doc/guix.texi:13115
  18927. #, no-wrap
  18928. msgid ""
  18929. " 9.8% (342 out of 3,470) of the missing items are queued\n"
  18930. " 867 queued builds\n"
  18931. " x86_64-linux: 518 (59.7%)\n"
  18932. " i686-linux: 221 (25.5%)\n"
  18933. " aarch64-linux: 128 (14.8%)\n"
  18934. " build rate: 23.41 builds per hour\n"
  18935. " x86_64-linux: 11.16 builds per hour\n"
  18936. " i686-linux: 6.03 builds per hour\n"
  18937. " aarch64-linux: 6.41 builds per hour\n"
  18938. msgstr ""
  18939. #. type: cindex
  18940. #: guix-git/doc/guix.texi:13117
  18941. #, no-wrap
  18942. msgid "continuous integration, statistics"
  18943. msgstr ""
  18944. #. type: Plain text
  18945. #: guix-git/doc/guix.texi:13128
  18946. 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)."
  18947. msgstr ""
  18948. #. type: Plain text
  18949. #: guix-git/doc/guix.texi:13134
  18950. 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."
  18951. msgstr ""
  18952. #. type: example
  18953. #: guix-git/doc/guix.texi:13139
  18954. #, no-wrap
  18955. msgid "guix weather @var{options}@dots{} [@var{packages}@dots{}]\n"
  18956. msgstr ""
  18957. #. type: Plain text
  18958. #: guix-git/doc/guix.texi:13147
  18959. 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%."
  18960. msgstr ""
  18961. #. type: Plain text
  18962. #: guix-git/doc/guix.texi:13149
  18963. msgid "The available options are listed below."
  18964. msgstr ""
  18965. #. type: table
  18966. #: guix-git/doc/guix.texi:13155
  18967. 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."
  18968. msgstr ""
  18969. #. type: table
  18970. #: guix-git/doc/guix.texi:13161
  18971. 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."
  18972. msgstr ""
  18973. #. type: table
  18974. #: guix-git/doc/guix.texi:13167
  18975. 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})."
  18976. msgstr ""
  18977. #. type: table
  18978. #: guix-git/doc/guix.texi:13170
  18979. msgid "This option can be repeated several times, in which case the manifests are concatenated."
  18980. msgstr ""
  18981. #. type: item
  18982. #: guix-git/doc/guix.texi:13171
  18983. #, no-wrap
  18984. msgid "--coverage[=@var{count}]"
  18985. msgstr "--coverage[=@var{contagem}]"
  18986. #. type: itemx
  18987. #: guix-git/doc/guix.texi:13172
  18988. #, no-wrap
  18989. msgid "-c [@var{count}]"
  18990. msgstr "-c [@var{contagem}]"
  18991. #. type: table
  18992. #: guix-git/doc/guix.texi:13178
  18993. 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:"
  18994. msgstr ""
  18995. #. type: example
  18996. #: guix-git/doc/guix.texi:13192
  18997. #, no-wrap
  18998. msgid ""
  18999. "$ guix weather --substitute-urls=@value{SUBSTITUTE-URL} -c 10\n"
  19000. "computing 8,983 package derivations for x86_64-linux...\n"
  19001. "looking for 9,343 store items on @value{SUBSTITUTE-URL}...\n"
  19002. "updating substitutes from '@value{SUBSTITUTE-URL}'... 100.0%\n"
  19003. "@value{SUBSTITUTE-URL}\n"
  19004. " 64.7% substitutes available (6,047 out of 9,343)\n"
  19005. "@dots{}\n"
  19006. "2502 packages are missing from '@value{SUBSTITUTE-URL}' for 'x86_64-linux', among which:\n"
  19007. " 58 kcoreaddons@@5.49.0 /gnu/store/@dots{}-kcoreaddons-5.49.0\n"
  19008. " 46 qgpgme@@1.11.1 /gnu/store/@dots{}-qgpgme-1.11.1\n"
  19009. " 37 perl-http-cookiejar@@0.008 /gnu/store/@dots{}-perl-http-cookiejar-0.008\n"
  19010. " @dots{}\n"
  19011. msgstr ""
  19012. #. type: table
  19013. #: guix-git/doc/guix.texi:13198
  19014. 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}}; likewise for @code{qgpgme} and the 46 packages that depend on it."
  19015. msgstr ""
  19016. #. type: table
  19017. #: guix-git/doc/guix.texi:13202
  19018. 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."
  19019. msgstr ""
  19020. #. type: item
  19021. #: guix-git/doc/guix.texi:13203
  19022. #, no-wrap
  19023. msgid "--display-missing"
  19024. msgstr ""
  19025. #. type: table
  19026. #: guix-git/doc/guix.texi:13205
  19027. msgid "Display the list of store items for which substitutes are missing."
  19028. msgstr ""
  19029. #. type: section
  19030. #: guix-git/doc/guix.texi:13208
  19031. #, no-wrap
  19032. msgid "Invoking @command{guix processes}"
  19033. msgstr "Invocando @command{guix processes}"
  19034. #. type: Plain text
  19035. #: guix-git/doc/guix.texi:13216
  19036. 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:"
  19037. msgstr ""
  19038. #. type: example
  19039. #: guix-git/doc/guix.texi:13222
  19040. #, no-wrap
  19041. msgid ""
  19042. "$ sudo guix processes\n"
  19043. "SessionPID: 19002\n"
  19044. "ClientPID: 19090\n"
  19045. "ClientCommand: guix environment --ad-hoc python\n"
  19046. "\n"
  19047. msgstr ""
  19048. #. type: example
  19049. #: guix-git/doc/guix.texi:13226
  19050. #, no-wrap
  19051. msgid ""
  19052. "SessionPID: 19402\n"
  19053. "ClientPID: 19367\n"
  19054. "ClientCommand: guix publish -u guix-publish -p 3000 -C 9 @dots{}\n"
  19055. "\n"
  19056. msgstr ""
  19057. #. type: example
  19058. #: guix-git/doc/guix.texi:13239
  19059. #, no-wrap
  19060. msgid ""
  19061. "SessionPID: 19444\n"
  19062. "ClientPID: 19419\n"
  19063. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  19064. "LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock\n"
  19065. "LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock\n"
  19066. "LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock\n"
  19067. "ChildPID: 20495\n"
  19068. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  19069. "ChildPID: 27733\n"
  19070. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  19071. "ChildPID: 27793\n"
  19072. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  19073. msgstr ""
  19074. #. type: Plain text
  19075. #: guix-git/doc/guix.texi:13246
  19076. 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."
  19077. msgstr ""
  19078. #. type: Plain text
  19079. #: guix-git/doc/guix.texi:13253
  19080. 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})."
  19081. msgstr ""
  19082. #. type: Plain text
  19083. #: guix-git/doc/guix.texi:13258
  19084. 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:"
  19085. msgstr ""
  19086. #. type: example
  19087. #: guix-git/doc/guix.texi:13264
  19088. #, no-wrap
  19089. msgid ""
  19090. "$ sudo guix processes | \\\n"
  19091. " recsel -p ClientPID,ClientCommand -e 'LockHeld ~ \"perl\"'\n"
  19092. "ClientPID: 19419\n"
  19093. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  19094. msgstr ""
  19095. #. type: Plain text
  19096. #: guix-git/doc/guix.texi:13267
  19097. msgid "Additional options are listed below."
  19098. msgstr ""
  19099. #. type: table
  19100. #: guix-git/doc/guix.texi:13277
  19101. msgid "The default option. It outputs a set of Session recutils records that include each @code{ChildProcess} as a field."
  19102. msgstr ""
  19103. #. type: item
  19104. #: guix-git/doc/guix.texi:13278
  19105. #, no-wrap
  19106. msgid "normalized"
  19107. msgstr ""
  19108. #. type: table
  19109. #: guix-git/doc/guix.texi:13285
  19110. 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}."
  19111. msgstr ""
  19112. #. type: example
  19113. #: guix-git/doc/guix.texi:13295
  19114. #, no-wrap
  19115. msgid ""
  19116. "$ guix processes --format=normalized | \\\n"
  19117. " recsel \\\n"
  19118. " -j Session \\\n"
  19119. " -t ChildProcess \\\n"
  19120. " -p Session.PID,PID \\\n"
  19121. " -e 'Session.ClientCommand ~ \"guix build\"'\n"
  19122. "PID: 4435\n"
  19123. "Session_PID: 4278\n"
  19124. "\n"
  19125. msgstr ""
  19126. #. type: example
  19127. #: guix-git/doc/guix.texi:13298
  19128. #, no-wrap
  19129. msgid ""
  19130. "PID: 4554\n"
  19131. "Session_PID: 4278\n"
  19132. "\n"
  19133. msgstr ""
  19134. #. type: example
  19135. #: guix-git/doc/guix.texi:13301
  19136. #, no-wrap
  19137. msgid ""
  19138. "PID: 4646\n"
  19139. "Session_PID: 4278\n"
  19140. msgstr ""
  19141. #. type: cindex
  19142. #: guix-git/doc/guix.texi:13308
  19143. #, no-wrap
  19144. msgid "system configuration"
  19145. msgstr ""
  19146. #. type: Plain text
  19147. #: guix-git/doc/guix.texi:13314
  19148. 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."
  19149. msgstr ""
  19150. #. type: Plain text
  19151. #: guix-git/doc/guix.texi:13324
  19152. 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."
  19153. msgstr ""
  19154. #. type: Plain text
  19155. #: guix-git/doc/guix.texi:13329
  19156. 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."
  19157. msgstr ""
  19158. #. type: Plain text
  19159. #: guix-git/doc/guix.texi:13358
  19160. 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:"
  19161. msgstr ""
  19162. #. type: code{#1}
  19163. #: guix-git/doc/guix.texi:13359 guix-git/doc/guix.texi:33410
  19164. #, no-wrap
  19165. msgid "operating-system"
  19166. msgstr "sistema operacional"
  19167. #. type: include
  19168. #: guix-git/doc/guix.texi:13361
  19169. #, no-wrap
  19170. msgid "os-config-bare-bones.texi"
  19171. msgstr "os-config-bare-bones.texi"
  19172. #. type: Plain text
  19173. #: guix-git/doc/guix.texi:13368
  19174. 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."
  19175. 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."
  19176. #. type: Plain text
  19177. #: guix-git/doc/guix.texi:13373
  19178. 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}."
  19179. msgstr ""
  19180. #. type: unnumberedsubsec
  19181. #: guix-git/doc/guix.texi:13374
  19182. #, no-wrap
  19183. msgid "Bootloader"
  19184. msgstr ""
  19185. #. type: cindex
  19186. #: guix-git/doc/guix.texi:13376
  19187. #, no-wrap
  19188. msgid "legacy boot, on Intel machines"
  19189. msgstr ""
  19190. #. type: cindex
  19191. #: guix-git/doc/guix.texi:13377
  19192. #, no-wrap
  19193. msgid "BIOS boot, on Intel machines"
  19194. msgstr ""
  19195. #. type: cindex
  19196. #: guix-git/doc/guix.texi:13378
  19197. #, no-wrap
  19198. msgid "UEFI boot"
  19199. msgstr ""
  19200. #. type: cindex
  19201. #: guix-git/doc/guix.texi:13379
  19202. #, no-wrap
  19203. msgid "EFI boot"
  19204. msgstr ""
  19205. #. type: Plain text
  19206. #: guix-git/doc/guix.texi:13385
  19207. 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:"
  19208. msgstr ""
  19209. #. type: lisp
  19210. #: guix-git/doc/guix.texi:13390
  19211. #, no-wrap
  19212. msgid ""
  19213. "(bootloader-configuration\n"
  19214. " (bootloader grub-efi-bootloader)\n"
  19215. " (target \"/boot/efi\"))\n"
  19216. msgstr ""
  19217. #. type: Plain text
  19218. #: guix-git/doc/guix.texi:13394
  19219. msgid "@xref{Bootloader Configuration}, for more information on the available configuration options."
  19220. msgstr ""
  19221. #. type: unnumberedsubsec
  19222. #: guix-git/doc/guix.texi:13395
  19223. #, no-wrap
  19224. msgid "Globally-Visible Packages"
  19225. msgstr ""
  19226. #. type: vindex
  19227. #: guix-git/doc/guix.texi:13397
  19228. #, no-wrap
  19229. msgid "%base-packages"
  19230. msgstr ""
  19231. #. type: Plain text
  19232. #: guix-git/doc/guix.texi:13410
  19233. 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 GNU Zile 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:"
  19234. msgstr ""
  19235. #. type: lisp
  19236. #: guix-git/doc/guix.texi:13414
  19237. #, no-wrap
  19238. msgid ""
  19239. "(use-modules (gnu packages))\n"
  19240. "(use-modules (gnu packages dns))\n"
  19241. "\n"
  19242. msgstr ""
  19243. #. type: lisp
  19244. #: guix-git/doc/guix.texi:13419
  19245. #, no-wrap
  19246. msgid ""
  19247. "(operating-system\n"
  19248. " ;; ...\n"
  19249. " (packages (cons (list bind \"utils\")\n"
  19250. " %base-packages)))\n"
  19251. msgstr ""
  19252. #. type: findex
  19253. #: guix-git/doc/guix.texi:13421
  19254. #, no-wrap
  19255. msgid "specification->package"
  19256. msgstr ""
  19257. #. type: Plain text
  19258. #: guix-git/doc/guix.texi:13430
  19259. msgid "Referring to packages by variable name, like @code{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:"
  19260. msgstr ""
  19261. #. type: lisp
  19262. #: guix-git/doc/guix.texi:13433
  19263. #, no-wrap
  19264. msgid ""
  19265. "(use-modules (gnu packages))\n"
  19266. "\n"
  19267. msgstr ""
  19268. #. type: lisp
  19269. #: guix-git/doc/guix.texi:13439
  19270. #, no-wrap
  19271. msgid ""
  19272. "(operating-system\n"
  19273. " ;; ...\n"
  19274. " (packages (append (map specification->package\n"
  19275. " '(\"tcpdump\" \"htop\" \"gnupg@@2.0\"))\n"
  19276. " %base-packages)))\n"
  19277. msgstr ""
  19278. #. type: unnumberedsubsec
  19279. #: guix-git/doc/guix.texi:13441
  19280. #, no-wrap
  19281. msgid "System Services"
  19282. msgstr ""
  19283. #. type: cindex
  19284. #: guix-git/doc/guix.texi:13443 guix-git/doc/guix.texi:32193
  19285. #: guix-git/doc/guix.texi:33635
  19286. #, no-wrap
  19287. msgid "services"
  19288. msgstr ""
  19289. #. type: vindex
  19290. #: guix-git/doc/guix.texi:13444
  19291. #, no-wrap
  19292. msgid "%base-services"
  19293. msgstr ""
  19294. #. type: Plain text
  19295. #: guix-git/doc/guix.texi:13454
  19296. 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})."
  19297. msgstr ""
  19298. #. type: cindex
  19299. #: guix-git/doc/guix.texi:13455
  19300. #, no-wrap
  19301. msgid "customization, of services"
  19302. msgstr ""
  19303. #. type: findex
  19304. #: guix-git/doc/guix.texi:13456
  19305. #, no-wrap
  19306. msgid "modify-services"
  19307. msgstr ""
  19308. #. type: Plain text
  19309. #: guix-git/doc/guix.texi:13460
  19310. 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."
  19311. msgstr ""
  19312. #. type: Plain text
  19313. #: guix-git/doc/guix.texi:13465
  19314. 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:"
  19315. msgstr ""
  19316. #. type: lisp
  19317. #: guix-git/doc/guix.texi:13482
  19318. #, no-wrap
  19319. msgid ""
  19320. "(define %my-services\n"
  19321. " ;; My very own list of services.\n"
  19322. " (modify-services %base-services\n"
  19323. " (guix-service-type config =>\n"
  19324. " (guix-configuration\n"
  19325. " (inherit config)\n"
  19326. " ;; Fetch substitutes from example.org.\n"
  19327. " (substitute-urls\n"
  19328. " (list \"https://example.org/guix\"\n"
  19329. " \"https://ci.guix.gnu.org\"))))\n"
  19330. " (mingetty-service-type config =>\n"
  19331. " (mingetty-configuration\n"
  19332. " (inherit config)\n"
  19333. " ;; Automatially log in as \"guest\".\n"
  19334. " (auto-login \"guest\")))))\n"
  19335. "\n"
  19336. msgstr ""
  19337. #. type: lisp
  19338. #: guix-git/doc/guix.texi:13486
  19339. #, no-wrap
  19340. msgid ""
  19341. "(operating-system\n"
  19342. " ;; @dots{}\n"
  19343. " (services %my-services))\n"
  19344. msgstr ""
  19345. #. type: Plain text
  19346. #: guix-git/doc/guix.texi:13497
  19347. 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. 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."
  19348. msgstr ""
  19349. #. type: Plain text
  19350. #: guix-git/doc/guix.texi:13504
  19351. 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:"
  19352. msgstr ""
  19353. #. type: include
  19354. #: guix-git/doc/guix.texi:13506
  19355. #, no-wrap
  19356. msgid "os-config-desktop.texi"
  19357. msgstr "os-config-desktop.texi"
  19358. #. type: Plain text
  19359. #: guix-git/doc/guix.texi:13511
  19360. msgid "A graphical system with a choice of lightweight window managers instead of full-blown desktop environments would look like this:"
  19361. 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:"
  19362. #. type: include
  19363. #: guix-git/doc/guix.texi:13513
  19364. #, no-wrap
  19365. msgid "os-config-lightweight-desktop.texi"
  19366. msgstr "os-config-lightweight-desktop.texi"
  19367. #. type: Plain text
  19368. #: guix-git/doc/guix.texi:13519
  19369. 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."
  19370. 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}."
  19371. #. type: Plain text
  19372. #: guix-git/doc/guix.texi:13523
  19373. 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."
  19374. msgstr ""
  19375. #. type: Plain text
  19376. #: guix-git/doc/guix.texi:13530
  19377. 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:"
  19378. msgstr ""
  19379. #. type: lisp
  19380. #: guix-git/doc/guix.texi:13535
  19381. #, no-wrap
  19382. msgid ""
  19383. "(remove (lambda (service)\n"
  19384. " (eq? (service-kind service) avahi-service-type))\n"
  19385. " %desktop-services)\n"
  19386. msgstr ""
  19387. #. type: Plain text
  19388. #: guix-git/doc/guix.texi:13538
  19389. msgid "Alternatively, the @code{modify-services} macro can be used:"
  19390. msgstr ""
  19391. #. type: lisp
  19392. #: guix-git/doc/guix.texi:13542
  19393. #, no-wrap
  19394. msgid ""
  19395. "(modify-services %desktop-services\n"
  19396. " (delete avahi-service-type))\n"
  19397. msgstr ""
  19398. #. type: unnumberedsubsec
  19399. #: guix-git/doc/guix.texi:13545
  19400. #, no-wrap
  19401. msgid "Instantiating the System"
  19402. msgstr ""
  19403. #. type: Plain text
  19404. #: guix-git/doc/guix.texi:13552
  19405. 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})."
  19406. msgstr ""
  19407. #. type: Plain text
  19408. #: guix-git/doc/guix.texi:13560
  19409. 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."
  19410. msgstr ""
  19411. #. type: cindex
  19412. #: guix-git/doc/guix.texi:13561
  19413. #, no-wrap
  19414. msgid "roll-back, of the operating system"
  19415. msgstr ""
  19416. #. type: Plain text
  19417. #: guix-git/doc/guix.texi:13571
  19418. 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}."
  19419. msgstr ""
  19420. #. type: Plain text
  19421. #: guix-git/doc/guix.texi:13577
  19422. 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})."
  19423. msgstr ""
  19424. #. type: unnumberedsubsec
  19425. #: guix-git/doc/guix.texi:13578
  19426. #, no-wrap
  19427. msgid "The Programming Interface"
  19428. msgstr ""
  19429. #. type: Plain text
  19430. #: guix-git/doc/guix.texi:13583
  19431. msgid "At the Scheme level, the bulk of an @code{operating-system} declaration is instantiated with the following monadic procedure (@pxref{The Store Monad}):"
  19432. msgstr ""
  19433. #. type: deffn
  19434. #: guix-git/doc/guix.texi:13584
  19435. #, no-wrap
  19436. msgid "{Monadic Procedure} operating-system-derivation os"
  19437. msgstr ""
  19438. #. type: deffn
  19439. #: guix-git/doc/guix.texi:13587
  19440. msgid "Return a derivation that builds @var{os}, an @code{operating-system} object (@pxref{Derivations})."
  19441. msgstr ""
  19442. #. type: deffn
  19443. #: guix-git/doc/guix.texi:13591
  19444. 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}."
  19445. msgstr ""
  19446. #. type: Plain text
  19447. #: guix-git/doc/guix.texi:13596
  19448. 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!"
  19449. msgstr ""
  19450. #. type: section
  19451. #: guix-git/doc/guix.texi:13599
  19452. #, no-wrap
  19453. msgid "@code{operating-system} Reference"
  19454. msgstr ""
  19455. #. type: Plain text
  19456. #: guix-git/doc/guix.texi:13604
  19457. msgid "This section summarizes all the options available in @code{operating-system} declarations (@pxref{Using the Configuration System})."
  19458. msgstr ""
  19459. #. type: deftp
  19460. #: guix-git/doc/guix.texi:13605
  19461. #, no-wrap
  19462. msgid "{Data Type} operating-system"
  19463. msgstr ""
  19464. #. type: deftp
  19465. #: guix-git/doc/guix.texi:13609
  19466. 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})."
  19467. msgstr ""
  19468. #. type: item
  19469. #: guix-git/doc/guix.texi:13611
  19470. #, no-wrap
  19471. msgid "@code{kernel} (default: @code{linux-libre})"
  19472. msgstr ""
  19473. #. type: table
  19474. #: guix-git/doc/guix.texi:13616
  19475. 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.}."
  19476. msgstr ""
  19477. #. type: code{#1}
  19478. #: guix-git/doc/guix.texi:13617 guix-git/doc/guix.texi:28901
  19479. #, no-wrap
  19480. msgid "hurd"
  19481. msgstr ""
  19482. #. type: item
  19483. #: guix-git/doc/guix.texi:13618
  19484. #, no-wrap
  19485. msgid "@code{hurd} (default: @code{#f})"
  19486. msgstr ""
  19487. #. type: table
  19488. #: guix-git/doc/guix.texi:13623
  19489. 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."
  19490. msgstr ""
  19491. #. type: quotation
  19492. #: guix-git/doc/guix.texi:13626
  19493. msgid "This feature is experimental and only supported for disk images."
  19494. msgstr ""
  19495. #. type: item
  19496. #: guix-git/doc/guix.texi:13628
  19497. #, no-wrap
  19498. msgid "@code{kernel-loadable-modules} (default: '())"
  19499. msgstr ""
  19500. #. type: table
  19501. #: guix-git/doc/guix.texi:13631
  19502. msgid "A list of objects (usually packages) to collect loadable kernel modules from--e.g. @code{(list ddcci-driver-linux)}."
  19503. msgstr ""
  19504. #. type: item
  19505. #: guix-git/doc/guix.texi:13632
  19506. #, no-wrap
  19507. msgid "@code{kernel-arguments} (default: @code{%default-kernel-arguments})"
  19508. msgstr ""
  19509. #. type: table
  19510. #: guix-git/doc/guix.texi:13635
  19511. msgid "List of strings or gexps representing additional arguments to pass on the command-line of the kernel---e.g., @code{(\"console=ttyS0\")}."
  19512. msgstr ""
  19513. #. type: code{#1}
  19514. #: guix-git/doc/guix.texi:13636 guix-git/doc/guix.texi:32406
  19515. #: guix-git/doc/guix.texi:32425
  19516. #, no-wrap
  19517. msgid "bootloader"
  19518. msgstr ""
  19519. #. type: table
  19520. #: guix-git/doc/guix.texi:13638
  19521. msgid "The system bootloader configuration object. @xref{Bootloader Configuration}."
  19522. msgstr ""
  19523. #. type: code{#1}
  19524. #: guix-git/doc/guix.texi:13639 guix-git/doc/guix.texi:32595
  19525. #, no-wrap
  19526. msgid "label"
  19527. msgstr "rótulo"
  19528. #. type: table
  19529. #: guix-git/doc/guix.texi:13642
  19530. 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."
  19531. msgstr ""
  19532. #. type: item
  19533. #: guix-git/doc/guix.texi:13643 guix-git/doc/guix.texi:18070
  19534. #: guix-git/doc/guix.texi:32525
  19535. #, no-wrap
  19536. msgid "@code{keyboard-layout} (default: @code{#f})"
  19537. msgstr "@code{keyboard-layout} (default: @code{#f})"
  19538. #. type: table
  19539. #: guix-git/doc/guix.texi:13648
  19540. 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."
  19541. msgstr ""
  19542. #. type: table
  19543. #: guix-git/doc/guix.texi:13653
  19544. 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})."
  19545. msgstr ""
  19546. #. type: quotation
  19547. #: guix-git/doc/guix.texi:13660
  19548. 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."
  19549. msgstr ""
  19550. #. type: item
  19551. #: guix-git/doc/guix.texi:13662
  19552. #, no-wrap
  19553. msgid "@code{initrd-modules} (default: @code{%base-initrd-modules})"
  19554. msgstr ""
  19555. #. type: cindex
  19556. #: guix-git/doc/guix.texi:13663 guix-git/doc/guix.texi:32230
  19557. #: guix-git/doc/guix.texi:32334
  19558. #, no-wrap
  19559. msgid "initrd"
  19560. msgstr ""
  19561. #. type: cindex
  19562. #: guix-git/doc/guix.texi:13664 guix-git/doc/guix.texi:32231
  19563. #: guix-git/doc/guix.texi:32335
  19564. #, no-wrap
  19565. msgid "initial RAM disk"
  19566. msgstr ""
  19567. #. type: table
  19568. #: guix-git/doc/guix.texi:13667
  19569. msgid "The list of Linux kernel modules that need to be available in the initial RAM disk. @xref{Initial RAM Disk}."
  19570. msgstr ""
  19571. #. type: item
  19572. #: guix-git/doc/guix.texi:13668
  19573. #, no-wrap
  19574. msgid "@code{initrd} (default: @code{base-initrd})"
  19575. msgstr ""
  19576. #. type: table
  19577. #: guix-git/doc/guix.texi:13672
  19578. 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}."
  19579. msgstr ""
  19580. #. type: item
  19581. #: guix-git/doc/guix.texi:13673
  19582. #, no-wrap
  19583. msgid "@code{firmware} (default: @code{%base-firmware})"
  19584. msgstr ""
  19585. #. type: cindex
  19586. #: guix-git/doc/guix.texi:13674
  19587. #, no-wrap
  19588. msgid "firmware"
  19589. msgstr ""
  19590. #. type: table
  19591. #: guix-git/doc/guix.texi:13676
  19592. msgid "List of firmware packages loadable by the operating system kernel."
  19593. msgstr ""
  19594. #. type: table
  19595. #: guix-git/doc/guix.texi:13681
  19596. 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."
  19597. msgstr ""
  19598. #. type: code{#1}
  19599. #: guix-git/doc/guix.texi:13682 guix-git/doc/guix.texi:33429
  19600. #, no-wrap
  19601. msgid "host-name"
  19602. msgstr ""
  19603. #. type: table
  19604. #: guix-git/doc/guix.texi:13684
  19605. msgid "The host name."
  19606. msgstr ""
  19607. #. type: code{#1}
  19608. #: guix-git/doc/guix.texi:13685
  19609. #, no-wrap
  19610. msgid "hosts-file"
  19611. msgstr ""
  19612. #. type: cindex
  19613. #: guix-git/doc/guix.texi:13686
  19614. #, no-wrap
  19615. msgid "hosts file"
  19616. msgstr ""
  19617. #. type: table
  19618. #: guix-git/doc/guix.texi:13691
  19619. 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}."
  19620. msgstr ""
  19621. #. type: item
  19622. #: guix-git/doc/guix.texi:13692
  19623. #, no-wrap
  19624. msgid "@code{mapped-devices} (default: @code{'()})"
  19625. msgstr ""
  19626. #. type: table
  19627. #: guix-git/doc/guix.texi:13694
  19628. msgid "A list of mapped devices. @xref{Mapped Devices}."
  19629. msgstr ""
  19630. #. type: code{#1}
  19631. #: guix-git/doc/guix.texi:13695
  19632. #, no-wrap
  19633. msgid "file-systems"
  19634. msgstr ""
  19635. #. type: table
  19636. #: guix-git/doc/guix.texi:13697
  19637. msgid "A list of file systems. @xref{File Systems}."
  19638. msgstr ""
  19639. #. type: cindex
  19640. #: guix-git/doc/guix.texi:13698
  19641. #, no-wrap
  19642. msgid "swap devices"
  19643. msgstr ""
  19644. #. type: cindex
  19645. #: guix-git/doc/guix.texi:13699
  19646. #, no-wrap
  19647. msgid "swap space"
  19648. msgstr ""
  19649. #. type: item
  19650. #: guix-git/doc/guix.texi:13700
  19651. #, no-wrap
  19652. msgid "@code{swap-devices} (default: @code{'()})"
  19653. msgstr ""
  19654. #. type: table
  19655. #: guix-git/doc/guix.texi:13705
  19656. 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:"
  19657. msgstr ""
  19658. #. type: item
  19659. #: guix-git/doc/guix.texi:13707
  19660. #, no-wrap
  19661. msgid "(list (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\"))"
  19662. msgstr ""
  19663. #. type: table
  19664. #: guix-git/doc/guix.texi:13711
  19665. 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."
  19666. msgstr ""
  19667. #. type: item
  19668. #: guix-git/doc/guix.texi:13712
  19669. #, no-wrap
  19670. msgid "(list (file-system-label \"swap\"))"
  19671. msgstr ""
  19672. #. type: table
  19673. #: guix-git/doc/guix.texi:13716
  19674. 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."
  19675. msgstr ""
  19676. #. type: item
  19677. #: guix-git/doc/guix.texi:13717
  19678. #, no-wrap
  19679. msgid "(list \"/swapfile\")"
  19680. msgstr ""
  19681. #. type: table
  19682. #: guix-git/doc/guix.texi:13719
  19683. msgid "Use the file @file{/swapfile} as swap space."
  19684. msgstr ""
  19685. #. type: item
  19686. #: guix-git/doc/guix.texi:13720
  19687. #, no-wrap
  19688. msgid "(list \"/dev/sda3\" \"/dev/sdb2\")"
  19689. msgstr ""
  19690. #. type: table
  19691. #: guix-git/doc/guix.texi:13724
  19692. 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."
  19693. msgstr ""
  19694. #. type: table
  19695. #: guix-git/doc/guix.texi:13730
  19696. 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}."
  19697. msgstr ""
  19698. #. type: item
  19699. #: guix-git/doc/guix.texi:13731
  19700. #, no-wrap
  19701. msgid "@code{users} (default: @code{%base-user-accounts})"
  19702. msgstr ""
  19703. #. type: itemx
  19704. #: guix-git/doc/guix.texi:13732
  19705. #, no-wrap
  19706. msgid "@code{groups} (default: @code{%base-groups})"
  19707. msgstr ""
  19708. #. type: table
  19709. #: guix-git/doc/guix.texi:13734
  19710. msgid "List of user accounts and groups. @xref{User Accounts}."
  19711. msgstr ""
  19712. #. type: table
  19713. #: guix-git/doc/guix.texi:13737
  19714. msgid "If the @code{users} list lacks a user account with UID@tie{}0, a ``root'' account with UID@tie{}0 is automatically added."
  19715. msgstr ""
  19716. #. type: item
  19717. #: guix-git/doc/guix.texi:13738
  19718. #, no-wrap
  19719. msgid "@code{skeletons} (default: @code{(default-skeletons)})"
  19720. msgstr ""
  19721. #. type: table
  19722. #: guix-git/doc/guix.texi:13742
  19723. 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."
  19724. msgstr ""
  19725. #. type: table
  19726. #: guix-git/doc/guix.texi:13744
  19727. msgid "For instance, a valid value may look like this:"
  19728. msgstr ""
  19729. #. type: lisp
  19730. #: guix-git/doc/guix.texi:13750
  19731. #, no-wrap
  19732. msgid ""
  19733. "`((\".bashrc\" ,(plain-file \"bashrc\" \"echo Hello\\n\"))\n"
  19734. " (\".guile\" ,(plain-file \"guile\"\n"
  19735. " \"(use-modules (ice-9 readline))\n"
  19736. " (activate-readline)\")))\n"
  19737. msgstr ""
  19738. #. type: item
  19739. #: guix-git/doc/guix.texi:13752
  19740. #, no-wrap
  19741. msgid "@code{issue} (default: @code{%default-issue})"
  19742. msgstr ""
  19743. #. type: table
  19744. #: guix-git/doc/guix.texi:13755
  19745. msgid "A string denoting the contents of the @file{/etc/issue} file, which is displayed when users log in on a text console."
  19746. msgstr ""
  19747. #. type: item
  19748. #: guix-git/doc/guix.texi:13756
  19749. #, no-wrap
  19750. msgid "@code{packages} (default: @code{%base-packages})"
  19751. msgstr ""
  19752. #. type: table
  19753. #: guix-git/doc/guix.texi:13760
  19754. 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:"
  19755. msgstr ""
  19756. #. type: lisp
  19757. #: guix-git/doc/guix.texi:13765
  19758. #, no-wrap
  19759. msgid ""
  19760. "(cons* git ; the default \"out\" output\n"
  19761. " (list git \"send-email\") ; another output of git\n"
  19762. " %base-packages) ; the default set\n"
  19763. msgstr ""
  19764. #. type: table
  19765. #: guix-git/doc/guix.texi:13770
  19766. msgid "The default set includes core utilities and it is good practice to install non-core utilities in user profiles (@pxref{Invoking guix package})."
  19767. msgstr ""
  19768. #. type: code{#1}
  19769. #: guix-git/doc/guix.texi:13771
  19770. #, no-wrap
  19771. msgid "timezone"
  19772. msgstr ""
  19773. #. type: table
  19774. #: guix-git/doc/guix.texi:13773
  19775. msgid "A timezone identifying string---e.g., @code{\"Europe/Paris\"}."
  19776. msgstr ""
  19777. #. type: table
  19778. #: guix-git/doc/guix.texi:13777
  19779. 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."
  19780. msgstr ""
  19781. #. type: item
  19782. #: guix-git/doc/guix.texi:13778 guix-git/doc/guix.texi:19681
  19783. #, no-wrap
  19784. msgid "@code{locale} (default: @code{\"en_US.utf8\"})"
  19785. msgstr ""
  19786. #. type: table
  19787. #: guix-git/doc/guix.texi:13781
  19788. msgid "The name of the default locale (@pxref{Locale Names,,, libc, The GNU C Library Reference Manual}). @xref{Locales}, for more information."
  19789. msgstr ""
  19790. #. type: item
  19791. #: guix-git/doc/guix.texi:13782
  19792. #, no-wrap
  19793. msgid "@code{locale-definitions} (default: @code{%default-locale-definitions})"
  19794. msgstr ""
  19795. #. type: table
  19796. #: guix-git/doc/guix.texi:13785
  19797. msgid "The list of locale definitions to be compiled and that may be used at run time. @xref{Locales}."
  19798. msgstr ""
  19799. #. type: item
  19800. #: guix-git/doc/guix.texi:13786
  19801. #, no-wrap
  19802. msgid "@code{locale-libcs} (default: @code{(list @var{glibc})})"
  19803. msgstr ""
  19804. #. type: table
  19805. #: guix-git/doc/guix.texi:13790
  19806. 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."
  19807. msgstr ""
  19808. #. type: item
  19809. #: guix-git/doc/guix.texi:13791
  19810. #, no-wrap
  19811. msgid "@code{name-service-switch} (default: @code{%default-nss})"
  19812. msgstr ""
  19813. #. type: table
  19814. #: guix-git/doc/guix.texi:13795
  19815. msgid "Configuration of the libc name service switch (NSS)---a @code{<name-service-switch>} object. @xref{Name Service Switch}, for details."
  19816. msgstr ""
  19817. #. type: item
  19818. #: guix-git/doc/guix.texi:13796
  19819. #, no-wrap
  19820. msgid "@code{services} (default: @code{%base-services})"
  19821. msgstr ""
  19822. #. type: table
  19823. #: guix-git/doc/guix.texi:13798
  19824. msgid "A list of service objects denoting system services. @xref{Services}."
  19825. msgstr ""
  19826. #. type: cindex
  19827. #: guix-git/doc/guix.texi:13799
  19828. #, no-wrap
  19829. msgid "essential services"
  19830. msgstr ""
  19831. #. type: item
  19832. #: guix-git/doc/guix.texi:13800
  19833. #, no-wrap
  19834. msgid "@code{essential-services} (default: ...)"
  19835. msgstr ""
  19836. #. type: table
  19837. #: guix-git/doc/guix.texi:13805
  19838. 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."
  19839. msgstr ""
  19840. #. type: item
  19841. #: guix-git/doc/guix.texi:13806
  19842. #, no-wrap
  19843. msgid "@code{pam-services} (default: @code{(base-pam-services)})"
  19844. msgstr ""
  19845. #. type: cindex
  19846. #: guix-git/doc/guix.texi:13807
  19847. #, no-wrap
  19848. msgid "PAM"
  19849. msgstr ""
  19850. #. type: cindex
  19851. #: guix-git/doc/guix.texi:13808
  19852. #, no-wrap
  19853. msgid "pluggable authentication modules"
  19854. msgstr ""
  19855. #. type: table
  19856. #: guix-git/doc/guix.texi:13811
  19857. msgid "Linux @dfn{pluggable authentication module} (PAM) services."
  19858. msgstr ""
  19859. #. type: item
  19860. #: guix-git/doc/guix.texi:13812
  19861. #, no-wrap
  19862. msgid "@code{setuid-programs} (default: @code{%setuid-programs})"
  19863. msgstr ""
  19864. #. type: table
  19865. #: guix-git/doc/guix.texi:13815
  19866. msgid "List of string-valued G-expressions denoting setuid programs. @xref{Setuid Programs}."
  19867. msgstr ""
  19868. #. type: item
  19869. #: guix-git/doc/guix.texi:13816
  19870. #, no-wrap
  19871. msgid "@code{sudoers-file} (default: @code{%sudoers-specification})"
  19872. msgstr ""
  19873. #. type: cindex
  19874. #: guix-git/doc/guix.texi:13817
  19875. #, no-wrap
  19876. msgid "sudoers file"
  19877. msgstr ""
  19878. #. type: table
  19879. #: guix-git/doc/guix.texi:13820
  19880. msgid "The contents of the @file{/etc/sudoers} file as a file-like object (@pxref{G-Expressions, @code{local-file} and @code{plain-file}})."
  19881. msgstr ""
  19882. #. type: table
  19883. #: guix-git/doc/guix.texi:13825
  19884. 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}."
  19885. msgstr ""
  19886. #. type: deffn
  19887. #: guix-git/doc/guix.texi:13828
  19888. #, no-wrap
  19889. msgid "{Scheme Syntax} this-operating-system"
  19890. msgstr ""
  19891. #. type: deffn
  19892. #: guix-git/doc/guix.texi:13831
  19893. msgid "When used in the @emph{lexical scope} of an operating system field definition, this identifier resolves to the operating system being defined."
  19894. msgstr ""
  19895. #. type: deffn
  19896. #: guix-git/doc/guix.texi:13834
  19897. msgid "The example below shows how to refer to the operating system being defined in the definition of the @code{label} field:"
  19898. msgstr ""
  19899. #. type: lisp
  19900. #: guix-git/doc/guix.texi:13837 guix-git/doc/guix.texi:17299
  19901. #, no-wrap
  19902. msgid ""
  19903. "(use-modules (gnu) (guix))\n"
  19904. "\n"
  19905. msgstr ""
  19906. #. type: lisp
  19907. #: guix-git/doc/guix.texi:13842
  19908. #, no-wrap
  19909. msgid ""
  19910. "(operating-system\n"
  19911. " ;; ...\n"
  19912. " (label (package-full-name\n"
  19913. " (operating-system-kernel this-operating-system))))\n"
  19914. msgstr ""
  19915. #. type: deffn
  19916. #: guix-git/doc/guix.texi:13846
  19917. msgid "It is an error to refer to @code{this-operating-system} outside an operating system definition."
  19918. msgstr ""
  19919. #. type: Plain text
  19920. #: guix-git/doc/guix.texi:13857
  19921. 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:"
  19922. msgstr ""
  19923. #. type: lisp
  19924. #: guix-git/doc/guix.texi:13863
  19925. #, no-wrap
  19926. msgid ""
  19927. "(file-system\n"
  19928. " (mount-point \"/home\")\n"
  19929. " (device \"/dev/sda3\")\n"
  19930. " (type \"ext4\"))\n"
  19931. msgstr ""
  19932. #. type: Plain text
  19933. #: guix-git/doc/guix.texi:13867
  19934. msgid "As usual, some of the fields are mandatory---those shown in the example above---while others can be omitted. These are described below."
  19935. msgstr ""
  19936. #. type: deftp
  19937. #: guix-git/doc/guix.texi:13868
  19938. #, no-wrap
  19939. msgid "{Data Type} file-system"
  19940. msgstr ""
  19941. #. type: deftp
  19942. #: guix-git/doc/guix.texi:13871
  19943. msgid "Objects of this type represent file systems to be mounted. They contain the following members:"
  19944. msgstr ""
  19945. #. type: item
  19946. #: guix-git/doc/guix.texi:13873 guix-git/doc/guix.texi:14223
  19947. #, no-wrap
  19948. msgid "type"
  19949. msgstr "tipo"
  19950. #. type: table
  19951. #: guix-git/doc/guix.texi:13876
  19952. msgid "This is a string specifying the type of the file system---e.g., @code{\"ext4\"}."
  19953. msgstr ""
  19954. #. type: code{#1}
  19955. #: guix-git/doc/guix.texi:13877
  19956. #, no-wrap
  19957. msgid "mount-point"
  19958. msgstr ""
  19959. #. type: table
  19960. #: guix-git/doc/guix.texi:13879
  19961. msgid "This designates the place where the file system is to be mounted."
  19962. msgstr ""
  19963. #. type: code{#1}
  19964. #: guix-git/doc/guix.texi:13880
  19965. #, no-wrap
  19966. msgid "device"
  19967. msgstr ""
  19968. #. type: table
  19969. #: guix-git/doc/guix.texi:13890
  19970. 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.}."
  19971. msgstr ""
  19972. #. type: findex
  19973. #: guix-git/doc/guix.texi:13891
  19974. #, no-wrap
  19975. msgid "file-system-label"
  19976. msgstr ""
  19977. #. type: table
  19978. #: guix-git/doc/guix.texi:13896
  19979. 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:"
  19980. msgstr ""
  19981. #. type: lisp
  19982. #: guix-git/doc/guix.texi:13902
  19983. #, no-wrap
  19984. msgid ""
  19985. "(file-system\n"
  19986. " (mount-point \"/home\")\n"
  19987. " (type \"ext4\")\n"
  19988. " (device (file-system-label \"my-home\")))\n"
  19989. msgstr ""
  19990. #. type: code{#1}
  19991. #: guix-git/doc/guix.texi:13904 guix-git/doc/guix.texi:31144
  19992. #: guix-git/doc/guix.texi:31160
  19993. #, no-wrap
  19994. msgid "uuid"
  19995. msgstr "uuid"
  19996. #. type: table
  19997. #: guix-git/doc/guix.texi:13912
  19998. 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:"
  19999. msgstr ""
  20000. #. type: lisp
  20001. #: guix-git/doc/guix.texi:13918
  20002. #, no-wrap
  20003. msgid ""
  20004. "(file-system\n"
  20005. " (mount-point \"/home\")\n"
  20006. " (type \"ext4\")\n"
  20007. " (device (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  20008. msgstr ""
  20009. #. type: table
  20010. #: guix-git/doc/guix.texi:13926
  20011. 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."
  20012. msgstr ""
  20013. #. type: item
  20014. #: guix-git/doc/guix.texi:13927
  20015. #, no-wrap
  20016. msgid "@code{flags} (default: @code{'()})"
  20017. msgstr ""
  20018. #. type: table
  20019. #: guix-git/doc/guix.texi:13937
  20020. 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."
  20021. msgstr ""
  20022. #. type: item
  20023. #: guix-git/doc/guix.texi:13938
  20024. #, no-wrap
  20025. msgid "@code{options} (default: @code{#f})"
  20026. msgstr "@code{options} (default: @code{#f})"
  20027. #. type: table
  20028. #: guix-git/doc/guix.texi:13947
  20029. 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."
  20030. msgstr ""
  20031. #. type: item
  20032. #: guix-git/doc/guix.texi:13948
  20033. #, no-wrap
  20034. msgid "@code{mount?} (default: @code{#t})"
  20035. msgstr "@code{mount?} (default: @code{#t})"
  20036. #. type: table
  20037. #: guix-git/doc/guix.texi:13953
  20038. 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."
  20039. msgstr ""
  20040. #. type: item
  20041. #: guix-git/doc/guix.texi:13954
  20042. #, no-wrap
  20043. msgid "@code{needed-for-boot?} (default: @code{#f})"
  20044. msgstr ""
  20045. #. type: table
  20046. #: guix-git/doc/guix.texi:13959
  20047. 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."
  20048. msgstr ""
  20049. #. type: item
  20050. #: guix-git/doc/guix.texi:13960
  20051. #, no-wrap
  20052. msgid "@code{check?} (default: @code{#t})"
  20053. msgstr "@code{check?} (padrão: @code{#t})"
  20054. #. type: table
  20055. #: guix-git/doc/guix.texi:13963
  20056. msgid "This Boolean indicates whether the file system needs to be checked for errors before being mounted."
  20057. msgstr ""
  20058. #. type: item
  20059. #: guix-git/doc/guix.texi:13964
  20060. #, no-wrap
  20061. msgid "@code{create-mount-point?} (default: @code{#f})"
  20062. msgstr ""
  20063. #. type: table
  20064. #: guix-git/doc/guix.texi:13966
  20065. msgid "When true, the mount point is created if it does not exist yet."
  20066. msgstr ""
  20067. #. type: item
  20068. #: guix-git/doc/guix.texi:13967
  20069. #, no-wrap
  20070. msgid "@code{mount-may-fail?} (default: @code{#f})"
  20071. msgstr ""
  20072. #. type: table
  20073. #: guix-git/doc/guix.texi:13972
  20074. 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."
  20075. msgstr ""
  20076. #. type: item
  20077. #: guix-git/doc/guix.texi:13973
  20078. #, no-wrap
  20079. msgid "@code{dependencies} (default: @code{'()})"
  20080. msgstr ""
  20081. #. type: table
  20082. #: guix-git/doc/guix.texi:13977
  20083. 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."
  20084. msgstr ""
  20085. #. type: table
  20086. #: guix-git/doc/guix.texi:13981
  20087. 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}."
  20088. msgstr ""
  20089. #. type: table
  20090. #: guix-git/doc/guix.texi:13984
  20091. msgid "Another example is a file system that depends on a mapped device, for example for an encrypted partition (@pxref{Mapped Devices})."
  20092. msgstr ""
  20093. #. type: deffn
  20094. #: guix-git/doc/guix.texi:13987
  20095. #, no-wrap
  20096. msgid "{Scheme Procedure} file-system-label @var{str}"
  20097. msgstr ""
  20098. #. type: deffn
  20099. #: guix-git/doc/guix.texi:13990
  20100. msgid "This procedure returns an opaque file system label from @var{str}, a string:"
  20101. msgstr ""
  20102. #. type: lisp
  20103. #: guix-git/doc/guix.texi:13994
  20104. #, no-wrap
  20105. msgid ""
  20106. "(file-system-label \"home\")\n"
  20107. "@result{} #<file-system-label \"home\">\n"
  20108. msgstr ""
  20109. #. type: deffn
  20110. #: guix-git/doc/guix.texi:13998
  20111. msgid "File system labels are used to refer to file systems by label rather than by device name. See above for examples."
  20112. msgstr ""
  20113. #. type: Plain text
  20114. #: guix-git/doc/guix.texi:14002
  20115. msgid "The @code{(gnu system file-systems)} exports the following useful variables."
  20116. msgstr ""
  20117. #. type: defvr
  20118. #: guix-git/doc/guix.texi:14003
  20119. #, no-wrap
  20120. msgid "{Scheme Variable} %base-file-systems"
  20121. msgstr ""
  20122. #. type: defvr
  20123. #: guix-git/doc/guix.texi:14008
  20124. 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."
  20125. msgstr ""
  20126. #. type: defvr
  20127. #: guix-git/doc/guix.texi:14010
  20128. #, no-wrap
  20129. msgid "{Scheme Variable} %pseudo-terminal-file-system"
  20130. msgstr ""
  20131. #. type: defvr
  20132. #: guix-git/doc/guix.texi:14016
  20133. 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}."
  20134. msgstr ""
  20135. #. type: defvr
  20136. #: guix-git/doc/guix.texi:14018
  20137. #, no-wrap
  20138. msgid "{Scheme Variable} %shared-memory-file-system"
  20139. msgstr ""
  20140. #. type: defvr
  20141. #: guix-git/doc/guix.texi:14022
  20142. 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})."
  20143. msgstr ""
  20144. #. type: defvr
  20145. #: guix-git/doc/guix.texi:14024
  20146. #, no-wrap
  20147. msgid "{Scheme Variable} %immutable-store"
  20148. msgstr ""
  20149. #. type: defvr
  20150. #: guix-git/doc/guix.texi:14029
  20151. 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."
  20152. msgstr ""
  20153. #. type: defvr
  20154. #: guix-git/doc/guix.texi:14032
  20155. msgid "The daemon itself is still able to write to the store: it remounts it read-write in its own ``name space.''"
  20156. msgstr ""
  20157. #. type: defvr
  20158. #: guix-git/doc/guix.texi:14034
  20159. #, no-wrap
  20160. msgid "{Scheme Variable} %binary-format-file-system"
  20161. msgstr ""
  20162. #. type: defvr
  20163. #: guix-git/doc/guix.texi:14038
  20164. 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."
  20165. msgstr ""
  20166. #. type: defvr
  20167. #: guix-git/doc/guix.texi:14040
  20168. #, no-wrap
  20169. msgid "{Scheme Variable} %fuse-control-file-system"
  20170. msgstr ""
  20171. #. type: defvr
  20172. #: guix-git/doc/guix.texi:14044
  20173. 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."
  20174. msgstr ""
  20175. #. type: Plain text
  20176. #: guix-git/doc/guix.texi:14048
  20177. msgid "The @code{(gnu system uuid)} module provides tools to deal with file system ``unique identifiers'' (UUIDs)."
  20178. msgstr ""
  20179. #. type: deffn
  20180. #: guix-git/doc/guix.texi:14049
  20181. #, no-wrap
  20182. msgid "{Scheme Procedure} uuid @var{str} [@var{type}]"
  20183. msgstr ""
  20184. #. type: deffn
  20185. #: guix-git/doc/guix.texi:14052
  20186. msgid "Return an opaque UUID (unique identifier) object of the given @var{type} (a symbol) by parsing @var{str} (a string):"
  20187. msgstr ""
  20188. #. type: lisp
  20189. #: guix-git/doc/guix.texi:14056
  20190. #, no-wrap
  20191. msgid ""
  20192. "(uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")\n"
  20193. "@result{} #<<uuid> type: dce bv: @dots{}>\n"
  20194. "\n"
  20195. msgstr ""
  20196. #. type: lisp
  20197. #: guix-git/doc/guix.texi:14059
  20198. #, no-wrap
  20199. msgid ""
  20200. "(uuid \"1234-ABCD\" 'fat)\n"
  20201. "@result{} #<<uuid> type: fat bv: @dots{}>\n"
  20202. msgstr ""
  20203. #. type: deffn
  20204. #: guix-git/doc/guix.texi:14063
  20205. msgid "@var{type} may be one of @code{dce}, @code{iso9660}, @code{fat}, @code{ntfs}, or one of the commonly found synonyms for these."
  20206. msgstr ""
  20207. #. type: deffn
  20208. #: guix-git/doc/guix.texi:14066
  20209. msgid "UUIDs are another way to unambiguously refer to file systems in operating system configuration. See the examples above."
  20210. msgstr ""
  20211. #. type: subsection
  20212. #: guix-git/doc/guix.texi:14069 guix-git/doc/guix.texi:14070
  20213. #, no-wrap
  20214. msgid "Btrfs file system"
  20215. msgstr ""
  20216. #. type: Plain text
  20217. #: guix-git/doc/guix.texi:14076
  20218. 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."
  20219. msgstr ""
  20220. #. type: Plain text
  20221. #: guix-git/doc/guix.texi:14079
  20222. msgid "In its simplest usage, a Btrfs file system can be described, for example, by:"
  20223. msgstr ""
  20224. #. type: lisp
  20225. #: guix-git/doc/guix.texi:14085
  20226. #, no-wrap
  20227. msgid ""
  20228. "(file-system\n"
  20229. " (mount-point \"/home\")\n"
  20230. " (type \"btrfs\")\n"
  20231. " (device (file-system-label \"my-home\")))\n"
  20232. msgstr ""
  20233. #. type: Plain text
  20234. #: guix-git/doc/guix.texi:14091
  20235. 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}):"
  20236. msgstr ""
  20237. #. type: lisp
  20238. #: guix-git/doc/guix.texi:14099
  20239. #, no-wrap
  20240. msgid ""
  20241. "(file-system\n"
  20242. " (device (file-system-label \"my-btrfs-pool\"))\n"
  20243. " (mount-point \"/\")\n"
  20244. " (type \"btrfs\")\n"
  20245. " (options \"subvol=rootfs\")\n"
  20246. " (dependencies mapped-devices))\n"
  20247. msgstr ""
  20248. #. type: Plain text
  20249. #: guix-git/doc/guix.texi:14110
  20250. 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."
  20251. msgstr ""
  20252. #. type: Plain text
  20253. #: guix-git/doc/guix.texi:14118
  20254. 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.:"
  20255. msgstr ""
  20256. #. type: example
  20257. #: guix-git/doc/guix.texi:14125
  20258. #, no-wrap
  20259. msgid ""
  20260. "/ (top level)\n"
  20261. "├── rootfs (subvolume directory)\n"
  20262. " ├── gnu (normal directory)\n"
  20263. " ├── store (normal directory)\n"
  20264. "[...]\n"
  20265. msgstr ""
  20266. #. type: Plain text
  20267. #: guix-git/doc/guix.texi:14130
  20268. 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."
  20269. msgstr ""
  20270. #. type: Plain text
  20271. #: guix-git/doc/guix.texi:14133
  20272. msgid "The next example shows a nested hierarchy of subvolumes and directories:"
  20273. msgstr ""
  20274. #. type: example
  20275. #: guix-git/doc/guix.texi:14140
  20276. #, no-wrap
  20277. msgid ""
  20278. "/ (top level)\n"
  20279. "├── rootfs (subvolume)\n"
  20280. " ├── gnu (normal directory)\n"
  20281. " ├── store (subvolume)\n"
  20282. "[...]\n"
  20283. msgstr ""
  20284. #. type: Plain text
  20285. #: guix-git/doc/guix.texi:14147
  20286. 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}."
  20287. msgstr ""
  20288. #. type: Plain text
  20289. #: guix-git/doc/guix.texi:14149
  20290. msgid "Finally, a more contrived example of nested subvolumes:"
  20291. msgstr ""
  20292. #. type: example
  20293. #: guix-git/doc/guix.texi:14156
  20294. #, no-wrap
  20295. msgid ""
  20296. "/ (top level)\n"
  20297. "├── root-snapshots (subvolume)\n"
  20298. " ├── root-current (subvolume)\n"
  20299. " ├── guix-store (subvolume)\n"
  20300. "[...]\n"
  20301. msgstr ""
  20302. #. type: Plain text
  20303. #: guix-git/doc/guix.texi:14163
  20304. 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:"
  20305. msgstr ""
  20306. #. type: lisp
  20307. #: guix-git/doc/guix.texi:14171
  20308. #, no-wrap
  20309. msgid ""
  20310. "(file-system\n"
  20311. " (device (file-system-label \"btrfs-pool-1\"))\n"
  20312. " (mount-point \"/gnu/store\")\n"
  20313. " (type \"btrfs\")\n"
  20314. " (options \"subvol=root-snapshots/root-current/guix-store,\\\n"
  20315. "compress-force=zstd,space_cache=v2\"))\n"
  20316. msgstr ""
  20317. #. type: cindex
  20318. #: guix-git/doc/guix.texi:14176
  20319. #, no-wrap
  20320. msgid "device mapping"
  20321. msgstr ""
  20322. #. type: cindex
  20323. #: guix-git/doc/guix.texi:14177
  20324. #, no-wrap
  20325. msgid "mapped devices"
  20326. msgstr ""
  20327. #. type: Plain text
  20328. #: guix-git/doc/guix.texi:14194
  20329. 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."
  20330. msgstr ""
  20331. #. type: Plain text
  20332. #: guix-git/doc/guix.texi:14197
  20333. msgid "Mapped devices are declared using the @code{mapped-device} form, defined as follows; for examples, see below."
  20334. msgstr ""
  20335. #. type: deftp
  20336. #: guix-git/doc/guix.texi:14198
  20337. #, no-wrap
  20338. msgid "{Data Type} mapped-device"
  20339. msgstr ""
  20340. #. type: deftp
  20341. #: guix-git/doc/guix.texi:14201
  20342. msgid "Objects of this type represent device mappings that will be made when the system boots up."
  20343. msgstr ""
  20344. #. type: table
  20345. #: guix-git/doc/guix.texi:14208
  20346. 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."
  20347. msgstr ""
  20348. #. type: code{#1}
  20349. #: guix-git/doc/guix.texi:14209 guix-git/doc/guix.texi:32498
  20350. #, no-wrap
  20351. msgid "target"
  20352. msgstr ""
  20353. #. type: table
  20354. #: guix-git/doc/guix.texi:14218
  20355. 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\"}."
  20356. msgstr ""
  20357. #. type: item
  20358. #: guix-git/doc/guix.texi:14219
  20359. #, no-wrap
  20360. msgid "targets"
  20361. msgstr ""
  20362. #. type: table
  20363. #: guix-git/doc/guix.texi:14222
  20364. msgid "This list of strings specifies names of the resulting mapped devices in case there are several. The format is identical to @var{target}."
  20365. msgstr ""
  20366. #. type: table
  20367. #: guix-git/doc/guix.texi:14226
  20368. msgid "This must be a @code{mapped-device-kind} object, which specifies how @var{source} is mapped to @var{target}."
  20369. msgstr ""
  20370. #. type: defvr
  20371. #: guix-git/doc/guix.texi:14229
  20372. #, no-wrap
  20373. msgid "{Scheme Variable} luks-device-mapping"
  20374. msgstr ""
  20375. #. type: defvr
  20376. #: guix-git/doc/guix.texi:14233
  20377. 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."
  20378. msgstr ""
  20379. #. type: defvr
  20380. #: guix-git/doc/guix.texi:14235
  20381. #, no-wrap
  20382. msgid "{Scheme Variable} raid-device-mapping"
  20383. msgstr ""
  20384. #. type: defvr
  20385. #: guix-git/doc/guix.texi:14240
  20386. 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."
  20387. msgstr ""
  20388. #. type: cindex
  20389. #: guix-git/doc/guix.texi:14242
  20390. #, no-wrap
  20391. msgid "LVM, logical volume manager"
  20392. msgstr ""
  20393. #. type: defvr
  20394. #: guix-git/doc/guix.texi:14243
  20395. #, no-wrap
  20396. msgid "{Scheme Variable} lvm-device-mapping"
  20397. msgstr ""
  20398. #. type: defvr
  20399. #: guix-git/doc/guix.texi:14248
  20400. 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."
  20401. msgstr ""
  20402. #. type: cindex
  20403. #: guix-git/doc/guix.texi:14250
  20404. #, no-wrap
  20405. msgid "disk encryption"
  20406. msgstr ""
  20407. #. type: cindex
  20408. #: guix-git/doc/guix.texi:14251
  20409. #, no-wrap
  20410. msgid "LUKS"
  20411. msgstr "LUKS"
  20412. #. type: Plain text
  20413. #: guix-git/doc/guix.texi:14259
  20414. 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})."
  20415. msgstr ""
  20416. #. type: lisp
  20417. #: guix-git/doc/guix.texi:14265
  20418. #, no-wrap
  20419. msgid ""
  20420. "(mapped-device\n"
  20421. " (source \"/dev/sda3\")\n"
  20422. " (target \"home\")\n"
  20423. " (type luks-device-mapping))\n"
  20424. msgstr ""
  20425. #. type: Plain text
  20426. #: guix-git/doc/guix.texi:14270
  20427. 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:"
  20428. msgstr ""
  20429. #. type: example
  20430. #: guix-git/doc/guix.texi:14273
  20431. #, no-wrap
  20432. msgid "cryptsetup luksUUID /dev/sda3\n"
  20433. msgstr ""
  20434. #. type: Plain text
  20435. #: guix-git/doc/guix.texi:14276
  20436. msgid "and use it as follows:"
  20437. msgstr ""
  20438. #. type: lisp
  20439. #: guix-git/doc/guix.texi:14282
  20440. #, no-wrap
  20441. msgid ""
  20442. "(mapped-device\n"
  20443. " (source (uuid \"cb67fc72-0d54-4c88-9d4b-b225f30b0f44\"))\n"
  20444. " (target \"home\")\n"
  20445. " (type luks-device-mapping))\n"
  20446. msgstr ""
  20447. #. type: cindex
  20448. #: guix-git/doc/guix.texi:14284
  20449. #, no-wrap
  20450. msgid "swap encryption"
  20451. msgstr ""
  20452. #. type: Plain text
  20453. #: guix-git/doc/guix.texi:14290
  20454. 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."
  20455. msgstr ""
  20456. #. type: Plain text
  20457. #: guix-git/doc/guix.texi:14293
  20458. msgid "A RAID device formed of the partitions @file{/dev/sda1} and @file{/dev/sdb1} may be declared as follows:"
  20459. msgstr ""
  20460. #. type: lisp
  20461. #: guix-git/doc/guix.texi:14299
  20462. #, no-wrap
  20463. msgid ""
  20464. "(mapped-device\n"
  20465. " (source (list \"/dev/sda1\" \"/dev/sdb1\"))\n"
  20466. " (target \"/dev/md0\")\n"
  20467. " (type raid-device-mapping))\n"
  20468. msgstr ""
  20469. #. type: Plain text
  20470. #: guix-git/doc/guix.texi:14306
  20471. 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."
  20472. msgstr ""
  20473. #. type: Plain text
  20474. #: guix-git/doc/guix.texi:14309
  20475. msgid "LVM logical volumes ``alpha'' and ``beta'' from volume group ``vg0'' can be declared as follows:"
  20476. msgstr ""
  20477. #. type: lisp
  20478. #: guix-git/doc/guix.texi:14315
  20479. #, no-wrap
  20480. msgid ""
  20481. "(mapped-device\n"
  20482. " (source \"vg0\")\n"
  20483. " (targets (list \"vg0-alpha\" \"vg0-beta\"))\n"
  20484. " (type lvm-device-mapping))\n"
  20485. msgstr ""
  20486. #. type: Plain text
  20487. #: guix-git/doc/guix.texi:14320
  20488. 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})."
  20489. msgstr ""
  20490. #. type: cindex
  20491. #: guix-git/doc/guix.texi:14324
  20492. #, no-wrap
  20493. msgid "users"
  20494. msgstr ""
  20495. #. type: cindex
  20496. #: guix-git/doc/guix.texi:14325
  20497. #, no-wrap
  20498. msgid "accounts"
  20499. msgstr ""
  20500. #. type: cindex
  20501. #: guix-git/doc/guix.texi:14326
  20502. #, no-wrap
  20503. msgid "user accounts"
  20504. msgstr ""
  20505. #. type: Plain text
  20506. #: guix-git/doc/guix.texi:14330
  20507. 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:"
  20508. msgstr ""
  20509. #. type: lisp
  20510. #: guix-git/doc/guix.texi:14340
  20511. #, no-wrap
  20512. msgid ""
  20513. "(user-account\n"
  20514. " (name \"alice\")\n"
  20515. " (group \"users\")\n"
  20516. " (supplementary-groups '(\"wheel\" ;allow use of sudo, etc.\n"
  20517. " \"audio\" ;sound card\n"
  20518. " \"video\" ;video devices such as webcams\n"
  20519. " \"cdrom\")) ;the good ol' CD-ROM\n"
  20520. " (comment \"Bob's sister\"))\n"
  20521. msgstr ""
  20522. #. type: Plain text
  20523. #: guix-git/doc/guix.texi:14344
  20524. msgid "Here's a user account that uses a different shell and a custom home directory (the default would be @file{\"/home/bob\"}):"
  20525. msgstr ""
  20526. #. type: lisp
  20527. #: guix-git/doc/guix.texi:14352
  20528. #, no-wrap
  20529. msgid ""
  20530. "(user-account\n"
  20531. " (name \"bob\")\n"
  20532. " (group \"users\")\n"
  20533. " (comment \"Alice's bro\")\n"
  20534. " (shell (file-append zsh \"/bin/zsh\"))\n"
  20535. " (home-directory \"/home/robert\"))\n"
  20536. msgstr ""
  20537. #. type: Plain text
  20538. #: guix-git/doc/guix.texi:14361
  20539. 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."
  20540. msgstr ""
  20541. #. type: deftp
  20542. #: guix-git/doc/guix.texi:14362
  20543. #, no-wrap
  20544. msgid "{Data Type} user-account"
  20545. msgstr ""
  20546. #. type: deftp
  20547. #: guix-git/doc/guix.texi:14365
  20548. msgid "Objects of this type represent user accounts. The following members may be specified:"
  20549. msgstr ""
  20550. #. type: table
  20551. #: guix-git/doc/guix.texi:14369
  20552. msgid "The name of the user account."
  20553. msgstr ""
  20554. #. type: itemx
  20555. #: guix-git/doc/guix.texi:14370 guix-git/doc/guix.texi:32184
  20556. #, no-wrap
  20557. msgid "group"
  20558. msgstr "grupo"
  20559. #. type: cindex
  20560. #: guix-git/doc/guix.texi:14371 guix-git/doc/guix.texi:14450
  20561. #, no-wrap
  20562. msgid "groups"
  20563. msgstr ""
  20564. #. type: table
  20565. #: guix-git/doc/guix.texi:14374
  20566. msgid "This is the name (a string) or identifier (a number) of the user group this account belongs to."
  20567. msgstr ""
  20568. #. type: item
  20569. #: guix-git/doc/guix.texi:14375
  20570. #, no-wrap
  20571. msgid "@code{supplementary-groups} (default: @code{'()})"
  20572. msgstr ""
  20573. #. type: table
  20574. #: guix-git/doc/guix.texi:14378
  20575. msgid "Optionally, this can be defined as a list of group names that this account belongs to."
  20576. msgstr ""
  20577. #. type: item
  20578. #: guix-git/doc/guix.texi:14379
  20579. #, no-wrap
  20580. msgid "@code{uid} (default: @code{#f})"
  20581. msgstr "@code{uid} (default: @code{#f})"
  20582. #. type: table
  20583. #: guix-git/doc/guix.texi:14383
  20584. 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."
  20585. msgstr ""
  20586. #. type: item
  20587. #: guix-git/doc/guix.texi:14384
  20588. #, no-wrap
  20589. msgid "@code{comment} (default: @code{\"\"})"
  20590. msgstr ""
  20591. #. type: table
  20592. #: guix-git/doc/guix.texi:14386
  20593. msgid "A comment about the account, such as the account owner's full name."
  20594. msgstr ""
  20595. #. type: code{#1}
  20596. #: guix-git/doc/guix.texi:14387
  20597. #, no-wrap
  20598. msgid "home-directory"
  20599. msgstr ""
  20600. #. type: table
  20601. #: guix-git/doc/guix.texi:14389
  20602. msgid "This is the name of the home directory for the account."
  20603. msgstr ""
  20604. #. type: item
  20605. #: guix-git/doc/guix.texi:14390
  20606. #, no-wrap
  20607. msgid "@code{create-home-directory?} (default: @code{#t})"
  20608. msgstr ""
  20609. #. type: table
  20610. #: guix-git/doc/guix.texi:14393
  20611. msgid "Indicates whether the home directory of this account should be created if it does not exist yet."
  20612. msgstr ""
  20613. #. type: item
  20614. #: guix-git/doc/guix.texi:14394
  20615. #, no-wrap
  20616. msgid "@code{shell} (default: Bash)"
  20617. msgstr ""
  20618. #. type: table
  20619. #: guix-git/doc/guix.texi:14398
  20620. 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:"
  20621. msgstr ""
  20622. #. type: lisp
  20623. #: guix-git/doc/guix.texi:14401
  20624. #, no-wrap
  20625. msgid "(file-append bash \"/bin/bash\")\n"
  20626. msgstr ""
  20627. #. type: table
  20628. #: guix-git/doc/guix.texi:14405
  20629. msgid "... and to the Zsh executable like that:"
  20630. msgstr ""
  20631. #. type: lisp
  20632. #: guix-git/doc/guix.texi:14408
  20633. #, no-wrap
  20634. msgid "(file-append zsh \"/bin/zsh\")\n"
  20635. msgstr ""
  20636. #. type: item
  20637. #: guix-git/doc/guix.texi:14410 guix-git/doc/guix.texi:14468
  20638. #, no-wrap
  20639. msgid "@code{system?} (default: @code{#f})"
  20640. msgstr "@code{system?} (default: @code{#f})"
  20641. #. type: table
  20642. #: guix-git/doc/guix.texi:14414
  20643. 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."
  20644. msgstr ""
  20645. #. type: anchor{#1}
  20646. #: guix-git/doc/guix.texi:14416
  20647. msgid "user-account-password"
  20648. msgstr "user-account-password"
  20649. #. type: cindex
  20650. #: guix-git/doc/guix.texi:14416
  20651. #, no-wrap
  20652. msgid "password, for user accounts"
  20653. msgstr ""
  20654. #. type: item
  20655. #: guix-git/doc/guix.texi:14417 guix-git/doc/guix.texi:14472
  20656. #, no-wrap
  20657. msgid "@code{password} (default: @code{#f})"
  20658. msgstr "@code{password} (default: @code{#f})"
  20659. #. type: table
  20660. #: guix-git/doc/guix.texi:14423
  20661. 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."
  20662. msgstr ""
  20663. #. type: table
  20664. #: guix-git/doc/guix.texi:14427
  20665. 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:"
  20666. msgstr ""
  20667. #. type: lisp
  20668. #: guix-git/doc/guix.texi:14432
  20669. #, no-wrap
  20670. msgid ""
  20671. "(user-account\n"
  20672. " (name \"charlie\")\n"
  20673. " (group \"users\")\n"
  20674. "\n"
  20675. msgstr ""
  20676. #. type: lisp
  20677. #: guix-git/doc/guix.texi:14435
  20678. #, no-wrap
  20679. msgid ""
  20680. " ;; Specify a SHA-512-hashed initial password.\n"
  20681. " (password (crypt \"InitialPassword!\" \"$6$abc\")))\n"
  20682. msgstr ""
  20683. #. type: quotation
  20684. #: guix-git/doc/guix.texi:14441
  20685. 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."
  20686. msgstr ""
  20687. #. type: table
  20688. #: guix-git/doc/guix.texi:14446
  20689. 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."
  20690. msgstr ""
  20691. #. type: Plain text
  20692. #: guix-git/doc/guix.texi:14452
  20693. msgid "User group declarations are even simpler:"
  20694. msgstr ""
  20695. #. type: lisp
  20696. #: guix-git/doc/guix.texi:14455
  20697. #, no-wrap
  20698. msgid "(user-group (name \"students\"))\n"
  20699. msgstr "(user-group (name \"students\"))\n"
  20700. #. type: deftp
  20701. #: guix-git/doc/guix.texi:14457
  20702. #, no-wrap
  20703. msgid "{Data Type} user-group"
  20704. msgstr ""
  20705. #. type: deftp
  20706. #: guix-git/doc/guix.texi:14459
  20707. msgid "This type is for, well, user groups. There are just a few fields:"
  20708. msgstr ""
  20709. #. type: table
  20710. #: guix-git/doc/guix.texi:14463
  20711. msgid "The name of the group."
  20712. msgstr ""
  20713. #. type: item
  20714. #: guix-git/doc/guix.texi:14464 guix-git/doc/guix.texi:28988
  20715. #, no-wrap
  20716. msgid "@code{id} (default: @code{#f})"
  20717. msgstr "@code{id} (default: @code{#f})"
  20718. #. type: table
  20719. #: guix-git/doc/guix.texi:14467
  20720. msgid "The group identifier (a number). If @code{#f}, a new number is automatically allocated when the group is created."
  20721. msgstr ""
  20722. #. type: table
  20723. #: guix-git/doc/guix.texi:14471
  20724. msgid "This Boolean value indicates whether the group is a ``system'' group. System groups have low numerical IDs."
  20725. msgstr ""
  20726. #. type: table
  20727. #: guix-git/doc/guix.texi:14475
  20728. msgid "What, user groups can have a password? Well, apparently yes. Unless @code{#f}, this field specifies the password of the group."
  20729. msgstr ""
  20730. #. type: Plain text
  20731. #: guix-git/doc/guix.texi:14481
  20732. msgid "For convenience, a variable lists all the basic user groups one may expect:"
  20733. msgstr ""
  20734. #. type: defvr
  20735. #: guix-git/doc/guix.texi:14482
  20736. #, no-wrap
  20737. msgid "{Scheme Variable} %base-groups"
  20738. msgstr ""
  20739. #. type: defvr
  20740. #: guix-git/doc/guix.texi:14487
  20741. 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''."
  20742. msgstr ""
  20743. #. type: defvr
  20744. #: guix-git/doc/guix.texi:14489
  20745. #, no-wrap
  20746. msgid "{Scheme Variable} %base-user-accounts"
  20747. msgstr ""
  20748. #. type: defvr
  20749. #: guix-git/doc/guix.texi:14492
  20750. 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."
  20751. msgstr ""
  20752. #. type: defvr
  20753. #: guix-git/doc/guix.texi:14495
  20754. 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."
  20755. msgstr ""
  20756. #. type: cindex
  20757. #: guix-git/doc/guix.texi:14501
  20758. #, no-wrap
  20759. msgid "keymap"
  20760. msgstr ""
  20761. #. type: Plain text
  20762. #: guix-git/doc/guix.texi:14509
  20763. 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."
  20764. msgstr ""
  20765. #. type: cindex
  20766. #: guix-git/doc/guix.texi:14510
  20767. #, no-wrap
  20768. msgid "keyboard layout, definition"
  20769. msgstr "disposição do teclado, definição"
  20770. #. type: Plain text
  20771. #: guix-git/doc/guix.texi:14512
  20772. msgid "There are three components that will want to know about your keyboard layout:"
  20773. msgstr ""
  20774. #. type: itemize
  20775. #: guix-git/doc/guix.texi:14519
  20776. 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."
  20777. msgstr ""
  20778. #. type: itemize
  20779. #: guix-git/doc/guix.texi:14524
  20780. msgid "The @emph{operating system kernel}, Linux, will need that so that the console is properly configured (@pxref{operating-system Reference, @code{keyboard-layout}})."
  20781. msgstr ""
  20782. #. type: itemize
  20783. #: guix-git/doc/guix.texi:14528
  20784. msgid "The @emph{graphical display server}, usually Xorg, also has its own idea of the keyboard layout (@pxref{X Window, @code{keyboard-layout}})."
  20785. msgstr ""
  20786. #. type: Plain text
  20787. #: guix-git/doc/guix.texi:14532
  20788. msgid "Guix allows you to configure all three separately but, fortunately, it allows you to share the same keyboard layout for all three components."
  20789. msgstr ""
  20790. #. type: cindex
  20791. #: guix-git/doc/guix.texi:14533
  20792. #, no-wrap
  20793. msgid "XKB, keyboard layouts"
  20794. msgstr "XKB, disposições do teclado"
  20795. #. type: Plain text
  20796. #: guix-git/doc/guix.texi:14541
  20797. 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."
  20798. msgstr ""
  20799. #. type: deffn
  20800. #: guix-git/doc/guix.texi:14542
  20801. #, no-wrap
  20802. msgid "{Scheme Procedure} keyboard-layout @var{name} [@var{variant}] @"
  20803. msgstr ""
  20804. #. type: deffn
  20805. #: guix-git/doc/guix.texi:14545
  20806. msgid "[#:model] [#:options '()] Return a new keyboard layout with the given @var{name} and @var{variant}."
  20807. msgstr ""
  20808. #. type: deffn
  20809. #: guix-git/doc/guix.texi:14549
  20810. 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."
  20811. msgstr ""
  20812. #. type: Plain text
  20813. #: guix-git/doc/guix.texi:14552
  20814. msgid "Here are a few examples:"
  20815. msgstr ""
  20816. #. type: lisp
  20817. #: guix-git/doc/guix.texi:14557
  20818. #, no-wrap
  20819. msgid ""
  20820. ";; The German QWERTZ layout. Here we assume a standard\n"
  20821. ";; \"pc105\" keyboard model.\n"
  20822. "(keyboard-layout \"de\")\n"
  20823. "\n"
  20824. msgstr ""
  20825. #. type: lisp
  20826. #: guix-git/doc/guix.texi:14560
  20827. #, no-wrap
  20828. msgid ""
  20829. ";; The bépo variant of the French layout.\n"
  20830. "(keyboard-layout \"fr\" \"bepo\")\n"
  20831. "\n"
  20832. msgstr ""
  20833. #. type: lisp
  20834. #: guix-git/doc/guix.texi:14563
  20835. #, no-wrap
  20836. msgid ""
  20837. ";; The Catalan layout.\n"
  20838. "(keyboard-layout \"es\" \"cat\")\n"
  20839. "\n"
  20840. msgstr ""
  20841. #. type: lisp
  20842. #: guix-git/doc/guix.texi:14566
  20843. #, no-wrap
  20844. msgid ""
  20845. ";; Arabic layout with \"Alt-Shift\" to switch to US layout.\n"
  20846. "(keyboard-layout \"ar,us\" #:options '(\"grp:alt_shift_toggle\"))\n"
  20847. "\n"
  20848. msgstr ""
  20849. #. type: lisp
  20850. #: guix-git/doc/guix.texi:14573
  20851. #, no-wrap
  20852. msgid ""
  20853. ";; The Latin American Spanish layout. In addition, the\n"
  20854. ";; \"Caps Lock\" key is used as an additional \"Ctrl\" key,\n"
  20855. ";; and the \"Menu\" key is used as a \"Compose\" key to enter\n"
  20856. ";; accented letters.\n"
  20857. "(keyboard-layout \"latam\"\n"
  20858. " #:options '(\"ctrl:nocaps\" \"compose:menu\"))\n"
  20859. "\n"
  20860. msgstr ""
  20861. #. type: lisp
  20862. #: guix-git/doc/guix.texi:14576
  20863. #, no-wrap
  20864. msgid ""
  20865. ";; The Russian layout for a ThinkPad keyboard.\n"
  20866. "(keyboard-layout \"ru\" #:model \"thinkpad\")\n"
  20867. "\n"
  20868. msgstr ""
  20869. #. type: lisp
  20870. #: guix-git/doc/guix.texi:14581
  20871. #, no-wrap
  20872. msgid ""
  20873. ";; The \"US international\" layout, which is the US layout plus\n"
  20874. ";; dead keys to enter accented characters. This is for an\n"
  20875. ";; Apple MacBook keyboard.\n"
  20876. "(keyboard-layout \"us\" \"intl\" #:model \"macbook78\")\n"
  20877. msgstr ""
  20878. #. type: Plain text
  20879. #: guix-git/doc/guix.texi:14585
  20880. msgid "See the @file{share/X11/xkb} directory of the @code{xkeyboard-config} package for a complete list of supported layouts, variants, and models."
  20881. msgstr ""
  20882. #. type: cindex
  20883. #: guix-git/doc/guix.texi:14586
  20884. #, no-wrap
  20885. msgid "keyboard layout, configuration"
  20886. msgstr "disposição do teclado, configuração"
  20887. #. type: Plain text
  20888. #: guix-git/doc/guix.texi:14590
  20889. 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:"
  20890. msgstr ""
  20891. #. type: findex
  20892. #: guix-git/doc/guix.texi:14591
  20893. #, no-wrap
  20894. msgid "set-xorg-configuration"
  20895. msgstr ""
  20896. #. type: lisp
  20897. #: guix-git/doc/guix.texi:14595
  20898. #, no-wrap
  20899. msgid ""
  20900. ";; Using the Turkish layout for the bootloader, the console,\n"
  20901. ";; and for Xorg.\n"
  20902. "\n"
  20903. msgstr ""
  20904. #. type: lisp
  20905. #: guix-git/doc/guix.texi:14607
  20906. #, no-wrap
  20907. msgid ""
  20908. "(operating-system\n"
  20909. " ;; ...\n"
  20910. " (keyboard-layout (keyboard-layout \"tr\")) ;for the console\n"
  20911. " (bootloader (bootloader-configuration\n"
  20912. " (bootloader grub-efi-bootloader)\n"
  20913. " (target \"/boot/efi\")\n"
  20914. " (keyboard-layout keyboard-layout))) ;for GRUB\n"
  20915. " (services (cons (set-xorg-configuration\n"
  20916. " (xorg-configuration ;for Xorg\n"
  20917. " (keyboard-layout keyboard-layout)))\n"
  20918. " %desktop-services)))\n"
  20919. msgstr ""
  20920. #. type: Plain text
  20921. #: guix-git/doc/guix.texi:14614
  20922. 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."
  20923. msgstr ""
  20924. #. type: Plain text
  20925. #: guix-git/doc/guix.texi:14617
  20926. 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:"
  20927. msgstr ""
  20928. #. type: itemize
  20929. #: guix-git/doc/guix.texi:14622
  20930. msgid "If you're using GNOME, its settings panel has a ``Region & Language'' entry where you can select one or more keyboard layouts."
  20931. msgstr ""
  20932. #. type: itemize
  20933. #: guix-git/doc/guix.texi:14627
  20934. 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:"
  20935. msgstr ""
  20936. #. type: example
  20937. #: guix-git/doc/guix.texi:14630
  20938. #, no-wrap
  20939. msgid "setxkbmap us dvorak\n"
  20940. msgstr ""
  20941. #. type: itemize
  20942. #: guix-git/doc/guix.texi:14637
  20943. 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:"
  20944. msgstr ""
  20945. #. type: example
  20946. #: guix-git/doc/guix.texi:14640
  20947. #, no-wrap
  20948. msgid "loadkeys fr-bepo\n"
  20949. msgstr ""
  20950. #. type: cindex
  20951. #: guix-git/doc/guix.texi:14646
  20952. #, no-wrap
  20953. msgid "locale"
  20954. msgstr ""
  20955. #. type: Plain text
  20956. #: guix-git/doc/guix.texi:14653
  20957. 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."
  20958. msgstr ""
  20959. #. type: cindex
  20960. #: guix-git/doc/guix.texi:14654
  20961. #, no-wrap
  20962. msgid "locale definition"
  20963. msgstr ""
  20964. #. type: Plain text
  20965. #: guix-git/doc/guix.texi:14658
  20966. 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}})."
  20967. msgstr ""
  20968. #. type: Plain text
  20969. #: guix-git/doc/guix.texi:14667
  20970. 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."
  20971. msgstr ""
  20972. #. type: Plain text
  20973. #: guix-git/doc/guix.texi:14670
  20974. msgid "For instance, to add the North Frisian locale for Germany, the value of that field may be:"
  20975. msgstr ""
  20976. #. type: lisp
  20977. #: guix-git/doc/guix.texi:14675
  20978. #, no-wrap
  20979. msgid ""
  20980. "(cons (locale-definition\n"
  20981. " (name \"fy_DE.utf8\") (source \"fy_DE\"))\n"
  20982. " %default-locale-definitions)\n"
  20983. msgstr ""
  20984. #. type: Plain text
  20985. #: guix-git/doc/guix.texi:14679
  20986. msgid "Likewise, to save space, one might want @code{locale-definitions} to list only the locales that are actually used, as in:"
  20987. msgstr ""
  20988. #. type: lisp
  20989. #: guix-git/doc/guix.texi:14684
  20990. #, no-wrap
  20991. msgid ""
  20992. "(list (locale-definition\n"
  20993. " (name \"ja_JP.eucjp\") (source \"ja_JP\")\n"
  20994. " (charset \"EUC-JP\")))\n"
  20995. msgstr ""
  20996. #. type: Plain text
  20997. #: guix-git/doc/guix.texi:14693
  20998. 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})."
  20999. msgstr ""
  21000. #. type: Plain text
  21001. #: guix-git/doc/guix.texi:14696
  21002. msgid "The @code{locale-definition} form is provided by the @code{(gnu system locale)} module. Details are given below."
  21003. msgstr ""
  21004. #. type: deftp
  21005. #: guix-git/doc/guix.texi:14697
  21006. #, no-wrap
  21007. msgid "{Data Type} locale-definition"
  21008. msgstr ""
  21009. #. type: deftp
  21010. #: guix-git/doc/guix.texi:14699
  21011. msgid "This is the data type of a locale definition."
  21012. msgstr ""
  21013. #. type: table
  21014. #: guix-git/doc/guix.texi:14705
  21015. msgid "The name of the locale. @xref{Locale Names,,, libc, The GNU C Library Reference Manual}, for more information on locale names."
  21016. msgstr ""
  21017. #. type: table
  21018. #: guix-git/doc/guix.texi:14709
  21019. msgid "The name of the source for that locale. This is typically the @code{@var{language}_@var{territory}} part of the locale name."
  21020. msgstr ""
  21021. #. type: item
  21022. #: guix-git/doc/guix.texi:14710
  21023. #, no-wrap
  21024. msgid "@code{charset} (default: @code{\"UTF-8\"})"
  21025. msgstr ""
  21026. #. type: table
  21027. #: guix-git/doc/guix.texi:14714
  21028. msgid "The ``character set'' or ``code set'' for that locale, @uref{https://www.iana.org/assignments/character-sets, as defined by IANA}."
  21029. msgstr ""
  21030. #. type: defvr
  21031. #: guix-git/doc/guix.texi:14718
  21032. #, no-wrap
  21033. msgid "{Scheme Variable} %default-locale-definitions"
  21034. msgstr ""
  21035. #. type: defvr
  21036. #: guix-git/doc/guix.texi:14722
  21037. 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."
  21038. msgstr ""
  21039. #. type: cindex
  21040. #: guix-git/doc/guix.texi:14723
  21041. #, no-wrap
  21042. msgid "locale name"
  21043. msgstr ""
  21044. #. type: cindex
  21045. #: guix-git/doc/guix.texi:14724
  21046. #, no-wrap
  21047. msgid "normalized codeset in locale names"
  21048. msgstr ""
  21049. #. type: defvr
  21050. #: guix-git/doc/guix.texi:14730
  21051. 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}."
  21052. msgstr ""
  21053. #. type: subsection
  21054. #: guix-git/doc/guix.texi:14732
  21055. #, no-wrap
  21056. msgid "Locale Data Compatibility Considerations"
  21057. msgstr ""
  21058. #. type: cindex
  21059. #: guix-git/doc/guix.texi:14734
  21060. #, no-wrap
  21061. msgid "incompatibility, of locale data"
  21062. msgstr ""
  21063. #. type: Plain text
  21064. #: guix-git/doc/guix.texi:14741
  21065. 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."
  21066. msgstr ""
  21067. #. type: Plain text
  21068. #: guix-git/doc/guix.texi:14753
  21069. 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."
  21070. msgstr ""
  21071. #. type: Plain text
  21072. #: guix-git/doc/guix.texi:14758
  21073. 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."
  21074. msgstr ""
  21075. #. type: Plain text
  21076. #: guix-git/doc/guix.texi:14762
  21077. 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})."
  21078. msgstr ""
  21079. #. type: Plain text
  21080. #: guix-git/doc/guix.texi:14769
  21081. 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}:"
  21082. msgstr ""
  21083. #. type: lisp
  21084. #: guix-git/doc/guix.texi:14772
  21085. #, no-wrap
  21086. msgid ""
  21087. "(use-package-modules base)\n"
  21088. "\n"
  21089. msgstr ""
  21090. #. type: lisp
  21091. #: guix-git/doc/guix.texi:14776
  21092. #, no-wrap
  21093. msgid ""
  21094. "(operating-system\n"
  21095. " ;; @dots{}\n"
  21096. " (locale-libcs (list glibc-2.21 (canonical-package glibc))))\n"
  21097. msgstr ""
  21098. #. type: Plain text
  21099. #: guix-git/doc/guix.texi:14781
  21100. 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}."
  21101. msgstr ""
  21102. #. type: cindex
  21103. #: guix-git/doc/guix.texi:14786
  21104. #, no-wrap
  21105. msgid "system services"
  21106. msgstr ""
  21107. #. type: Plain text
  21108. #: guix-git/doc/guix.texi:14792
  21109. 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."
  21110. msgstr ""
  21111. #. type: Plain text
  21112. #: guix-git/doc/guix.texi:14799
  21113. 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:"
  21114. msgstr ""
  21115. #. type: example
  21116. #: guix-git/doc/guix.texi:14802
  21117. #, no-wrap
  21118. msgid "# herd status\n"
  21119. msgstr ""
  21120. #. type: Plain text
  21121. #: guix-git/doc/guix.texi:14807
  21122. 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:"
  21123. msgstr ""
  21124. #. type: example
  21125. #: guix-git/doc/guix.texi:14811
  21126. #, no-wrap
  21127. msgid ""
  21128. "# herd doc nscd\n"
  21129. "Run libc's name service cache daemon (nscd).\n"
  21130. "\n"
  21131. msgstr ""
  21132. #. type: example
  21133. #: guix-git/doc/guix.texi:14814
  21134. #, no-wrap
  21135. msgid ""
  21136. "# herd doc nscd action invalidate\n"
  21137. "invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups.\n"
  21138. msgstr ""
  21139. #. type: Plain text
  21140. #: guix-git/doc/guix.texi:14819
  21141. 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:"
  21142. msgstr ""
  21143. #. type: example
  21144. #: guix-git/doc/guix.texi:14826
  21145. #, no-wrap
  21146. msgid ""
  21147. "# herd stop nscd\n"
  21148. "Service nscd has been stopped.\n"
  21149. "# herd restart xorg-server\n"
  21150. "Service xorg-server has been stopped.\n"
  21151. "Service xorg-server has been started.\n"
  21152. msgstr ""
  21153. #. type: Plain text
  21154. #: guix-git/doc/guix.texi:14831
  21155. msgid "The following sections document the available services, starting with the core services, that may be used in an @code{operating-system} declaration."
  21156. msgstr ""
  21157. #. type: subsection
  21158. #: guix-git/doc/guix.texi:14866 guix-git/doc/guix.texi:22490
  21159. #: guix-git/doc/guix.texi:22491
  21160. #, no-wrap
  21161. msgid "File-Sharing Services"
  21162. msgstr ""
  21163. #. type: menuentry
  21164. #: guix-git/doc/guix.texi:14866
  21165. msgid "File-sharing services."
  21166. msgstr ""
  21167. #. type: Plain text
  21168. #: guix-git/doc/guix.texi:14874
  21169. 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."
  21170. msgstr ""
  21171. #. type: defvr
  21172. #: guix-git/doc/guix.texi:14875
  21173. #, no-wrap
  21174. msgid "{Scheme Variable} %base-services"
  21175. msgstr ""
  21176. #. type: defvr
  21177. #: guix-git/doc/guix.texi:14881
  21178. 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."
  21179. msgstr ""
  21180. #. type: defvr
  21181. #: guix-git/doc/guix.texi:14886
  21182. 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:"
  21183. msgstr ""
  21184. #. type: lisp
  21185. #: guix-git/doc/guix.texi:14891
  21186. #, no-wrap
  21187. msgid ""
  21188. "(append (list (service avahi-service-type)\n"
  21189. " (service openssh-service-type))\n"
  21190. " %base-services)\n"
  21191. msgstr ""
  21192. #. type: defvr
  21193. #: guix-git/doc/guix.texi:14894
  21194. #, no-wrap
  21195. msgid "{Scheme Variable} special-files-service-type"
  21196. msgstr ""
  21197. #. type: defvr
  21198. #: guix-git/doc/guix.texi:14897
  21199. 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}."
  21200. msgstr ""
  21201. #. type: defvr
  21202. #: guix-git/doc/guix.texi:14901
  21203. 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:"
  21204. msgstr ""
  21205. #. type: file{#1}
  21206. #: guix-git/doc/guix.texi:14902
  21207. #, no-wrap
  21208. msgid "/bin/sh"
  21209. msgstr ""
  21210. #. type: cindex
  21211. #: guix-git/doc/guix.texi:14903
  21212. #, no-wrap
  21213. msgid "@file{sh}, in @file{/bin}"
  21214. msgstr ""
  21215. #. type: lisp
  21216. #: guix-git/doc/guix.texi:14906
  21217. #, no-wrap
  21218. msgid "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\")))\n"
  21219. msgstr ""
  21220. #. type: file{#1}
  21221. #: guix-git/doc/guix.texi:14908
  21222. #, no-wrap
  21223. msgid "/usr/bin/env"
  21224. msgstr "/usr/bin/env"
  21225. #. type: cindex
  21226. #: guix-git/doc/guix.texi:14909
  21227. #, no-wrap
  21228. msgid "@file{env}, in @file{/usr/bin}"
  21229. msgstr ""
  21230. #. type: defvr
  21231. #: guix-git/doc/guix.texi:14912
  21232. msgid "If you want to add, say, @code{/usr/bin/env} to your system, you can change it to:"
  21233. msgstr ""
  21234. #. type: lisp
  21235. #: guix-git/doc/guix.texi:14916
  21236. #, no-wrap
  21237. msgid ""
  21238. "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\"))\n"
  21239. " (\"/usr/bin/env\" ,(file-append coreutils \"/bin/env\")))\n"
  21240. msgstr ""
  21241. #. type: defvr
  21242. #: guix-git/doc/guix.texi:14923
  21243. 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)."
  21244. msgstr ""
  21245. #. type: deffn
  21246. #: guix-git/doc/guix.texi:14925
  21247. #, no-wrap
  21248. msgid "{Scheme Procedure} extra-special-file @var{file} @var{target}"
  21249. msgstr ""
  21250. #. type: deffn
  21251. #: guix-git/doc/guix.texi:14927
  21252. msgid "Use @var{target} as the ``special file'' @var{file}."
  21253. msgstr ""
  21254. #. type: deffn
  21255. #: guix-git/doc/guix.texi:14931
  21256. 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:"
  21257. msgstr ""
  21258. #. type: lisp
  21259. #: guix-git/doc/guix.texi:14935
  21260. #, no-wrap
  21261. msgid ""
  21262. "(extra-special-file \"/usr/bin/env\"\n"
  21263. " (file-append coreutils \"/bin/env\"))\n"
  21264. msgstr ""
  21265. #. type: deffn
  21266. #: guix-git/doc/guix.texi:14938
  21267. #, no-wrap
  21268. msgid "{Scheme Procedure} host-name-service @var{name}"
  21269. msgstr ""
  21270. #. type: deffn
  21271. #: guix-git/doc/guix.texi:14940
  21272. msgid "Return a service that sets the host name to @var{name}."
  21273. msgstr ""
  21274. #. type: defvr
  21275. #: guix-git/doc/guix.texi:14942
  21276. #, no-wrap
  21277. msgid "{Scheme Variable} console-font-service-type"
  21278. msgstr ""
  21279. #. type: defvr
  21280. #: guix-git/doc/guix.texi:14947
  21281. 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:"
  21282. msgstr ""
  21283. #. type: lisp
  21284. #: guix-git/doc/guix.texi:14956
  21285. #, no-wrap
  21286. msgid ""
  21287. "`((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  21288. " (\"tty2\" . ,(file-append\n"
  21289. " font-tamzen\n"
  21290. " \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  21291. " (\"tty3\" . ,(file-append\n"
  21292. " font-terminus\n"
  21293. " \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  21294. msgstr ""
  21295. #. type: deffn
  21296. #: guix-git/doc/guix.texi:14959
  21297. #, no-wrap
  21298. msgid "{Scheme Procedure} login-service @var{config}"
  21299. msgstr ""
  21300. #. type: deffn
  21301. #: guix-git/doc/guix.texi:14963
  21302. 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."
  21303. msgstr ""
  21304. #. type: deftp
  21305. #: guix-git/doc/guix.texi:14965
  21306. #, no-wrap
  21307. msgid "{Data Type} login-configuration"
  21308. msgstr ""
  21309. #. type: deftp
  21310. #: guix-git/doc/guix.texi:14967
  21311. msgid "This is the data type representing the configuration of login."
  21312. msgstr ""
  21313. #. type: code{#1}
  21314. #: guix-git/doc/guix.texi:14970
  21315. #, no-wrap
  21316. msgid "motd"
  21317. msgstr ""
  21318. #. type: cindex
  21319. #: guix-git/doc/guix.texi:14971
  21320. #, no-wrap
  21321. msgid "message of the day"
  21322. msgstr ""
  21323. #. type: table
  21324. #: guix-git/doc/guix.texi:14973
  21325. msgid "A file-like object containing the ``message of the day''."
  21326. msgstr ""
  21327. #. type: item
  21328. #: guix-git/doc/guix.texi:14974 guix-git/doc/guix.texi:17855
  21329. #, no-wrap
  21330. msgid "@code{allow-empty-passwords?} (default: @code{#t})"
  21331. msgstr ""
  21332. #. type: table
  21333. #: guix-git/doc/guix.texi:14977
  21334. msgid "Allow empty passwords by default so that first-time users can log in when the 'root' account has just been created."
  21335. msgstr ""
  21336. #. type: deffn
  21337. #: guix-git/doc/guix.texi:14981
  21338. #, no-wrap
  21339. msgid "{Scheme Procedure} mingetty-service @var{config}"
  21340. msgstr ""
  21341. #. type: deffn
  21342. #: guix-git/doc/guix.texi:14985
  21343. 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."
  21344. msgstr ""
  21345. #. type: deftp
  21346. #: guix-git/doc/guix.texi:14987
  21347. #, no-wrap
  21348. msgid "{Data Type} mingetty-configuration"
  21349. msgstr ""
  21350. #. type: deftp
  21351. #: guix-git/doc/guix.texi:14990
  21352. msgid "This is the data type representing the configuration of Mingetty, which provides the default implementation of virtual console log-in."
  21353. msgstr ""
  21354. #. type: code{#1}
  21355. #: guix-git/doc/guix.texi:14993 guix-git/doc/guix.texi:15032
  21356. #: guix-git/doc/guix.texi:31484
  21357. #, no-wrap
  21358. msgid "tty"
  21359. msgstr ""
  21360. #. type: table
  21361. #: guix-git/doc/guix.texi:14995
  21362. msgid "The name of the console this Mingetty runs on---e.g., @code{\"tty1\"}."
  21363. msgstr ""
  21364. #. type: item
  21365. #: guix-git/doc/guix.texi:14996 guix-git/doc/guix.texi:15061
  21366. #: guix-git/doc/guix.texi:15220
  21367. #, no-wrap
  21368. msgid "@code{auto-login} (default: @code{#f})"
  21369. msgstr ""
  21370. #. type: table
  21371. #: guix-git/doc/guix.texi:15000
  21372. 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."
  21373. msgstr ""
  21374. #. type: item
  21375. #: guix-git/doc/guix.texi:15001
  21376. #, no-wrap
  21377. msgid "@code{login-program} (default: @code{#f})"
  21378. msgstr ""
  21379. #. type: table
  21380. #: guix-git/doc/guix.texi:15005
  21381. 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."
  21382. msgstr ""
  21383. #. type: item
  21384. #: guix-git/doc/guix.texi:15006
  21385. #, no-wrap
  21386. msgid "@code{login-pause?} (default: @code{#f})"
  21387. msgstr ""
  21388. #. type: table
  21389. #: guix-git/doc/guix.texi:15009
  21390. 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."
  21391. msgstr ""
  21392. #. type: item
  21393. #: guix-git/doc/guix.texi:15010
  21394. #, no-wrap
  21395. msgid "@code{clear-on-logout?} (default: @code{#t})"
  21396. msgstr ""
  21397. #. type: table
  21398. #: guix-git/doc/guix.texi:15012
  21399. msgid "When set to @code{#t}, the screen will be cleared after logout."
  21400. msgstr ""
  21401. #. type: item
  21402. #: guix-git/doc/guix.texi:15013
  21403. #, no-wrap
  21404. msgid "@code{mingetty} (default: @var{mingetty})"
  21405. msgstr ""
  21406. #. type: table
  21407. #: guix-git/doc/guix.texi:15015
  21408. msgid "The Mingetty package to use."
  21409. msgstr ""
  21410. #. type: deffn
  21411. #: guix-git/doc/guix.texi:15019
  21412. #, no-wrap
  21413. msgid "{Scheme Procedure} agetty-service @var{config}"
  21414. msgstr ""
  21415. #. type: deffn
  21416. #: guix-git/doc/guix.texi:15023
  21417. 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."
  21418. msgstr ""
  21419. #. type: deftp
  21420. #: guix-git/doc/guix.texi:15025
  21421. #, no-wrap
  21422. msgid "{Data Type} agetty-configuration"
  21423. msgstr ""
  21424. #. type: deftp
  21425. #: guix-git/doc/guix.texi:15029
  21426. 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."
  21427. msgstr ""
  21428. #. type: table
  21429. #: guix-git/doc/guix.texi:15036
  21430. 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."
  21431. msgstr ""
  21432. #. type: table
  21433. #: guix-git/doc/guix.texi:15040
  21434. 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."
  21435. msgstr ""
  21436. #. type: table
  21437. #: guix-git/doc/guix.texi:15044
  21438. 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."
  21439. msgstr ""
  21440. #. type: table
  21441. #: guix-git/doc/guix.texi:15048
  21442. 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."
  21443. msgstr ""
  21444. #. type: item
  21445. #: guix-git/doc/guix.texi:15049 guix-git/doc/guix.texi:31645
  21446. #, no-wrap
  21447. msgid "@code{baud-rate} (default: @code{#f})"
  21448. msgstr ""
  21449. #. type: table
  21450. #: guix-git/doc/guix.texi:15052
  21451. msgid "A string containing a comma-separated list of one or more baud rates, in descending order."
  21452. msgstr ""
  21453. #. type: item
  21454. #: guix-git/doc/guix.texi:15053
  21455. #, no-wrap
  21456. msgid "@code{term} (default: @code{#f})"
  21457. msgstr "@code{term} (default: @code{#f})"
  21458. #. type: table
  21459. #: guix-git/doc/guix.texi:15056
  21460. msgid "A string containing the value used for the @env{TERM} environment variable."
  21461. msgstr ""
  21462. #. type: item
  21463. #: guix-git/doc/guix.texi:15057
  21464. #, no-wrap
  21465. msgid "@code{eight-bits?} (default: @code{#f})"
  21466. msgstr ""
  21467. #. type: table
  21468. #: guix-git/doc/guix.texi:15060
  21469. msgid "When @code{#t}, the tty is assumed to be 8-bit clean, and parity detection is disabled."
  21470. msgstr ""
  21471. #. type: table
  21472. #: guix-git/doc/guix.texi:15064 guix-git/doc/guix.texi:15223
  21473. 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."
  21474. msgstr ""
  21475. #. type: item
  21476. #: guix-git/doc/guix.texi:15065
  21477. #, no-wrap
  21478. msgid "@code{no-reset?} (default: @code{#f})"
  21479. msgstr "@code{no-reset?} (default: @code{#f})"
  21480. #. type: table
  21481. #: guix-git/doc/guix.texi:15067
  21482. msgid "When @code{#t}, don't reset terminal cflags (control modes)."
  21483. msgstr ""
  21484. #. type: item
  21485. #: guix-git/doc/guix.texi:15068
  21486. #, no-wrap
  21487. msgid "@code{host} (default: @code{#f})"
  21488. msgstr "@code{host} (default: @code{#f})"
  21489. #. type: table
  21490. #: guix-git/doc/guix.texi:15071
  21491. msgid "This accepts a string containing the ``login_host'', which will be written into the @file{/var/run/utmpx} file."
  21492. msgstr ""
  21493. #. type: item
  21494. #: guix-git/doc/guix.texi:15072
  21495. #, no-wrap
  21496. msgid "@code{remote?} (default: @code{#f})"
  21497. msgstr "@code{remote?} (padrão: @code{#f})"
  21498. #. type: table
  21499. #: guix-git/doc/guix.texi:15076
  21500. 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}."
  21501. msgstr ""
  21502. #. type: item
  21503. #: guix-git/doc/guix.texi:15077
  21504. #, no-wrap
  21505. msgid "@code{flow-control?} (default: @code{#f})"
  21506. msgstr ""
  21507. #. type: table
  21508. #: guix-git/doc/guix.texi:15079
  21509. msgid "When set to @code{#t}, enable hardware (RTS/CTS) flow control."
  21510. msgstr ""
  21511. #. type: item
  21512. #: guix-git/doc/guix.texi:15080
  21513. #, no-wrap
  21514. msgid "@code{no-issue?} (default: @code{#f})"
  21515. msgstr "@code{no-issue?} (padrão: @code{#f})"
  21516. #. type: table
  21517. #: guix-git/doc/guix.texi:15083
  21518. msgid "When set to @code{#t}, the contents of the @file{/etc/issue} file will not be displayed before presenting the login prompt."
  21519. msgstr ""
  21520. #. type: item
  21521. #: guix-git/doc/guix.texi:15084
  21522. #, no-wrap
  21523. msgid "@code{init-string} (default: @code{#f})"
  21524. msgstr ""
  21525. #. type: table
  21526. #: guix-git/doc/guix.texi:15087
  21527. 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."
  21528. msgstr ""
  21529. #. type: item
  21530. #: guix-git/doc/guix.texi:15088
  21531. #, no-wrap
  21532. msgid "@code{no-clear?} (default: @code{#f})"
  21533. msgstr "@code{no-clear?} (padrão: @code{#f})"
  21534. #. type: table
  21535. #: guix-git/doc/guix.texi:15091
  21536. msgid "When set to @code{#t}, agetty will not clear the screen before showing the login prompt."
  21537. msgstr ""
  21538. #. type: item
  21539. #: guix-git/doc/guix.texi:15092
  21540. #, no-wrap
  21541. msgid "@code{login-program} (default: (file-append shadow \"/bin/login\"))"
  21542. msgstr ""
  21543. #. type: table
  21544. #: guix-git/doc/guix.texi:15096
  21545. 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."
  21546. msgstr ""
  21547. #. type: item
  21548. #: guix-git/doc/guix.texi:15097
  21549. #, no-wrap
  21550. msgid "@code{local-line} (default: @code{#f})"
  21551. msgstr ""
  21552. #. type: table
  21553. #: guix-git/doc/guix.texi:15101
  21554. 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}."
  21555. msgstr ""
  21556. #. type: item
  21557. #: guix-git/doc/guix.texi:15102
  21558. #, no-wrap
  21559. msgid "@code{extract-baud?} (default: @code{#f})"
  21560. msgstr ""
  21561. #. type: table
  21562. #: guix-git/doc/guix.texi:15105
  21563. 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."
  21564. msgstr ""
  21565. #. type: item
  21566. #: guix-git/doc/guix.texi:15106
  21567. #, no-wrap
  21568. msgid "@code{skip-login?} (default: @code{#f})"
  21569. msgstr ""
  21570. #. type: table
  21571. #: guix-git/doc/guix.texi:15110
  21572. 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."
  21573. msgstr ""
  21574. #. type: item
  21575. #: guix-git/doc/guix.texi:15111
  21576. #, no-wrap
  21577. msgid "@code{no-newline?} (default: @code{#f})"
  21578. msgstr "@code{no-newline?} (padrão: @code{#f})"
  21579. #. type: table
  21580. #: guix-git/doc/guix.texi:15114
  21581. msgid "When set to @code{#t}, do not print a newline before printing the @file{/etc/issue} file."
  21582. msgstr ""
  21583. #. type: item
  21584. #: guix-git/doc/guix.texi:15116
  21585. #, no-wrap
  21586. msgid "@code{login-options} (default: @code{#f})"
  21587. msgstr ""
  21588. #. type: table
  21589. #: guix-git/doc/guix.texi:15121
  21590. 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."
  21591. msgstr ""
  21592. #. type: item
  21593. #: guix-git/doc/guix.texi:15122
  21594. #, no-wrap
  21595. msgid "@code{login-pause} (default: @code{#f})"
  21596. msgstr ""
  21597. #. type: table
  21598. #: guix-git/doc/guix.texi:15126
  21599. 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."
  21600. msgstr ""
  21601. #. type: item
  21602. #: guix-git/doc/guix.texi:15127
  21603. #, no-wrap
  21604. msgid "@code{chroot} (default: @code{#f})"
  21605. msgstr "@code{chroot} (default: @code{#f})"
  21606. #. type: table
  21607. #: guix-git/doc/guix.texi:15130
  21608. msgid "Change root to the specified directory. This option accepts a directory path as a string."
  21609. msgstr ""
  21610. #. type: item
  21611. #: guix-git/doc/guix.texi:15131
  21612. #, no-wrap
  21613. msgid "@code{hangup?} (default: @code{#f})"
  21614. msgstr "@code{hangup?} (padrão: @code{#f})"
  21615. #. type: table
  21616. #: guix-git/doc/guix.texi:15134
  21617. msgid "Use the Linux system call @code{vhangup} to do a virtual hangup of the specified terminal."
  21618. msgstr ""
  21619. #. type: item
  21620. #: guix-git/doc/guix.texi:15135
  21621. #, no-wrap
  21622. msgid "@code{keep-baud?} (default: @code{#f})"
  21623. msgstr ""
  21624. #. type: table
  21625. #: guix-git/doc/guix.texi:15139
  21626. 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."
  21627. msgstr ""
  21628. #. type: item
  21629. #: guix-git/doc/guix.texi:15140
  21630. #, no-wrap
  21631. msgid "@code{timeout} (default: @code{#f})"
  21632. msgstr ""
  21633. #. type: table
  21634. #: guix-git/doc/guix.texi:15143
  21635. msgid "When set to an integer value, terminate if no user name could be read within @var{timeout} seconds."
  21636. msgstr ""
  21637. #. type: item
  21638. #: guix-git/doc/guix.texi:15144
  21639. #, no-wrap
  21640. msgid "@code{detect-case?} (default: @code{#f})"
  21641. msgstr ""
  21642. #. type: table
  21643. #: guix-git/doc/guix.texi:15150
  21644. 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."
  21645. msgstr ""
  21646. #. type: item
  21647. #: guix-git/doc/guix.texi:15151
  21648. #, no-wrap
  21649. msgid "@code{wait-cr?} (default: @code{#f})"
  21650. msgstr ""
  21651. #. type: table
  21652. #: guix-git/doc/guix.texi:15156
  21653. 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."
  21654. msgstr ""
  21655. #. type: item
  21656. #: guix-git/doc/guix.texi:15157
  21657. #, no-wrap
  21658. msgid "@code{no-hints?} (default: @code{#f})"
  21659. msgstr "@code{no-hints?} (padrão: @code{#f})"
  21660. #. type: table
  21661. #: guix-git/doc/guix.texi:15160
  21662. msgid "When set to @code{#t}, do not print hints about Num, Caps, and Scroll locks."
  21663. msgstr ""
  21664. #. type: item
  21665. #: guix-git/doc/guix.texi:15161
  21666. #, no-wrap
  21667. msgid "@code{no-hostname?} (default: @code{#f})"
  21668. msgstr "@code{no-hostname?} (default: @code{#f})"
  21669. #. type: table
  21670. #: guix-git/doc/guix.texi:15164
  21671. msgid "By default, the hostname is printed. When this option is set to @code{#t}, no hostname will be shown at all."
  21672. msgstr ""
  21673. #. type: item
  21674. #: guix-git/doc/guix.texi:15165
  21675. #, no-wrap
  21676. msgid "@code{long-hostname?} (default: @code{#f})"
  21677. msgstr ""
  21678. #. type: table
  21679. #: guix-git/doc/guix.texi:15169
  21680. 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."
  21681. msgstr ""
  21682. #. type: item
  21683. #: guix-git/doc/guix.texi:15170
  21684. #, no-wrap
  21685. msgid "@code{erase-characters} (default: @code{#f})"
  21686. msgstr ""
  21687. #. type: table
  21688. #: guix-git/doc/guix.texi:15173
  21689. msgid "This option accepts a string of additional characters that should be interpreted as backspace when the user types their login name."
  21690. msgstr ""
  21691. #. type: item
  21692. #: guix-git/doc/guix.texi:15174
  21693. #, no-wrap
  21694. msgid "@code{kill-characters} (default: @code{#f})"
  21695. msgstr ""
  21696. #. type: table
  21697. #: guix-git/doc/guix.texi:15178
  21698. 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."
  21699. msgstr ""
  21700. #. type: item
  21701. #: guix-git/doc/guix.texi:15179
  21702. #, no-wrap
  21703. msgid "@code{chdir} (default: @code{#f})"
  21704. msgstr "@code{chdir} (default: @code{#f})"
  21705. #. type: table
  21706. #: guix-git/doc/guix.texi:15182
  21707. msgid "This option accepts, as a string, a directory path that will be changed to before login."
  21708. msgstr ""
  21709. #. type: item
  21710. #: guix-git/doc/guix.texi:15183
  21711. #, no-wrap
  21712. msgid "@code{delay} (default: @code{#f})"
  21713. msgstr "@code{delay} (default: @code{#f})"
  21714. #. type: table
  21715. #: guix-git/doc/guix.texi:15186
  21716. msgid "This options accepts, as an integer, the number of seconds to sleep before opening the tty and displaying the login prompt."
  21717. msgstr ""
  21718. #. type: item
  21719. #: guix-git/doc/guix.texi:15187
  21720. #, no-wrap
  21721. msgid "@code{nice} (default: @code{#f})"
  21722. msgstr "@code{nice} (default: @code{#f})"
  21723. #. type: table
  21724. #: guix-git/doc/guix.texi:15190
  21725. msgid "This option accepts, as an integer, the nice value with which to run the @command{login} program."
  21726. msgstr ""
  21727. #. type: item
  21728. #: guix-git/doc/guix.texi:15191 guix-git/doc/guix.texi:15468
  21729. #: guix-git/doc/guix.texi:16330 guix-git/doc/guix.texi:23473
  21730. #: guix-git/doc/guix.texi:24949 guix-git/doc/guix.texi:27297
  21731. #: guix-git/doc/guix.texi:28084 guix-git/doc/guix.texi:29783
  21732. #: guix-git/doc/guix.texi:31975
  21733. #, no-wrap
  21734. msgid "@code{extra-options} (default: @code{'()})"
  21735. msgstr ""
  21736. #. type: table
  21737. #: guix-git/doc/guix.texi:15194
  21738. msgid "This option provides an ``escape hatch'' for the user to provide arbitrary command-line arguments to @command{agetty} as a list of strings."
  21739. msgstr ""
  21740. #. type: deffn
  21741. #: guix-git/doc/guix.texi:15198
  21742. #, no-wrap
  21743. msgid "{Scheme Procedure} kmscon-service-type @var{config}"
  21744. msgstr ""
  21745. #. type: deffn
  21746. #: guix-git/doc/guix.texi:15202
  21747. 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."
  21748. msgstr ""
  21749. #. type: deftp
  21750. #: guix-git/doc/guix.texi:15204
  21751. #, no-wrap
  21752. msgid "{Data Type} kmscon-configuration"
  21753. msgstr ""
  21754. #. type: deftp
  21755. #: guix-git/doc/guix.texi:15207
  21756. msgid "This is the data type representing the configuration of Kmscon, which implements virtual console log-in."
  21757. msgstr ""
  21758. #. type: code{#1}
  21759. #: guix-git/doc/guix.texi:15210
  21760. #, no-wrap
  21761. msgid "virtual-terminal"
  21762. msgstr ""
  21763. #. type: table
  21764. #: guix-git/doc/guix.texi:15212
  21765. msgid "The name of the console this Kmscon runs on---e.g., @code{\"tty1\"}."
  21766. msgstr ""
  21767. #. type: item
  21768. #: guix-git/doc/guix.texi:15213
  21769. #, no-wrap
  21770. msgid "@code{login-program} (default: @code{#~(string-append #$shadow \"/bin/login\")})"
  21771. msgstr ""
  21772. #. type: table
  21773. #: guix-git/doc/guix.texi:15216
  21774. msgid "A gexp denoting the name of the log-in program. The default log-in program is @command{login} from the Shadow tool suite."
  21775. msgstr ""
  21776. #. type: item
  21777. #: guix-git/doc/guix.texi:15217
  21778. #, no-wrap
  21779. msgid "@code{login-arguments} (default: @code{'(\"-p\")})"
  21780. msgstr ""
  21781. #. type: table
  21782. #: guix-git/doc/guix.texi:15219
  21783. msgid "A list of arguments to pass to @command{login}."
  21784. msgstr ""
  21785. #. type: item
  21786. #: guix-git/doc/guix.texi:15224
  21787. #, no-wrap
  21788. msgid "@code{hardware-acceleration?} (default: #f)"
  21789. msgstr ""
  21790. #. type: table
  21791. #: guix-git/doc/guix.texi:15226
  21792. msgid "Whether to use hardware acceleration."
  21793. msgstr ""
  21794. #. type: item
  21795. #: guix-git/doc/guix.texi:15227
  21796. #, fuzzy, no-wrap
  21797. #| msgid "@code{no-newline?} (default: @code{#f})"
  21798. msgid "@code{font-engine} (default: @code{\"pango\"})"
  21799. msgstr "@code{no-newline?} (padrão: @code{#f})"
  21800. #. type: table
  21801. #: guix-git/doc/guix.texi:15229
  21802. msgid "Font engine used in Kmscon."
  21803. msgstr ""
  21804. #. type: item
  21805. #: guix-git/doc/guix.texi:15230
  21806. #, fuzzy, no-wrap
  21807. #| msgid "@code{max-zone-size} (default: @code{#f})"
  21808. msgid "@code{font-size} (default: @code{12})"
  21809. msgstr "@code{max-zone-size} (default: @code{#f})"
  21810. #. type: table
  21811. #: guix-git/doc/guix.texi:15232
  21812. msgid "Font size used in Kmscon."
  21813. msgstr ""
  21814. #. type: item
  21815. #: guix-git/doc/guix.texi:15233
  21816. #, no-wrap
  21817. msgid "@code{kmscon} (default: @var{kmscon})"
  21818. msgstr ""
  21819. #. type: table
  21820. #: guix-git/doc/guix.texi:15235
  21821. msgid "The Kmscon package to use."
  21822. msgstr ""
  21823. #. type: cindex
  21824. #: guix-git/doc/guix.texi:15239
  21825. #, no-wrap
  21826. msgid "name service cache daemon"
  21827. msgstr ""
  21828. #. type: cindex
  21829. #: guix-git/doc/guix.texi:15240
  21830. #, no-wrap
  21831. msgid "nscd"
  21832. msgstr ""
  21833. #. type: deffn
  21834. #: guix-git/doc/guix.texi:15241
  21835. #, no-wrap
  21836. msgid "{Scheme Procedure} nscd-service [@var{config}] [#:glibc glibc] @"
  21837. msgstr ""
  21838. #. type: deffn
  21839. #: guix-git/doc/guix.texi:15246
  21840. 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."
  21841. msgstr ""
  21842. #. type: deffn
  21843. #: guix-git/doc/guix.texi:15248
  21844. msgid "For convenience, the Shepherd service for nscd provides the following actions:"
  21845. msgstr ""
  21846. #. type: item
  21847. #: guix-git/doc/guix.texi:15250
  21848. #, no-wrap
  21849. msgid "invalidate"
  21850. msgstr ""
  21851. #. type: cindex
  21852. #: guix-git/doc/guix.texi:15251
  21853. #, no-wrap
  21854. msgid "cache invalidation, nscd"
  21855. msgstr ""
  21856. #. type: cindex
  21857. #: guix-git/doc/guix.texi:15252
  21858. #, no-wrap
  21859. msgid "nscd, cache invalidation"
  21860. msgstr ""
  21861. #. type: table
  21862. #: guix-git/doc/guix.texi:15254
  21863. msgid "This invalidate the given cache. For instance, running:"
  21864. msgstr ""
  21865. #. type: example
  21866. #: guix-git/doc/guix.texi:15257
  21867. #, no-wrap
  21868. msgid "herd invalidate nscd hosts\n"
  21869. msgstr ""
  21870. #. type: table
  21871. #: guix-git/doc/guix.texi:15261
  21872. msgid "invalidates the host name lookup cache of nscd."
  21873. msgstr ""
  21874. #. type: item
  21875. #: guix-git/doc/guix.texi:15262
  21876. #, no-wrap
  21877. msgid "statistics"
  21878. msgstr ""
  21879. #. type: table
  21880. #: guix-git/doc/guix.texi:15265
  21881. msgid "Running @command{herd statistics nscd} displays information about nscd usage and caches."
  21882. msgstr ""
  21883. #. type: defvr
  21884. #: guix-git/doc/guix.texi:15269
  21885. #, no-wrap
  21886. msgid "{Scheme Variable} %nscd-default-configuration"
  21887. msgstr ""
  21888. #. type: defvr
  21889. #: guix-git/doc/guix.texi:15273
  21890. 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."
  21891. msgstr ""
  21892. #. type: deftp
  21893. #: guix-git/doc/guix.texi:15275
  21894. #, no-wrap
  21895. msgid "{Data Type} nscd-configuration"
  21896. msgstr ""
  21897. #. type: deftp
  21898. #: guix-git/doc/guix.texi:15278
  21899. msgid "This is the data type representing the name service cache daemon (nscd) configuration."
  21900. msgstr ""
  21901. #. type: item
  21902. #: guix-git/doc/guix.texi:15281
  21903. #, no-wrap
  21904. msgid "@code{name-services} (default: @code{'()})"
  21905. msgstr ""
  21906. #. type: table
  21907. #: guix-git/doc/guix.texi:15284
  21908. msgid "List of packages denoting @dfn{name services} that must be visible to the nscd---e.g., @code{(list @var{nss-mdns})}."
  21909. msgstr ""
  21910. #. type: item
  21911. #: guix-git/doc/guix.texi:15285
  21912. #, no-wrap
  21913. msgid "@code{glibc} (default: @var{glibc})"
  21914. msgstr ""
  21915. #. type: table
  21916. #: guix-git/doc/guix.texi:15288
  21917. msgid "Package object denoting the GNU C Library providing the @command{nscd} command."
  21918. msgstr ""
  21919. #. type: item
  21920. #: guix-git/doc/guix.texi:15289
  21921. #, no-wrap
  21922. msgid "@code{log-file} (default: @code{\"/var/log/nscd.log\"})"
  21923. msgstr ""
  21924. #. type: table
  21925. #: guix-git/doc/guix.texi:15292
  21926. msgid "Name of the nscd log file. This is where debugging output goes when @code{debug-level} is strictly positive."
  21927. msgstr ""
  21928. #. type: item
  21929. #: guix-git/doc/guix.texi:15293
  21930. #, no-wrap
  21931. msgid "@code{debug-level} (default: @code{0})"
  21932. msgstr ""
  21933. #. type: table
  21934. #: guix-git/doc/guix.texi:15296
  21935. msgid "Integer denoting the debugging levels. Higher numbers mean that more debugging output is logged."
  21936. msgstr ""
  21937. #. type: item
  21938. #: guix-git/doc/guix.texi:15297
  21939. #, no-wrap
  21940. msgid "@code{caches} (default: @code{%nscd-default-caches})"
  21941. msgstr ""
  21942. #. type: table
  21943. #: guix-git/doc/guix.texi:15300
  21944. msgid "List of @code{<nscd-cache>} objects denoting things to be cached; see below."
  21945. msgstr ""
  21946. #. type: deftp
  21947. #: guix-git/doc/guix.texi:15304
  21948. #, no-wrap
  21949. msgid "{Data Type} nscd-cache"
  21950. msgstr ""
  21951. #. type: deftp
  21952. #: guix-git/doc/guix.texi:15306
  21953. msgid "Data type representing a cache database of nscd and its parameters."
  21954. msgstr ""
  21955. #. type: cindex
  21956. #: guix-git/doc/guix.texi:15309 guix-git/doc/guix.texi:19637
  21957. #, no-wrap
  21958. msgid "database"
  21959. msgstr ""
  21960. #. type: table
  21961. #: guix-git/doc/guix.texi:15314
  21962. 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})."
  21963. msgstr ""
  21964. #. type: code{#1}
  21965. #: guix-git/doc/guix.texi:15315
  21966. #, no-wrap
  21967. msgid "positive-time-to-live"
  21968. msgstr ""
  21969. #. type: itemx
  21970. #: guix-git/doc/guix.texi:15316
  21971. #, no-wrap
  21972. msgid "@code{negative-time-to-live} (default: @code{20})"
  21973. msgstr ""
  21974. #. type: table
  21975. #: guix-git/doc/guix.texi:15319
  21976. msgid "A number representing the number of seconds during which a positive or negative lookup result remains in cache."
  21977. msgstr ""
  21978. #. type: item
  21979. #: guix-git/doc/guix.texi:15320
  21980. #, no-wrap
  21981. msgid "@code{check-files?} (default: @code{#t})"
  21982. msgstr ""
  21983. #. type: table
  21984. #: guix-git/doc/guix.texi:15323
  21985. msgid "Whether to check for updates of the files corresponding to @var{database}."
  21986. msgstr ""
  21987. #. type: table
  21988. #: guix-git/doc/guix.texi:15327
  21989. 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."
  21990. msgstr ""
  21991. #. type: item
  21992. #: guix-git/doc/guix.texi:15328
  21993. #, no-wrap
  21994. msgid "@code{persistent?} (default: @code{#t})"
  21995. msgstr "@code{persistent?} (padrão: @code{#t})"
  21996. #. type: table
  21997. #: guix-git/doc/guix.texi:15330
  21998. msgid "Whether the cache should be stored persistently on disk."
  21999. msgstr ""
  22000. #. type: item
  22001. #: guix-git/doc/guix.texi:15331
  22002. #, no-wrap
  22003. msgid "@code{shared?} (default: @code{#t})"
  22004. msgstr "@code{shared?} (padrão: @code{#t})"
  22005. #. type: table
  22006. #: guix-git/doc/guix.texi:15333
  22007. msgid "Whether the cache should be shared among users."
  22008. msgstr ""
  22009. #. type: item
  22010. #: guix-git/doc/guix.texi:15334
  22011. #, no-wrap
  22012. msgid "@code{max-database-size} (default: 32@tie{}MiB)"
  22013. msgstr ""
  22014. #. type: table
  22015. #: guix-git/doc/guix.texi:15336
  22016. msgid "Maximum size in bytes of the database cache."
  22017. msgstr ""
  22018. #. type: defvr
  22019. #: guix-git/doc/guix.texi:15343
  22020. #, no-wrap
  22021. msgid "{Scheme Variable} %nscd-default-caches"
  22022. msgstr ""
  22023. #. type: defvr
  22024. #: guix-git/doc/guix.texi:15346
  22025. msgid "List of @code{<nscd-cache>} objects used by default by @code{nscd-configuration} (see above)."
  22026. msgstr ""
  22027. #. type: defvr
  22028. #: guix-git/doc/guix.texi:15352
  22029. 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."
  22030. msgstr ""
  22031. #. type: anchor{#1}
  22032. #: guix-git/doc/guix.texi:15355
  22033. msgid "syslog-configuration-type"
  22034. msgstr ""
  22035. #. type: cindex
  22036. #: guix-git/doc/guix.texi:15355 guix-git/doc/guix.texi:15371
  22037. #, no-wrap
  22038. msgid "syslog"
  22039. msgstr ""
  22040. #. type: cindex
  22041. #: guix-git/doc/guix.texi:15356 guix-git/doc/guix.texi:15930
  22042. #, no-wrap
  22043. msgid "logging"
  22044. msgstr ""
  22045. #. type: deftp
  22046. #: guix-git/doc/guix.texi:15357
  22047. #, no-wrap
  22048. msgid "{Data Type} syslog-configuration"
  22049. msgstr ""
  22050. #. type: deftp
  22051. #: guix-git/doc/guix.texi:15359
  22052. msgid "This data type represents the configuration of the syslog daemon."
  22053. msgstr ""
  22054. #. type: item
  22055. #: guix-git/doc/guix.texi:15361
  22056. #, no-wrap
  22057. msgid "@code{syslogd} (default: @code{#~(string-append #$inetutils \"/libexec/syslogd\")})"
  22058. msgstr ""
  22059. #. type: table
  22060. #: guix-git/doc/guix.texi:15363
  22061. msgid "The syslog daemon to use."
  22062. msgstr ""
  22063. #. type: item
  22064. #: guix-git/doc/guix.texi:15364
  22065. #, no-wrap
  22066. msgid "@code{config-file} (default: @code{%default-syslog.conf})"
  22067. msgstr ""
  22068. #. type: table
  22069. #: guix-git/doc/guix.texi:15366
  22070. msgid "The syslog configuration file to use."
  22071. msgstr ""
  22072. #. type: anchor{#1}
  22073. #: guix-git/doc/guix.texi:15371
  22074. msgid "syslog-service"
  22075. msgstr ""
  22076. #. type: deffn
  22077. #: guix-git/doc/guix.texi:15372
  22078. #, no-wrap
  22079. msgid "{Scheme Procedure} syslog-service @var{config}"
  22080. msgstr ""
  22081. #. type: deffn
  22082. #: guix-git/doc/guix.texi:15374
  22083. msgid "Return a service that runs a syslog daemon according to @var{config}."
  22084. msgstr ""
  22085. #. type: deffn
  22086. #: guix-git/doc/guix.texi:15377
  22087. msgid "@xref{syslogd invocation,,, inetutils, GNU Inetutils}, for more information on the configuration file syntax."
  22088. msgstr ""
  22089. #. type: defvr
  22090. #: guix-git/doc/guix.texi:15379
  22091. #, no-wrap
  22092. msgid "{Scheme Variable} guix-service-type"
  22093. msgstr ""
  22094. #. type: defvr
  22095. #: guix-git/doc/guix.texi:15383
  22096. 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."
  22097. msgstr ""
  22098. #. type: anchor{#1}
  22099. #: guix-git/doc/guix.texi:15386
  22100. msgid "guix-configuration-type"
  22101. msgstr "guix-configuration-type"
  22102. #. type: deftp
  22103. #: guix-git/doc/guix.texi:15386
  22104. #, no-wrap
  22105. msgid "{Data Type} guix-configuration"
  22106. msgstr ""
  22107. #. type: deftp
  22108. #: guix-git/doc/guix.texi:15389
  22109. msgid "This data type represents the configuration of the Guix build daemon. @xref{Invoking guix-daemon}, for more information."
  22110. msgstr ""
  22111. #. type: item
  22112. #: guix-git/doc/guix.texi:15391
  22113. #, no-wrap
  22114. msgid "@code{guix} (default: @var{guix})"
  22115. msgstr "@code{guix} (default: @var{guix})"
  22116. #. type: table
  22117. #: guix-git/doc/guix.texi:15393 guix-git/doc/guix.texi:15667
  22118. msgid "The Guix package to use."
  22119. msgstr ""
  22120. #. type: item
  22121. #: guix-git/doc/guix.texi:15394
  22122. #, no-wrap
  22123. msgid "@code{build-group} (default: @code{\"guixbuild\"})"
  22124. msgstr ""
  22125. #. type: table
  22126. #: guix-git/doc/guix.texi:15396
  22127. msgid "Name of the group for build user accounts."
  22128. msgstr ""
  22129. #. type: item
  22130. #: guix-git/doc/guix.texi:15397
  22131. #, no-wrap
  22132. msgid "@code{build-accounts} (default: @code{10})"
  22133. msgstr ""
  22134. #. type: table
  22135. #: guix-git/doc/guix.texi:15399
  22136. msgid "Number of build user accounts to create."
  22137. msgstr ""
  22138. #. type: item
  22139. #: guix-git/doc/guix.texi:15400
  22140. #, no-wrap
  22141. msgid "@code{authorize-key?} (default: @code{#t})"
  22142. msgstr ""
  22143. #. type: table
  22144. #: guix-git/doc/guix.texi:15405
  22145. msgid "Whether to authorize the substitute keys listed in @code{authorized-keys}---by default that of @code{@value{SUBSTITUTE-SERVER}} (@pxref{Substitutes})."
  22146. msgstr ""
  22147. #. type: table
  22148. #: guix-git/doc/guix.texi:15411
  22149. 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."
  22150. msgstr ""
  22151. #. type: quotation
  22152. #: guix-git/doc/guix.texi:15418
  22153. 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}."
  22154. msgstr ""
  22155. #. type: vindex
  22156. #: guix-git/doc/guix.texi:15420
  22157. #, no-wrap
  22158. msgid "%default-authorized-guix-keys"
  22159. msgstr ""
  22160. #. type: item
  22161. #: guix-git/doc/guix.texi:15421
  22162. #, no-wrap
  22163. msgid "@code{authorized-keys} (default: @code{%default-authorized-guix-keys})"
  22164. msgstr ""
  22165. #. type: table
  22166. #: guix-git/doc/guix.texi:15426
  22167. 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}} (@pxref{Substitutes}). See @code{substitute-urls} below for an example on how to change it."
  22168. msgstr ""
  22169. #. type: item
  22170. #: guix-git/doc/guix.texi:15427
  22171. #, no-wrap
  22172. msgid "@code{use-substitutes?} (default: @code{#t})"
  22173. msgstr ""
  22174. #. type: table
  22175. #: guix-git/doc/guix.texi:15429
  22176. msgid "Whether to use substitutes."
  22177. msgstr ""
  22178. #. type: item
  22179. #: guix-git/doc/guix.texi:15430
  22180. #, no-wrap
  22181. msgid "@code{substitute-urls} (default: @code{%default-substitute-urls})"
  22182. msgstr ""
  22183. #. type: table
  22184. #: guix-git/doc/guix.texi:15432
  22185. msgid "The list of URLs where to look for substitutes by default."
  22186. msgstr ""
  22187. #. type: table
  22188. #: guix-git/doc/guix.texi:15439
  22189. msgid "Suppose you would like to fetch substitutes from @code{guix.example.org} in addition to @code{@value{SUBSTITUTE-SERVER}}. 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:"
  22190. msgstr ""
  22191. #. type: lisp
  22192. #: guix-git/doc/guix.texi:15448
  22193. #, no-wrap
  22194. msgid ""
  22195. "(guix-configuration\n"
  22196. " (substitute-urls\n"
  22197. " (append (list \"https://guix.example.org\")\n"
  22198. " %default-substitute-urls))\n"
  22199. " (authorized-keys\n"
  22200. " (append (list (local-file \"./guix.example.org-key.pub\"))\n"
  22201. " %default-authorized-guix-keys)))\n"
  22202. msgstr ""
  22203. #. type: table
  22204. #: guix-git/doc/guix.texi:15453
  22205. 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."
  22206. msgstr ""
  22207. #. type: item
  22208. #: guix-git/doc/guix.texi:15454
  22209. #, no-wrap
  22210. msgid "@code{max-silent-time} (default: @code{0})"
  22211. msgstr ""
  22212. #. type: itemx
  22213. #: guix-git/doc/guix.texi:15455
  22214. #, no-wrap
  22215. msgid "@code{timeout} (default: @code{0})"
  22216. msgstr ""
  22217. #. type: table
  22218. #: guix-git/doc/guix.texi:15459
  22219. 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."
  22220. msgstr ""
  22221. #. type: item
  22222. #: guix-git/doc/guix.texi:15460
  22223. #, no-wrap
  22224. msgid "@code{log-compression} (default: @code{'bzip2})"
  22225. msgstr ""
  22226. #. type: table
  22227. #: guix-git/doc/guix.texi:15463
  22228. msgid "The type of compression used for build logs---one of @code{gzip}, @code{bzip2}, or @code{none}."
  22229. msgstr ""
  22230. #. type: item
  22231. #: guix-git/doc/guix.texi:15464
  22232. #, no-wrap
  22233. msgid "@code{discover?} (default: @code{#f})"
  22234. msgstr ""
  22235. #. type: table
  22236. #: guix-git/doc/guix.texi:15470
  22237. msgid "List of extra command-line options for @command{guix-daemon}."
  22238. msgstr ""
  22239. #. type: item
  22240. #: guix-git/doc/guix.texi:15471
  22241. #, no-wrap
  22242. msgid "@code{log-file} (default: @code{\"/var/log/guix-daemon.log\"})"
  22243. msgstr ""
  22244. #. type: table
  22245. #: guix-git/doc/guix.texi:15474
  22246. msgid "File where @command{guix-daemon}'s standard output and standard error are written."
  22247. msgstr ""
  22248. #. type: cindex
  22249. #: guix-git/doc/guix.texi:15475
  22250. #, no-wrap
  22251. msgid "HTTP proxy, for @code{guix-daemon}"
  22252. msgstr ""
  22253. #. type: cindex
  22254. #: guix-git/doc/guix.texi:15476
  22255. #, no-wrap
  22256. msgid "proxy, for @code{guix-daemon} HTTP access"
  22257. msgstr ""
  22258. #. type: item
  22259. #: guix-git/doc/guix.texi:15477
  22260. #, no-wrap
  22261. msgid "@code{http-proxy} (default: @code{#f})"
  22262. msgstr ""
  22263. #. type: table
  22264. #: guix-git/doc/guix.texi:15480
  22265. msgid "The URL of the HTTP and HTTPS proxy used for downloading fixed-output derivations and substitutes."
  22266. msgstr ""
  22267. #. type: table
  22268. #: guix-git/doc/guix.texi:15483
  22269. msgid "It is also possible to change the daemon's proxy at run time through the @code{set-http-proxy} action, which restarts it:"
  22270. msgstr ""
  22271. #. type: example
  22272. #: guix-git/doc/guix.texi:15486
  22273. #, no-wrap
  22274. msgid "herd set-http-proxy guix-daemon http://localhost:8118\n"
  22275. msgstr ""
  22276. #. type: table
  22277. #: guix-git/doc/guix.texi:15489
  22278. msgid "To clear the proxy settings, run:"
  22279. msgstr ""
  22280. #. type: example
  22281. #: guix-git/doc/guix.texi:15492
  22282. #, no-wrap
  22283. msgid "herd set-http-proxy guix-daemon\n"
  22284. msgstr ""
  22285. #. type: item
  22286. #: guix-git/doc/guix.texi:15494
  22287. #, no-wrap
  22288. msgid "@code{tmpdir} (default: @code{#f})"
  22289. msgstr "@code{tmpdir} (default: @code{#f})"
  22290. #. type: table
  22291. #: guix-git/doc/guix.texi:15496
  22292. msgid "A directory path where the @command{guix-daemon} will perform builds."
  22293. msgstr ""
  22294. #. type: deffn
  22295. #: guix-git/doc/guix.texi:15500
  22296. #, no-wrap
  22297. msgid "{Scheme Procedure} udev-service [#:udev @var{eudev} #:rules @code{'()}]"
  22298. msgstr ""
  22299. #. type: deffn
  22300. #: guix-git/doc/guix.texi:15506
  22301. 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."
  22302. msgstr ""
  22303. #. type: deffn
  22304. #: guix-git/doc/guix.texi:15509
  22305. msgid "The @command{herd rules udev} command, as root, returns the name of the directory containing all the active udev rules."
  22306. msgstr ""
  22307. #. type: deffn
  22308. #: guix-git/doc/guix.texi:15511
  22309. #, no-wrap
  22310. msgid "{Scheme Procedure} udev-rule [@var{file-name} @var{contents}]"
  22311. msgstr ""
  22312. #. type: deffn
  22313. #: guix-git/doc/guix.texi:15514
  22314. msgid "Return a udev-rule file named @var{file-name} containing the rules defined by the @var{contents} literal."
  22315. msgstr ""
  22316. #. type: deffn
  22317. #: guix-git/doc/guix.texi:15518
  22318. 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."
  22319. msgstr ""
  22320. #. type: lisp
  22321. #: guix-git/doc/guix.texi:15526
  22322. #, no-wrap
  22323. msgid ""
  22324. "(define %example-udev-rule\n"
  22325. " (udev-rule\n"
  22326. " \"90-usb-thing.rules\"\n"
  22327. " (string-append \"ACTION==\\\"add\\\", SUBSYSTEM==\\\"usb\\\", \"\n"
  22328. " \"ATTR@{product@}==\\\"Example\\\", \"\n"
  22329. " \"RUN+=\\\"/path/to/script\\\"\")))\n"
  22330. msgstr ""
  22331. #. type: deffn
  22332. #: guix-git/doc/guix.texi:15529
  22333. #, no-wrap
  22334. msgid "{Scheme Procedure} udev-rules-service [@var{name} @var{rules}] @"
  22335. msgstr ""
  22336. #. type: deffn
  22337. #: guix-git/doc/guix.texi:15536
  22338. 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."
  22339. msgstr ""
  22340. #. type: deffn
  22341. #: guix-git/doc/guix.texi:15539
  22342. msgid "Here we show how it can be used to extend @code{udev-service-type} with the previously defined rule @code{%example-udev-rule}."
  22343. msgstr ""
  22344. #. type: lisp
  22345. #: guix-git/doc/guix.texi:15546
  22346. #, no-wrap
  22347. msgid ""
  22348. "(operating-system\n"
  22349. " ;; @dots{}\n"
  22350. " (services\n"
  22351. " (cons (udev-rules-service 'usb-thing %example-udev-rule)\n"
  22352. " %desktop-services)))\n"
  22353. msgstr ""
  22354. #. type: deffn
  22355. #: guix-git/doc/guix.texi:15549
  22356. #, no-wrap
  22357. msgid "{Scheme Procedure} file->udev-rule [@var{file-name} @var{file}]"
  22358. msgstr ""
  22359. #. type: deffn
  22360. #: guix-git/doc/guix.texi:15552
  22361. msgid "Return a udev file named @var{file-name} containing the rules defined within @var{file}, a file-like object."
  22362. msgstr ""
  22363. #. type: deffn
  22364. #: guix-git/doc/guix.texi:15554
  22365. msgid "The following example showcases how we can use an existing rule file."
  22366. msgstr ""
  22367. #. type: lisp
  22368. #: guix-git/doc/guix.texi:15559
  22369. #, no-wrap
  22370. msgid ""
  22371. "(use-modules (guix download) ;for url-fetch\n"
  22372. " (guix packages) ;for origin\n"
  22373. " @dots{})\n"
  22374. "\n"
  22375. msgstr ""
  22376. #. type: lisp
  22377. #: guix-git/doc/guix.texi:15570
  22378. #, no-wrap
  22379. msgid ""
  22380. "(define %android-udev-rules\n"
  22381. " (file->udev-rule\n"
  22382. " \"51-android-udev.rules\"\n"
  22383. " (let ((version \"20170910\"))\n"
  22384. " (origin\n"
  22385. " (method url-fetch)\n"
  22386. " (uri (string-append \"https://raw.githubusercontent.com/M0Rf30/\"\n"
  22387. " \"android-udev-rules/\" version \"/51-android.rules\"))\n"
  22388. " (sha256\n"
  22389. " (base32 \"0lmmagpyb6xsq6zcr2w1cyx9qmjqmajkvrdbhjx32gqf1d9is003\"))))))\n"
  22390. msgstr ""
  22391. #. type: Plain text
  22392. #: guix-git/doc/guix.texi:15579
  22393. 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."
  22394. msgstr ""
  22395. #. type: Plain text
  22396. #: guix-git/doc/guix.texi:15588
  22397. 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."
  22398. msgstr ""
  22399. #. type: lisp
  22400. #: guix-git/doc/guix.texi:15593
  22401. #, no-wrap
  22402. msgid ""
  22403. "(use-modules (gnu packages android) ;for android-udev-rules\n"
  22404. " (gnu system shadow) ;for user-group\n"
  22405. " @dots{})\n"
  22406. "\n"
  22407. msgstr ""
  22408. #. type: lisp
  22409. #: guix-git/doc/guix.texi:15606
  22410. #, no-wrap
  22411. msgid ""
  22412. "(operating-system\n"
  22413. " ;; @dots{}\n"
  22414. " (users (cons (user-account\n"
  22415. " ;; @dots{}\n"
  22416. " (supplementary-groups\n"
  22417. " '(\"adbusers\" ;for adb\n"
  22418. " \"wheel\" \"netdev\" \"audio\" \"video\")))))\n"
  22419. " ;; @dots{}\n"
  22420. " (services\n"
  22421. " (cons (udev-rules-service 'android android-udev-rules\n"
  22422. " #:groups '(\"adbusers\"))\n"
  22423. " %desktop-services)))\n"
  22424. msgstr ""
  22425. #. type: defvr
  22426. #: guix-git/doc/guix.texi:15608
  22427. #, no-wrap
  22428. msgid "{Scheme Variable} urandom-seed-service-type"
  22429. msgstr ""
  22430. #. type: defvr
  22431. #: guix-git/doc/guix.texi:15613
  22432. 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."
  22433. msgstr ""
  22434. #. type: defvr
  22435. #: guix-git/doc/guix.texi:15615
  22436. #, no-wrap
  22437. msgid "{Scheme Variable} %random-seed-file"
  22438. msgstr ""
  22439. #. type: defvr
  22440. #: guix-git/doc/guix.texi:15619
  22441. 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}."
  22442. msgstr ""
  22443. #. type: cindex
  22444. #: guix-git/doc/guix.texi:15621
  22445. #, no-wrap
  22446. msgid "mouse"
  22447. msgstr "mouse"
  22448. #. type: cindex
  22449. #: guix-git/doc/guix.texi:15622
  22450. #, no-wrap
  22451. msgid "gpm"
  22452. msgstr ""
  22453. #. type: defvr
  22454. #: guix-git/doc/guix.texi:15623
  22455. #, no-wrap
  22456. msgid "{Scheme Variable} gpm-service-type"
  22457. msgstr ""
  22458. #. type: defvr
  22459. #: guix-git/doc/guix.texi:15628
  22460. 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."
  22461. msgstr ""
  22462. #. type: defvr
  22463. #: guix-git/doc/guix.texi:15631
  22464. 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}."
  22465. msgstr ""
  22466. #. type: deftp
  22467. #: guix-git/doc/guix.texi:15633
  22468. #, no-wrap
  22469. msgid "{Data Type} gpm-configuration"
  22470. msgstr ""
  22471. #. type: deftp
  22472. #: guix-git/doc/guix.texi:15635
  22473. msgid "Data type representing the configuration of GPM."
  22474. msgstr ""
  22475. #. type: item
  22476. #: guix-git/doc/guix.texi:15637
  22477. #, no-wrap
  22478. msgid "@code{options} (default: @code{%default-gpm-options})"
  22479. msgstr ""
  22480. #. type: table
  22481. #: guix-git/doc/guix.texi:15642
  22482. 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."
  22483. msgstr ""
  22484. #. type: item
  22485. #: guix-git/doc/guix.texi:15643
  22486. #, no-wrap
  22487. msgid "@code{gpm} (default: @code{gpm})"
  22488. msgstr ""
  22489. #. type: table
  22490. #: guix-git/doc/guix.texi:15645
  22491. msgid "The GPM package to use."
  22492. msgstr "O pacote GPM a ser usado."
  22493. #. type: anchor{#1}
  22494. #: guix-git/doc/guix.texi:15650
  22495. msgid "guix-publish-service-type"
  22496. msgstr "guix-publish-service-type"
  22497. #. type: deffn
  22498. #: guix-git/doc/guix.texi:15650
  22499. #, no-wrap
  22500. msgid "{Scheme Variable} guix-publish-service-type"
  22501. msgstr ""
  22502. #. type: deffn
  22503. #: guix-git/doc/guix.texi:15654
  22504. 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."
  22505. msgstr ""
  22506. #. type: deffn
  22507. #: guix-git/doc/guix.texi:15658
  22508. 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."
  22509. msgstr ""
  22510. #. type: deftp
  22511. #: guix-git/doc/guix.texi:15660
  22512. #, no-wrap
  22513. msgid "{Data Type} guix-publish-configuration"
  22514. msgstr ""
  22515. #. type: deftp
  22516. #: guix-git/doc/guix.texi:15663
  22517. msgid "Data type representing the configuration of the @code{guix publish} service."
  22518. msgstr ""
  22519. #. type: item
  22520. #: guix-git/doc/guix.texi:15665
  22521. #, no-wrap
  22522. msgid "@code{guix} (default: @code{guix})"
  22523. msgstr ""
  22524. #. type: item
  22525. #: guix-git/doc/guix.texi:15668 guix-git/doc/guix.texi:29638
  22526. #, no-wrap
  22527. msgid "@code{port} (default: @code{80})"
  22528. msgstr ""
  22529. #. type: table
  22530. #: guix-git/doc/guix.texi:15670
  22531. msgid "The TCP port to listen for connections."
  22532. msgstr ""
  22533. #. type: item
  22534. #: guix-git/doc/guix.texi:15671 guix-git/doc/guix.texi:27277
  22535. #, no-wrap
  22536. msgid "@code{host} (default: @code{\"localhost\"})"
  22537. msgstr ""
  22538. #. type: table
  22539. #: guix-git/doc/guix.texi:15674
  22540. msgid "The host (and thus, network interface) to listen to. Use @code{\"0.0.0.0\"} to listen on all the network interfaces."
  22541. msgstr ""
  22542. #. type: item
  22543. #: guix-git/doc/guix.texi:15675
  22544. #, no-wrap
  22545. msgid "@code{advertise?} (default: @code{#f})"
  22546. msgstr ""
  22547. #. type: table
  22548. #: guix-git/doc/guix.texi:15678
  22549. msgid "When true, advertise the service on the local network @i{via} the DNS-SD protocol, using Avahi."
  22550. msgstr ""
  22551. #. type: table
  22552. #: guix-git/doc/guix.texi:15682
  22553. 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."
  22554. msgstr ""
  22555. #. type: item
  22556. #: guix-git/doc/guix.texi:15683
  22557. #, fuzzy, no-wrap
  22558. #| msgid "@code{compression-level} (default: @code{3})"
  22559. msgid "@code{compression} (default: @code{'((\"gzip\" 3) (\"zstd\" 3))})"
  22560. msgstr "@code{compression-level} (padrão: @code{3})"
  22561. #. type: table
  22562. #: guix-git/doc/guix.texi:15687
  22563. 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:"
  22564. msgstr ""
  22565. #. type: lisp
  22566. #: guix-git/doc/guix.texi:15690
  22567. #, no-wrap
  22568. msgid "'((\"lzip\" 7) (\"gzip\" 9))\n"
  22569. msgstr ""
  22570. #. type: table
  22571. #: guix-git/doc/guix.texi:15696
  22572. 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."
  22573. msgstr ""
  22574. #. type: table
  22575. #: guix-git/doc/guix.texi:15698
  22576. msgid "An empty list disables compression altogether."
  22577. msgstr ""
  22578. #. type: item
  22579. #: guix-git/doc/guix.texi:15699
  22580. #, no-wrap
  22581. msgid "@code{nar-path} (default: @code{\"nar\"})"
  22582. msgstr ""
  22583. #. type: table
  22584. #: guix-git/doc/guix.texi:15702
  22585. msgid "The URL path at which ``nars'' can be fetched. @xref{Invoking guix publish, @option{--nar-path}}, for details."
  22586. msgstr ""
  22587. #. type: item
  22588. #: guix-git/doc/guix.texi:15703
  22589. #, no-wrap
  22590. msgid "@code{cache} (default: @code{#f})"
  22591. msgstr "@code{cache} (default: @code{#f})"
  22592. #. type: table
  22593. #: guix-git/doc/guix.texi:15709
  22594. 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."
  22595. msgstr ""
  22596. #. type: item
  22597. #: guix-git/doc/guix.texi:15710
  22598. #, no-wrap
  22599. msgid "@code{workers} (default: @code{#f})"
  22600. msgstr "@code{workers} (default: @code{#f})"
  22601. #. type: table
  22602. #: guix-git/doc/guix.texi:15714
  22603. 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."
  22604. msgstr ""
  22605. #. type: item
  22606. #: guix-git/doc/guix.texi:15715
  22607. #, no-wrap
  22608. msgid "@code{cache-bypass-threshold} (default: 10 MiB)"
  22609. msgstr ""
  22610. #. type: table
  22611. #: guix-git/doc/guix.texi:15720
  22612. 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."
  22613. msgstr ""
  22614. #. type: item
  22615. #: guix-git/doc/guix.texi:15721
  22616. #, no-wrap
  22617. msgid "@code{ttl} (default: @code{#f})"
  22618. msgstr "@code{ttl} (default: @code{#f})"
  22619. #. type: table
  22620. #: guix-git/doc/guix.texi:15725
  22621. 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."
  22622. msgstr ""
  22623. #. type: anchor{#1}
  22624. #: guix-git/doc/guix.texi:15729
  22625. msgid "rngd-service"
  22626. msgstr ""
  22627. #. type: deffn
  22628. #: guix-git/doc/guix.texi:15729
  22629. #, no-wrap
  22630. msgid "{Scheme Procedure} rngd-service [#:rng-tools @var{rng-tools}] @"
  22631. msgstr ""
  22632. #. type: deffn
  22633. #: guix-git/doc/guix.texi:15734
  22634. 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."
  22635. msgstr ""
  22636. #. type: anchor{#1}
  22637. #: guix-git/doc/guix.texi:15737
  22638. msgid "pam-limits-service"
  22639. msgstr ""
  22640. #. type: cindex
  22641. #: guix-git/doc/guix.texi:15737
  22642. #, no-wrap
  22643. msgid "session limits"
  22644. msgstr ""
  22645. #. type: cindex
  22646. #: guix-git/doc/guix.texi:15738
  22647. #, no-wrap
  22648. msgid "ulimit"
  22649. msgstr ""
  22650. #. type: cindex
  22651. #: guix-git/doc/guix.texi:15739
  22652. #, no-wrap
  22653. msgid "priority"
  22654. msgstr ""
  22655. #. type: cindex
  22656. #: guix-git/doc/guix.texi:15740
  22657. #, no-wrap
  22658. msgid "realtime"
  22659. msgstr ""
  22660. #. type: cindex
  22661. #: guix-git/doc/guix.texi:15741
  22662. #, no-wrap
  22663. msgid "jackd"
  22664. msgstr ""
  22665. #. type: cindex
  22666. #: guix-git/doc/guix.texi:15742
  22667. #, no-wrap
  22668. msgid "nofile"
  22669. msgstr ""
  22670. #. type: cindex
  22671. #: guix-git/doc/guix.texi:15743
  22672. #, no-wrap
  22673. msgid "open file descriptors"
  22674. msgstr ""
  22675. #. type: deffn
  22676. #: guix-git/doc/guix.texi:15744
  22677. #, no-wrap
  22678. msgid "{Scheme Procedure} pam-limits-service [#:limits @code{'()}]"
  22679. msgstr ""
  22680. #. type: deffn
  22681. #: guix-git/doc/guix.texi:15751
  22682. 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."
  22683. msgstr ""
  22684. #. type: deffn
  22685. #: guix-git/doc/guix.texi:15754
  22686. msgid "The following limits definition sets two hard and soft limits for all login sessions of users in the @code{realtime} group:"
  22687. msgstr ""
  22688. #. type: lisp
  22689. #: guix-git/doc/guix.texi:15760
  22690. #, no-wrap
  22691. msgid ""
  22692. "(pam-limits-service\n"
  22693. " (list\n"
  22694. " (pam-limits-entry \"@@realtime\" 'both 'rtprio 99)\n"
  22695. " (pam-limits-entry \"@@realtime\" 'both 'memlock 'unlimited)))\n"
  22696. msgstr ""
  22697. #. type: deffn
  22698. #: guix-git/doc/guix.texi:15766
  22699. 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."
  22700. msgstr ""
  22701. #. type: deffn
  22702. #: guix-git/doc/guix.texi:15769
  22703. msgid "Another useful example is raising the maximum number of open file descriptors that can be used:"
  22704. msgstr ""
  22705. #. type: lisp
  22706. #: guix-git/doc/guix.texi:15774
  22707. #, no-wrap
  22708. msgid ""
  22709. "(pam-limits-service\n"
  22710. " (list\n"
  22711. " (pam-limits-entry \"*\" 'both 'nofile 100000)))\n"
  22712. msgstr ""
  22713. #. type: deffn
  22714. #: guix-git/doc/guix.texi:15782
  22715. 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."
  22716. msgstr ""
  22717. #. type: cindex
  22718. #: guix-git/doc/guix.texi:15787
  22719. #, no-wrap
  22720. msgid "cron"
  22721. msgstr ""
  22722. #. type: cindex
  22723. #: guix-git/doc/guix.texi:15788
  22724. #, no-wrap
  22725. msgid "mcron"
  22726. msgstr ""
  22727. #. type: cindex
  22728. #: guix-git/doc/guix.texi:15789
  22729. #, no-wrap
  22730. msgid "scheduling jobs"
  22731. msgstr ""
  22732. #. type: Plain text
  22733. #: guix-git/doc/guix.texi:15796
  22734. 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."
  22735. msgstr ""
  22736. #. type: Plain text
  22737. #: guix-git/doc/guix.texi:15804
  22738. 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})."
  22739. msgstr ""
  22740. #. type: lisp
  22741. #: guix-git/doc/guix.texi:15808
  22742. #, no-wrap
  22743. msgid ""
  22744. "(use-modules (guix) (gnu) (gnu services mcron))\n"
  22745. "(use-package-modules base idutils)\n"
  22746. "\n"
  22747. msgstr ""
  22748. #. type: lisp
  22749. #: guix-git/doc/guix.texi:15817
  22750. #, no-wrap
  22751. msgid ""
  22752. "(define updatedb-job\n"
  22753. " ;; Run 'updatedb' at 3AM every day. Here we write the\n"
  22754. " ;; job's action as a Scheme procedure.\n"
  22755. " #~(job '(next-hour '(3))\n"
  22756. " (lambda ()\n"
  22757. " (execl (string-append #$findutils \"/bin/updatedb\")\n"
  22758. " \"updatedb\"\n"
  22759. " \"--prunepaths=/tmp /var/tmp /gnu/store\"))))\n"
  22760. "\n"
  22761. msgstr ""
  22762. #. type: lisp
  22763. #: guix-git/doc/guix.texi:15823
  22764. #, no-wrap
  22765. msgid ""
  22766. "(define garbage-collector-job\n"
  22767. " ;; Collect garbage 5 minutes after midnight every day.\n"
  22768. " ;; The job's action is a shell command.\n"
  22769. " #~(job \"5 0 * * *\" ;Vixie cron syntax\n"
  22770. " \"guix gc -F 1G\"))\n"
  22771. "\n"
  22772. msgstr ""
  22773. #. type: lisp
  22774. #: guix-git/doc/guix.texi:15830
  22775. #, no-wrap
  22776. msgid ""
  22777. "(define idutils-job\n"
  22778. " ;; Update the index database as user \"charlie\" at 12:15PM\n"
  22779. " ;; and 19:15PM. This runs from the user's home directory.\n"
  22780. " #~(job '(next-minute-from (next-hour '(12 19)) '(15))\n"
  22781. " (string-append #$idutils \"/bin/mkid src\")\n"
  22782. " #:user \"charlie\"))\n"
  22783. "\n"
  22784. msgstr ""
  22785. #. type: lisp
  22786. #: guix-git/doc/guix.texi:15833
  22787. #, no-wrap
  22788. msgid ""
  22789. "(operating-system\n"
  22790. " ;; @dots{}\n"
  22791. "\n"
  22792. msgstr ""
  22793. #. type: lisp
  22794. #: guix-git/doc/guix.texi:15843
  22795. #, no-wrap
  22796. msgid ""
  22797. " ;; %BASE-SERVICES already includes an instance of\n"
  22798. " ;; 'mcron-service-type', which we extend with additional\n"
  22799. " ;; jobs using 'simple-service'.\n"
  22800. " (services (cons (simple-service 'my-cron-jobs\n"
  22801. " mcron-service-type\n"
  22802. " (list garbage-collector-job\n"
  22803. " updatedb-job\n"
  22804. " idutils-job))\n"
  22805. " %base-services)))\n"
  22806. msgstr ""
  22807. #. type: Plain text
  22808. #: guix-git/doc/guix.texi:15850
  22809. 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."
  22810. msgstr ""
  22811. #. type: lisp
  22812. #: guix-git/doc/guix.texi:15866
  22813. #, no-wrap
  22814. msgid ""
  22815. "(define %battery-alert-job\n"
  22816. " ;; Beep when the battery percentage falls below %MIN-LEVEL.\n"
  22817. " #~(job\n"
  22818. " '(next-minute (range 0 60 1))\n"
  22819. " #$(program-file\n"
  22820. " \"battery-alert.scm\"\n"
  22821. " (with-imported-modules (source-module-closure\n"
  22822. " '((guix build utils)))\n"
  22823. " #~(begin\n"
  22824. " (use-modules (guix build utils)\n"
  22825. " (ice-9 popen)\n"
  22826. " (ice-9 regex)\n"
  22827. " (ice-9 textual-ports)\n"
  22828. " (srfi srfi-2))\n"
  22829. "\n"
  22830. msgstr ""
  22831. #. type: lisp
  22832. #: guix-git/doc/guix.texi:15868
  22833. #, no-wrap
  22834. msgid ""
  22835. " (define %min-level 20)\n"
  22836. "\n"
  22837. msgstr ""
  22838. #. type: lisp
  22839. #: guix-git/doc/guix.texi:15879
  22840. #, no-wrap
  22841. msgid ""
  22842. " (setenv \"LC_ALL\" \"C\") ;ensure English output\n"
  22843. " (and-let* ((input-pipe (open-pipe*\n"
  22844. " OPEN_READ\n"
  22845. " #$(file-append acpi \"/bin/acpi\")))\n"
  22846. " (output (get-string-all input-pipe))\n"
  22847. " (m (string-match \"Discharging, ([0-9]+)%\" output))\n"
  22848. " (level (string->number (match:substring m 1)))\n"
  22849. " ((< level %min-level)))\n"
  22850. " (format #t \"warning: Battery level is low (~a%)~%\" level)\n"
  22851. " (invoke #$(file-append beep \"/bin/beep\") \"-r5\")))))))\n"
  22852. msgstr ""
  22853. #. type: Plain text
  22854. #: guix-git/doc/guix.texi:15884
  22855. 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."
  22856. msgstr ""
  22857. #. type: Plain text
  22858. #: guix-git/doc/guix.texi:15887
  22859. 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:"
  22860. msgstr ""
  22861. #. type: example
  22862. #: guix-git/doc/guix.texi:15890
  22863. #, no-wrap
  22864. msgid "# herd schedule mcron\n"
  22865. msgstr ""
  22866. #. type: Plain text
  22867. #: guix-git/doc/guix.texi:15895
  22868. msgid "The example above lists the next five tasks that will be executed, but you can also specify the number of tasks to display:"
  22869. msgstr ""
  22870. #. type: example
  22871. #: guix-git/doc/guix.texi:15898
  22872. #, no-wrap
  22873. msgid "# herd schedule mcron 10\n"
  22874. msgstr ""
  22875. #. type: defvr
  22876. #: guix-git/doc/guix.texi:15900
  22877. #, no-wrap
  22878. msgid "{Scheme Variable} mcron-service-type"
  22879. msgstr ""
  22880. #. type: defvr
  22881. #: guix-git/doc/guix.texi:15903
  22882. msgid "This is the type of the @code{mcron} service, whose value is an @code{mcron-configuration} object."
  22883. msgstr ""
  22884. #. type: defvr
  22885. #: guix-git/doc/guix.texi:15908
  22886. 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."
  22887. msgstr ""
  22888. #. type: deftp
  22889. #: guix-git/doc/guix.texi:15910
  22890. #, no-wrap
  22891. msgid "{Data Type} mcron-configuration"
  22892. msgstr ""
  22893. #. type: deftp
  22894. #: guix-git/doc/guix.texi:15912
  22895. msgid "Data type representing the configuration of mcron."
  22896. msgstr ""
  22897. #. type: item
  22898. #: guix-git/doc/guix.texi:15914
  22899. #, no-wrap
  22900. msgid "@code{mcron} (default: @var{mcron})"
  22901. msgstr ""
  22902. #. type: table
  22903. #: guix-git/doc/guix.texi:15916
  22904. msgid "The mcron package to use."
  22905. msgstr ""
  22906. #. type: code{#1}
  22907. #: guix-git/doc/guix.texi:15917 guix-git/doc/guix.texi:15986
  22908. #, no-wrap
  22909. msgid "jobs"
  22910. msgstr ""
  22911. #. type: table
  22912. #: guix-git/doc/guix.texi:15921
  22913. 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})."
  22914. msgstr ""
  22915. #. type: cindex
  22916. #: guix-git/doc/guix.texi:15928
  22917. #, no-wrap
  22918. msgid "rottlog"
  22919. msgstr ""
  22920. #. type: cindex
  22921. #: guix-git/doc/guix.texi:15929
  22922. #, no-wrap
  22923. msgid "log rotation"
  22924. msgstr ""
  22925. #. type: Plain text
  22926. #: guix-git/doc/guix.texi:15936
  22927. 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})."
  22928. msgstr ""
  22929. #. type: Plain text
  22930. #: guix-git/doc/guix.texi:15942
  22931. 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):"
  22932. msgstr ""
  22933. #. type: lisp
  22934. #: guix-git/doc/guix.texi:15946
  22935. #, no-wrap
  22936. msgid ""
  22937. "(use-modules (guix) (gnu))\n"
  22938. "(use-service-modules admin)\n"
  22939. "\n"
  22940. msgstr ""
  22941. #. type: lisp
  22942. #: guix-git/doc/guix.texi:15950
  22943. #, no-wrap
  22944. msgid ""
  22945. "(define my-log-files\n"
  22946. " ;; Log files that I want to rotate.\n"
  22947. " '(\"/var/log/something.log\" \"/var/log/another.log\"))\n"
  22948. "\n"
  22949. msgstr ""
  22950. #. type: lisp
  22951. #: guix-git/doc/guix.texi:15959
  22952. #, no-wrap
  22953. msgid ""
  22954. "(operating-system\n"
  22955. " ;; @dots{}\n"
  22956. " (services (cons (simple-service 'rotate-my-stuff\n"
  22957. " rottlog-service-type\n"
  22958. " (list (log-rotation\n"
  22959. " (frequency 'daily)\n"
  22960. " (files my-log-files))))\n"
  22961. " %base-services)))\n"
  22962. msgstr ""
  22963. #. type: defvr
  22964. #: guix-git/doc/guix.texi:15961
  22965. #, no-wrap
  22966. msgid "{Scheme Variable} rottlog-service-type"
  22967. msgstr ""
  22968. #. type: defvr
  22969. #: guix-git/doc/guix.texi:15964
  22970. msgid "This is the type of the Rottlog service, whose value is a @code{rottlog-configuration} object."
  22971. msgstr ""
  22972. #. type: defvr
  22973. #: guix-git/doc/guix.texi:15967
  22974. msgid "Other services can extend this one with new @code{log-rotation} objects (see below), thereby augmenting the set of files to be rotated."
  22975. msgstr ""
  22976. #. type: defvr
  22977. #: guix-git/doc/guix.texi:15970
  22978. msgid "This service type can define mcron jobs (@pxref{Scheduled Job Execution}) to run the rottlog service."
  22979. msgstr ""
  22980. #. type: deftp
  22981. #: guix-git/doc/guix.texi:15972
  22982. #, no-wrap
  22983. msgid "{Data Type} rottlog-configuration"
  22984. msgstr ""
  22985. #. type: deftp
  22986. #: guix-git/doc/guix.texi:15974
  22987. msgid "Data type representing the configuration of rottlog."
  22988. msgstr ""
  22989. #. type: item
  22990. #: guix-git/doc/guix.texi:15976
  22991. #, no-wrap
  22992. msgid "@code{rottlog} (default: @code{rottlog})"
  22993. msgstr ""
  22994. #. type: table
  22995. #: guix-git/doc/guix.texi:15978
  22996. msgid "The Rottlog package to use."
  22997. msgstr ""
  22998. #. type: item
  22999. #: guix-git/doc/guix.texi:15979
  23000. #, no-wrap
  23001. msgid "@code{rc-file} (default: @code{(file-append rottlog \"/etc/rc\")})"
  23002. msgstr ""
  23003. #. type: table
  23004. #: guix-git/doc/guix.texi:15982
  23005. msgid "The Rottlog configuration file to use (@pxref{Mandatory RC Variables,,, rottlog, GNU Rot[t]log Manual})."
  23006. msgstr ""
  23007. #. type: item
  23008. #: guix-git/doc/guix.texi:15983
  23009. #, no-wrap
  23010. msgid "@code{rotations} (default: @code{%default-rotations})"
  23011. msgstr ""
  23012. #. type: table
  23013. #: guix-git/doc/guix.texi:15985
  23014. msgid "A list of @code{log-rotation} objects as defined below."
  23015. msgstr ""
  23016. #. type: table
  23017. #: guix-git/doc/guix.texi:15989
  23018. msgid "This is a list of gexps where each gexp corresponds to an mcron job specification (@pxref{Scheduled Job Execution})."
  23019. msgstr ""
  23020. #. type: deftp
  23021. #: guix-git/doc/guix.texi:15992
  23022. #, no-wrap
  23023. msgid "{Data Type} log-rotation"
  23024. msgstr ""
  23025. #. type: deftp
  23026. #: guix-git/doc/guix.texi:15994
  23027. msgid "Data type representing the rotation of a group of log files."
  23028. msgstr ""
  23029. #. type: deftp
  23030. #: guix-git/doc/guix.texi:15998
  23031. 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:"
  23032. msgstr ""
  23033. #. type: lisp
  23034. #: guix-git/doc/guix.texi:16007
  23035. #, no-wrap
  23036. msgid ""
  23037. "(log-rotation\n"
  23038. " (frequency 'daily)\n"
  23039. " (files '(\"/var/log/apache/*\"))\n"
  23040. " (options '(\"storedir apache-archives\"\n"
  23041. " \"rotate 6\"\n"
  23042. " \"notifempty\"\n"
  23043. " \"nocompress\")))\n"
  23044. msgstr ""
  23045. #. type: deftp
  23046. #: guix-git/doc/guix.texi:16010
  23047. msgid "The list of fields is as follows:"
  23048. msgstr ""
  23049. #. type: item
  23050. #: guix-git/doc/guix.texi:16012
  23051. #, no-wrap
  23052. msgid "@code{frequency} (default: @code{'weekly})"
  23053. msgstr ""
  23054. #. type: table
  23055. #: guix-git/doc/guix.texi:16014
  23056. msgid "The log rotation frequency, a symbol."
  23057. msgstr ""
  23058. #. type: code{#1}
  23059. #: guix-git/doc/guix.texi:16015
  23060. #, no-wrap
  23061. msgid "files"
  23062. msgstr ""
  23063. #. type: table
  23064. #: guix-git/doc/guix.texi:16017
  23065. msgid "The list of files or file glob patterns to rotate."
  23066. msgstr ""
  23067. #. type: item
  23068. #: guix-git/doc/guix.texi:16018
  23069. #, no-wrap
  23070. msgid "@code{options} (default: @code{'()})"
  23071. msgstr ""
  23072. #. type: table
  23073. #: guix-git/doc/guix.texi:16021
  23074. msgid "The list of rottlog options for this rotation (@pxref{Configuration parameters,,, rottlog, GNU Rot[t]lg Manual})."
  23075. msgstr ""
  23076. #. type: item
  23077. #: guix-git/doc/guix.texi:16022
  23078. #, no-wrap
  23079. msgid "@code{post-rotate} (default: @code{#f})"
  23080. msgstr ""
  23081. #. type: table
  23082. #: guix-git/doc/guix.texi:16024
  23083. msgid "Either @code{#f} or a gexp to execute once the rotation has completed."
  23084. msgstr ""
  23085. #. type: defvr
  23086. #: guix-git/doc/guix.texi:16027
  23087. #, no-wrap
  23088. msgid "{Scheme Variable} %default-rotations"
  23089. msgstr ""
  23090. #. type: defvr
  23091. #: guix-git/doc/guix.texi:16030
  23092. msgid "Specifies weekly rotation of @code{%rotated-files} and of @file{/var/log/guix-daemon.log}."
  23093. msgstr ""
  23094. #. type: defvr
  23095. #: guix-git/doc/guix.texi:16032
  23096. #, no-wrap
  23097. msgid "{Scheme Variable} %rotated-files"
  23098. msgstr ""
  23099. #. type: defvr
  23100. #: guix-git/doc/guix.texi:16036
  23101. 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\")}."
  23102. msgstr ""
  23103. #. type: Plain text
  23104. #: guix-git/doc/guix.texi:16043
  23105. msgid "The @code{(gnu services networking)} module provides services to configure the network interface."
  23106. msgstr ""
  23107. #. type: cindex
  23108. #: guix-git/doc/guix.texi:16044
  23109. #, no-wrap
  23110. msgid "DHCP, networking service"
  23111. msgstr ""
  23112. #. type: defvr
  23113. #: guix-git/doc/guix.texi:16045
  23114. #, no-wrap
  23115. msgid "{Scheme Variable} dhcp-client-service-type"
  23116. msgstr ""
  23117. #. type: defvr
  23118. #: guix-git/doc/guix.texi:16049
  23119. 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."
  23120. msgstr ""
  23121. #. type: deffn
  23122. #: guix-git/doc/guix.texi:16051
  23123. #, no-wrap
  23124. msgid "{Scheme Procedure} dhcpd-service-type"
  23125. msgstr ""
  23126. #. type: deffn
  23127. #: guix-git/doc/guix.texi:16055
  23128. 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:"
  23129. msgstr ""
  23130. #. type: lisp
  23131. #: guix-git/doc/guix.texi:16061
  23132. #, no-wrap
  23133. msgid ""
  23134. "(service dhcpd-service-type\n"
  23135. " (dhcpd-configuration\n"
  23136. " (config-file (local-file \"my-dhcpd.conf\"))\n"
  23137. " (interfaces '(\"enp0s25\"))))\n"
  23138. msgstr ""
  23139. #. type: deftp
  23140. #: guix-git/doc/guix.texi:16064
  23141. #, no-wrap
  23142. msgid "{Data Type} dhcpd-configuration"
  23143. msgstr ""
  23144. #. type: item
  23145. #: guix-git/doc/guix.texi:16066
  23146. #, no-wrap
  23147. msgid "@code{package} (default: @code{isc-dhcp})"
  23148. msgstr ""
  23149. #. type: table
  23150. #: guix-git/doc/guix.texi:16071
  23151. 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}."
  23152. msgstr ""
  23153. #. type: item
  23154. #: guix-git/doc/guix.texi:16071 guix-git/doc/guix.texi:16327
  23155. #: guix-git/doc/guix.texi:21399
  23156. #, no-wrap
  23157. msgid "@code{config-file} (default: @code{#f})"
  23158. msgstr ""
  23159. #. type: table
  23160. #: guix-git/doc/guix.texi:16076
  23161. 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."
  23162. msgstr ""
  23163. #. type: item
  23164. #: guix-git/doc/guix.texi:16076
  23165. #, no-wrap
  23166. msgid "@code{version} (default: @code{\"4\"})"
  23167. msgstr ""
  23168. #. type: table
  23169. #: guix-git/doc/guix.texi:16081
  23170. 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."
  23171. msgstr ""
  23172. #. type: item
  23173. #: guix-git/doc/guix.texi:16081
  23174. #, no-wrap
  23175. msgid "@code{run-directory} (default: @code{\"/run/dhcpd\"})"
  23176. msgstr ""
  23177. #. type: table
  23178. #: guix-git/doc/guix.texi:16084
  23179. msgid "The run directory to use. At service activation time, this directory will be created if it does not exist."
  23180. msgstr ""
  23181. #. type: item
  23182. #: guix-git/doc/guix.texi:16084
  23183. #, no-wrap
  23184. msgid "@code{pid-file} (default: @code{\"/run/dhcpd/dhcpd.pid\"})"
  23185. msgstr ""
  23186. #. type: table
  23187. #: guix-git/doc/guix.texi:16087
  23188. msgid "The PID file to use. This corresponds to the @code{-pf} option of @code{dhcpd}. See @code{man dhcpd} for details."
  23189. msgstr ""
  23190. #. type: item
  23191. #: guix-git/doc/guix.texi:16087
  23192. #, no-wrap
  23193. msgid "@code{interfaces} (default: @code{'()})"
  23194. msgstr ""
  23195. #. type: table
  23196. #: guix-git/doc/guix.texi:16093
  23197. 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."
  23198. msgstr ""
  23199. #. type: defvr
  23200. #: guix-git/doc/guix.texi:16096
  23201. #, no-wrap
  23202. msgid "{Scheme Variable} static-networking-service-type"
  23203. msgstr ""
  23204. #. type: defvr
  23205. #: guix-git/doc/guix.texi:16099
  23206. msgid "This is the type for statically-configured network interfaces."
  23207. msgstr ""
  23208. #. type: deffn
  23209. #: guix-git/doc/guix.texi:16101
  23210. #, no-wrap
  23211. msgid "{Scheme Procedure} static-networking-service @var{interface} @var{ip} @"
  23212. msgstr ""
  23213. #. type: deffn
  23214. #: guix-git/doc/guix.texi:16109
  23215. 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."
  23216. msgstr ""
  23217. #. type: deffn
  23218. #: guix-git/doc/guix.texi:16114
  23219. 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."
  23220. msgstr ""
  23221. #. type: defvr
  23222. #: guix-git/doc/guix.texi:16116 guix-git/doc/guix.texi:28950
  23223. msgid "For example:"
  23224. msgstr ""
  23225. #. type: lisp
  23226. #: guix-git/doc/guix.texi:16121
  23227. #, no-wrap
  23228. msgid ""
  23229. "(static-networking-service \"eno1\" \"192.168.1.82\"\n"
  23230. " #:gateway \"192.168.1.2\"\n"
  23231. " #:name-servers '(\"192.168.1.2\"))\n"
  23232. msgstr ""
  23233. #. type: cindex
  23234. #: guix-git/doc/guix.texi:16124
  23235. #, no-wrap
  23236. msgid "wicd"
  23237. msgstr ""
  23238. #. type: cindex
  23239. #: guix-git/doc/guix.texi:16127
  23240. #, no-wrap
  23241. msgid "network management"
  23242. msgstr ""
  23243. #. type: deffn
  23244. #: guix-git/doc/guix.texi:16128
  23245. #, no-wrap
  23246. msgid "{Scheme Procedure} wicd-service [#:wicd @var{wicd}]"
  23247. msgstr ""
  23248. #. type: deffn
  23249. #: guix-git/doc/guix.texi:16131
  23250. msgid "Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a network management daemon that aims to simplify wired and wireless networking."
  23251. msgstr ""
  23252. #. type: deffn
  23253. #: guix-git/doc/guix.texi:16136
  23254. 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."
  23255. msgstr ""
  23256. #. type: cindex
  23257. #: guix-git/doc/guix.texi:16138
  23258. #, no-wrap
  23259. msgid "ModemManager"
  23260. msgstr ""
  23261. #. type: defvr
  23262. #: guix-git/doc/guix.texi:16140
  23263. #, no-wrap
  23264. msgid "{Scheme Variable} modem-manager-service-type"
  23265. msgstr ""
  23266. #. type: defvr
  23267. #: guix-git/doc/guix.texi:16145
  23268. 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."
  23269. msgstr ""
  23270. #. type: defvr
  23271. #: guix-git/doc/guix.texi:16148 guix-git/doc/guix.texi:16177
  23272. #: guix-git/doc/guix.texi:16209
  23273. msgid "This service is part of @code{%desktop-services} (@pxref{Desktop Services})."
  23274. msgstr ""
  23275. #. type: deftp
  23276. #: guix-git/doc/guix.texi:16150
  23277. #, no-wrap
  23278. msgid "{Data Type} modem-manager-configuration"
  23279. msgstr ""
  23280. #. type: deftp
  23281. #: guix-git/doc/guix.texi:16152
  23282. msgid "Data type representing the configuration of ModemManager."
  23283. msgstr ""
  23284. #. type: item
  23285. #: guix-git/doc/guix.texi:16154
  23286. #, no-wrap
  23287. msgid "@code{modem-manager} (default: @code{modem-manager})"
  23288. msgstr ""
  23289. #. type: table
  23290. #: guix-git/doc/guix.texi:16156
  23291. msgid "The ModemManager package to use."
  23292. msgstr ""
  23293. #. type: cindex
  23294. #: guix-git/doc/guix.texi:16160
  23295. #, no-wrap
  23296. msgid "USB_ModeSwitch"
  23297. msgstr ""
  23298. #. type: cindex
  23299. #: guix-git/doc/guix.texi:16161
  23300. #, no-wrap
  23301. msgid "Modeswitching"
  23302. msgstr ""
  23303. #. type: defvr
  23304. #: guix-git/doc/guix.texi:16163
  23305. #, no-wrap
  23306. msgid "{Scheme Variable} usb-modeswitch-service-type"
  23307. msgstr ""
  23308. #. type: defvr
  23309. #: guix-git/doc/guix.texi:16168
  23310. 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."
  23311. msgstr ""
  23312. #. type: defvr
  23313. #: guix-git/doc/guix.texi:16174
  23314. 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."
  23315. msgstr ""
  23316. #. type: deftp
  23317. #: guix-git/doc/guix.texi:16179
  23318. #, no-wrap
  23319. msgid "{Data Type} usb-modeswitch-configuration"
  23320. msgstr ""
  23321. #. type: deftp
  23322. #: guix-git/doc/guix.texi:16181
  23323. msgid "Data type representing the configuration of USB_ModeSwitch."
  23324. msgstr ""
  23325. #. type: item
  23326. #: guix-git/doc/guix.texi:16183
  23327. #, no-wrap
  23328. msgid "@code{usb-modeswitch} (default: @code{usb-modeswitch})"
  23329. msgstr ""
  23330. #. type: table
  23331. #: guix-git/doc/guix.texi:16185
  23332. msgid "The USB_ModeSwitch package providing the binaries for modeswitching."
  23333. msgstr ""
  23334. #. type: item
  23335. #: guix-git/doc/guix.texi:16186
  23336. #, no-wrap
  23337. msgid "@code{usb-modeswitch-data} (default: @code{usb-modeswitch-data})"
  23338. msgstr ""
  23339. #. type: table
  23340. #: guix-git/doc/guix.texi:16189
  23341. msgid "The package providing the device data and udev rules file used by USB_ModeSwitch."
  23342. msgstr ""
  23343. #. type: item
  23344. #: guix-git/doc/guix.texi:16190
  23345. #, no-wrap
  23346. msgid "@code{config-file} (default: @code{#~(string-append #$usb-modeswitch:dispatcher \"/etc/usb_modeswitch.conf\")})"
  23347. msgstr ""
  23348. #. type: table
  23349. #: guix-git/doc/guix.texi:16195
  23350. 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."
  23351. msgstr ""
  23352. #. type: cindex
  23353. #: guix-git/doc/guix.texi:16199
  23354. #, no-wrap
  23355. msgid "NetworkManager"
  23356. msgstr ""
  23357. #. type: defvr
  23358. #: guix-git/doc/guix.texi:16201
  23359. #, no-wrap
  23360. msgid "{Scheme Variable} network-manager-service-type"
  23361. msgstr ""
  23362. #. type: defvr
  23363. #: guix-git/doc/guix.texi:16206
  23364. 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."
  23365. msgstr ""
  23366. #. type: deftp
  23367. #: guix-git/doc/guix.texi:16211
  23368. #, no-wrap
  23369. msgid "{Data Type} network-manager-configuration"
  23370. msgstr ""
  23371. #. type: deftp
  23372. #: guix-git/doc/guix.texi:16213
  23373. msgid "Data type representing the configuration of NetworkManager."
  23374. msgstr ""
  23375. #. type: item
  23376. #: guix-git/doc/guix.texi:16215
  23377. #, no-wrap
  23378. msgid "@code{network-manager} (default: @code{network-manager})"
  23379. msgstr ""
  23380. #. type: table
  23381. #: guix-git/doc/guix.texi:16217
  23382. msgid "The NetworkManager package to use."
  23383. msgstr ""
  23384. #. type: item
  23385. #: guix-git/doc/guix.texi:16218
  23386. #, no-wrap
  23387. msgid "@code{dns} (default: @code{\"default\"})"
  23388. msgstr ""
  23389. #. type: table
  23390. #: guix-git/doc/guix.texi:16221
  23391. msgid "Processing mode for DNS, which affects how NetworkManager uses the @code{resolv.conf} configuration file."
  23392. msgstr ""
  23393. #. type: table
  23394. #: guix-git/doc/guix.texi:16226
  23395. msgid "NetworkManager will update @code{resolv.conf} to reflect the nameservers provided by currently active connections."
  23396. msgstr ""
  23397. #. type: item
  23398. #: guix-git/doc/guix.texi:16227
  23399. #, no-wrap
  23400. msgid "dnsmasq"
  23401. msgstr ""
  23402. #. type: table
  23403. #: guix-git/doc/guix.texi:16231
  23404. 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."
  23405. msgstr ""
  23406. #. type: table
  23407. #: guix-git/doc/guix.texi:16237
  23408. 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)."
  23409. msgstr ""
  23410. #. type: table
  23411. #: guix-git/doc/guix.texi:16244
  23412. 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:"
  23413. msgstr ""
  23414. #. type: example
  23415. #: guix-git/doc/guix.texi:16251
  23416. #, no-wrap
  23417. msgid ""
  23418. "nmcli connection add type tun \\\n"
  23419. " connection.interface-name tap0 \\\n"
  23420. " tun.mode tap tun.owner $(id -u) \\\n"
  23421. " ipv4.method shared \\\n"
  23422. " ipv4.addresses 172.28.112.1/24\n"
  23423. msgstr ""
  23424. #. type: table
  23425. #: guix-git/doc/guix.texi:16256
  23426. 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-...}."
  23427. msgstr ""
  23428. #. type: table
  23429. #: guix-git/doc/guix.texi:16259
  23430. msgid "NetworkManager will not modify @code{resolv.conf}."
  23431. msgstr ""
  23432. #. type: item
  23433. #: guix-git/doc/guix.texi:16261
  23434. #, no-wrap
  23435. msgid "@code{vpn-plugins} (default: @code{'()})"
  23436. msgstr ""
  23437. #. type: table
  23438. #: guix-git/doc/guix.texi:16265
  23439. 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."
  23440. msgstr ""
  23441. #. type: cindex
  23442. #: guix-git/doc/guix.texi:16269
  23443. #, no-wrap
  23444. msgid "Connman"
  23445. msgstr ""
  23446. #. type: deffn
  23447. #: guix-git/doc/guix.texi:16270
  23448. #, no-wrap
  23449. msgid "{Scheme Variable} connman-service-type"
  23450. msgstr ""
  23451. #. type: deffn
  23452. #: guix-git/doc/guix.texi:16273
  23453. msgid "This is the service type to run @url{https://01.org/connman,Connman}, a network connection manager."
  23454. msgstr ""
  23455. #. type: deffn
  23456. #: guix-git/doc/guix.texi:16276
  23457. msgid "Its value must be an @code{connman-configuration} record as in this example:"
  23458. msgstr ""
  23459. #. type: lisp
  23460. #: guix-git/doc/guix.texi:16281
  23461. #, no-wrap
  23462. msgid ""
  23463. "(service connman-service-type\n"
  23464. " (connman-configuration\n"
  23465. " (disable-vpn? #t)))\n"
  23466. msgstr ""
  23467. #. type: deffn
  23468. #: guix-git/doc/guix.texi:16284
  23469. msgid "See below for details about @code{connman-configuration}."
  23470. msgstr ""
  23471. #. type: deftp
  23472. #: guix-git/doc/guix.texi:16286
  23473. #, no-wrap
  23474. msgid "{Data Type} connman-configuration"
  23475. msgstr ""
  23476. #. type: deftp
  23477. #: guix-git/doc/guix.texi:16288
  23478. msgid "Data Type representing the configuration of connman."
  23479. msgstr ""
  23480. #. type: item
  23481. #: guix-git/doc/guix.texi:16290
  23482. #, no-wrap
  23483. msgid "@code{connman} (default: @var{connman})"
  23484. msgstr ""
  23485. #. type: table
  23486. #: guix-git/doc/guix.texi:16292
  23487. msgid "The connman package to use."
  23488. msgstr ""
  23489. #. type: item
  23490. #: guix-git/doc/guix.texi:16293
  23491. #, no-wrap
  23492. msgid "@code{disable-vpn?} (default: @code{#f})"
  23493. msgstr ""
  23494. #. type: table
  23495. #: guix-git/doc/guix.texi:16295
  23496. msgid "When true, disable connman's vpn plugin."
  23497. msgstr ""
  23498. #. type: cindex
  23499. #: guix-git/doc/guix.texi:16298
  23500. #, no-wrap
  23501. msgid "WPA Supplicant"
  23502. msgstr ""
  23503. #. type: defvr
  23504. #: guix-git/doc/guix.texi:16299
  23505. #, no-wrap
  23506. msgid "{Scheme Variable} wpa-supplicant-service-type"
  23507. msgstr ""
  23508. #. type: defvr
  23509. #: guix-git/doc/guix.texi:16303
  23510. 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."
  23511. msgstr ""
  23512. #. type: deftp
  23513. #: guix-git/doc/guix.texi:16305
  23514. #, no-wrap
  23515. msgid "{Data Type} wpa-supplicant-configuration"
  23516. msgstr ""
  23517. #. type: deftp
  23518. #: guix-git/doc/guix.texi:16307
  23519. msgid "Data type representing the configuration of WPA Supplicant."
  23520. msgstr ""
  23521. #. type: deftp
  23522. #: guix-git/doc/guix.texi:16309 guix-git/doc/guix.texi:30962
  23523. msgid "It takes the following parameters:"
  23524. msgstr ""
  23525. #. type: item
  23526. #: guix-git/doc/guix.texi:16311
  23527. #, no-wrap
  23528. msgid "@code{wpa-supplicant} (default: @code{wpa-supplicant})"
  23529. msgstr ""
  23530. #. type: table
  23531. #: guix-git/doc/guix.texi:16313
  23532. msgid "The WPA Supplicant package to use."
  23533. msgstr ""
  23534. #. type: item
  23535. #: guix-git/doc/guix.texi:16314
  23536. #, no-wrap
  23537. msgid "@code{requirement} (default: @code{'(user-processes loopback syslogd)}"
  23538. msgstr ""
  23539. #. type: table
  23540. #: guix-git/doc/guix.texi:16316
  23541. msgid "List of services that should be started before WPA Supplicant starts."
  23542. msgstr ""
  23543. #. type: item
  23544. #: guix-git/doc/guix.texi:16317
  23545. #, no-wrap
  23546. msgid "@code{dbus?} (default: @code{#t})"
  23547. msgstr "@code{dbus?} (padrão: @code{#t})"
  23548. #. type: table
  23549. #: guix-git/doc/guix.texi:16319
  23550. msgid "Whether to listen for requests on D-Bus."
  23551. msgstr ""
  23552. #. type: item
  23553. #: guix-git/doc/guix.texi:16320
  23554. #, no-wrap
  23555. msgid "@code{pid-file} (default: @code{\"/var/run/wpa_supplicant.pid\"})"
  23556. msgstr ""
  23557. #. type: table
  23558. #: guix-git/doc/guix.texi:16322
  23559. msgid "Where to store the PID file."
  23560. msgstr ""
  23561. #. type: item
  23562. #: guix-git/doc/guix.texi:16323 guix-git/doc/guix.texi:29407
  23563. #: guix-git/doc/guix.texi:29549
  23564. #, no-wrap
  23565. msgid "@code{interface} (default: @code{#f})"
  23566. msgstr ""
  23567. #. type: table
  23568. #: guix-git/doc/guix.texi:16326
  23569. msgid "If this is set, it must specify the name of a network interface that WPA supplicant will control."
  23570. msgstr ""
  23571. #. type: table
  23572. #: guix-git/doc/guix.texi:16329
  23573. msgid "Optional configuration file to use."
  23574. msgstr ""
  23575. #. type: table
  23576. #: guix-git/doc/guix.texi:16332
  23577. msgid "List of additional command-line arguments to pass to the daemon."
  23578. msgstr ""
  23579. #. type: cindex
  23580. #: guix-git/doc/guix.texi:16335
  23581. #, no-wrap
  23582. msgid "hostapd service, for Wi-Fi access points"
  23583. msgstr ""
  23584. #. type: cindex
  23585. #: guix-git/doc/guix.texi:16336
  23586. #, no-wrap
  23587. msgid "Wi-Fi access points, hostapd service"
  23588. msgstr ""
  23589. #. type: defvr
  23590. #: guix-git/doc/guix.texi:16337
  23591. #, no-wrap
  23592. msgid "{Scheme Variable} hostapd-service-type"
  23593. msgstr ""
  23594. #. type: defvr
  23595. #: guix-git/doc/guix.texi:16342
  23596. 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:"
  23597. msgstr ""
  23598. #. type: lisp
  23599. #: guix-git/doc/guix.texi:16350
  23600. #, no-wrap
  23601. msgid ""
  23602. ";; Use wlan1 to run the access point for \"My Network\".\n"
  23603. "(service hostapd-service-type\n"
  23604. " (hostapd-configuration\n"
  23605. " (interface \"wlan1\")\n"
  23606. " (ssid \"My Network\")\n"
  23607. " (channel 12)))\n"
  23608. msgstr ""
  23609. #. type: deftp
  23610. #: guix-git/doc/guix.texi:16353
  23611. #, no-wrap
  23612. msgid "{Data Type} hostapd-configuration"
  23613. msgstr ""
  23614. #. type: deftp
  23615. #: guix-git/doc/guix.texi:16356
  23616. msgid "This data type represents the configuration of the hostapd service, with the following fields:"
  23617. msgstr ""
  23618. #. type: item
  23619. #: guix-git/doc/guix.texi:16358
  23620. #, no-wrap
  23621. msgid "@code{package} (default: @code{hostapd})"
  23622. msgstr ""
  23623. #. type: table
  23624. #: guix-git/doc/guix.texi:16360
  23625. msgid "The hostapd package to use."
  23626. msgstr ""
  23627. #. type: item
  23628. #: guix-git/doc/guix.texi:16361
  23629. #, no-wrap
  23630. msgid "@code{interface} (default: @code{\"wlan0\"})"
  23631. msgstr ""
  23632. #. type: table
  23633. #: guix-git/doc/guix.texi:16363
  23634. msgid "The network interface to run the WiFi access point."
  23635. msgstr ""
  23636. #. type: code{#1}
  23637. #: guix-git/doc/guix.texi:16364
  23638. #, no-wrap
  23639. msgid "ssid"
  23640. msgstr ""
  23641. #. type: table
  23642. #: guix-git/doc/guix.texi:16367
  23643. msgid "The SSID (@dfn{service set identifier}), a string that identifies this network."
  23644. msgstr ""
  23645. #. type: item
  23646. #: guix-git/doc/guix.texi:16368
  23647. #, no-wrap
  23648. msgid "@code{broadcast-ssid?} (default: @code{#t})"
  23649. msgstr ""
  23650. #. type: table
  23651. #: guix-git/doc/guix.texi:16370
  23652. msgid "Whether to broadcast this SSID."
  23653. msgstr ""
  23654. #. type: item
  23655. #: guix-git/doc/guix.texi:16371
  23656. #, no-wrap
  23657. msgid "@code{channel} (default: @code{1})"
  23658. msgstr ""
  23659. #. type: table
  23660. #: guix-git/doc/guix.texi:16373
  23661. msgid "The WiFi channel to use."
  23662. msgstr ""
  23663. #. type: item
  23664. #: guix-git/doc/guix.texi:16374
  23665. #, no-wrap
  23666. msgid "@code{driver} (default: @code{\"nl80211\"})"
  23667. msgstr ""
  23668. #. type: table
  23669. #: guix-git/doc/guix.texi:16378
  23670. 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."
  23671. msgstr ""
  23672. #. type: item
  23673. #: guix-git/doc/guix.texi:16379 guix-git/doc/guix.texi:22248
  23674. #: guix-git/doc/guix.texi:25098
  23675. #, no-wrap
  23676. msgid "@code{extra-settings} (default: @code{\"\"})"
  23677. msgstr ""
  23678. #. type: table
  23679. #: guix-git/doc/guix.texi:16383
  23680. 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."
  23681. msgstr ""
  23682. #. type: defvr
  23683. #: guix-git/doc/guix.texi:16386
  23684. #, no-wrap
  23685. msgid "{Scheme Variable} simulated-wifi-service-type"
  23686. msgstr ""
  23687. #. type: defvr
  23688. #: guix-git/doc/guix.texi:16393
  23689. 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."
  23690. msgstr ""
  23691. #. type: defvr
  23692. #: guix-git/doc/guix.texi:16395
  23693. msgid "The service's value is a @code{hostapd-configuration} record."
  23694. msgstr ""
  23695. #. type: cindex
  23696. #: guix-git/doc/guix.texi:16397
  23697. #, no-wrap
  23698. msgid "iptables"
  23699. msgstr ""
  23700. #. type: defvr
  23701. #: guix-git/doc/guix.texi:16398
  23702. #, no-wrap
  23703. msgid "{Scheme Variable} iptables-service-type"
  23704. msgstr ""
  23705. #. type: defvr
  23706. #: guix-git/doc/guix.texi:16404
  23707. 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."
  23708. msgstr ""
  23709. #. type: lisp
  23710. #: guix-git/doc/guix.texi:16424
  23711. #, no-wrap
  23712. msgid ""
  23713. "(service iptables-service-type\n"
  23714. " (iptables-configuration\n"
  23715. " (ipv4-rules (plain-file \"iptables.rules\" \"*filter\n"
  23716. ":INPUT ACCEPT\n"
  23717. ":FORWARD ACCEPT\n"
  23718. ":OUTPUT ACCEPT\n"
  23719. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  23720. "-A INPUT -j REJECT --reject-with icmp-port-unreachable\n"
  23721. "COMMIT\n"
  23722. "\"))\n"
  23723. " (ipv6-rules (plain-file \"ip6tables.rules\" \"*filter\n"
  23724. ":INPUT ACCEPT\n"
  23725. ":FORWARD ACCEPT\n"
  23726. ":OUTPUT ACCEPT\n"
  23727. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  23728. "-A INPUT -j REJECT --reject-with icmp6-port-unreachable\n"
  23729. "COMMIT\n"
  23730. "\"))))\n"
  23731. msgstr ""
  23732. #. type: deftp
  23733. #: guix-git/doc/guix.texi:16427
  23734. #, no-wrap
  23735. msgid "{Data Type} iptables-configuration"
  23736. msgstr ""
  23737. #. type: deftp
  23738. #: guix-git/doc/guix.texi:16429
  23739. msgid "The data type representing the configuration of iptables."
  23740. msgstr ""
  23741. #. type: item
  23742. #: guix-git/doc/guix.texi:16431
  23743. #, no-wrap
  23744. msgid "@code{iptables} (default: @code{iptables})"
  23745. msgstr ""
  23746. #. type: table
  23747. #: guix-git/doc/guix.texi:16434
  23748. msgid "The iptables package that provides @code{iptables-restore} and @code{ip6tables-restore}."
  23749. msgstr ""
  23750. #. type: item
  23751. #: guix-git/doc/guix.texi:16434
  23752. #, no-wrap
  23753. msgid "@code{ipv4-rules} (default: @code{%iptables-accept-all-rules})"
  23754. msgstr ""
  23755. #. type: table
  23756. #: guix-git/doc/guix.texi:16438
  23757. 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})."
  23758. msgstr ""
  23759. #. type: item
  23760. #: guix-git/doc/guix.texi:16438
  23761. #, no-wrap
  23762. msgid "@code{ipv6-rules} (default: @code{%iptables-accept-all-rules})"
  23763. msgstr ""
  23764. #. type: table
  23765. #: guix-git/doc/guix.texi:16442
  23766. 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})."
  23767. msgstr ""
  23768. #. type: cindex
  23769. #: guix-git/doc/guix.texi:16445
  23770. #, no-wrap
  23771. msgid "nftables"
  23772. msgstr ""
  23773. #. type: defvr
  23774. #: guix-git/doc/guix.texi:16446
  23775. #, no-wrap
  23776. msgid "{Scheme Variable} nftables-service-type"
  23777. msgstr ""
  23778. #. type: defvr
  23779. #: guix-git/doc/guix.texi:16454
  23780. 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:"
  23781. msgstr ""
  23782. #. type: lisp
  23783. #: guix-git/doc/guix.texi:16457
  23784. #, no-wrap
  23785. msgid "(service nftables-service-type)\n"
  23786. msgstr ""
  23787. #. type: deftp
  23788. #: guix-git/doc/guix.texi:16460
  23789. #, no-wrap
  23790. msgid "{Data Type} nftables-configuration"
  23791. msgstr ""
  23792. #. type: deftp
  23793. #: guix-git/doc/guix.texi:16462
  23794. msgid "The data type representing the configuration of nftables."
  23795. msgstr ""
  23796. #. type: item
  23797. #: guix-git/doc/guix.texi:16464
  23798. #, no-wrap
  23799. msgid "@code{package} (default: @code{nftables})"
  23800. msgstr ""
  23801. #. type: table
  23802. #: guix-git/doc/guix.texi:16466
  23803. msgid "The nftables package that provides @command{nft}."
  23804. msgstr ""
  23805. #. type: item
  23806. #: guix-git/doc/guix.texi:16466
  23807. #, no-wrap
  23808. msgid "@code{ruleset} (default: @code{%default-nftables-ruleset})"
  23809. msgstr ""
  23810. #. type: table
  23811. #: guix-git/doc/guix.texi:16469
  23812. msgid "The nftables ruleset to use. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  23813. msgstr ""
  23814. #. type: cindex
  23815. #: guix-git/doc/guix.texi:16472
  23816. #, no-wrap
  23817. msgid "NTP (Network Time Protocol), service"
  23818. msgstr ""
  23819. #. type: cindex
  23820. #: guix-git/doc/guix.texi:16473
  23821. #, no-wrap
  23822. msgid "ntpd, service for the Network Time Protocol daemon"
  23823. msgstr ""
  23824. #. type: cindex
  23825. #: guix-git/doc/guix.texi:16474
  23826. #, no-wrap
  23827. msgid "real time clock"
  23828. msgstr ""
  23829. #. type: defvr
  23830. #: guix-git/doc/guix.texi:16475
  23831. #, no-wrap
  23832. msgid "{Scheme Variable} ntp-service-type"
  23833. msgstr ""
  23834. #. type: defvr
  23835. #: guix-git/doc/guix.texi:16479
  23836. 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."
  23837. msgstr ""
  23838. #. type: defvr
  23839. #: guix-git/doc/guix.texi:16482
  23840. msgid "The value of this service is an @code{ntpd-configuration} object, as described below."
  23841. msgstr ""
  23842. #. type: deftp
  23843. #: guix-git/doc/guix.texi:16484
  23844. #, no-wrap
  23845. msgid "{Data Type} ntp-configuration"
  23846. msgstr ""
  23847. #. type: deftp
  23848. #: guix-git/doc/guix.texi:16486
  23849. msgid "This is the data type for the NTP service configuration."
  23850. msgstr ""
  23851. #. type: item
  23852. #: guix-git/doc/guix.texi:16488
  23853. #, no-wrap
  23854. msgid "@code{servers} (default: @code{%ntp-servers})"
  23855. msgstr ""
  23856. #. type: table
  23857. #: guix-git/doc/guix.texi:16492
  23858. 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."
  23859. msgstr ""
  23860. #. type: item
  23861. #: guix-git/doc/guix.texi:16493
  23862. #, no-wrap
  23863. msgid "@code{allow-large-adjustment?} (default: @code{#t})"
  23864. msgstr ""
  23865. #. type: table
  23866. #: guix-git/doc/guix.texi:16496
  23867. msgid "This determines whether @command{ntpd} is allowed to make an initial adjustment of more than 1,000 seconds."
  23868. msgstr ""
  23869. #. type: item
  23870. #: guix-git/doc/guix.texi:16497
  23871. #, no-wrap
  23872. msgid "@code{ntp} (default: @code{ntp})"
  23873. msgstr ""
  23874. #. type: table
  23875. #: guix-git/doc/guix.texi:16499
  23876. msgid "The NTP package to use."
  23877. msgstr ""
  23878. #. type: defvr
  23879. #: guix-git/doc/guix.texi:16502
  23880. #, no-wrap
  23881. msgid "{Scheme Variable} %ntp-servers"
  23882. msgstr ""
  23883. #. type: defvr
  23884. #: guix-git/doc/guix.texi:16505
  23885. 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}."
  23886. msgstr ""
  23887. #. type: deftp
  23888. #: guix-git/doc/guix.texi:16507
  23889. #, no-wrap
  23890. msgid "{Data Type} ntp-server"
  23891. msgstr ""
  23892. #. type: deftp
  23893. #: guix-git/doc/guix.texi:16509
  23894. msgid "The data type representing the configuration of a NTP server."
  23895. msgstr ""
  23896. #. type: item
  23897. #: guix-git/doc/guix.texi:16511
  23898. #, no-wrap
  23899. msgid "@code{type} (default: @code{'server})"
  23900. msgstr ""
  23901. #. type: table
  23902. #: guix-git/doc/guix.texi:16514
  23903. msgid "The type of the NTP server, given as a symbol. One of @code{'pool}, @code{'server}, @code{'peer}, @code{'broadcast} or @code{'manycastclient}."
  23904. msgstr ""
  23905. #. type: code{#1}
  23906. #: guix-git/doc/guix.texi:16515
  23907. #, no-wrap
  23908. msgid "address"
  23909. msgstr ""
  23910. #. type: table
  23911. #: guix-git/doc/guix.texi:16517
  23912. msgid "The address of the server, as a string."
  23913. msgstr ""
  23914. #. type: code{#1}
  23915. #: guix-git/doc/guix.texi:16518 guix-git/doc/guix.texi:31708
  23916. #: guix-git/doc/guix.texi:31728
  23917. #, no-wrap
  23918. msgid "options"
  23919. msgstr ""
  23920. #. type: table
  23921. #: guix-git/doc/guix.texi:16523
  23922. 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."
  23923. msgstr ""
  23924. #. type: example
  23925. #: guix-git/doc/guix.texi:16529
  23926. #, no-wrap
  23927. msgid ""
  23928. "(ntp-server\n"
  23929. " (type 'server)\n"
  23930. " (address \"some.ntp.server.org\")\n"
  23931. " (options `(iburst (version 3) (maxpoll 16) prefer))))\n"
  23932. msgstr ""
  23933. #. type: cindex
  23934. #: guix-git/doc/guix.texi:16533
  23935. #, no-wrap
  23936. msgid "OpenNTPD"
  23937. msgstr ""
  23938. #. type: deffn
  23939. #: guix-git/doc/guix.texi:16534
  23940. #, no-wrap
  23941. msgid "{Scheme Procedure} openntpd-service-type"
  23942. msgstr ""
  23943. #. type: deffn
  23944. #: guix-git/doc/guix.texi:16538
  23945. 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."
  23946. msgstr ""
  23947. #. type: lisp
  23948. #: guix-git/doc/guix.texi:16547
  23949. #, no-wrap
  23950. msgid ""
  23951. "(service\n"
  23952. " openntpd-service-type\n"
  23953. " (openntpd-configuration\n"
  23954. " (listen-on '(\"127.0.0.1\" \"::1\"))\n"
  23955. " (sensor '(\"udcf0 correction 70000\"))\n"
  23956. " (constraint-from '(\"www.gnu.org\"))\n"
  23957. " (constraints-from '(\"https://www.google.com/\"))))\n"
  23958. "\n"
  23959. msgstr ""
  23960. #. type: defvr
  23961. #: guix-git/doc/guix.texi:16551
  23962. #, no-wrap
  23963. msgid "{Scheme Variable} %openntpd-servers"
  23964. msgstr ""
  23965. #. type: defvr
  23966. #: guix-git/doc/guix.texi:16554
  23967. msgid "This variable is a list of the server addresses defined in @code{%ntp-servers}."
  23968. msgstr ""
  23969. #. type: deftp
  23970. #: guix-git/doc/guix.texi:16556
  23971. #, no-wrap
  23972. msgid "{Data Type} openntpd-configuration"
  23973. msgstr ""
  23974. #. type: item
  23975. #: guix-git/doc/guix.texi:16558
  23976. #, no-wrap
  23977. msgid "@code{openntpd} (default: @code{(file-append openntpd \"/sbin/ntpd\")})"
  23978. msgstr ""
  23979. #. type: table
  23980. #: guix-git/doc/guix.texi:16560
  23981. msgid "The openntpd executable to use."
  23982. msgstr ""
  23983. #. type: item
  23984. #: guix-git/doc/guix.texi:16560
  23985. #, no-wrap
  23986. msgid "@code{listen-on} (default: @code{'(\"127.0.0.1\" \"::1\")})"
  23987. msgstr ""
  23988. #. type: table
  23989. #: guix-git/doc/guix.texi:16562
  23990. msgid "A list of local IP addresses or hostnames the ntpd daemon should listen on."
  23991. msgstr ""
  23992. #. type: item
  23993. #: guix-git/doc/guix.texi:16562
  23994. #, no-wrap
  23995. msgid "@code{query-from} (default: @code{'()})"
  23996. msgstr ""
  23997. #. type: table
  23998. #: guix-git/doc/guix.texi:16564
  23999. msgid "A list of local IP address the ntpd daemon should use for outgoing queries."
  24000. msgstr ""
  24001. #. type: item
  24002. #: guix-git/doc/guix.texi:16564
  24003. #, no-wrap
  24004. msgid "@code{sensor} (default: @code{'()})"
  24005. msgstr ""
  24006. #. type: table
  24007. #: guix-git/doc/guix.texi:16569
  24008. 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."
  24009. msgstr ""
  24010. #. type: item
  24011. #: guix-git/doc/guix.texi:16569
  24012. #, no-wrap
  24013. msgid "@code{server} (default: @code{'()})"
  24014. msgstr ""
  24015. #. type: table
  24016. #: guix-git/doc/guix.texi:16571
  24017. msgid "Specify a list of IP addresses or hostnames of NTP servers to synchronize to."
  24018. msgstr ""
  24019. #. type: item
  24020. #: guix-git/doc/guix.texi:16571
  24021. #, no-wrap
  24022. msgid "@code{servers} (default: @code{%openntp-servers})"
  24023. msgstr ""
  24024. #. type: table
  24025. #: guix-git/doc/guix.texi:16573
  24026. msgid "Specify a list of IP addresses or hostnames of NTP pools to synchronize to."
  24027. msgstr ""
  24028. #. type: item
  24029. #: guix-git/doc/guix.texi:16573
  24030. #, no-wrap
  24031. msgid "@code{constraint-from} (default: @code{'()})"
  24032. msgstr ""
  24033. #. type: table
  24034. #: guix-git/doc/guix.texi:16580
  24035. 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."
  24036. msgstr ""
  24037. #. type: item
  24038. #: guix-git/doc/guix.texi:16580
  24039. #, no-wrap
  24040. msgid "@code{constraints-from} (default: @code{'()})"
  24041. msgstr ""
  24042. #. type: table
  24043. #: guix-git/doc/guix.texi:16584
  24044. 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."
  24045. msgstr ""
  24046. #. type: cindex
  24047. #: guix-git/doc/guix.texi:16587
  24048. #, no-wrap
  24049. msgid "inetd"
  24050. msgstr ""
  24051. #. type: deffn
  24052. #: guix-git/doc/guix.texi:16588
  24053. #, no-wrap
  24054. msgid "{Scheme variable} inetd-service-type"
  24055. msgstr ""
  24056. #. type: deffn
  24057. #: guix-git/doc/guix.texi:16593
  24058. 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."
  24059. msgstr ""
  24060. #. type: deffn
  24061. #: guix-git/doc/guix.texi:16599
  24062. 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}:"
  24063. msgstr ""
  24064. #. type: lisp
  24065. #: guix-git/doc/guix.texi:16622
  24066. #, no-wrap
  24067. msgid ""
  24068. "(service\n"
  24069. " inetd-service-type\n"
  24070. " (inetd-configuration\n"
  24071. " (entries (list\n"
  24072. " (inetd-entry\n"
  24073. " (name \"echo\")\n"
  24074. " (socket-type 'stream)\n"
  24075. " (protocol \"tcp\")\n"
  24076. " (wait? #f)\n"
  24077. " (user \"root\"))\n"
  24078. " (inetd-entry\n"
  24079. " (node \"127.0.0.1\")\n"
  24080. " (name \"smtp\")\n"
  24081. " (socket-type 'stream)\n"
  24082. " (protocol \"tcp\")\n"
  24083. " (wait? #f)\n"
  24084. " (user \"root\")\n"
  24085. " (program (file-append openssh \"/bin/ssh\"))\n"
  24086. " (arguments\n"
  24087. " '(\"ssh\" \"-qT\" \"-i\" \"/path/to/ssh_key\"\n"
  24088. " \"-W\" \"smtp-server:25\" \"user@@hostname\")))))))\n"
  24089. msgstr ""
  24090. #. type: deffn
  24091. #: guix-git/doc/guix.texi:16625
  24092. msgid "See below for more details about @code{inetd-configuration}."
  24093. msgstr ""
  24094. #. type: deftp
  24095. #: guix-git/doc/guix.texi:16627
  24096. #, no-wrap
  24097. msgid "{Data Type} inetd-configuration"
  24098. msgstr ""
  24099. #. type: deftp
  24100. #: guix-git/doc/guix.texi:16629
  24101. msgid "Data type representing the configuration of @command{inetd}."
  24102. msgstr ""
  24103. #. type: item
  24104. #: guix-git/doc/guix.texi:16631
  24105. #, no-wrap
  24106. msgid "@code{program} (default: @code{(file-append inetutils \"/libexec/inetd\")})"
  24107. msgstr ""
  24108. #. type: table
  24109. #: guix-git/doc/guix.texi:16633
  24110. msgid "The @command{inetd} executable to use."
  24111. msgstr ""
  24112. #. type: item
  24113. #: guix-git/doc/guix.texi:16634 guix-git/doc/guix.texi:25932
  24114. #, no-wrap
  24115. msgid "@code{entries} (default: @code{'()})"
  24116. msgstr ""
  24117. #. type: table
  24118. #: guix-git/doc/guix.texi:16637
  24119. msgid "A list of @command{inetd} service entries. Each entry should be created by the @code{inetd-entry} constructor."
  24120. msgstr ""
  24121. #. type: deftp
  24122. #: guix-git/doc/guix.texi:16640
  24123. #, no-wrap
  24124. msgid "{Data Type} inetd-entry"
  24125. msgstr ""
  24126. #. type: deftp
  24127. #: guix-git/doc/guix.texi:16644
  24128. msgid "Data type representing an entry in the @command{inetd} configuration. Each entry corresponds to a socket where @command{inetd} will listen for requests."
  24129. msgstr ""
  24130. #. type: item
  24131. #: guix-git/doc/guix.texi:16646
  24132. #, no-wrap
  24133. msgid "@code{node} (default: @code{#f})"
  24134. msgstr "@code{node} (default: @code{#f})"
  24135. #. type: table
  24136. #: guix-git/doc/guix.texi:16651
  24137. 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."
  24138. msgstr ""
  24139. #. type: table
  24140. #: guix-git/doc/guix.texi:16653
  24141. msgid "A string, the name must correspond to an entry in @code{/etc/services}."
  24142. msgstr ""
  24143. #. type: code{#1}
  24144. #: guix-git/doc/guix.texi:16653
  24145. #, no-wrap
  24146. msgid "socket-type"
  24147. msgstr ""
  24148. #. type: table
  24149. #: guix-git/doc/guix.texi:16656
  24150. msgid "One of @code{'stream}, @code{'dgram}, @code{'raw}, @code{'rdm} or @code{'seqpacket}."
  24151. msgstr ""
  24152. #. type: code{#1}
  24153. #: guix-git/doc/guix.texi:16656
  24154. #, no-wrap
  24155. msgid "protocol"
  24156. msgstr ""
  24157. #. type: table
  24158. #: guix-git/doc/guix.texi:16658
  24159. msgid "A string, must correspond to an entry in @code{/etc/protocols}."
  24160. msgstr ""
  24161. #. type: item
  24162. #: guix-git/doc/guix.texi:16658
  24163. #, no-wrap
  24164. msgid "@code{wait?} (default: @code{#t})"
  24165. msgstr "@code{wait?} (padrão: @code{#t})"
  24166. #. type: table
  24167. #: guix-git/doc/guix.texi:16661
  24168. msgid "Whether @command{inetd} should wait for the server to exit before listening to new service requests."
  24169. msgstr ""
  24170. #. type: table
  24171. #: guix-git/doc/guix.texi:16666
  24172. 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\"}."
  24173. msgstr ""
  24174. #. type: item
  24175. #: guix-git/doc/guix.texi:16666
  24176. #, no-wrap
  24177. msgid "@code{program} (default: @code{\"internal\"})"
  24178. msgstr ""
  24179. #. type: table
  24180. #: guix-git/doc/guix.texi:16669
  24181. msgid "The server program which will serve the requests, or @code{\"internal\"} if @command{inetd} should use a built-in service."
  24182. msgstr ""
  24183. #. type: table
  24184. #: guix-git/doc/guix.texi:16674
  24185. 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\")}."
  24186. msgstr ""
  24187. #. type: deftp
  24188. #: guix-git/doc/guix.texi:16678
  24189. msgid "@xref{Configuration file,,, inetutils, GNU Inetutils} for a more detailed discussion of each configuration field."
  24190. msgstr ""
  24191. #. type: cindex
  24192. #: guix-git/doc/guix.texi:16680
  24193. #, no-wrap
  24194. msgid "Tor"
  24195. msgstr ""
  24196. #. type: defvr
  24197. #: guix-git/doc/guix.texi:16681
  24198. #, no-wrap
  24199. msgid "{Scheme Variable} tor-service-type"
  24200. msgstr ""
  24201. #. type: defvr
  24202. #: guix-git/doc/guix.texi:16686
  24203. 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."
  24204. msgstr ""
  24205. #. type: deftp
  24206. #: guix-git/doc/guix.texi:16689
  24207. #, no-wrap
  24208. msgid "{Data Type} tor-configuration"
  24209. msgstr ""
  24210. #. type: item
  24211. #: guix-git/doc/guix.texi:16691
  24212. #, no-wrap
  24213. msgid "@code{tor} (default: @code{tor})"
  24214. msgstr "@code{tor} (default: @code{tor})"
  24215. #. type: table
  24216. #: guix-git/doc/guix.texi:16696
  24217. 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."
  24218. msgstr ""
  24219. #. type: item
  24220. #: guix-git/doc/guix.texi:16697
  24221. #, no-wrap
  24222. msgid "@code{config-file} (default: @code{(plain-file \"empty\" \"\")})"
  24223. msgstr ""
  24224. #. type: table
  24225. #: guix-git/doc/guix.texi:16703
  24226. 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."
  24227. msgstr ""
  24228. #. type: item
  24229. #: guix-git/doc/guix.texi:16704
  24230. #, no-wrap
  24231. msgid "@code{hidden-services} (default: @code{'()})"
  24232. msgstr ""
  24233. #. type: table
  24234. #: guix-git/doc/guix.texi:16710
  24235. 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."
  24236. msgstr ""
  24237. #. type: item
  24238. #: guix-git/doc/guix.texi:16711
  24239. #, no-wrap
  24240. msgid "@code{socks-socket-type} (default: @code{'tcp})"
  24241. msgstr ""
  24242. #. type: table
  24243. #: guix-git/doc/guix.texi:16718
  24244. 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."
  24245. msgstr ""
  24246. #. type: table
  24247. #: guix-git/doc/guix.texi:16723
  24248. 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."
  24249. msgstr ""
  24250. #. type: item
  24251. #: guix-git/doc/guix.texi:16724
  24252. #, no-wrap
  24253. msgid "@code{control-socket?} (default: @code{#f})"
  24254. msgstr ""
  24255. #. type: table
  24256. #: guix-git/doc/guix.texi:16730
  24257. 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."
  24258. msgstr ""
  24259. #. type: cindex
  24260. #: guix-git/doc/guix.texi:16734
  24261. #, no-wrap
  24262. msgid "hidden service"
  24263. msgstr ""
  24264. #. type: deffn
  24265. #: guix-git/doc/guix.texi:16735
  24266. #, no-wrap
  24267. msgid "{Scheme Procedure} tor-hidden-service @var{name} @var{mapping}"
  24268. msgstr ""
  24269. #. type: deffn
  24270. #: guix-git/doc/guix.texi:16738
  24271. 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:"
  24272. msgstr ""
  24273. #. type: example
  24274. #: guix-git/doc/guix.texi:16742
  24275. #, no-wrap
  24276. msgid ""
  24277. " '((22 \"127.0.0.1:22\")\n"
  24278. " (80 \"127.0.0.1:8080\"))\n"
  24279. msgstr ""
  24280. #. type: deffn
  24281. #: guix-git/doc/guix.texi:16746
  24282. 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."
  24283. msgstr ""
  24284. #. type: deffn
  24285. #: guix-git/doc/guix.texi:16750
  24286. 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."
  24287. msgstr ""
  24288. #. type: deffn
  24289. #: guix-git/doc/guix.texi:16753
  24290. msgid "See @uref{https://www.torproject.org/docs/tor-hidden-service.html.en, the Tor project's documentation} for more information."
  24291. msgstr ""
  24292. #. type: Plain text
  24293. #: guix-git/doc/guix.texi:16756
  24294. msgid "The @code{(gnu services rsync)} module provides the following services:"
  24295. msgstr ""
  24296. #. type: Plain text
  24297. #: guix-git/doc/guix.texi:16760
  24298. 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."
  24299. msgstr ""
  24300. #. type: deffn
  24301. #: guix-git/doc/guix.texi:16761
  24302. #, no-wrap
  24303. msgid "{Scheme Variable} rsync-service-type"
  24304. msgstr ""
  24305. #. type: deffn
  24306. #: guix-git/doc/guix.texi:16765
  24307. 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:"
  24308. msgstr ""
  24309. #. type: lisp
  24310. #: guix-git/doc/guix.texi:16768
  24311. #, no-wrap
  24312. msgid "(service rsync-service-type)\n"
  24313. msgstr ""
  24314. #. type: deffn
  24315. #: guix-git/doc/guix.texi:16771
  24316. msgid "See below for details about @code{rsync-configuration}."
  24317. msgstr ""
  24318. #. type: deftp
  24319. #: guix-git/doc/guix.texi:16773
  24320. #, no-wrap
  24321. msgid "{Data Type} rsync-configuration"
  24322. msgstr ""
  24323. #. type: deftp
  24324. #: guix-git/doc/guix.texi:16775
  24325. msgid "Data type representing the configuration for @code{rsync-service}."
  24326. msgstr ""
  24327. #. type: item
  24328. #: guix-git/doc/guix.texi:16777
  24329. #, no-wrap
  24330. msgid "@code{package} (default: @var{rsync})"
  24331. msgstr ""
  24332. #. type: table
  24333. #: guix-git/doc/guix.texi:16779
  24334. msgid "@code{rsync} package to use."
  24335. msgstr ""
  24336. #. type: item
  24337. #: guix-git/doc/guix.texi:16780
  24338. #, no-wrap
  24339. msgid "@code{port-number} (default: @code{873})"
  24340. msgstr ""
  24341. #. type: table
  24342. #: guix-git/doc/guix.texi:16784
  24343. 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."
  24344. msgstr ""
  24345. #. type: item
  24346. #: guix-git/doc/guix.texi:16785
  24347. #, no-wrap
  24348. msgid "@code{pid-file} (default: @code{\"/var/run/rsyncd/rsyncd.pid\"})"
  24349. msgstr ""
  24350. #. type: table
  24351. #: guix-git/doc/guix.texi:16787
  24352. msgid "Name of the file where @command{rsync} writes its PID."
  24353. msgstr ""
  24354. #. type: item
  24355. #: guix-git/doc/guix.texi:16788
  24356. #, no-wrap
  24357. msgid "@code{lock-file} (default: @code{\"/var/run/rsyncd/rsyncd.lock\"})"
  24358. msgstr ""
  24359. #. type: table
  24360. #: guix-git/doc/guix.texi:16790
  24361. msgid "Name of the file where @command{rsync} writes its lock file."
  24362. msgstr ""
  24363. #. type: item
  24364. #: guix-git/doc/guix.texi:16791
  24365. #, no-wrap
  24366. msgid "@code{log-file} (default: @code{\"/var/log/rsyncd.log\"})"
  24367. msgstr ""
  24368. #. type: table
  24369. #: guix-git/doc/guix.texi:16793
  24370. msgid "Name of the file where @command{rsync} writes its log file."
  24371. msgstr ""
  24372. #. type: item
  24373. #: guix-git/doc/guix.texi:16794
  24374. #, no-wrap
  24375. msgid "@code{use-chroot?} (default: @var{#t})"
  24376. msgstr ""
  24377. #. type: table
  24378. #: guix-git/doc/guix.texi:16796
  24379. msgid "Whether to use chroot for @command{rsync} shared directory."
  24380. msgstr ""
  24381. #. type: item
  24382. #: guix-git/doc/guix.texi:16797
  24383. #, no-wrap
  24384. msgid "@code{share-path} (default: @file{/srv/rsync})"
  24385. msgstr ""
  24386. #. type: table
  24387. #: guix-git/doc/guix.texi:16799
  24388. msgid "Location of the @command{rsync} shared directory."
  24389. msgstr ""
  24390. #. type: item
  24391. #: guix-git/doc/guix.texi:16800
  24392. #, no-wrap
  24393. msgid "@code{share-comment} (default: @code{\"Rsync share\"})"
  24394. msgstr ""
  24395. #. type: table
  24396. #: guix-git/doc/guix.texi:16802
  24397. msgid "Comment of the @command{rsync} shared directory."
  24398. msgstr ""
  24399. #. type: item
  24400. #: guix-git/doc/guix.texi:16803
  24401. #, no-wrap
  24402. msgid "@code{read-only?} (default: @var{#f})"
  24403. msgstr ""
  24404. #. type: table
  24405. #: guix-git/doc/guix.texi:16805
  24406. msgid "Read-write permissions to shared directory."
  24407. msgstr ""
  24408. #. type: item
  24409. #: guix-git/doc/guix.texi:16806
  24410. #, no-wrap
  24411. msgid "@code{timeout} (default: @code{300})"
  24412. msgstr ""
  24413. #. type: table
  24414. #: guix-git/doc/guix.texi:16808
  24415. msgid "I/O timeout in seconds."
  24416. msgstr ""
  24417. #. type: item
  24418. #: guix-git/doc/guix.texi:16809
  24419. #, no-wrap
  24420. msgid "@code{user} (default: @var{\"root\"})"
  24421. msgstr ""
  24422. #. type: table
  24423. #: guix-git/doc/guix.texi:16811
  24424. msgid "Owner of the @code{rsync} process."
  24425. msgstr ""
  24426. #. type: item
  24427. #: guix-git/doc/guix.texi:16812
  24428. #, no-wrap
  24429. msgid "@code{group} (default: @var{\"root\"})"
  24430. msgstr ""
  24431. #. type: table
  24432. #: guix-git/doc/guix.texi:16814
  24433. msgid "Group of the @code{rsync} process."
  24434. msgstr ""
  24435. #. type: item
  24436. #: guix-git/doc/guix.texi:16815
  24437. #, no-wrap
  24438. msgid "@code{uid} (default: @var{\"rsyncd\"})"
  24439. msgstr ""
  24440. #. type: table
  24441. #: guix-git/doc/guix.texi:16818
  24442. 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}."
  24443. msgstr ""
  24444. #. type: item
  24445. #: guix-git/doc/guix.texi:16819
  24446. #, no-wrap
  24447. msgid "@code{gid} (default: @var{\"rsyncd\"})"
  24448. msgstr ""
  24449. #. type: table
  24450. #: guix-git/doc/guix.texi:16821 guix-git/doc/guix.texi:17264
  24451. msgid "Group name or group ID that will be used when accessing the module."
  24452. msgstr ""
  24453. #. type: Plain text
  24454. #: guix-git/doc/guix.texi:16826
  24455. msgid "The @code{(gnu services syncthing)} module provides the following services:"
  24456. msgstr ""
  24457. #. type: cindex
  24458. #: guix-git/doc/guix.texi:16826
  24459. #, no-wrap
  24460. msgid "syncthing"
  24461. msgstr ""
  24462. #. type: Plain text
  24463. #: guix-git/doc/guix.texi:16831
  24464. 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."
  24465. msgstr ""
  24466. #. type: deffn
  24467. #: guix-git/doc/guix.texi:16832
  24468. #, no-wrap
  24469. msgid "{Scheme Variable} syncthing-service-type"
  24470. msgstr ""
  24471. #. type: deffn
  24472. #: guix-git/doc/guix.texi:16836
  24473. 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:"
  24474. msgstr ""
  24475. #. type: lisp
  24476. #: guix-git/doc/guix.texi:16840
  24477. #, no-wrap
  24478. msgid ""
  24479. "(service syncthing-service-type\n"
  24480. " (syncthing-configuration (user \"alice\")))\n"
  24481. msgstr ""
  24482. #. type: deffn
  24483. #: guix-git/doc/guix.texi:16843
  24484. msgid "See below for details about @code{syncthing-configuration}."
  24485. msgstr ""
  24486. #. type: deftp
  24487. #: guix-git/doc/guix.texi:16844
  24488. #, no-wrap
  24489. msgid "{Data Type} syncthing-configuration"
  24490. msgstr ""
  24491. #. type: deftp
  24492. #: guix-git/doc/guix.texi:16846
  24493. msgid "Data type representing the configuration for @code{syncthing-service-type}."
  24494. msgstr ""
  24495. #. type: item
  24496. #: guix-git/doc/guix.texi:16848
  24497. #, no-wrap
  24498. msgid "@code{syncthing} (default: @var{syncthing})"
  24499. msgstr ""
  24500. #. type: table
  24501. #: guix-git/doc/guix.texi:16850
  24502. msgid "@code{syncthing} package to use."
  24503. msgstr ""
  24504. #. type: item
  24505. #: guix-git/doc/guix.texi:16851
  24506. #, no-wrap
  24507. msgid "@code{arguments} (default: @var{'()})"
  24508. msgstr ""
  24509. #. type: table
  24510. #: guix-git/doc/guix.texi:16853
  24511. msgid "List of command-line arguments passing to @code{syncthing} binary."
  24512. msgstr ""
  24513. #. type: item
  24514. #: guix-git/doc/guix.texi:16854
  24515. #, no-wrap
  24516. msgid "@code{logflags} (default: @var{0})"
  24517. msgstr ""
  24518. #. type: table
  24519. #: guix-git/doc/guix.texi:16857
  24520. msgid "Sum of logging flags, see @uref{https://docs.syncthing.net/users/syncthing.html#cmdoption-logflags, Syncthing documentation logflags}."
  24521. msgstr ""
  24522. #. type: item
  24523. #: guix-git/doc/guix.texi:16858
  24524. #, no-wrap
  24525. msgid "@code{user} (default: @var{#f})"
  24526. msgstr ""
  24527. #. type: table
  24528. #: guix-git/doc/guix.texi:16861
  24529. msgid "The user as which the Syncthing service is to be run. This assumes that the specified user exists."
  24530. msgstr ""
  24531. #. type: item
  24532. #: guix-git/doc/guix.texi:16862
  24533. #, no-wrap
  24534. msgid "@code{group} (default: @var{\"users\"})"
  24535. msgstr ""
  24536. #. type: table
  24537. #: guix-git/doc/guix.texi:16865
  24538. msgid "The group as which the Syncthing service is to be run. This assumes that the specified group exists."
  24539. msgstr ""
  24540. #. type: item
  24541. #: guix-git/doc/guix.texi:16866
  24542. #, no-wrap
  24543. msgid "@code{home} (default: @var{#f})"
  24544. msgstr ""
  24545. #. type: table
  24546. #: guix-git/doc/guix.texi:16869
  24547. msgid "Common configuration and data directory. The default configuration directory is @file{$HOME} of the specified Syncthing @code{user}."
  24548. msgstr ""
  24549. #. type: Plain text
  24550. #: guix-git/doc/guix.texi:16875
  24551. msgid "Furthermore, @code{(gnu services ssh)} provides the following services."
  24552. msgstr ""
  24553. #. type: cindex
  24554. #: guix-git/doc/guix.texi:16875 guix-git/doc/guix.texi:16914
  24555. #: guix-git/doc/guix.texi:33575
  24556. #, no-wrap
  24557. msgid "SSH"
  24558. msgstr ""
  24559. #. type: cindex
  24560. #: guix-git/doc/guix.texi:16876 guix-git/doc/guix.texi:16915
  24561. #: guix-git/doc/guix.texi:33576
  24562. #, no-wrap
  24563. msgid "SSH server"
  24564. msgstr ""
  24565. #. type: deffn
  24566. #: guix-git/doc/guix.texi:16878
  24567. #, no-wrap
  24568. msgid "{Scheme Procedure} lsh-service [#:host-key \"/etc/lsh/host-key\"] @"
  24569. msgstr ""
  24570. #. type: deffn
  24571. #: guix-git/doc/guix.texi:16887
  24572. 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."
  24573. msgstr ""
  24574. #. type: deffn
  24575. #: guix-git/doc/guix.texi:16893
  24576. 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}."
  24577. msgstr ""
  24578. #. type: deffn
  24579. #: guix-git/doc/guix.texi:16897
  24580. 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."
  24581. msgstr ""
  24582. #. type: deffn
  24583. #: guix-git/doc/guix.texi:16902
  24584. 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})."
  24585. msgstr ""
  24586. #. type: deffn
  24587. #: guix-git/doc/guix.texi:16906
  24588. 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."
  24589. msgstr ""
  24590. #. type: deffn
  24591. #: guix-git/doc/guix.texi:16910
  24592. 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."
  24593. msgstr ""
  24594. #. type: deffn
  24595. #: guix-git/doc/guix.texi:16912
  24596. msgid "The other options should be self-descriptive."
  24597. msgstr ""
  24598. #. type: deffn
  24599. #: guix-git/doc/guix.texi:16916
  24600. #, no-wrap
  24601. msgid "{Scheme Variable} openssh-service-type"
  24602. msgstr ""
  24603. #. type: deffn
  24604. #: guix-git/doc/guix.texi:16920
  24605. 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:"
  24606. msgstr ""
  24607. #. type: lisp
  24608. #: guix-git/doc/guix.texi:16929
  24609. #, no-wrap
  24610. msgid ""
  24611. "(service openssh-service-type\n"
  24612. " (openssh-configuration\n"
  24613. " (x11-forwarding? #t)\n"
  24614. " (permit-root-login 'without-password)\n"
  24615. " (authorized-keys\n"
  24616. " `((\"alice\" ,(local-file \"alice.pub\"))\n"
  24617. " (\"bob\" ,(local-file \"bob.pub\"))))))\n"
  24618. msgstr ""
  24619. #. type: deffn
  24620. #: guix-git/doc/guix.texi:16932
  24621. msgid "See below for details about @code{openssh-configuration}."
  24622. msgstr ""
  24623. #. type: deffn
  24624. #: guix-git/doc/guix.texi:16935
  24625. msgid "This service can be extended with extra authorized keys, as in this example:"
  24626. msgstr ""
  24627. #. type: lisp
  24628. #: guix-git/doc/guix.texi:16940
  24629. #, no-wrap
  24630. msgid ""
  24631. "(service-extension openssh-service-type\n"
  24632. " (const `((\"charlie\"\n"
  24633. " ,(local-file \"charlie.pub\")))))\n"
  24634. msgstr ""
  24635. #. type: deftp
  24636. #: guix-git/doc/guix.texi:16943
  24637. #, no-wrap
  24638. msgid "{Data Type} openssh-configuration"
  24639. msgstr ""
  24640. #. type: deftp
  24641. #: guix-git/doc/guix.texi:16945
  24642. msgid "This is the configuration record for OpenSSH's @command{sshd}."
  24643. msgstr ""
  24644. #. type: item
  24645. #: guix-git/doc/guix.texi:16947
  24646. #, no-wrap
  24647. msgid "@code{openssh} (default @var{openssh})"
  24648. msgstr ""
  24649. #. type: table
  24650. #: guix-git/doc/guix.texi:16949
  24651. msgid "The Openssh package to use."
  24652. msgstr ""
  24653. #. type: item
  24654. #: guix-git/doc/guix.texi:16950
  24655. #, no-wrap
  24656. msgid "@code{pid-file} (default: @code{\"/var/run/sshd.pid\"})"
  24657. msgstr ""
  24658. #. type: table
  24659. #: guix-git/doc/guix.texi:16952
  24660. msgid "Name of the file where @command{sshd} writes its PID."
  24661. msgstr ""
  24662. #. type: item
  24663. #: guix-git/doc/guix.texi:16953
  24664. #, no-wrap
  24665. msgid "@code{port-number} (default: @code{22})"
  24666. msgstr ""
  24667. #. type: table
  24668. #: guix-git/doc/guix.texi:16955
  24669. msgid "TCP port on which @command{sshd} listens for incoming connections."
  24670. msgstr ""
  24671. #. type: item
  24672. #: guix-git/doc/guix.texi:16956
  24673. #, no-wrap
  24674. msgid "@code{permit-root-login} (default: @code{#f})"
  24675. msgstr ""
  24676. #. type: table
  24677. #: guix-git/doc/guix.texi:16961
  24678. 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{'without-password}, then root logins are permitted but not with password-based authentication."
  24679. msgstr ""
  24680. #. type: item
  24681. #: guix-git/doc/guix.texi:16962 guix-git/doc/guix.texi:17123
  24682. #, no-wrap
  24683. msgid "@code{allow-empty-passwords?} (default: @code{#f})"
  24684. msgstr ""
  24685. #. type: table
  24686. #: guix-git/doc/guix.texi:16965
  24687. msgid "When true, users with empty passwords may log in. When false, they may not."
  24688. msgstr ""
  24689. #. type: item
  24690. #: guix-git/doc/guix.texi:16966 guix-git/doc/guix.texi:17126
  24691. #, no-wrap
  24692. msgid "@code{password-authentication?} (default: @code{#t})"
  24693. msgstr ""
  24694. #. type: table
  24695. #: guix-git/doc/guix.texi:16969
  24696. msgid "When true, users may log in with their password. When false, they have other authentication methods."
  24697. msgstr ""
  24698. #. type: item
  24699. #: guix-git/doc/guix.texi:16970
  24700. #, no-wrap
  24701. msgid "@code{public-key-authentication?} (default: @code{#t})"
  24702. msgstr ""
  24703. #. type: table
  24704. #: guix-git/doc/guix.texi:16973
  24705. msgid "When true, users may log in using public key authentication. When false, users have to use other authentication method."
  24706. msgstr ""
  24707. #. type: table
  24708. #: guix-git/doc/guix.texi:16976
  24709. msgid "Authorized public keys are stored in @file{~/.ssh/authorized_keys}. This is used only by protocol version 2."
  24710. msgstr ""
  24711. #. type: item
  24712. #: guix-git/doc/guix.texi:16977
  24713. #, no-wrap
  24714. msgid "@code{x11-forwarding?} (default: @code{#f})"
  24715. msgstr "@code{x11-forwarding?} (padrão: @code{#f})"
  24716. #. type: table
  24717. #: guix-git/doc/guix.texi:16981
  24718. msgid "When true, forwarding of X11 graphical client connections is enabled---in other words, @command{ssh} options @option{-X} and @option{-Y} will work."
  24719. msgstr ""
  24720. #. type: item
  24721. #: guix-git/doc/guix.texi:16982
  24722. #, no-wrap
  24723. msgid "@code{allow-agent-forwarding?} (default: @code{#t})"
  24724. msgstr "@code{allow-agent-forwarding?} (padrão: @code{#t})"
  24725. #. type: table
  24726. #: guix-git/doc/guix.texi:16984
  24727. msgid "Whether to allow agent forwarding."
  24728. msgstr ""
  24729. #. type: item
  24730. #: guix-git/doc/guix.texi:16985
  24731. #, no-wrap
  24732. msgid "@code{allow-tcp-forwarding?} (default: @code{#t})"
  24733. msgstr "@code{allow-tcp-forwarding?} (padrão: @code{#t})"
  24734. #. type: table
  24735. #: guix-git/doc/guix.texi:16987
  24736. msgid "Whether to allow TCP forwarding."
  24737. msgstr ""
  24738. #. type: item
  24739. #: guix-git/doc/guix.texi:16988
  24740. #, no-wrap
  24741. msgid "@code{gateway-ports?} (default: @code{#f})"
  24742. msgstr "@code{gateway-ports?} (padrão: @code{#f})"
  24743. #. type: table
  24744. #: guix-git/doc/guix.texi:16990
  24745. msgid "Whether to allow gateway ports."
  24746. msgstr ""
  24747. #. type: item
  24748. #: guix-git/doc/guix.texi:16991
  24749. #, no-wrap
  24750. msgid "@code{challenge-response-authentication?} (default: @code{#f})"
  24751. msgstr ""
  24752. #. type: table
  24753. #: guix-git/doc/guix.texi:16994
  24754. msgid "Specifies whether challenge response authentication is allowed (e.g.@: via PAM)."
  24755. msgstr ""
  24756. #. type: item
  24757. #: guix-git/doc/guix.texi:16995
  24758. #, no-wrap
  24759. msgid "@code{use-pam?} (default: @code{#t})"
  24760. msgstr ""
  24761. #. type: table
  24762. #: guix-git/doc/guix.texi:17001
  24763. 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."
  24764. msgstr ""
  24765. #. type: table
  24766. #: guix-git/doc/guix.texi:17006
  24767. 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?}."
  24768. msgstr ""
  24769. #. type: item
  24770. #: guix-git/doc/guix.texi:17007
  24771. #, no-wrap
  24772. msgid "@code{print-last-log?} (default: @code{#t})"
  24773. msgstr ""
  24774. #. type: table
  24775. #: guix-git/doc/guix.texi:17010
  24776. msgid "Specifies whether @command{sshd} should print the date and time of the last user login when a user logs in interactively."
  24777. msgstr ""
  24778. #. type: item
  24779. #: guix-git/doc/guix.texi:17011
  24780. #, no-wrap
  24781. msgid "@code{subsystems} (default: @code{'((\"sftp\" \"internal-sftp\"))})"
  24782. msgstr ""
  24783. #. type: table
  24784. #: guix-git/doc/guix.texi:17013
  24785. msgid "Configures external subsystems (e.g.@: file transfer daemon)."
  24786. msgstr ""
  24787. #. type: table
  24788. #: guix-git/doc/guix.texi:17017
  24789. 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."
  24790. msgstr ""
  24791. #. type: table
  24792. #: guix-git/doc/guix.texi:17020
  24793. msgid "The command @command{internal-sftp} implements an in-process SFTP server. Alternatively, one can specify the @command{sftp-server} command:"
  24794. msgstr ""
  24795. #. type: lisp
  24796. #: guix-git/doc/guix.texi:17025
  24797. #, no-wrap
  24798. msgid ""
  24799. "(service openssh-service-type\n"
  24800. " (openssh-configuration\n"
  24801. " (subsystems\n"
  24802. " `((\"sftp\" ,(file-append openssh \"/libexec/sftp-server\"))))))\n"
  24803. msgstr ""
  24804. #. type: item
  24805. #: guix-git/doc/guix.texi:17027
  24806. #, no-wrap
  24807. msgid "@code{accepted-environment} (default: @code{'()})"
  24808. msgstr ""
  24809. #. type: table
  24810. #: guix-git/doc/guix.texi:17029
  24811. msgid "List of strings describing which environment variables may be exported."
  24812. msgstr ""
  24813. #. type: table
  24814. #: guix-git/doc/guix.texi:17032
  24815. msgid "Each string gets on its own line. See the @code{AcceptEnv} option in @code{man sshd_config}."
  24816. msgstr ""
  24817. #. type: table
  24818. #: guix-git/doc/guix.texi:17037
  24819. 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."
  24820. msgstr ""
  24821. #. type: lisp
  24822. #: guix-git/doc/guix.texi:17042
  24823. #, no-wrap
  24824. msgid ""
  24825. "(service openssh-service-type\n"
  24826. " (openssh-configuration\n"
  24827. " (accepted-environment '(\"COLORTERM\"))))\n"
  24828. msgstr ""
  24829. #. type: item
  24830. #: guix-git/doc/guix.texi:17044
  24831. #, no-wrap
  24832. msgid "@code{authorized-keys} (default: @code{'()})"
  24833. msgstr ""
  24834. #. type: cindex
  24835. #: guix-git/doc/guix.texi:17045
  24836. #, no-wrap
  24837. msgid "authorized keys, SSH"
  24838. msgstr ""
  24839. #. type: cindex
  24840. #: guix-git/doc/guix.texi:17046
  24841. #, no-wrap
  24842. msgid "SSH authorized keys"
  24843. msgstr ""
  24844. #. type: table
  24845. #: guix-git/doc/guix.texi:17050
  24846. 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:"
  24847. msgstr ""
  24848. #. type: lisp
  24849. #: guix-git/doc/guix.texi:17057
  24850. #, no-wrap
  24851. msgid ""
  24852. "(openssh-configuration\n"
  24853. " (authorized-keys\n"
  24854. " `((\"rekado\" ,(local-file \"rekado.pub\"))\n"
  24855. " (\"chris\" ,(local-file \"chris.pub\"))\n"
  24856. " (\"root\" ,(local-file \"rekado.pub\") ,(local-file \"chris.pub\")))))\n"
  24857. msgstr ""
  24858. #. type: table
  24859. #: guix-git/doc/guix.texi:17062
  24860. msgid "registers the specified public keys for user accounts @code{rekado}, @code{chris}, and @code{root}."
  24861. msgstr ""
  24862. #. type: table
  24863. #: guix-git/doc/guix.texi:17065
  24864. msgid "Additional authorized keys can be specified @i{via} @code{service-extension}."
  24865. msgstr ""
  24866. #. type: table
  24867. #: guix-git/doc/guix.texi:17068
  24868. msgid "Note that this does @emph{not} interfere with the use of @file{~/.ssh/authorized_keys}."
  24869. msgstr ""
  24870. #. type: item
  24871. #: guix-git/doc/guix.texi:17069 guix-git/doc/guix.texi:17500
  24872. #, no-wrap
  24873. msgid "@code{log-level} (default: @code{'info})"
  24874. msgstr "@code{log-level} (default: @code{'info})"
  24875. #. type: table
  24876. #: guix-git/doc/guix.texi:17073
  24877. 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."
  24878. msgstr ""
  24879. #. type: item
  24880. #: guix-git/doc/guix.texi:17074 guix-git/doc/guix.texi:19894
  24881. #: guix-git/doc/guix.texi:24760
  24882. #, no-wrap
  24883. msgid "@code{extra-content} (default: @code{\"\"})"
  24884. msgstr ""
  24885. #. type: table
  24886. #: guix-git/doc/guix.texi:17079
  24887. 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:"
  24888. msgstr ""
  24889. #. type: lisp
  24890. #: guix-git/doc/guix.texi:17085
  24891. #, no-wrap
  24892. msgid ""
  24893. "(openssh-configuration\n"
  24894. " (extra-content \"\\\n"
  24895. "Match Address 192.168.0.1\n"
  24896. " PermitRootLogin yes\"))\n"
  24897. msgstr ""
  24898. #. type: deffn
  24899. #: guix-git/doc/guix.texi:17090
  24900. #, no-wrap
  24901. msgid "{Scheme Procedure} dropbear-service [@var{config}]"
  24902. msgstr ""
  24903. #. type: deffn
  24904. #: guix-git/doc/guix.texi:17094
  24905. 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."
  24906. msgstr ""
  24907. #. type: deffn
  24908. #: guix-git/doc/guix.texi:17097
  24909. msgid "For example, to specify a Dropbear service listening on port 1234, add this call to the operating system's @code{services} field:"
  24910. msgstr ""
  24911. #. type: lisp
  24912. #: guix-git/doc/guix.texi:17101
  24913. #, no-wrap
  24914. msgid ""
  24915. "(dropbear-service (dropbear-configuration\n"
  24916. " (port-number 1234)))\n"
  24917. msgstr ""
  24918. #. type: deftp
  24919. #: guix-git/doc/guix.texi:17104
  24920. #, no-wrap
  24921. msgid "{Data Type} dropbear-configuration"
  24922. msgstr ""
  24923. #. type: deftp
  24924. #: guix-git/doc/guix.texi:17106
  24925. msgid "This data type represents the configuration of a Dropbear SSH daemon."
  24926. msgstr ""
  24927. #. type: item
  24928. #: guix-git/doc/guix.texi:17108
  24929. #, no-wrap
  24930. msgid "@code{dropbear} (default: @var{dropbear})"
  24931. msgstr ""
  24932. #. type: table
  24933. #: guix-git/doc/guix.texi:17110
  24934. msgid "The Dropbear package to use."
  24935. msgstr ""
  24936. #. type: item
  24937. #: guix-git/doc/guix.texi:17111
  24938. #, no-wrap
  24939. msgid "@code{port-number} (default: 22)"
  24940. msgstr ""
  24941. #. type: table
  24942. #: guix-git/doc/guix.texi:17113
  24943. msgid "The TCP port where the daemon waits for incoming connections."
  24944. msgstr ""
  24945. #. type: item
  24946. #: guix-git/doc/guix.texi:17114
  24947. #, no-wrap
  24948. msgid "@code{syslog-output?} (default: @code{#t})"
  24949. msgstr "@code{syslog-output?} (padrão: @code{#t})"
  24950. #. type: table
  24951. #: guix-git/doc/guix.texi:17116
  24952. msgid "Whether to enable syslog output."
  24953. msgstr ""
  24954. #. type: item
  24955. #: guix-git/doc/guix.texi:17117
  24956. #, no-wrap
  24957. msgid "@code{pid-file} (default: @code{\"/var/run/dropbear.pid\"})"
  24958. msgstr ""
  24959. #. type: table
  24960. #: guix-git/doc/guix.texi:17119
  24961. msgid "File name of the daemon's PID file."
  24962. msgstr ""
  24963. #. type: item
  24964. #: guix-git/doc/guix.texi:17120
  24965. #, no-wrap
  24966. msgid "@code{root-login?} (default: @code{#f})"
  24967. msgstr ""
  24968. #. type: table
  24969. #: guix-git/doc/guix.texi:17122
  24970. msgid "Whether to allow @code{root} logins."
  24971. msgstr ""
  24972. #. type: table
  24973. #: guix-git/doc/guix.texi:17125
  24974. msgid "Whether to allow empty passwords."
  24975. msgstr ""
  24976. #. type: table
  24977. #: guix-git/doc/guix.texi:17128
  24978. msgid "Whether to enable password-based authentication."
  24979. msgstr ""
  24980. #. type: cindex
  24981. #: guix-git/doc/guix.texi:17131
  24982. #, no-wrap
  24983. msgid "AutoSSH"
  24984. msgstr ""
  24985. #. type: deffn
  24986. #: guix-git/doc/guix.texi:17132
  24987. #, no-wrap
  24988. msgid "{Scheme Variable} autossh-service-type"
  24989. msgstr ""
  24990. #. type: deffn
  24991. #: guix-git/doc/guix.texi:17140
  24992. 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."
  24993. msgstr ""
  24994. #. type: deffn
  24995. #: guix-git/doc/guix.texi:17144
  24996. 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."
  24997. msgstr ""
  24998. #. type: deffn
  24999. #: guix-git/doc/guix.texi:17149
  25000. 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:"
  25001. msgstr ""
  25002. #. type: lisp
  25003. #: guix-git/doc/guix.texi:17155
  25004. #, no-wrap
  25005. msgid ""
  25006. "(service autossh-service-type\n"
  25007. " (autossh-configuration\n"
  25008. " (user \"pino\")\n"
  25009. " (ssh-options (list \"-T\" \"-N\" \"-L\" \"8081:localhost:8081\" \"remote.net\"))))\n"
  25010. msgstr ""
  25011. #. type: deftp
  25012. #: guix-git/doc/guix.texi:17158
  25013. #, no-wrap
  25014. msgid "{Data Type} autossh-configuration"
  25015. msgstr ""
  25016. #. type: deftp
  25017. #: guix-git/doc/guix.texi:17160
  25018. msgid "This data type represents the configuration of an AutoSSH service."
  25019. msgstr ""
  25020. #. type: item
  25021. #: guix-git/doc/guix.texi:17163
  25022. #, no-wrap
  25023. msgid "@code{user} (default @code{\"autossh\"})"
  25024. msgstr ""
  25025. #. type: table
  25026. #: guix-git/doc/guix.texi:17166
  25027. msgid "The user as which the AutoSSH service is to be run. This assumes that the specified user exists."
  25028. msgstr ""
  25029. #. type: item
  25030. #: guix-git/doc/guix.texi:17167
  25031. #, no-wrap
  25032. msgid "@code{poll} (default @code{600})"
  25033. msgstr ""
  25034. #. type: table
  25035. #: guix-git/doc/guix.texi:17169
  25036. msgid "Specifies the connection poll time in seconds."
  25037. msgstr ""
  25038. #. type: item
  25039. #: guix-git/doc/guix.texi:17170
  25040. #, no-wrap
  25041. msgid "@code{first-poll} (default @code{#f})"
  25042. msgstr ""
  25043. #. type: table
  25044. #: guix-git/doc/guix.texi:17176
  25045. 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}."
  25046. msgstr ""
  25047. #. type: item
  25048. #: guix-git/doc/guix.texi:17177
  25049. #, no-wrap
  25050. msgid "@code{gate-time} (default @code{30})"
  25051. msgstr ""
  25052. #. type: table
  25053. #: guix-git/doc/guix.texi:17180
  25054. msgid "Specifies how many seconds an SSH connection must be active before it is considered successful."
  25055. msgstr ""
  25056. #. type: item
  25057. #: guix-git/doc/guix.texi:17181
  25058. #, no-wrap
  25059. msgid "@code{log-level} (default @code{1})"
  25060. msgstr ""
  25061. #. type: table
  25062. #: guix-git/doc/guix.texi:17184
  25063. msgid "The log level, corresponding to the levels used by syslog---so @code{0} is the most silent while @code{7} is the chattiest."
  25064. msgstr ""
  25065. #. type: item
  25066. #: guix-git/doc/guix.texi:17185
  25067. #, no-wrap
  25068. msgid "@code{max-start} (default @code{#f})"
  25069. msgstr ""
  25070. #. type: table
  25071. #: guix-git/doc/guix.texi:17188
  25072. 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."
  25073. msgstr ""
  25074. #. type: item
  25075. #: guix-git/doc/guix.texi:17189
  25076. #, no-wrap
  25077. msgid "@code{message} (default @code{\"\"})"
  25078. msgstr ""
  25079. #. type: table
  25080. #: guix-git/doc/guix.texi:17191
  25081. msgid "The message to append to the echo message sent when testing connections."
  25082. msgstr ""
  25083. #. type: item
  25084. #: guix-git/doc/guix.texi:17192
  25085. #, no-wrap
  25086. msgid "@code{port} (default @code{\"0\"})"
  25087. msgstr ""
  25088. #. type: table
  25089. #: guix-git/doc/guix.texi:17202
  25090. 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."
  25091. msgstr ""
  25092. #. type: item
  25093. #: guix-git/doc/guix.texi:17203
  25094. #, no-wrap
  25095. msgid "@code{ssh-options} (default @code{'()})"
  25096. msgstr ""
  25097. #. type: table
  25098. #: guix-git/doc/guix.texi:17207
  25099. 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."
  25100. msgstr ""
  25101. #. type: cindex
  25102. #: guix-git/doc/guix.texi:17211
  25103. #, no-wrap
  25104. msgid "WebSSH"
  25105. msgstr ""
  25106. #. type: deffn
  25107. #: guix-git/doc/guix.texi:17212
  25108. #, no-wrap
  25109. msgid "{Scheme Variable} webssh-service-type"
  25110. msgstr ""
  25111. #. type: deffn
  25112. #: guix-git/doc/guix.texi:17218
  25113. 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."
  25114. msgstr ""
  25115. #. type: deffn
  25116. #: guix-git/doc/guix.texi:17224
  25117. 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:"
  25118. msgstr ""
  25119. #. type: lisp
  25120. #: guix-git/doc/guix.texi:17232
  25121. #, no-wrap
  25122. msgid ""
  25123. "(service webssh-service-type\n"
  25124. " (webssh-configuration (address \"127.0.0.1\")\n"
  25125. " (port 8888)\n"
  25126. " (policy 'reject)\n"
  25127. " (known-hosts '(\"localhost ecdsa-sha2-nistp256 AAAA…\"\n"
  25128. " \"127.0.0.1 ecdsa-sha2-nistp256 AAAA…\"))))\n"
  25129. "\n"
  25130. msgstr ""
  25131. #. type: lisp
  25132. #: guix-git/doc/guix.texi:17248
  25133. #, no-wrap
  25134. msgid ""
  25135. "(service nginx-service-type\n"
  25136. " (nginx-configuration\n"
  25137. " (server-blocks\n"
  25138. " (list\n"
  25139. " (nginx-server-configuration\n"
  25140. " (inherit %webssh-configuration-nginx)\n"
  25141. " (server-name '(\"webssh.example.com\"))\n"
  25142. " (listen '(\"443 ssl\"))\n"
  25143. " (ssl-certificate (letsencrypt-certificate \"webssh.example.com\"))\n"
  25144. " (ssl-certificate-key (letsencrypt-key \"webssh.example.com\"))\n"
  25145. " (locations\n"
  25146. " (cons (nginx-location-configuration\n"
  25147. " (uri \"/.well-known\")\n"
  25148. " (body '(\"root /var/www;\")))\n"
  25149. " (nginx-server-configuration-locations %webssh-configuration-nginx))))))))\n"
  25150. msgstr ""
  25151. #. type: deftp
  25152. #: guix-git/doc/guix.texi:17251
  25153. #, no-wrap
  25154. msgid "{Data Type} webssh-configuration"
  25155. msgstr ""
  25156. #. type: deftp
  25157. #: guix-git/doc/guix.texi:17253
  25158. msgid "Data type representing the configuration for @code{webssh-service}."
  25159. msgstr ""
  25160. #. type: item
  25161. #: guix-git/doc/guix.texi:17255
  25162. #, no-wrap
  25163. msgid "@code{package} (default: @var{webssh})"
  25164. msgstr ""
  25165. #. type: table
  25166. #: guix-git/doc/guix.texi:17257
  25167. msgid "@code{webssh} package to use."
  25168. msgstr ""
  25169. #. type: item
  25170. #: guix-git/doc/guix.texi:17258
  25171. #, no-wrap
  25172. msgid "@code{user-name} (default: @var{\"webssh\"})"
  25173. msgstr ""
  25174. #. type: table
  25175. #: guix-git/doc/guix.texi:17261
  25176. msgid "User name or user ID that file transfers to and from that module should take place."
  25177. msgstr ""
  25178. #. type: item
  25179. #: guix-git/doc/guix.texi:17262
  25180. #, no-wrap
  25181. msgid "@code{group-name} (default: @var{\"webssh\"})"
  25182. msgstr ""
  25183. #. type: item
  25184. #: guix-git/doc/guix.texi:17265
  25185. #, no-wrap
  25186. msgid "@code{address} (default: @var{#f})"
  25187. msgstr ""
  25188. #. type: table
  25189. #: guix-git/doc/guix.texi:17267
  25190. msgid "IP address on which @command{webssh} listens for incoming connections."
  25191. msgstr ""
  25192. #. type: item
  25193. #: guix-git/doc/guix.texi:17268
  25194. #, no-wrap
  25195. msgid "@code{port} (default: @var{8888})"
  25196. msgstr ""
  25197. #. type: table
  25198. #: guix-git/doc/guix.texi:17270
  25199. msgid "TCP port on which @command{webssh} listens for incoming connections."
  25200. msgstr ""
  25201. #. type: item
  25202. #: guix-git/doc/guix.texi:17271
  25203. #, no-wrap
  25204. msgid "@code{policy} (default: @var{#f})"
  25205. msgstr ""
  25206. #. type: table
  25207. #: guix-git/doc/guix.texi:17273
  25208. msgid "Connection policy. @var{reject} policy requires to specify @var{known-hosts}."
  25209. msgstr ""
  25210. #. type: item
  25211. #: guix-git/doc/guix.texi:17274
  25212. #, no-wrap
  25213. msgid "@code{known-hosts} (default: @var{'()})"
  25214. msgstr ""
  25215. #. type: table
  25216. #: guix-git/doc/guix.texi:17276
  25217. msgid "List of hosts which allowed for SSH connection from @command{webssh}."
  25218. msgstr ""
  25219. #. type: item
  25220. #: guix-git/doc/guix.texi:17277
  25221. #, no-wrap
  25222. msgid "@code{log-file} (default: @file{\"/var/log/webssh.log\"})"
  25223. msgstr ""
  25224. #. type: table
  25225. #: guix-git/doc/guix.texi:17279
  25226. msgid "Name of the file where @command{webssh} writes its log file."
  25227. msgstr ""
  25228. #. type: item
  25229. #: guix-git/doc/guix.texi:17280
  25230. #, no-wrap
  25231. msgid "@code{log-level} (default: @var{#f})"
  25232. msgstr ""
  25233. #. type: table
  25234. #: guix-git/doc/guix.texi:17282
  25235. msgid "Logging level."
  25236. msgstr ""
  25237. #. type: defvr
  25238. #: guix-git/doc/guix.texi:17286
  25239. #, no-wrap
  25240. msgid "{Scheme Variable} %facebook-host-aliases"
  25241. msgstr ""
  25242. #. type: defvr
  25243. #: guix-git/doc/guix.texi:17292
  25244. 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}."
  25245. msgstr ""
  25246. #. type: defvr
  25247. #: guix-git/doc/guix.texi:17296
  25248. 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}}):"
  25249. msgstr ""
  25250. #. type: lisp
  25251. #: guix-git/doc/guix.texi:17309
  25252. #, no-wrap
  25253. msgid ""
  25254. "(operating-system\n"
  25255. " (host-name \"mymachine\")\n"
  25256. " ;; ...\n"
  25257. " (hosts-file\n"
  25258. " ;; Create a /etc/hosts file with aliases for \"localhost\"\n"
  25259. " ;; and \"mymachine\", as well as for Facebook servers.\n"
  25260. " (plain-file \"hosts\"\n"
  25261. " (string-append (local-host-aliases host-name)\n"
  25262. " %facebook-host-aliases))))\n"
  25263. msgstr ""
  25264. #. type: defvr
  25265. #: guix-git/doc/guix.texi:17313
  25266. msgid "This mechanism can prevent programs running locally, such as Web browsers, from accessing Facebook."
  25267. msgstr ""
  25268. #. type: Plain text
  25269. #: guix-git/doc/guix.texi:17316
  25270. msgid "The @code{(gnu services avahi)} provides the following definition."
  25271. msgstr ""
  25272. #. type: defvr
  25273. #: guix-git/doc/guix.texi:17317
  25274. #, no-wrap
  25275. msgid "{Scheme Variable} avahi-service-type"
  25276. msgstr ""
  25277. #. type: defvr
  25278. #: guix-git/doc/guix.texi:17322
  25279. 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."
  25280. msgstr ""
  25281. #. type: defvr
  25282. #: guix-git/doc/guix.texi:17327
  25283. 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."
  25284. msgstr ""
  25285. #. type: defvr
  25286. #: guix-git/doc/guix.texi:17330
  25287. msgid "Additionally, add the @var{avahi} package to the system profile so that commands such as @command{avahi-browse} are directly usable."
  25288. msgstr ""
  25289. #. type: deftp
  25290. #: guix-git/doc/guix.texi:17332
  25291. #, no-wrap
  25292. msgid "{Data Type} avahi-configuration"
  25293. msgstr ""
  25294. #. type: deftp
  25295. #: guix-git/doc/guix.texi:17334
  25296. msgid "Data type representation the configuration for Avahi."
  25297. msgstr ""
  25298. #. type: item
  25299. #: guix-git/doc/guix.texi:17337
  25300. #, no-wrap
  25301. msgid "@code{host-name} (default: @code{#f})"
  25302. msgstr "@code{host-name} (default: @code{#f})"
  25303. #. type: table
  25304. #: guix-git/doc/guix.texi:17340
  25305. 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."
  25306. msgstr ""
  25307. #. type: item
  25308. #: guix-git/doc/guix.texi:17341
  25309. #, no-wrap
  25310. msgid "@code{publish?} (default: @code{#t})"
  25311. msgstr "@code{publish?} (padrão: @code{#t})"
  25312. #. type: table
  25313. #: guix-git/doc/guix.texi:17344
  25314. msgid "When true, allow host names and services to be published (broadcast) over the network."
  25315. msgstr ""
  25316. #. type: item
  25317. #: guix-git/doc/guix.texi:17345
  25318. #, no-wrap
  25319. msgid "@code{publish-workstation?} (default: @code{#t})"
  25320. msgstr "@code{publish-workstation?} (padrão: @code{#t})"
  25321. #. type: table
  25322. #: guix-git/doc/guix.texi:17349
  25323. 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:"
  25324. msgstr ""
  25325. #. type: example
  25326. #: guix-git/doc/guix.texi:17352
  25327. #, no-wrap
  25328. msgid "avahi-browse _workstation._tcp\n"
  25329. msgstr ""
  25330. #. type: item
  25331. #: guix-git/doc/guix.texi:17354
  25332. #, no-wrap
  25333. msgid "@code{wide-area?} (default: @code{#f})"
  25334. msgstr "@code{wide-area?} (padrão: @code{#f})"
  25335. #. type: table
  25336. #: guix-git/doc/guix.texi:17356
  25337. msgid "When true, DNS-SD over unicast DNS is enabled."
  25338. msgstr ""
  25339. #. type: item
  25340. #: guix-git/doc/guix.texi:17357
  25341. #, no-wrap
  25342. msgid "@code{ipv4?} (default: @code{#t})"
  25343. msgstr "@code{ipv4?} (default: @code{#t})"
  25344. #. type: itemx
  25345. #: guix-git/doc/guix.texi:17358
  25346. #, no-wrap
  25347. msgid "@code{ipv6?} (default: @code{#t})"
  25348. msgstr "@code{ipv6?} (default: @code{#t})"
  25349. #. type: table
  25350. #: guix-git/doc/guix.texi:17360
  25351. msgid "These fields determine whether to use IPv4/IPv6 sockets."
  25352. msgstr ""
  25353. #. type: item
  25354. #: guix-git/doc/guix.texi:17361
  25355. #, no-wrap
  25356. msgid "@code{domains-to-browse} (default: @code{'()})"
  25357. msgstr ""
  25358. #. type: table
  25359. #: guix-git/doc/guix.texi:17363
  25360. msgid "This is a list of domains to browse."
  25361. msgstr ""
  25362. #. type: deffn
  25363. #: guix-git/doc/guix.texi:17366
  25364. #, no-wrap
  25365. msgid "{Scheme Variable} openvswitch-service-type"
  25366. msgstr ""
  25367. #. type: deffn
  25368. #: guix-git/doc/guix.texi:17370
  25369. msgid "This is the type of the @uref{https://www.openvswitch.org, Open vSwitch} service, whose value should be an @code{openvswitch-configuration} object."
  25370. msgstr ""
  25371. #. type: deftp
  25372. #: guix-git/doc/guix.texi:17372
  25373. #, no-wrap
  25374. msgid "{Data Type} openvswitch-configuration"
  25375. msgstr ""
  25376. #. type: deftp
  25377. #: guix-git/doc/guix.texi:17376
  25378. msgid "Data type representing the configuration of Open vSwitch, a multilayer virtual switch which is designed to enable massive network automation through programmatic extension."
  25379. msgstr ""
  25380. #. type: item
  25381. #: guix-git/doc/guix.texi:17378
  25382. #, no-wrap
  25383. msgid "@code{package} (default: @var{openvswitch})"
  25384. msgstr ""
  25385. #. type: table
  25386. #: guix-git/doc/guix.texi:17380
  25387. msgid "Package object of the Open vSwitch."
  25388. msgstr ""
  25389. #. type: defvr
  25390. #: guix-git/doc/guix.texi:17384
  25391. #, no-wrap
  25392. msgid "{Scheme Variable} pagekite-service-type"
  25393. msgstr ""
  25394. #. type: defvr
  25395. #: guix-git/doc/guix.texi:17389
  25396. 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."
  25397. msgstr ""
  25398. #. type: defvr
  25399. #: guix-git/doc/guix.texi:17391
  25400. msgid "Here's an example exposing the local HTTP and SSH daemons:"
  25401. msgstr ""
  25402. #. type: lisp
  25403. #: guix-git/doc/guix.texi:17398
  25404. #, no-wrap
  25405. msgid ""
  25406. "(service pagekite-service-type\n"
  25407. " (pagekite-configuration\n"
  25408. " (kites '(\"http:@@kitename:localhost:80:@@kitesecret\"\n"
  25409. " \"raw/22:@@kitename:localhost:22:@@kitesecret\"))\n"
  25410. " (extra-file \"/etc/pagekite.rc\")))\n"
  25411. msgstr ""
  25412. #. type: deftp
  25413. #: guix-git/doc/guix.texi:17401
  25414. #, no-wrap
  25415. msgid "{Data Type} pagekite-configuration"
  25416. msgstr ""
  25417. #. type: deftp
  25418. #: guix-git/doc/guix.texi:17403
  25419. msgid "Data type representing the configuration of PageKite."
  25420. msgstr ""
  25421. #. type: item
  25422. #: guix-git/doc/guix.texi:17405
  25423. #, no-wrap
  25424. msgid "@code{package} (default: @var{pagekite})"
  25425. msgstr ""
  25426. #. type: table
  25427. #: guix-git/doc/guix.texi:17407
  25428. msgid "Package object of PageKite."
  25429. msgstr ""
  25430. #. type: item
  25431. #: guix-git/doc/guix.texi:17408
  25432. #, no-wrap
  25433. msgid "@code{kitename} (default: @code{#f})"
  25434. msgstr ""
  25435. #. type: table
  25436. #: guix-git/doc/guix.texi:17410
  25437. msgid "PageKite name for authenticating to the frontend server."
  25438. msgstr ""
  25439. #. type: item
  25440. #: guix-git/doc/guix.texi:17411
  25441. #, no-wrap
  25442. msgid "@code{kitesecret} (default: @code{#f})"
  25443. msgstr ""
  25444. #. type: table
  25445. #: guix-git/doc/guix.texi:17414
  25446. msgid "Shared secret for authenticating to the frontend server. You should probably put this inside @code{extra-file} instead."
  25447. msgstr ""
  25448. #. type: item
  25449. #: guix-git/doc/guix.texi:17415
  25450. #, no-wrap
  25451. msgid "@code{frontend} (default: @code{#f})"
  25452. msgstr ""
  25453. #. type: table
  25454. #: guix-git/doc/guix.texi:17418
  25455. msgid "Connect to the named PageKite frontend server instead of the @uref{https://pagekite.net,,pagekite.net} service."
  25456. msgstr ""
  25457. #. type: item
  25458. #: guix-git/doc/guix.texi:17419
  25459. #, no-wrap
  25460. msgid "@code{kites} (default: @code{'(\"http:@@kitename:localhost:80:@@kitesecret\")})"
  25461. msgstr ""
  25462. #. type: table
  25463. #: guix-git/doc/guix.texi:17422
  25464. msgid "List of service kites to use. Exposes HTTP on port 80 by default. The format is @code{proto:kitename:host:port:secret}."
  25465. msgstr ""
  25466. #. type: item
  25467. #: guix-git/doc/guix.texi:17423
  25468. #, no-wrap
  25469. msgid "@code{extra-file} (default: @code{#f})"
  25470. msgstr ""
  25471. #. type: table
  25472. #: guix-git/doc/guix.texi:17426
  25473. 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."
  25474. msgstr ""
  25475. #. type: defvr
  25476. #: guix-git/doc/guix.texi:17430
  25477. #, no-wrap
  25478. msgid "{Scheme Variable} yggdrasil-service-type"
  25479. msgstr ""
  25480. #. type: defvr
  25481. #: guix-git/doc/guix.texi:17434
  25482. 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."
  25483. msgstr ""
  25484. #. type: quotation
  25485. #: guix-git/doc/guix.texi:17441
  25486. 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}"
  25487. msgstr ""
  25488. #. type: defvr
  25489. #: guix-git/doc/guix.texi:17445
  25490. msgid "Pass it a value of @code{yggdrasil-configuration} to connect it to public peers and/or local peers."
  25491. msgstr ""
  25492. #. type: defvr
  25493. #: guix-git/doc/guix.texi:17449
  25494. 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})."
  25495. msgstr ""
  25496. #. type: lisp
  25497. #: guix-git/doc/guix.texi:17461
  25498. #, no-wrap
  25499. msgid ""
  25500. ";; part of the operating-system declaration\n"
  25501. "(service yggdrasil-service-type\n"
  25502. " (yggdrasil-configuration\n"
  25503. " (autoconf? #f) ;; use only the public peers\n"
  25504. " (json-config\n"
  25505. " ;; choose one from\n"
  25506. " ;; https://github.com/yggdrasil-network/public-peers\n"
  25507. " '((peers . #(\"tcp://1.2.3.4:1337\"))))\n"
  25508. " ;; /etc/yggdrasil-private.conf is the default value for config-file\n"
  25509. " ))\n"
  25510. msgstr ""
  25511. #. type: example
  25512. #: guix-git/doc/guix.texi:17468
  25513. #, no-wrap
  25514. msgid ""
  25515. "# sample content for /etc/yggdrasil-private.conf\n"
  25516. "@{\n"
  25517. " # Your public encryption key. Your peers may ask you for this to put\n"
  25518. " # into their AllowedEncryptionPublicKeys configuration.\n"
  25519. " EncryptionPublicKey: 378dc5...\n"
  25520. "\n"
  25521. msgstr ""
  25522. #. type: example
  25523. #: guix-git/doc/guix.texi:17471
  25524. #, no-wrap
  25525. msgid ""
  25526. " # Your private encryption key. DO NOT share this with anyone!\n"
  25527. " EncryptionPrivateKey: 0777...\n"
  25528. "\n"
  25529. msgstr ""
  25530. #. type: example
  25531. #: guix-git/doc/guix.texi:17475
  25532. #, no-wrap
  25533. msgid ""
  25534. " # Your public signing key. You should not ordinarily need to share\n"
  25535. " # this with anyone.\n"
  25536. " SigningPublicKey: e1664...\n"
  25537. "\n"
  25538. msgstr ""
  25539. #. type: example
  25540. #: guix-git/doc/guix.texi:17479
  25541. #, no-wrap
  25542. msgid ""
  25543. " # Your private signing key. DO NOT share this with anyone!\n"
  25544. " SigningPrivateKey: 0589d...\n"
  25545. "@}\n"
  25546. msgstr ""
  25547. #. type: deftp
  25548. #: guix-git/doc/guix.texi:17482
  25549. #, no-wrap
  25550. msgid "{Data Type} yggdrasil-configuration"
  25551. msgstr ""
  25552. #. type: deftp
  25553. #: guix-git/doc/guix.texi:17484
  25554. msgid "Data type representing the configuration of Yggdrasil."
  25555. msgstr ""
  25556. #. type: item
  25557. #: guix-git/doc/guix.texi:17486
  25558. #, no-wrap
  25559. msgid "@code{package} (default: @code{yggdrasil})"
  25560. msgstr ""
  25561. #. type: table
  25562. #: guix-git/doc/guix.texi:17488
  25563. msgid "Package object of Yggdrasil."
  25564. msgstr ""
  25565. #. type: item
  25566. #: guix-git/doc/guix.texi:17489
  25567. #, no-wrap
  25568. msgid "@code{json-config} (default: @code{'()})"
  25569. msgstr ""
  25570. #. type: table
  25571. #: guix-git/doc/guix.texi:17495
  25572. 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."
  25573. msgstr ""
  25574. #. type: item
  25575. #: guix-git/doc/guix.texi:17496
  25576. #, no-wrap
  25577. msgid "@code{autoconf?} (default: @code{#f})"
  25578. msgstr ""
  25579. #. type: table
  25580. #: guix-git/doc/guix.texi:17499
  25581. msgid "Whether to use automatic mode. Enabling it makes Yggdrasil use adynamic IP and peer with IPv6 neighbors."
  25582. msgstr ""
  25583. #. type: table
  25584. #: guix-git/doc/guix.texi:17502
  25585. msgid "How much detail to include in logs. Use @code{'debug} for more detail."
  25586. msgstr ""
  25587. #. type: item
  25588. #: guix-git/doc/guix.texi:17503
  25589. #, no-wrap
  25590. msgid "@code{log-to} (default: @code{'stdout})"
  25591. msgstr ""
  25592. #. type: table
  25593. #: guix-git/doc/guix.texi:17507
  25594. 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."
  25595. msgstr ""
  25596. #. type: item
  25597. #: guix-git/doc/guix.texi:17508
  25598. #, no-wrap
  25599. msgid "@code{config-file} (default: @code{\"/etc/yggdrasil-private.conf\"})"
  25600. msgstr ""
  25601. #. type: table
  25602. #: guix-git/doc/guix.texi:17515
  25603. 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:"
  25604. msgstr ""
  25605. #. type: code{#1}
  25606. #: guix-git/doc/guix.texi:17517
  25607. #, no-wrap
  25608. msgid "EncryptionPublicKey"
  25609. msgstr ""
  25610. #. type: code{#1}
  25611. #: guix-git/doc/guix.texi:17518
  25612. #, no-wrap
  25613. msgid "EncryptionPrivateKey"
  25614. msgstr ""
  25615. #. type: code{#1}
  25616. #: guix-git/doc/guix.texi:17519
  25617. #, no-wrap
  25618. msgid "SigningPublicKey"
  25619. msgstr ""
  25620. #. type: code{#1}
  25621. #: guix-git/doc/guix.texi:17520
  25622. #, no-wrap
  25623. msgid "SigningPrivateKey"
  25624. msgstr ""
  25625. #. type: cindex
  25626. #: guix-git/doc/guix.texi:17525
  25627. #, no-wrap
  25628. msgid "IPFS"
  25629. msgstr ""
  25630. #. type: defvr
  25631. #: guix-git/doc/guix.texi:17526
  25632. #, fuzzy, no-wrap
  25633. #| msgid "guix-publish-service-type"
  25634. msgid "{Scheme Variable} ipfs-service-type"
  25635. msgstr "guix-publish-service-type"
  25636. #. type: defvr
  25637. #: guix-git/doc/guix.texi:17530
  25638. 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."
  25639. msgstr ""
  25640. #. type: defvr
  25641. #: guix-git/doc/guix.texi:17532
  25642. msgid "Here's an example configuration, using some non-standard ports:"
  25643. msgstr ""
  25644. #. type: lisp
  25645. #: guix-git/doc/guix.texi:17538
  25646. #, no-wrap
  25647. msgid ""
  25648. "(service ipfs-service-type\n"
  25649. " (ipfs-configuration\n"
  25650. " (gateway \"/ip4/127.0.0.1/tcp/8880\")\n"
  25651. " (api \"/ip4/127.0.0.1/tcp/8881\")))\n"
  25652. msgstr ""
  25653. #. type: deftp
  25654. #: guix-git/doc/guix.texi:17541
  25655. #, fuzzy, no-wrap
  25656. #| msgid "{Data Type} build-machine"
  25657. msgid "{Data Type} ipfs-configuration"
  25658. msgstr "build-machine {Data Type}"
  25659. #. type: deftp
  25660. #: guix-git/doc/guix.texi:17543
  25661. #, fuzzy
  25662. #| msgid "Manage the operating system configuration."
  25663. msgid "Data type representing the configuration of IPFS."
  25664. msgstr "Gerencie a configuração do sistema operacional."
  25665. #. type: item
  25666. #: guix-git/doc/guix.texi:17545
  25667. #, fuzzy, no-wrap
  25668. #| msgid "@code{cache} (default: @code{#f})"
  25669. msgid "@code{package} (default: @code{go-ipfs})"
  25670. msgstr "@code{cache} (default: @code{#f})"
  25671. #. type: table
  25672. #: guix-git/doc/guix.texi:17547
  25673. msgid "Package object of IPFS."
  25674. msgstr ""
  25675. #. type: item
  25676. #: guix-git/doc/guix.texi:17548
  25677. #, fuzzy, no-wrap
  25678. #| msgid "@code{port} (default: @code{15000})"
  25679. msgid "@code{gateway} (default: @code{\"/ip4/127.0.0.1/tcp/8082\"})"
  25680. msgstr "@code{porta} (default: @code{15000})"
  25681. #. type: table
  25682. #: guix-git/doc/guix.texi:17550
  25683. msgid "Address of the gateway, in ‘multiaddress’ format."
  25684. msgstr ""
  25685. #. type: item
  25686. #: guix-git/doc/guix.texi:17551
  25687. #, fuzzy, no-wrap
  25688. #| msgid "@code{port} (default: @code{15000})"
  25689. msgid "@code{api} (default: @code{\"/ip4/127.0.0.1/tcp/5001\"})"
  25690. msgstr "@code{porta} (default: @code{15000})"
  25691. #. type: table
  25692. #: guix-git/doc/guix.texi:17553
  25693. msgid "Address of the API endpoint, in ‘multiaddress’ format."
  25694. msgstr ""
  25695. #. type: cindex
  25696. #: guix-git/doc/guix.texi:17556
  25697. #, no-wrap
  25698. msgid "keepalived"
  25699. msgstr ""
  25700. #. type: deffn
  25701. #: guix-git/doc/guix.texi:17557
  25702. #, no-wrap
  25703. msgid "{Scheme Variable} keepalived-service-type"
  25704. msgstr ""
  25705. #. type: deffn
  25706. #: guix-git/doc/guix.texi:17562
  25707. 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:"
  25708. msgstr ""
  25709. #. type: lisp
  25710. #: guix-git/doc/guix.texi:17567
  25711. #, no-wrap
  25712. msgid ""
  25713. "(service keepalived-service-type\n"
  25714. " (keepalived-configuration\n"
  25715. " (config-file (local-file \"keepalived-master.conf\"))))\n"
  25716. msgstr ""
  25717. #. type: deffn
  25718. #: guix-git/doc/guix.texi:17570
  25719. msgid "where @file{keepalived-master.conf}:"
  25720. msgstr ""
  25721. #. type: example
  25722. #: guix-git/doc/guix.texi:17582
  25723. #, no-wrap
  25724. msgid ""
  25725. "vrrp_instance my-group @{\n"
  25726. " state MASTER\n"
  25727. " interface enp9s0\n"
  25728. " virtual_router_id 100\n"
  25729. " priority 100\n"
  25730. " unicast_peer @{ 10.0.0.2 @}\n"
  25731. " virtual_ipaddress @{\n"
  25732. " 10.0.0.4/24\n"
  25733. " @}\n"
  25734. "@}\n"
  25735. msgstr ""
  25736. #. type: deffn
  25737. #: guix-git/doc/guix.texi:17585
  25738. msgid "and for backup machine:"
  25739. msgstr ""
  25740. #. type: lisp
  25741. #: guix-git/doc/guix.texi:17590
  25742. #, no-wrap
  25743. msgid ""
  25744. "(service keepalived-service-type\n"
  25745. " (keepalived-configuration\n"
  25746. " (config-file (local-file \"keepalived-backup.conf\"))))\n"
  25747. msgstr ""
  25748. #. type: deffn
  25749. #: guix-git/doc/guix.texi:17593
  25750. msgid "where @file{keepalived-backup.conf}:"
  25751. msgstr ""
  25752. #. type: example
  25753. #: guix-git/doc/guix.texi:17605
  25754. #, no-wrap
  25755. msgid ""
  25756. "vrrp_instance my-group @{\n"
  25757. " state BACKUP\n"
  25758. " interface enp9s0\n"
  25759. " virtual_router_id 100\n"
  25760. " priority 99\n"
  25761. " unicast_peer @{ 10.0.0.3 @}\n"
  25762. " virtual_ipaddress @{\n"
  25763. " 10.0.0.4/24\n"
  25764. " @}\n"
  25765. "@}\n"
  25766. msgstr ""
  25767. #. type: cindex
  25768. #: guix-git/doc/guix.texi:17611
  25769. #, no-wrap
  25770. msgid "unattended upgrades"
  25771. msgstr ""
  25772. #. type: cindex
  25773. #: guix-git/doc/guix.texi:17612
  25774. #, no-wrap
  25775. msgid "upgrades, unattended"
  25776. msgstr ""
  25777. #. type: Plain text
  25778. #: guix-git/doc/guix.texi:17617
  25779. 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:"
  25780. msgstr ""
  25781. #. type: itemize
  25782. #: guix-git/doc/guix.texi:17622
  25783. msgid "upgrades are transactional (either the upgrade succeeds or it fails, but you cannot end up with an ``in-between'' system state);"
  25784. msgstr ""
  25785. #. type: itemize
  25786. #: guix-git/doc/guix.texi:17626
  25787. 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;"
  25788. msgstr ""
  25789. #. type: itemize
  25790. #: guix-git/doc/guix.texi:17629
  25791. msgid "channel code is authenticated so you know you can only run genuine code (@pxref{Channels});"
  25792. msgstr ""
  25793. #. type: itemize
  25794. #: guix-git/doc/guix.texi:17632
  25795. msgid "@command{guix system reconfigure} prevents downgrades, which makes it immune to @dfn{downgrade attacks}."
  25796. msgstr ""
  25797. #. type: Plain text
  25798. #: guix-git/doc/guix.texi:17637
  25799. 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:"
  25800. msgstr ""
  25801. #. type: lisp
  25802. #: guix-git/doc/guix.texi:17640
  25803. #, no-wrap
  25804. msgid "(service unattended-upgrade-service-type)\n"
  25805. msgstr ""
  25806. #. type: Plain text
  25807. #: guix-git/doc/guix.texi:17647
  25808. 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."
  25809. msgstr ""
  25810. #. type: Plain text
  25811. #: guix-git/doc/guix.texi:17653
  25812. 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."
  25813. msgstr ""
  25814. #. type: Plain text
  25815. #: guix-git/doc/guix.texi:17657
  25816. 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)."
  25817. msgstr ""
  25818. #. type: defvr
  25819. #: guix-git/doc/guix.texi:17658
  25820. #, no-wrap
  25821. msgid "{Scheme Variable} unattended-upgrade-service-type"
  25822. msgstr ""
  25823. #. type: defvr
  25824. #: guix-git/doc/guix.texi:17662
  25825. 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."
  25826. msgstr ""
  25827. #. type: defvr
  25828. #: guix-git/doc/guix.texi:17665
  25829. msgid "Its value must be a @code{unattended-upgrade-configuration} record (see below)."
  25830. msgstr ""
  25831. #. type: deftp
  25832. #: guix-git/doc/guix.texi:17667
  25833. #, no-wrap
  25834. msgid "{Data Type} unattended-upgrade-configuration"
  25835. msgstr ""
  25836. #. type: deftp
  25837. #: guix-git/doc/guix.texi:17670
  25838. msgid "This data type represents the configuration of the unattended upgrade service. The following fields are available:"
  25839. msgstr ""
  25840. #. type: item
  25841. #: guix-git/doc/guix.texi:17672
  25842. #, no-wrap
  25843. msgid "@code{schedule} (default: @code{\"30 01 * * 0\"})"
  25844. msgstr ""
  25845. #. type: table
  25846. #: guix-git/doc/guix.texi:17676
  25847. 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})."
  25848. msgstr ""
  25849. #. type: item
  25850. #: guix-git/doc/guix.texi:17677
  25851. #, no-wrap
  25852. msgid "@code{channels} (default: @code{#~%default-channels})"
  25853. msgstr ""
  25854. #. type: table
  25855. #: guix-git/doc/guix.texi:17681
  25856. 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."
  25857. msgstr ""
  25858. #. type: item
  25859. #: guix-git/doc/guix.texi:17682
  25860. #, no-wrap
  25861. msgid "@code{operating-system-file} (default: @code{\"/run/current-system/configuration.scm\"})"
  25862. msgstr ""
  25863. #. type: table
  25864. #: guix-git/doc/guix.texi:17685
  25865. msgid "This field specifies the operating system configuration file to use. The default is to reuse the config file of the current configuration."
  25866. msgstr ""
  25867. #. type: table
  25868. #: guix-git/doc/guix.texi:17691
  25869. 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:"
  25870. msgstr ""
  25871. #. type: lisp
  25872. #: guix-git/doc/guix.texi:17697
  25873. #, no-wrap
  25874. msgid ""
  25875. "(unattended-upgrade-configuration\n"
  25876. " (operating-system-file\n"
  25877. " (file-append (local-file \".\" \"config-dir\" #:recursive? #t)\n"
  25878. " \"/config.scm\")))\n"
  25879. msgstr ""
  25880. #. type: table
  25881. #: guix-git/doc/guix.texi:17704
  25882. 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}."
  25883. msgstr ""
  25884. #. type: item
  25885. #: guix-git/doc/guix.texi:17705
  25886. #, no-wrap
  25887. msgid "@code{services-to-restart} (default: @code{'(mcron)})"
  25888. msgstr ""
  25889. #. type: table
  25890. #: guix-git/doc/guix.texi:17708
  25891. msgid "This field specifies the Shepherd services to restart when the upgrade completes."
  25892. msgstr ""
  25893. #. type: table
  25894. #: guix-git/doc/guix.texi:17715
  25895. 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."
  25896. msgstr ""
  25897. #. type: table
  25898. #: guix-git/doc/guix.texi:17719
  25899. 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}."
  25900. msgstr ""
  25901. #. type: table
  25902. #: guix-git/doc/guix.texi:17722
  25903. 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."
  25904. msgstr ""
  25905. #. type: item
  25906. #: guix-git/doc/guix.texi:17723
  25907. #, no-wrap
  25908. msgid "@code{system-expiration} (default: @code{(* 3 30 24 3600)})"
  25909. msgstr ""
  25910. #. type: table
  25911. #: guix-git/doc/guix.texi:17727
  25912. 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."
  25913. msgstr ""
  25914. #. type: quotation
  25915. #: guix-git/doc/guix.texi:17732
  25916. 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."
  25917. msgstr ""
  25918. #. type: item
  25919. #: guix-git/doc/guix.texi:17734
  25920. #, no-wrap
  25921. msgid "@code{maximum-duration} (default: @code{3600})"
  25922. msgstr ""
  25923. #. type: table
  25924. #: guix-git/doc/guix.texi:17737
  25925. msgid "Maximum duration in seconds for the upgrade; past that time, the upgrade aborts."
  25926. msgstr ""
  25927. #. type: table
  25928. #: guix-git/doc/guix.texi:17740
  25929. msgid "This is primarily useful to ensure the upgrade does not end up rebuilding or re-downloading ``the world''."
  25930. msgstr ""
  25931. #. type: item
  25932. #: guix-git/doc/guix.texi:17741
  25933. #, no-wrap
  25934. msgid "@code{log-file} (default: @code{\"/var/log/unattended-upgrade.log\"})"
  25935. msgstr ""
  25936. #. type: table
  25937. #: guix-git/doc/guix.texi:17743
  25938. msgid "File where unattended upgrades are logged."
  25939. msgstr ""
  25940. #. type: cindex
  25941. #: guix-git/doc/guix.texi:17749
  25942. #, no-wrap
  25943. msgid "X11"
  25944. msgstr ""
  25945. #. type: cindex
  25946. #: guix-git/doc/guix.texi:17750
  25947. #, no-wrap
  25948. msgid "X Window System"
  25949. msgstr ""
  25950. #. type: cindex
  25951. #: guix-git/doc/guix.texi:17751 guix-git/doc/guix.texi:18003
  25952. #, no-wrap
  25953. msgid "login manager"
  25954. msgstr ""
  25955. #. type: Plain text
  25956. #: guix-git/doc/guix.texi:17756
  25957. 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)."
  25958. msgstr ""
  25959. #. type: cindex
  25960. #: guix-git/doc/guix.texi:17757
  25961. #, no-wrap
  25962. msgid "GDM"
  25963. msgstr ""
  25964. #. type: cindex
  25965. #: guix-git/doc/guix.texi:17758
  25966. #, no-wrap
  25967. msgid "GNOME, login manager"
  25968. msgstr ""
  25969. #. type: Plain text
  25970. #: guix-git/doc/guix.texi:17762
  25971. 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."
  25972. msgstr ""
  25973. #. type: cindex
  25974. #: guix-git/doc/guix.texi:17763
  25975. #, no-wrap
  25976. msgid "window manager"
  25977. msgstr ""
  25978. #. type: Plain text
  25979. #: guix-git/doc/guix.texi:17768
  25980. 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})."
  25981. msgstr ""
  25982. #. type: defvr
  25983. #: guix-git/doc/guix.texi:17769
  25984. #, no-wrap
  25985. msgid "{Scheme Variable} gdm-service-type"
  25986. msgstr ""
  25987. #. type: defvr
  25988. #: guix-git/doc/guix.texi:17774
  25989. 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)."
  25990. msgstr ""
  25991. #. type: cindex
  25992. #: guix-git/doc/guix.texi:17775
  25993. #, no-wrap
  25994. msgid "session types (X11)"
  25995. msgstr ""
  25996. #. type: cindex
  25997. #: guix-git/doc/guix.texi:17776
  25998. #, no-wrap
  25999. msgid "X11 session types"
  26000. msgstr ""
  26001. #. type: defvr
  26002. #: guix-git/doc/guix.texi:17782
  26003. 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."
  26004. msgstr ""
  26005. #. type: defvr
  26006. #: guix-git/doc/guix.texi:17786
  26007. 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."
  26008. msgstr ""
  26009. #. type: deftp
  26010. #: guix-git/doc/guix.texi:17788
  26011. #, no-wrap
  26012. msgid "{Data Type} gdm-configuration"
  26013. msgstr ""
  26014. #. type: item
  26015. #: guix-git/doc/guix.texi:17790 guix-git/doc/guix.texi:17858
  26016. #, no-wrap
  26017. msgid "@code{auto-login?} (default: @code{#f})"
  26018. msgstr ""
  26019. #. type: itemx
  26020. #: guix-git/doc/guix.texi:17791
  26021. #, no-wrap
  26022. msgid "@code{default-user} (default: @code{#f})"
  26023. msgstr ""
  26024. #. type: table
  26025. #: guix-git/doc/guix.texi:17793
  26026. msgid "When @code{auto-login?} is false, GDM presents a log-in screen."
  26027. msgstr ""
  26028. #. type: table
  26029. #: guix-git/doc/guix.texi:17796
  26030. msgid "When @code{auto-login?} is true, GDM logs in directly as @code{default-user}."
  26031. msgstr ""
  26032. #. type: item
  26033. #: guix-git/doc/guix.texi:17797 guix-git/doc/guix.texi:23369
  26034. #: guix-git/doc/guix.texi:25077 guix-git/doc/guix.texi:29427
  26035. #: guix-git/doc/guix.texi:29456 guix-git/doc/guix.texi:29485
  26036. #: guix-git/doc/guix.texi:29512 guix-git/doc/guix.texi:29567
  26037. #: guix-git/doc/guix.texi:29592 guix-git/doc/guix.texi:29619
  26038. #: guix-git/doc/guix.texi:29645 guix-git/doc/guix.texi:29687
  26039. #, no-wrap
  26040. msgid "@code{debug?} (default: @code{#f})"
  26041. msgstr "@code{debug?} (default: @code{#f})"
  26042. #. type: table
  26043. #: guix-git/doc/guix.texi:17799
  26044. msgid "When true, GDM writes debug messages to its log."
  26045. msgstr ""
  26046. #. type: item
  26047. #: guix-git/doc/guix.texi:17800
  26048. #, no-wrap
  26049. msgid "@code{gnome-shell-assets} (default: ...)"
  26050. msgstr ""
  26051. #. type: table
  26052. #: guix-git/doc/guix.texi:17802
  26053. msgid "List of GNOME Shell assets needed by GDM: icon theme, fonts, etc."
  26054. msgstr ""
  26055. #. type: item
  26056. #: guix-git/doc/guix.texi:17803
  26057. #, no-wrap
  26058. msgid "@code{xorg-configuration} (default: @code{(xorg-configuration)})"
  26059. msgstr ""
  26060. #. type: table
  26061. #: guix-git/doc/guix.texi:17805 guix-git/doc/guix.texi:17885
  26062. #: guix-git/doc/guix.texi:17969
  26063. msgid "Configuration of the Xorg graphical server."
  26064. msgstr ""
  26065. #. type: item
  26066. #: guix-git/doc/guix.texi:17806
  26067. #, no-wrap
  26068. msgid "@code{xsession} (default: @code{(xinitrc)})"
  26069. msgstr ""
  26070. #. type: table
  26071. #: guix-git/doc/guix.texi:17808 guix-git/doc/guix.texi:17984
  26072. msgid "Script to run before starting a X session."
  26073. msgstr ""
  26074. #. type: item
  26075. #: guix-git/doc/guix.texi:17809
  26076. #, no-wrap
  26077. msgid "@code{dbus-daemon} (default: @code{dbus-daemon-wrapper})"
  26078. msgstr ""
  26079. #. type: table
  26080. #: guix-git/doc/guix.texi:17811
  26081. msgid "File name of the @code{dbus-daemon} executable."
  26082. msgstr ""
  26083. #. type: item
  26084. #: guix-git/doc/guix.texi:17812
  26085. #, no-wrap
  26086. msgid "@code{gdm} (default: @code{gdm})"
  26087. msgstr "@code{gdm} (default: @code{gdm})"
  26088. #. type: table
  26089. #: guix-git/doc/guix.texi:17814
  26090. msgid "The GDM package to use."
  26091. msgstr ""
  26092. #. type: defvr
  26093. #: guix-git/doc/guix.texi:17817
  26094. #, no-wrap
  26095. msgid "{Scheme Variable} slim-service-type"
  26096. msgstr ""
  26097. #. type: defvr
  26098. #: guix-git/doc/guix.texi:17819
  26099. msgid "This is the type for the SLiM graphical login manager for X11."
  26100. msgstr ""
  26101. #. type: defvr
  26102. #: guix-git/doc/guix.texi:17823
  26103. 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."
  26104. msgstr ""
  26105. #. type: defvr
  26106. #: guix-git/doc/guix.texi:17830
  26107. 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."
  26108. msgstr ""
  26109. #. type: lisp
  26110. #: guix-git/doc/guix.texi:17836
  26111. #, no-wrap
  26112. msgid ""
  26113. "(use-modules (gnu services)\n"
  26114. " (gnu services desktop)\n"
  26115. " (gnu services xorg)\n"
  26116. " (srfi srfi-1)) ;for 'remove'\n"
  26117. "\n"
  26118. msgstr ""
  26119. #. type: lisp
  26120. #: guix-git/doc/guix.texi:17847
  26121. #, no-wrap
  26122. msgid ""
  26123. "(operating-system\n"
  26124. " ;; ...\n"
  26125. " (services (cons* (service slim-service-type (slim-configuration\n"
  26126. " (display \":0\")\n"
  26127. " (vt \"vt7\")))\n"
  26128. " (service slim-service-type (slim-configuration\n"
  26129. " (display \":1\")\n"
  26130. " (vt \"vt8\")))\n"
  26131. " (modify-services %desktop-services\n"
  26132. " (delete gdm-service-type)))))\n"
  26133. msgstr ""
  26134. #. type: deftp
  26135. #: guix-git/doc/guix.texi:17851
  26136. #, no-wrap
  26137. msgid "{Data Type} slim-configuration"
  26138. msgstr ""
  26139. #. type: deftp
  26140. #: guix-git/doc/guix.texi:17853
  26141. msgid "Data type representing the configuration of @code{slim-service-type}."
  26142. msgstr ""
  26143. #. type: table
  26144. #: guix-git/doc/guix.texi:17857
  26145. msgid "Whether to allow logins with empty passwords."
  26146. msgstr ""
  26147. #. type: itemx
  26148. #: guix-git/doc/guix.texi:17859
  26149. #, no-wrap
  26150. msgid "@code{default-user} (default: @code{\"\"})"
  26151. msgstr ""
  26152. #. type: table
  26153. #: guix-git/doc/guix.texi:17861
  26154. msgid "When @code{auto-login?} is false, SLiM presents a log-in screen."
  26155. msgstr ""
  26156. #. type: table
  26157. #: guix-git/doc/guix.texi:17864
  26158. msgid "When @code{auto-login?} is true, SLiM logs in directly as @code{default-user}."
  26159. msgstr ""
  26160. #. type: item
  26161. #: guix-git/doc/guix.texi:17865
  26162. #, no-wrap
  26163. msgid "@code{theme} (default: @code{%default-slim-theme})"
  26164. msgstr ""
  26165. #. type: itemx
  26166. #: guix-git/doc/guix.texi:17866
  26167. #, no-wrap
  26168. msgid "@code{theme-name} (default: @code{%default-slim-theme-name})"
  26169. msgstr ""
  26170. #. type: table
  26171. #: guix-git/doc/guix.texi:17868
  26172. msgid "The graphical theme to use and its name."
  26173. msgstr ""
  26174. #. type: item
  26175. #: guix-git/doc/guix.texi:17869
  26176. #, no-wrap
  26177. msgid "@code{auto-login-session} (default: @code{#f})"
  26178. msgstr ""
  26179. #. type: table
  26180. #: guix-git/doc/guix.texi:17872
  26181. 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\")}."
  26182. msgstr ""
  26183. #. type: table
  26184. #: guix-git/doc/guix.texi:17876
  26185. 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."
  26186. msgstr ""
  26187. #. type: quotation
  26188. #: guix-git/doc/guix.texi:17881
  26189. 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."
  26190. msgstr ""
  26191. #. type: item
  26192. #: guix-git/doc/guix.texi:17883 guix-git/doc/guix.texi:17967
  26193. #, no-wrap
  26194. msgid "@code{xorg-configuration} (default @code{(xorg-configuration)})"
  26195. msgstr ""
  26196. #. type: item
  26197. #: guix-git/doc/guix.texi:17886
  26198. #, no-wrap
  26199. msgid "@code{display} (default @code{\":0\"})"
  26200. msgstr ""
  26201. #. type: table
  26202. #: guix-git/doc/guix.texi:17888
  26203. msgid "The display on which to start the Xorg graphical server."
  26204. msgstr ""
  26205. #. type: item
  26206. #: guix-git/doc/guix.texi:17889
  26207. #, no-wrap
  26208. msgid "@code{vt} (default @code{\"vt7\"})"
  26209. msgstr ""
  26210. #. type: table
  26211. #: guix-git/doc/guix.texi:17891
  26212. msgid "The VT on which to start the Xorg graphical server."
  26213. msgstr ""
  26214. #. type: item
  26215. #: guix-git/doc/guix.texi:17892
  26216. #, no-wrap
  26217. msgid "@code{xauth} (default: @code{xauth})"
  26218. msgstr ""
  26219. #. type: table
  26220. #: guix-git/doc/guix.texi:17894
  26221. msgid "The XAuth package to use."
  26222. msgstr ""
  26223. #. type: item
  26224. #: guix-git/doc/guix.texi:17895
  26225. #, no-wrap
  26226. msgid "@code{shepherd} (default: @code{shepherd})"
  26227. msgstr ""
  26228. #. type: table
  26229. #: guix-git/doc/guix.texi:17898
  26230. msgid "The Shepherd package used when invoking @command{halt} and @command{reboot}."
  26231. msgstr ""
  26232. #. type: item
  26233. #: guix-git/doc/guix.texi:17899
  26234. #, no-wrap
  26235. msgid "@code{sessreg} (default: @code{sessreg})"
  26236. msgstr ""
  26237. #. type: table
  26238. #: guix-git/doc/guix.texi:17901
  26239. msgid "The sessreg package used in order to register the session."
  26240. msgstr ""
  26241. #. type: item
  26242. #: guix-git/doc/guix.texi:17902
  26243. #, no-wrap
  26244. msgid "@code{slim} (default: @code{slim})"
  26245. msgstr ""
  26246. #. type: table
  26247. #: guix-git/doc/guix.texi:17904
  26248. msgid "The SLiM package to use."
  26249. msgstr ""
  26250. #. type: defvr
  26251. #: guix-git/doc/guix.texi:17907
  26252. #, no-wrap
  26253. msgid "{Scheme Variable} %default-theme"
  26254. msgstr ""
  26255. #. type: defvrx
  26256. #: guix-git/doc/guix.texi:17908
  26257. #, no-wrap
  26258. msgid "{Scheme Variable} %default-theme-name"
  26259. msgstr ""
  26260. #. type: defvr
  26261. #: guix-git/doc/guix.texi:17910
  26262. msgid "The default SLiM theme and its name."
  26263. msgstr ""
  26264. #. type: deftp
  26265. #: guix-git/doc/guix.texi:17913 guix-git/doc/guix.texi:18020
  26266. #, no-wrap
  26267. msgid "{Data Type} sddm-configuration"
  26268. msgstr ""
  26269. #. type: deftp
  26270. #: guix-git/doc/guix.texi:17915
  26271. msgid "This is the data type representing the SDDM service configuration."
  26272. msgstr ""
  26273. #. type: item
  26274. #: guix-git/doc/guix.texi:17917
  26275. #, no-wrap
  26276. msgid "@code{display-server} (default: \"x11\")"
  26277. msgstr ""
  26278. #. type: table
  26279. #: guix-git/doc/guix.texi:17920
  26280. msgid "Select display server to use for the greeter. Valid values are @samp{\"x11\"} or @samp{\"wayland\"}."
  26281. msgstr ""
  26282. #. type: item
  26283. #: guix-git/doc/guix.texi:17921
  26284. #, no-wrap
  26285. msgid "@code{numlock} (default: \"on\")"
  26286. msgstr ""
  26287. #. type: table
  26288. #: guix-git/doc/guix.texi:17923
  26289. msgid "Valid values are @samp{\"on\"}, @samp{\"off\"} or @samp{\"none\"}."
  26290. msgstr ""
  26291. #. type: item
  26292. #: guix-git/doc/guix.texi:17924
  26293. #, no-wrap
  26294. msgid "@code{halt-command} (default @code{#~(string-apppend #$shepherd \"/sbin/halt\")})"
  26295. msgstr ""
  26296. #. type: table
  26297. #: guix-git/doc/guix.texi:17926
  26298. msgid "Command to run when halting."
  26299. msgstr ""
  26300. #. type: item
  26301. #: guix-git/doc/guix.texi:17927
  26302. #, no-wrap
  26303. msgid "@code{reboot-command} (default @code{#~(string-append #$shepherd \"/sbin/reboot\")})"
  26304. msgstr ""
  26305. #. type: table
  26306. #: guix-git/doc/guix.texi:17929
  26307. msgid "Command to run when rebooting."
  26308. msgstr ""
  26309. #. type: item
  26310. #: guix-git/doc/guix.texi:17930
  26311. #, no-wrap
  26312. msgid "@code{theme} (default \"maldives\")"
  26313. msgstr ""
  26314. #. type: table
  26315. #: guix-git/doc/guix.texi:17933
  26316. msgid "Theme to use. Default themes provided by SDDM are @samp{\"elarun\"}, @samp{\"maldives\"} or @samp{\"maya\"}."
  26317. msgstr ""
  26318. #. type: item
  26319. #: guix-git/doc/guix.texi:17934
  26320. #, no-wrap
  26321. msgid "@code{themes-directory} (default \"/run/current-system/profile/share/sddm/themes\")"
  26322. msgstr ""
  26323. #. type: table
  26324. #: guix-git/doc/guix.texi:17936
  26325. msgid "Directory to look for themes."
  26326. msgstr ""
  26327. #. type: item
  26328. #: guix-git/doc/guix.texi:17937
  26329. #, no-wrap
  26330. msgid "@code{faces-directory} (default \"/run/current-system/profile/share/sddm/faces\")"
  26331. msgstr ""
  26332. #. type: table
  26333. #: guix-git/doc/guix.texi:17939
  26334. msgid "Directory to look for faces."
  26335. msgstr ""
  26336. #. type: item
  26337. #: guix-git/doc/guix.texi:17940
  26338. #, no-wrap
  26339. msgid "@code{default-path} (default \"/run/current-system/profile/bin\")"
  26340. msgstr ""
  26341. #. type: table
  26342. #: guix-git/doc/guix.texi:17942
  26343. msgid "Default PATH to use."
  26344. msgstr ""
  26345. #. type: item
  26346. #: guix-git/doc/guix.texi:17943
  26347. #, no-wrap
  26348. msgid "@code{minimum-uid} (default: 1000)"
  26349. msgstr ""
  26350. #. type: table
  26351. #: guix-git/doc/guix.texi:17945
  26352. msgid "Minimum UID displayed in SDDM and allowed for log-in."
  26353. msgstr ""
  26354. #. type: item
  26355. #: guix-git/doc/guix.texi:17946
  26356. #, no-wrap
  26357. msgid "@code{maximum-uid} (default: 2000)"
  26358. msgstr ""
  26359. #. type: table
  26360. #: guix-git/doc/guix.texi:17948
  26361. msgid "Maximum UID to display in SDDM."
  26362. msgstr ""
  26363. #. type: item
  26364. #: guix-git/doc/guix.texi:17949
  26365. #, no-wrap
  26366. msgid "@code{remember-last-user?} (default #t)"
  26367. msgstr ""
  26368. #. type: table
  26369. #: guix-git/doc/guix.texi:17951
  26370. msgid "Remember last user."
  26371. msgstr ""
  26372. #. type: item
  26373. #: guix-git/doc/guix.texi:17952
  26374. #, no-wrap
  26375. msgid "@code{remember-last-session?} (default #t)"
  26376. msgstr ""
  26377. #. type: table
  26378. #: guix-git/doc/guix.texi:17954
  26379. msgid "Remember last session."
  26380. msgstr ""
  26381. #. type: item
  26382. #: guix-git/doc/guix.texi:17955
  26383. #, no-wrap
  26384. msgid "@code{hide-users} (default \"\")"
  26385. msgstr ""
  26386. #. type: table
  26387. #: guix-git/doc/guix.texi:17957
  26388. msgid "Usernames to hide from SDDM greeter."
  26389. msgstr ""
  26390. #. type: item
  26391. #: guix-git/doc/guix.texi:17958
  26392. #, no-wrap
  26393. msgid "@code{hide-shells} (default @code{#~(string-append #$shadow \"/sbin/nologin\")})"
  26394. msgstr ""
  26395. #. type: table
  26396. #: guix-git/doc/guix.texi:17960
  26397. msgid "Users with shells listed will be hidden from the SDDM greeter."
  26398. msgstr ""
  26399. #. type: item
  26400. #: guix-git/doc/guix.texi:17961
  26401. #, no-wrap
  26402. msgid "@code{session-command} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/wayland-session\")})"
  26403. msgstr ""
  26404. #. type: table
  26405. #: guix-git/doc/guix.texi:17963
  26406. msgid "Script to run before starting a wayland session."
  26407. msgstr ""
  26408. #. type: item
  26409. #: guix-git/doc/guix.texi:17964
  26410. #, no-wrap
  26411. msgid "@code{sessions-directory} (default \"/run/current-system/profile/share/wayland-sessions\")"
  26412. msgstr ""
  26413. #. type: table
  26414. #: guix-git/doc/guix.texi:17966
  26415. msgid "Directory to look for desktop files starting wayland sessions."
  26416. msgstr ""
  26417. #. type: item
  26418. #: guix-git/doc/guix.texi:17970
  26419. #, no-wrap
  26420. msgid "@code{xauth-path} (default @code{#~(string-append #$xauth \"/bin/xauth\")})"
  26421. msgstr ""
  26422. #. type: table
  26423. #: guix-git/doc/guix.texi:17972
  26424. msgid "Path to xauth."
  26425. msgstr ""
  26426. #. type: item
  26427. #: guix-git/doc/guix.texi:17973
  26428. #, no-wrap
  26429. msgid "@code{xephyr-path} (default @code{#~(string-append #$xorg-server \"/bin/Xephyr\")})"
  26430. msgstr ""
  26431. #. type: table
  26432. #: guix-git/doc/guix.texi:17975
  26433. msgid "Path to Xephyr."
  26434. msgstr ""
  26435. #. type: item
  26436. #: guix-git/doc/guix.texi:17976
  26437. #, no-wrap
  26438. msgid "@code{xdisplay-start} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xsetup\")})"
  26439. msgstr ""
  26440. #. type: table
  26441. #: guix-git/doc/guix.texi:17978
  26442. msgid "Script to run after starting xorg-server."
  26443. msgstr ""
  26444. #. type: item
  26445. #: guix-git/doc/guix.texi:17979
  26446. #, no-wrap
  26447. msgid "@code{xdisplay-stop} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xstop\")})"
  26448. msgstr ""
  26449. #. type: table
  26450. #: guix-git/doc/guix.texi:17981
  26451. msgid "Script to run before stopping xorg-server."
  26452. msgstr ""
  26453. #. type: item
  26454. #: guix-git/doc/guix.texi:17982
  26455. #, no-wrap
  26456. msgid "@code{xsession-command} (default: @code{xinitrc})"
  26457. msgstr ""
  26458. #. type: item
  26459. #: guix-git/doc/guix.texi:17985
  26460. #, no-wrap
  26461. msgid "@code{xsessions-directory} (default: \"/run/current-system/profile/share/xsessions\")"
  26462. msgstr ""
  26463. #. type: table
  26464. #: guix-git/doc/guix.texi:17987
  26465. msgid "Directory to look for desktop files starting X sessions."
  26466. msgstr ""
  26467. #. type: item
  26468. #: guix-git/doc/guix.texi:17988
  26469. #, no-wrap
  26470. msgid "@code{minimum-vt} (default: 7)"
  26471. msgstr ""
  26472. #. type: table
  26473. #: guix-git/doc/guix.texi:17990
  26474. msgid "Minimum VT to use."
  26475. msgstr ""
  26476. #. type: item
  26477. #: guix-git/doc/guix.texi:17991
  26478. #, no-wrap
  26479. msgid "@code{auto-login-user} (default \"\")"
  26480. msgstr ""
  26481. #. type: table
  26482. #: guix-git/doc/guix.texi:17993
  26483. msgid "User to use for auto-login."
  26484. msgstr ""
  26485. #. type: item
  26486. #: guix-git/doc/guix.texi:17994
  26487. #, no-wrap
  26488. msgid "@code{auto-login-session} (default \"\")"
  26489. msgstr ""
  26490. #. type: table
  26491. #: guix-git/doc/guix.texi:17996
  26492. msgid "Desktop file to use for auto-login."
  26493. msgstr ""
  26494. #. type: item
  26495. #: guix-git/doc/guix.texi:17997
  26496. #, no-wrap
  26497. msgid "@code{relogin?} (default #f)"
  26498. msgstr ""
  26499. #. type: table
  26500. #: guix-git/doc/guix.texi:17999
  26501. msgid "Relogin after logout."
  26502. msgstr ""
  26503. #. type: cindex
  26504. #: guix-git/doc/guix.texi:18004
  26505. #, no-wrap
  26506. msgid "X11 login"
  26507. msgstr ""
  26508. #. type: defvr
  26509. #: guix-git/doc/guix.texi:18005
  26510. #, no-wrap
  26511. msgid "{Scheme Variable} sddm-service-type"
  26512. msgstr ""
  26513. #. type: defvr
  26514. #: guix-git/doc/guix.texi:18009
  26515. 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)."
  26516. msgstr ""
  26517. #. type: defvr
  26518. #: guix-git/doc/guix.texi:18011
  26519. msgid "Here's an example use:"
  26520. msgstr ""
  26521. #. type: lisp
  26522. #: guix-git/doc/guix.texi:18017
  26523. #, no-wrap
  26524. msgid ""
  26525. "(service sddm-service-type\n"
  26526. " (sddm-configuration\n"
  26527. " (auto-login-user \"alice\")\n"
  26528. " (auto-login-session \"xfce.desktop\")))\n"
  26529. msgstr ""
  26530. #. type: deftp
  26531. #: guix-git/doc/guix.texi:18023
  26532. msgid "This data type represents the configuration of the SDDM login manager. The available fields are:"
  26533. msgstr ""
  26534. #. type: item
  26535. #: guix-git/doc/guix.texi:18025
  26536. #, no-wrap
  26537. msgid "@code{sddm} (default: @code{sddm})"
  26538. msgstr ""
  26539. #. type: table
  26540. #: guix-git/doc/guix.texi:18027
  26541. msgid "The SDDM package to use."
  26542. msgstr ""
  26543. #. type: item
  26544. #: guix-git/doc/guix.texi:18028
  26545. #, no-wrap
  26546. msgid "@code{display-server} (default: @code{\"x11\"})"
  26547. msgstr ""
  26548. #. type: table
  26549. #: guix-git/doc/guix.texi:18030
  26550. msgid "This must be either @code{\"x11\"} or @code{\"wayland\"}."
  26551. msgstr ""
  26552. #. type: item
  26553. #: guix-git/doc/guix.texi:18033
  26554. #, no-wrap
  26555. msgid "@code{auto-login-user} (default: @code{\"\"})"
  26556. msgstr ""
  26557. #. type: table
  26558. #: guix-git/doc/guix.texi:18036
  26559. msgid "If non-empty, this is the user account under which to log in automatically."
  26560. msgstr ""
  26561. #. type: item
  26562. #: guix-git/doc/guix.texi:18037
  26563. #, no-wrap
  26564. msgid "@code{auto-login-session} (default: @code{\"\"})"
  26565. msgstr ""
  26566. #. type: table
  26567. #: guix-git/doc/guix.texi:18040
  26568. msgid "If non-empty, this is the @file{.desktop} file name to use as the auto-login session."
  26569. msgstr ""
  26570. #. type: cindex
  26571. #: guix-git/doc/guix.texi:18043
  26572. #, no-wrap
  26573. msgid "Xorg, configuration"
  26574. msgstr ""
  26575. #. type: deftp
  26576. #: guix-git/doc/guix.texi:18044
  26577. #, no-wrap
  26578. msgid "{Data Type} xorg-configuration"
  26579. msgstr ""
  26580. #. type: deftp
  26581. #: guix-git/doc/guix.texi:18049
  26582. 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."
  26583. msgstr ""
  26584. #. type: item
  26585. #: guix-git/doc/guix.texi:18051
  26586. #, no-wrap
  26587. msgid "@code{modules} (default: @code{%default-xorg-modules})"
  26588. msgstr ""
  26589. #. type: table
  26590. #: guix-git/doc/guix.texi:18054
  26591. 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."
  26592. msgstr ""
  26593. #. type: item
  26594. #: guix-git/doc/guix.texi:18055
  26595. #, no-wrap
  26596. msgid "@code{fonts} (default: @code{%default-xorg-fonts})"
  26597. msgstr ""
  26598. #. type: table
  26599. #: guix-git/doc/guix.texi:18057
  26600. msgid "This is a list of font directories to add to the server's @dfn{font path}."
  26601. msgstr ""
  26602. #. type: item
  26603. #: guix-git/doc/guix.texi:18058
  26604. #, no-wrap
  26605. msgid "@code{drivers} (default: @code{'()})"
  26606. msgstr ""
  26607. #. type: table
  26608. #: guix-git/doc/guix.texi:18062
  26609. 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\")}."
  26610. msgstr ""
  26611. #. type: item
  26612. #: guix-git/doc/guix.texi:18063
  26613. #, no-wrap
  26614. msgid "@code{resolutions} (default: @code{'()})"
  26615. msgstr ""
  26616. #. type: table
  26617. #: guix-git/doc/guix.texi:18067
  26618. 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))}."
  26619. msgstr ""
  26620. #. type: cindex
  26621. #: guix-git/doc/guix.texi:18068
  26622. #, no-wrap
  26623. msgid "keyboard layout, for Xorg"
  26624. msgstr "disposição do teclado, para Xorg"
  26625. #. type: cindex
  26626. #: guix-git/doc/guix.texi:18069
  26627. #, no-wrap
  26628. msgid "keymap, for Xorg"
  26629. msgstr ""
  26630. #. type: table
  26631. #: guix-git/doc/guix.texi:18073
  26632. msgid "If this is @code{#f}, Xorg uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  26633. msgstr ""
  26634. #. type: table
  26635. #: guix-git/doc/guix.texi:18077
  26636. 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."
  26637. msgstr ""
  26638. #. type: item
  26639. #: guix-git/doc/guix.texi:18078 guix-git/doc/guix.texi:19789
  26640. #: guix-git/doc/guix.texi:31970
  26641. #, no-wrap
  26642. msgid "@code{extra-config} (default: @code{'()})"
  26643. msgstr ""
  26644. #. type: table
  26645. #: guix-git/doc/guix.texi:18081 guix-git/doc/guix.texi:31974
  26646. 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."
  26647. msgstr ""
  26648. #. type: item
  26649. #: guix-git/doc/guix.texi:18082
  26650. #, no-wrap
  26651. msgid "@code{server} (default: @code{xorg-server})"
  26652. msgstr ""
  26653. #. type: table
  26654. #: guix-git/doc/guix.texi:18084
  26655. msgid "This is the package providing the Xorg server."
  26656. msgstr ""
  26657. #. type: item
  26658. #: guix-git/doc/guix.texi:18085
  26659. #, no-wrap
  26660. msgid "@code{server-arguments} (default: @code{%default-xorg-server-arguments})"
  26661. msgstr ""
  26662. #. type: table
  26663. #: guix-git/doc/guix.texi:18088
  26664. msgid "This is the list of command-line arguments to pass to the X server. The default is @code{-nolisten tcp}."
  26665. msgstr ""
  26666. #. type: deffn
  26667. #: guix-git/doc/guix.texi:18091
  26668. #, no-wrap
  26669. msgid "{Scheme Procedure} set-xorg-configuration @var{config} @"
  26670. msgstr ""
  26671. #. type: deffn
  26672. #: guix-git/doc/guix.texi:18095
  26673. 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."
  26674. msgstr ""
  26675. #. type: deffn
  26676. #: guix-git/doc/guix.texi:18099
  26677. 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."
  26678. msgstr ""
  26679. #. type: deffn
  26680. #: guix-git/doc/guix.texi:18101
  26681. #, no-wrap
  26682. msgid "{Scheme Procedure} xorg-start-command [@var{config}]"
  26683. msgstr ""
  26684. #. type: deffn
  26685. #: guix-git/doc/guix.texi:18105
  26686. 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}."
  26687. msgstr ""
  26688. #. type: deffn
  26689. #: guix-git/doc/guix.texi:18107
  26690. msgid "Usually the X server is started by a login manager."
  26691. msgstr ""
  26692. #. type: deffn
  26693. #: guix-git/doc/guix.texi:18110
  26694. #, no-wrap
  26695. msgid "{Scheme Procedure} screen-locker-service @var{package} [@var{program}]"
  26696. msgstr ""
  26697. #. type: deffn
  26698. #: guix-git/doc/guix.texi:18114
  26699. 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:"
  26700. msgstr ""
  26701. #. type: lisp
  26702. #: guix-git/doc/guix.texi:18117
  26703. #, no-wrap
  26704. msgid "(screen-locker-service xlockmore \"xlock\")\n"
  26705. msgstr ""
  26706. #. type: deffn
  26707. #: guix-git/doc/guix.texi:18120
  26708. msgid "makes the good ol' XlockMore usable."
  26709. msgstr ""
  26710. #. type: cindex
  26711. #: guix-git/doc/guix.texi:18126
  26712. #, no-wrap
  26713. msgid "printer support with CUPS"
  26714. msgstr ""
  26715. #. type: Plain text
  26716. #: guix-git/doc/guix.texi:18130
  26717. 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:"
  26718. msgstr ""
  26719. #. type: deffn
  26720. #: guix-git/doc/guix.texi:18131
  26721. #, no-wrap
  26722. msgid "{Scheme Variable} cups-service-type"
  26723. msgstr ""
  26724. #. type: deffn
  26725. #: guix-git/doc/guix.texi:18135
  26726. 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:"
  26727. msgstr ""
  26728. #. type: lisp
  26729. #: guix-git/doc/guix.texi:18137
  26730. #, no-wrap
  26731. msgid "(service cups-service-type)\n"
  26732. msgstr ""
  26733. #. type: Plain text
  26734. #: guix-git/doc/guix.texi:18147
  26735. 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."
  26736. msgstr ""
  26737. #. type: Plain text
  26738. #: guix-git/doc/guix.texi:18153
  26739. 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):"
  26740. msgstr ""
  26741. #. type: lisp
  26742. #: guix-git/doc/guix.texi:18160
  26743. #, no-wrap
  26744. msgid ""
  26745. "(service cups-service-type\n"
  26746. " (cups-configuration\n"
  26747. " (web-interface? #t)\n"
  26748. " (extensions\n"
  26749. " (list cups-filters epson-inkjet-printer-escpr hplip-minimal))))\n"
  26750. msgstr ""
  26751. #. type: Plain text
  26752. #: guix-git/doc/guix.texi:18165
  26753. 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."
  26754. msgstr ""
  26755. #. type: Plain text
  26756. #: guix-git/doc/guix.texi:18172
  26757. 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."
  26758. msgstr ""
  26759. #. type: Plain text
  26760. #: guix-git/doc/guix.texi:18183
  26761. msgid "Available @code{cups-configuration} fields are:"
  26762. msgstr ""
  26763. #. type: deftypevr
  26764. #: guix-git/doc/guix.texi:18184
  26765. #, no-wrap
  26766. msgid "{@code{cups-configuration} parameter} package cups"
  26767. msgstr ""
  26768. #. type: deftypevr
  26769. #: guix-git/doc/guix.texi:18186 guix-git/doc/guix.texi:18954
  26770. msgid "The CUPS package."
  26771. msgstr ""
  26772. #. type: deftypevr
  26773. #: guix-git/doc/guix.texi:18188
  26774. #, no-wrap
  26775. msgid "{@code{cups-configuration} parameter} package-list extensions (default: @code{(list brlaser cups-filters epson-inkjet-printer-escpr foomatic-filters hplip-minimal splix)})"
  26776. msgstr ""
  26777. #. type: deftypevr
  26778. #: guix-git/doc/guix.texi:18190
  26779. msgid "Drivers and other extensions to the CUPS package."
  26780. msgstr ""
  26781. #. type: deftypevr
  26782. #: guix-git/doc/guix.texi:18192
  26783. #, no-wrap
  26784. msgid "{@code{cups-configuration} parameter} files-configuration files-configuration"
  26785. msgstr ""
  26786. #. type: deftypevr
  26787. #: guix-git/doc/guix.texi:18195
  26788. msgid "Configuration of where to write logs, what directories to use for print spools, and related privileged configuration parameters."
  26789. msgstr ""
  26790. #. type: deftypevr
  26791. #: guix-git/doc/guix.texi:18197
  26792. msgid "Available @code{files-configuration} fields are:"
  26793. msgstr ""
  26794. #. type: deftypevr
  26795. #: guix-git/doc/guix.texi:18198
  26796. #, no-wrap
  26797. msgid "{@code{files-configuration} parameter} log-location access-log"
  26798. msgstr ""
  26799. #. type: deftypevr
  26800. #: guix-git/doc/guix.texi:18206
  26801. 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}."
  26802. msgstr ""
  26803. #. type: deftypevr
  26804. #: guix-git/doc/guix.texi:18208
  26805. msgid "Defaults to @samp{\"/var/log/cups/access_log\"}."
  26806. msgstr ""
  26807. #. type: deftypevr
  26808. #: guix-git/doc/guix.texi:18210
  26809. #, no-wrap
  26810. msgid "{@code{files-configuration} parameter} file-name cache-dir"
  26811. msgstr ""
  26812. #. type: deftypevr
  26813. #: guix-git/doc/guix.texi:18212
  26814. msgid "Where CUPS should cache data."
  26815. msgstr ""
  26816. #. type: deftypevr
  26817. #: guix-git/doc/guix.texi:18214
  26818. msgid "Defaults to @samp{\"/var/cache/cups\"}."
  26819. msgstr ""
  26820. #. type: deftypevr
  26821. #: guix-git/doc/guix.texi:18216
  26822. #, no-wrap
  26823. msgid "{@code{files-configuration} parameter} string config-file-perm"
  26824. msgstr ""
  26825. #. type: deftypevr
  26826. #: guix-git/doc/guix.texi:18219
  26827. msgid "Specifies the permissions for all configuration files that the scheduler writes."
  26828. msgstr ""
  26829. #. type: deftypevr
  26830. #: guix-git/doc/guix.texi:18225
  26831. 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."
  26832. msgstr ""
  26833. #. type: deftypevr
  26834. #: guix-git/doc/guix.texi:18227
  26835. msgid "Defaults to @samp{\"0640\"}."
  26836. msgstr ""
  26837. #. type: deftypevr
  26838. #: guix-git/doc/guix.texi:18229
  26839. #, no-wrap
  26840. msgid "{@code{files-configuration} parameter} log-location error-log"
  26841. msgstr ""
  26842. #. type: deftypevr
  26843. #: guix-git/doc/guix.texi:18237
  26844. 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}."
  26845. msgstr ""
  26846. #. type: deftypevr
  26847. #: guix-git/doc/guix.texi:18239
  26848. msgid "Defaults to @samp{\"/var/log/cups/error_log\"}."
  26849. msgstr ""
  26850. #. type: deftypevr
  26851. #: guix-git/doc/guix.texi:18241
  26852. #, no-wrap
  26853. msgid "{@code{files-configuration} parameter} string fatal-errors"
  26854. msgstr ""
  26855. #. type: deftypevr
  26856. #: guix-git/doc/guix.texi:18244
  26857. msgid "Specifies which errors are fatal, causing the scheduler to exit. The kind strings are:"
  26858. msgstr ""
  26859. #. type: table
  26860. #: guix-git/doc/guix.texi:18248
  26861. msgid "No errors are fatal."
  26862. msgstr ""
  26863. #. type: table
  26864. #: guix-git/doc/guix.texi:18251
  26865. msgid "All of the errors below are fatal."
  26866. msgstr ""
  26867. #. type: item
  26868. #: guix-git/doc/guix.texi:18252
  26869. #, no-wrap
  26870. msgid "browse"
  26871. msgstr ""
  26872. #. type: table
  26873. #: guix-git/doc/guix.texi:18255
  26874. msgid "Browsing initialization errors are fatal, for example failed connections to the DNS-SD daemon."
  26875. msgstr ""
  26876. #. type: item
  26877. #: guix-git/doc/guix.texi:18256
  26878. #, no-wrap
  26879. msgid "config"
  26880. msgstr "config"
  26881. #. type: table
  26882. #: guix-git/doc/guix.texi:18258
  26883. msgid "Configuration file syntax errors are fatal."
  26884. msgstr ""
  26885. #. type: item
  26886. #: guix-git/doc/guix.texi:18259
  26887. #, no-wrap
  26888. msgid "listen"
  26889. msgstr ""
  26890. #. type: table
  26891. #: guix-git/doc/guix.texi:18262
  26892. msgid "Listen or Port errors are fatal, except for IPv6 failures on the loopback or @code{any} addresses."
  26893. msgstr ""
  26894. #. type: item
  26895. #: guix-git/doc/guix.texi:18263
  26896. #, no-wrap
  26897. msgid "log"
  26898. msgstr ""
  26899. #. type: table
  26900. #: guix-git/doc/guix.texi:18265
  26901. msgid "Log file creation or write errors are fatal."
  26902. msgstr ""
  26903. #. type: item
  26904. #: guix-git/doc/guix.texi:18266
  26905. #, no-wrap
  26906. msgid "permissions"
  26907. msgstr ""
  26908. #. type: table
  26909. #: guix-git/doc/guix.texi:18269
  26910. msgid "Bad startup file permissions are fatal, for example shared TLS certificate and key files with world-read permissions."
  26911. msgstr ""
  26912. #. type: deftypevr
  26913. #: guix-git/doc/guix.texi:18272
  26914. msgid "Defaults to @samp{\"all -browse\"}."
  26915. msgstr ""
  26916. #. type: deftypevr
  26917. #: guix-git/doc/guix.texi:18274
  26918. #, no-wrap
  26919. msgid "{@code{files-configuration} parameter} boolean file-device?"
  26920. msgstr ""
  26921. #. type: deftypevr
  26922. #: guix-git/doc/guix.texi:18277
  26923. msgid "Specifies whether the file pseudo-device can be used for new printer queues. The URI @uref{file:///dev/null} is always allowed."
  26924. msgstr ""
  26925. #. type: deftypevr
  26926. #: guix-git/doc/guix.texi:18279 guix-git/doc/guix.texi:18349
  26927. #: guix-git/doc/guix.texi:18391 guix-git/doc/guix.texi:18411
  26928. #: guix-git/doc/guix.texi:18417 guix-git/doc/guix.texi:18433
  26929. #: guix-git/doc/guix.texi:18521 guix-git/doc/guix.texi:18615
  26930. #: guix-git/doc/guix.texi:18928 guix-git/doc/guix.texi:18941
  26931. #: guix-git/doc/guix.texi:21490 guix-git/doc/guix.texi:21596
  26932. #: guix-git/doc/guix.texi:21661 guix-git/doc/guix.texi:21670
  26933. #: guix-git/doc/guix.texi:22675 guix-git/doc/guix.texi:22719
  26934. #: guix-git/doc/guix.texi:22736 guix-git/doc/guix.texi:22744
  26935. #: guix-git/doc/guix.texi:22759 guix-git/doc/guix.texi:22777
  26936. #: guix-git/doc/guix.texi:22801 guix-git/doc/guix.texi:22854
  26937. #: guix-git/doc/guix.texi:22987 guix-git/doc/guix.texi:23021
  26938. #: guix-git/doc/guix.texi:23057 guix-git/doc/guix.texi:23073
  26939. #: guix-git/doc/guix.texi:23101 guix-git/doc/guix.texi:23162
  26940. #: guix-git/doc/guix.texi:23245 guix-git/doc/guix.texi:26638
  26941. #: guix-git/doc/guix.texi:26652 guix-git/doc/guix.texi:26674
  26942. #: guix-git/doc/guix.texi:26793 guix-git/doc/guix.texi:26807
  26943. #: guix-git/doc/guix.texi:26828 guix-git/doc/guix.texi:26849
  26944. #: guix-git/doc/guix.texi:26856 guix-git/doc/guix.texi:26901
  26945. #: guix-git/doc/guix.texi:26908 guix-git/doc/guix.texi:27641
  26946. #: guix-git/doc/guix.texi:27655 guix-git/doc/guix.texi:27827
  26947. #: guix-git/doc/guix.texi:27872 guix-git/doc/guix.texi:27959
  26948. #: guix-git/doc/guix.texi:28161 guix-git/doc/guix.texi:28194
  26949. #: guix-git/doc/guix.texi:28334 guix-git/doc/guix.texi:28345
  26950. #: guix-git/doc/guix.texi:28596 guix-git/doc/guix.texi:30061
  26951. #: guix-git/doc/guix.texi:30070 guix-git/doc/guix.texi:30078
  26952. #: guix-git/doc/guix.texi:30086 guix-git/doc/guix.texi:30102
  26953. #: guix-git/doc/guix.texi:30118 guix-git/doc/guix.texi:30126
  26954. #: guix-git/doc/guix.texi:30134 guix-git/doc/guix.texi:30143
  26955. #: guix-git/doc/guix.texi:30152 guix-git/doc/guix.texi:30168
  26956. #: guix-git/doc/guix.texi:30232 guix-git/doc/guix.texi:30338
  26957. #: guix-git/doc/guix.texi:30346 guix-git/doc/guix.texi:30354
  26958. #: guix-git/doc/guix.texi:30379 guix-git/doc/guix.texi:30433
  26959. #: guix-git/doc/guix.texi:30481 guix-git/doc/guix.texi:30682
  26960. #: guix-git/doc/guix.texi:30689
  26961. msgid "Defaults to @samp{#f}."
  26962. msgstr ""
  26963. #. type: deftypevr
  26964. #: guix-git/doc/guix.texi:18281
  26965. #, no-wrap
  26966. msgid "{@code{files-configuration} parameter} string group"
  26967. msgstr ""
  26968. #. type: deftypevr
  26969. #: guix-git/doc/guix.texi:18284
  26970. msgid "Specifies the group name or ID that will be used when executing external programs."
  26971. msgstr ""
  26972. #. type: deftypevr
  26973. #: guix-git/doc/guix.texi:18286 guix-git/doc/guix.texi:18366
  26974. msgid "Defaults to @samp{\"lp\"}."
  26975. msgstr ""
  26976. #. type: deftypevr
  26977. #: guix-git/doc/guix.texi:18288
  26978. #, no-wrap
  26979. msgid "{@code{files-configuration} parameter} string log-file-perm"
  26980. msgstr ""
  26981. #. type: deftypevr
  26982. #: guix-git/doc/guix.texi:18290
  26983. msgid "Specifies the permissions for all log files that the scheduler writes."
  26984. msgstr ""
  26985. #. type: deftypevr
  26986. #: guix-git/doc/guix.texi:18292
  26987. msgid "Defaults to @samp{\"0644\"}."
  26988. msgstr ""
  26989. #. type: deftypevr
  26990. #: guix-git/doc/guix.texi:18294
  26991. #, no-wrap
  26992. msgid "{@code{files-configuration} parameter} log-location page-log"
  26993. msgstr ""
  26994. #. type: deftypevr
  26995. #: guix-git/doc/guix.texi:18302
  26996. 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}."
  26997. msgstr ""
  26998. #. type: deftypevr
  26999. #: guix-git/doc/guix.texi:18304
  27000. msgid "Defaults to @samp{\"/var/log/cups/page_log\"}."
  27001. msgstr ""
  27002. #. type: deftypevr
  27003. #: guix-git/doc/guix.texi:18306
  27004. #, no-wrap
  27005. msgid "{@code{files-configuration} parameter} string remote-root"
  27006. msgstr ""
  27007. #. type: deftypevr
  27008. #: guix-git/doc/guix.texi:18309
  27009. msgid "Specifies the username that is associated with unauthenticated accesses by clients claiming to be the root user. The default is @code{remroot}."
  27010. msgstr ""
  27011. #. type: deftypevr
  27012. #: guix-git/doc/guix.texi:18311
  27013. msgid "Defaults to @samp{\"remroot\"}."
  27014. msgstr ""
  27015. #. type: deftypevr
  27016. #: guix-git/doc/guix.texi:18313
  27017. #, no-wrap
  27018. msgid "{@code{files-configuration} parameter} file-name request-root"
  27019. msgstr ""
  27020. #. type: deftypevr
  27021. #: guix-git/doc/guix.texi:18316
  27022. msgid "Specifies the directory that contains print jobs and other HTTP request data."
  27023. msgstr ""
  27024. #. type: deftypevr
  27025. #: guix-git/doc/guix.texi:18318
  27026. msgid "Defaults to @samp{\"/var/spool/cups\"}."
  27027. msgstr ""
  27028. #. type: deftypevr
  27029. #: guix-git/doc/guix.texi:18320
  27030. #, no-wrap
  27031. msgid "{@code{files-configuration} parameter} sandboxing sandboxing"
  27032. msgstr ""
  27033. #. type: deftypevr
  27034. #: guix-git/doc/guix.texi:18325
  27035. 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."
  27036. msgstr ""
  27037. #. type: deftypevr
  27038. #: guix-git/doc/guix.texi:18327
  27039. msgid "Defaults to @samp{strict}."
  27040. msgstr ""
  27041. #. type: deftypevr
  27042. #: guix-git/doc/guix.texi:18329
  27043. #, no-wrap
  27044. msgid "{@code{files-configuration} parameter} file-name server-keychain"
  27045. msgstr ""
  27046. #. type: deftypevr
  27047. #: guix-git/doc/guix.texi:18334
  27048. 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."
  27049. msgstr ""
  27050. #. type: deftypevr
  27051. #: guix-git/doc/guix.texi:18336
  27052. msgid "Defaults to @samp{\"/etc/cups/ssl\"}."
  27053. msgstr ""
  27054. #. type: deftypevr
  27055. #: guix-git/doc/guix.texi:18338
  27056. #, no-wrap
  27057. msgid "{@code{files-configuration} parameter} file-name server-root"
  27058. msgstr ""
  27059. #. type: deftypevr
  27060. #: guix-git/doc/guix.texi:18340
  27061. msgid "Specifies the directory containing the server configuration files."
  27062. msgstr ""
  27063. #. type: deftypevr
  27064. #: guix-git/doc/guix.texi:18342
  27065. msgid "Defaults to @samp{\"/etc/cups\"}."
  27066. msgstr ""
  27067. #. type: deftypevr
  27068. #: guix-git/doc/guix.texi:18344
  27069. #, no-wrap
  27070. msgid "{@code{files-configuration} parameter} boolean sync-on-close?"
  27071. msgstr ""
  27072. #. type: deftypevr
  27073. #: guix-git/doc/guix.texi:18347
  27074. msgid "Specifies whether the scheduler calls fsync(2) after writing configuration or state files."
  27075. msgstr ""
  27076. #. type: deftypevr
  27077. #: guix-git/doc/guix.texi:18351
  27078. #, no-wrap
  27079. msgid "{@code{files-configuration} parameter} space-separated-string-list system-group"
  27080. msgstr ""
  27081. #. type: deftypevr
  27082. #: guix-git/doc/guix.texi:18353
  27083. msgid "Specifies the group(s) to use for @code{@@SYSTEM} group authentication."
  27084. msgstr ""
  27085. #. type: deftypevr
  27086. #: guix-git/doc/guix.texi:18355
  27087. #, no-wrap
  27088. msgid "{@code{files-configuration} parameter} file-name temp-dir"
  27089. msgstr ""
  27090. #. type: deftypevr
  27091. #: guix-git/doc/guix.texi:18357
  27092. msgid "Specifies the directory where temporary files are stored."
  27093. msgstr ""
  27094. #. type: deftypevr
  27095. #: guix-git/doc/guix.texi:18359
  27096. msgid "Defaults to @samp{\"/var/spool/cups/tmp\"}."
  27097. msgstr ""
  27098. #. type: deftypevr
  27099. #: guix-git/doc/guix.texi:18361
  27100. #, no-wrap
  27101. msgid "{@code{files-configuration} parameter} string user"
  27102. msgstr ""
  27103. #. type: deftypevr
  27104. #: guix-git/doc/guix.texi:18364
  27105. msgid "Specifies the user name or ID that is used when running external programs."
  27106. msgstr ""
  27107. #. type: deftypevr
  27108. #: guix-git/doc/guix.texi:18368
  27109. #, no-wrap
  27110. msgid "{@code{files-configuration} parameter} string set-env"
  27111. msgstr ""
  27112. #. type: deftypevr
  27113. #: guix-git/doc/guix.texi:18370
  27114. msgid "Set the specified environment variable to be passed to child processes."
  27115. msgstr ""
  27116. #. type: deftypevr
  27117. #: guix-git/doc/guix.texi:18372
  27118. msgid "Defaults to @samp{\"variable value\"}."
  27119. msgstr ""
  27120. #. type: deftypevr
  27121. #: guix-git/doc/guix.texi:18375
  27122. #, no-wrap
  27123. msgid "{@code{cups-configuration} parameter} access-log-level access-log-level"
  27124. msgstr ""
  27125. #. type: deftypevr
  27126. #: guix-git/doc/guix.texi:18382
  27127. 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."
  27128. msgstr ""
  27129. #. type: deftypevr
  27130. #: guix-git/doc/guix.texi:18384
  27131. msgid "Defaults to @samp{actions}."
  27132. msgstr ""
  27133. #. type: deftypevr
  27134. #: guix-git/doc/guix.texi:18386
  27135. #, no-wrap
  27136. msgid "{@code{cups-configuration} parameter} boolean auto-purge-jobs?"
  27137. msgstr ""
  27138. #. type: deftypevr
  27139. #: guix-git/doc/guix.texi:18389
  27140. msgid "Specifies whether to purge job history data automatically when it is no longer required for quotas."
  27141. msgstr ""
  27142. #. type: deftypevr
  27143. #: guix-git/doc/guix.texi:18393
  27144. #, no-wrap
  27145. msgid "{@code{cups-configuration} parameter} comma-separated-string-list browse-dns-sd-sub-types"
  27146. msgstr ""
  27147. #. type: deftypevr
  27148. #: guix-git/doc/guix.texi:18397
  27149. 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."
  27150. msgstr ""
  27151. #. type: deftypevr
  27152. #: guix-git/doc/guix.texi:18399
  27153. msgid "Defaults to @samp{\"_cups\"}."
  27154. msgstr ""
  27155. #. type: deftypevr
  27156. #: guix-git/doc/guix.texi:18401
  27157. #, no-wrap
  27158. msgid "{@code{cups-configuration} parameter} browse-local-protocols browse-local-protocols"
  27159. msgstr ""
  27160. #. type: deftypevr
  27161. #: guix-git/doc/guix.texi:18403
  27162. msgid "Specifies which protocols to use for local printer sharing."
  27163. msgstr ""
  27164. #. type: deftypevr
  27165. #: guix-git/doc/guix.texi:18405
  27166. msgid "Defaults to @samp{dnssd}."
  27167. msgstr ""
  27168. #. type: deftypevr
  27169. #: guix-git/doc/guix.texi:18407
  27170. #, no-wrap
  27171. msgid "{@code{cups-configuration} parameter} boolean browse-web-if?"
  27172. msgstr ""
  27173. #. type: deftypevr
  27174. #: guix-git/doc/guix.texi:18409
  27175. msgid "Specifies whether the CUPS web interface is advertised."
  27176. msgstr ""
  27177. #. type: deftypevr
  27178. #: guix-git/doc/guix.texi:18413
  27179. #, no-wrap
  27180. msgid "{@code{cups-configuration} parameter} boolean browsing?"
  27181. msgstr ""
  27182. #. type: deftypevr
  27183. #: guix-git/doc/guix.texi:18415
  27184. msgid "Specifies whether shared printers are advertised."
  27185. msgstr ""
  27186. #. type: deftypevr
  27187. #: guix-git/doc/guix.texi:18419
  27188. #, no-wrap
  27189. msgid "{@code{cups-configuration} parameter} string classification"
  27190. msgstr ""
  27191. #. type: deftypevr
  27192. #: guix-git/doc/guix.texi:18424
  27193. 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."
  27194. msgstr ""
  27195. #. type: deftypevr
  27196. #: guix-git/doc/guix.texi:18426 guix-git/doc/guix.texi:18763
  27197. #: guix-git/doc/guix.texi:20711 guix-git/doc/guix.texi:20723
  27198. #: guix-git/doc/guix.texi:21497 guix-git/doc/guix.texi:21511
  27199. #: guix-git/doc/guix.texi:21518 guix-git/doc/guix.texi:21525
  27200. #: guix-git/doc/guix.texi:21555 guix-git/doc/guix.texi:21653
  27201. #: guix-git/doc/guix.texi:23544 guix-git/doc/guix.texi:23570
  27202. #: guix-git/doc/guix.texi:23606 guix-git/doc/guix.texi:23652
  27203. #: guix-git/doc/guix.texi:23671 guix-git/doc/guix.texi:23710
  27204. #: guix-git/doc/guix.texi:23769 guix-git/doc/guix.texi:23779
  27205. #: guix-git/doc/guix.texi:28300 guix-git/doc/guix.texi:28308
  27206. #: guix-git/doc/guix.texi:28316 guix-git/doc/guix.texi:28324
  27207. #: guix-git/doc/guix.texi:28603 guix-git/doc/guix.texi:29904
  27208. #: guix-git/doc/guix.texi:29912 guix-git/doc/guix.texi:29920
  27209. #: guix-git/doc/guix.texi:30028 guix-git/doc/guix.texi:30053
  27210. #: guix-git/doc/guix.texi:30184 guix-git/doc/guix.texi:30192
  27211. #: guix-git/doc/guix.texi:30200 guix-git/doc/guix.texi:30208
  27212. #: guix-git/doc/guix.texi:30216 guix-git/doc/guix.texi:30224
  27213. #: guix-git/doc/guix.texi:30247 guix-git/doc/guix.texi:30255
  27214. #: guix-git/doc/guix.texi:30307 guix-git/doc/guix.texi:30323
  27215. #: guix-git/doc/guix.texi:30331 guix-git/doc/guix.texi:30370
  27216. #: guix-git/doc/guix.texi:30393 guix-git/doc/guix.texi:30415
  27217. #: guix-git/doc/guix.texi:30422 guix-git/doc/guix.texi:30457
  27218. #: guix-git/doc/guix.texi:30465 guix-git/doc/guix.texi:30489
  27219. #: guix-git/doc/guix.texi:30521 guix-git/doc/guix.texi:30550
  27220. #: guix-git/doc/guix.texi:30557 guix-git/doc/guix.texi:30564
  27221. #: guix-git/doc/guix.texi:30572 guix-git/doc/guix.texi:30586
  27222. #: guix-git/doc/guix.texi:30595 guix-git/doc/guix.texi:30605
  27223. #: guix-git/doc/guix.texi:30612 guix-git/doc/guix.texi:30619
  27224. #: guix-git/doc/guix.texi:30626 guix-git/doc/guix.texi:30697
  27225. #: guix-git/doc/guix.texi:30704 guix-git/doc/guix.texi:30711
  27226. #: guix-git/doc/guix.texi:30720 guix-git/doc/guix.texi:30736
  27227. #: guix-git/doc/guix.texi:30743 guix-git/doc/guix.texi:30750
  27228. #: guix-git/doc/guix.texi:30757 guix-git/doc/guix.texi:30765
  27229. #: guix-git/doc/guix.texi:30773
  27230. msgid "Defaults to @samp{\"\"}."
  27231. msgstr ""
  27232. #. type: deftypevr
  27233. #: guix-git/doc/guix.texi:18428
  27234. #, no-wrap
  27235. msgid "{@code{cups-configuration} parameter} boolean classify-override?"
  27236. msgstr ""
  27237. #. type: deftypevr
  27238. #: guix-git/doc/guix.texi:18431
  27239. msgid "Specifies whether users may override the classification (cover page) of individual print jobs using the @code{job-sheets} option."
  27240. msgstr ""
  27241. #. type: deftypevr
  27242. #: guix-git/doc/guix.texi:18435
  27243. #, no-wrap
  27244. msgid "{@code{cups-configuration} parameter} default-auth-type default-auth-type"
  27245. msgstr ""
  27246. #. type: deftypevr
  27247. #: guix-git/doc/guix.texi:18437
  27248. msgid "Specifies the default type of authentication to use."
  27249. msgstr ""
  27250. #. type: deftypevr
  27251. #: guix-git/doc/guix.texi:18439
  27252. msgid "Defaults to @samp{Basic}."
  27253. msgstr ""
  27254. #. type: deftypevr
  27255. #: guix-git/doc/guix.texi:18441
  27256. #, no-wrap
  27257. msgid "{@code{cups-configuration} parameter} default-encryption default-encryption"
  27258. msgstr ""
  27259. #. type: deftypevr
  27260. #: guix-git/doc/guix.texi:18443
  27261. msgid "Specifies whether encryption will be used for authenticated requests."
  27262. msgstr ""
  27263. #. type: deftypevr
  27264. #: guix-git/doc/guix.texi:18445
  27265. msgid "Defaults to @samp{Required}."
  27266. msgstr ""
  27267. #. type: deftypevr
  27268. #: guix-git/doc/guix.texi:18447
  27269. #, no-wrap
  27270. msgid "{@code{cups-configuration} parameter} string default-language"
  27271. msgstr ""
  27272. #. type: deftypevr
  27273. #: guix-git/doc/guix.texi:18449
  27274. msgid "Specifies the default language to use for text and web content."
  27275. msgstr ""
  27276. #. type: deftypevr
  27277. #: guix-git/doc/guix.texi:18451
  27278. msgid "Defaults to @samp{\"en\"}."
  27279. msgstr ""
  27280. #. type: deftypevr
  27281. #: guix-git/doc/guix.texi:18453
  27282. #, no-wrap
  27283. msgid "{@code{cups-configuration} parameter} string default-paper-size"
  27284. msgstr ""
  27285. #. type: deftypevr
  27286. #: guix-git/doc/guix.texi:18458
  27287. 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\"}."
  27288. msgstr ""
  27289. #. type: deftypevr
  27290. #: guix-git/doc/guix.texi:18460
  27291. msgid "Defaults to @samp{\"Auto\"}."
  27292. msgstr ""
  27293. #. type: deftypevr
  27294. #: guix-git/doc/guix.texi:18462
  27295. #, no-wrap
  27296. msgid "{@code{cups-configuration} parameter} string default-policy"
  27297. msgstr ""
  27298. #. type: deftypevr
  27299. #: guix-git/doc/guix.texi:18464
  27300. msgid "Specifies the default access policy to use."
  27301. msgstr ""
  27302. #. type: deftypevr
  27303. #: guix-git/doc/guix.texi:18466
  27304. msgid "Defaults to @samp{\"default\"}."
  27305. msgstr ""
  27306. #. type: deftypevr
  27307. #: guix-git/doc/guix.texi:18468
  27308. #, no-wrap
  27309. msgid "{@code{cups-configuration} parameter} boolean default-shared?"
  27310. msgstr ""
  27311. #. type: deftypevr
  27312. #: guix-git/doc/guix.texi:18470
  27313. msgid "Specifies whether local printers are shared by default."
  27314. msgstr ""
  27315. #. type: deftypevr
  27316. #: guix-git/doc/guix.texi:18472 guix-git/doc/guix.texi:18552
  27317. #: guix-git/doc/guix.texi:18848 guix-git/doc/guix.texi:21587
  27318. #: guix-git/doc/guix.texi:21638 guix-git/doc/guix.texi:21645
  27319. #: guix-git/doc/guix.texi:22699 guix-git/doc/guix.texi:22887
  27320. #: guix-git/doc/guix.texi:23004 guix-git/doc/guix.texi:23040
  27321. #: guix-git/doc/guix.texi:23091 guix-git/doc/guix.texi:23110
  27322. #: guix-git/doc/guix.texi:23120 guix-git/doc/guix.texi:23130
  27323. #: guix-git/doc/guix.texi:23189 guix-git/doc/guix.texi:23211
  27324. #: guix-git/doc/guix.texi:23236 guix-git/doc/guix.texi:23262
  27325. #: guix-git/doc/guix.texi:23280 guix-git/doc/guix.texi:26460
  27326. #: guix-git/doc/guix.texi:26488 guix-git/doc/guix.texi:26615
  27327. #: guix-git/doc/guix.texi:26622 guix-git/doc/guix.texi:26630
  27328. #: guix-git/doc/guix.texi:26667 guix-git/doc/guix.texi:26681
  27329. #: guix-git/doc/guix.texi:26770 guix-git/doc/guix.texi:26777
  27330. #: guix-git/doc/guix.texi:26785 guix-git/doc/guix.texi:27508
  27331. #: guix-git/doc/guix.texi:27648 guix-git/doc/guix.texi:27834
  27332. #: guix-git/doc/guix.texi:27841 guix-git/doc/guix.texi:27863
  27333. #: guix-git/doc/guix.texi:27902 guix-git/doc/guix.texi:27922
  27334. #: guix-git/doc/guix.texi:27936 guix-git/doc/guix.texi:28149
  27335. #: guix-git/doc/guix.texi:30006 guix-git/doc/guix.texi:30094
  27336. #: guix-git/doc/guix.texi:30110 guix-git/doc/guix.texi:30160
  27337. msgid "Defaults to @samp{#t}."
  27338. msgstr ""
  27339. #. type: deftypevr
  27340. #: guix-git/doc/guix.texi:18474
  27341. #, no-wrap
  27342. msgid "{@code{cups-configuration} parameter} non-negative-integer dirty-clean-interval"
  27343. msgstr ""
  27344. #. type: deftypevr
  27345. #: guix-git/doc/guix.texi:18478
  27346. 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."
  27347. msgstr ""
  27348. #. type: deftypevr
  27349. #: guix-git/doc/guix.texi:18480 guix-git/doc/guix.texi:18528
  27350. #: guix-git/doc/guix.texi:18537 guix-git/doc/guix.texi:18558
  27351. #: guix-git/doc/guix.texi:18855 guix-git/doc/guix.texi:23049
  27352. #: guix-git/doc/guix.texi:23082
  27353. msgid "Defaults to @samp{30}."
  27354. msgstr ""
  27355. #. type: deftypevr
  27356. #: guix-git/doc/guix.texi:18482
  27357. #, no-wrap
  27358. msgid "{@code{cups-configuration} parameter} error-policy error-policy"
  27359. msgstr ""
  27360. #. type: deftypevr
  27361. #: guix-git/doc/guix.texi:18488
  27362. 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."
  27363. msgstr ""
  27364. #. type: deftypevr
  27365. #: guix-git/doc/guix.texi:18490
  27366. msgid "Defaults to @samp{stop-printer}."
  27367. msgstr ""
  27368. #. type: deftypevr
  27369. #: guix-git/doc/guix.texi:18492
  27370. #, no-wrap
  27371. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-limit"
  27372. msgstr ""
  27373. #. type: deftypevr
  27374. #: guix-git/doc/guix.texi:18500
  27375. 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."
  27376. msgstr ""
  27377. #. type: deftypevr
  27378. #: guix-git/doc/guix.texi:18502 guix-git/doc/guix.texi:18510
  27379. #: guix-git/doc/guix.texi:18565 guix-git/doc/guix.texi:18681
  27380. #: guix-git/doc/guix.texi:18695 guix-git/doc/guix.texi:18702
  27381. #: guix-git/doc/guix.texi:20153 guix-git/doc/guix.texi:20169
  27382. #: guix-git/doc/guix.texi:20815 guix-git/doc/guix.texi:20827
  27383. #: guix-git/doc/guix.texi:21606 guix-git/doc/guix.texi:21615
  27384. #: guix-git/doc/guix.texi:21623 guix-git/doc/guix.texi:21631
  27385. #: guix-git/doc/guix.texi:27524 guix-git/doc/guix.texi:27849
  27386. #: guix-git/doc/guix.texi:29999 guix-git/doc/guix.texi:30299
  27387. #: guix-git/doc/guix.texi:30473
  27388. msgid "Defaults to @samp{0}."
  27389. msgstr ""
  27390. #. type: deftypevr
  27391. #: guix-git/doc/guix.texi:18504
  27392. #, no-wrap
  27393. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-nice"
  27394. msgstr ""
  27395. #. type: deftypevr
  27396. #: guix-git/doc/guix.texi:18508
  27397. 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."
  27398. msgstr ""
  27399. #. type: deftypevr
  27400. #: guix-git/doc/guix.texi:18512
  27401. #, no-wrap
  27402. msgid "{@code{cups-configuration} parameter} host-name-lookups host-name-lookups"
  27403. msgstr ""
  27404. #. type: deftypevr
  27405. #: guix-git/doc/guix.texi:18519
  27406. 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."
  27407. msgstr ""
  27408. #. type: deftypevr
  27409. #: guix-git/doc/guix.texi:18523
  27410. #, no-wrap
  27411. msgid "{@code{cups-configuration} parameter} non-negative-integer job-kill-delay"
  27412. msgstr ""
  27413. #. type: deftypevr
  27414. #: guix-git/doc/guix.texi:18526
  27415. msgid "Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job."
  27416. msgstr ""
  27417. #. type: deftypevr
  27418. #: guix-git/doc/guix.texi:18530
  27419. #, no-wrap
  27420. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-interval"
  27421. msgstr ""
  27422. #. type: deftypevr
  27423. #: guix-git/doc/guix.texi:18535
  27424. 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}."
  27425. msgstr ""
  27426. #. type: deftypevr
  27427. #: guix-git/doc/guix.texi:18539
  27428. #, no-wrap
  27429. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-limit"
  27430. msgstr ""
  27431. #. type: deftypevr
  27432. #: guix-git/doc/guix.texi:18544
  27433. 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}."
  27434. msgstr ""
  27435. #. type: deftypevr
  27436. #: guix-git/doc/guix.texi:18546 guix-git/doc/guix.texi:23013
  27437. #: guix-git/doc/guix.texi:28401 guix-git/doc/guix.texi:28421
  27438. #: guix-git/doc/guix.texi:28437 guix-git/doc/guix.texi:28451
  27439. #: guix-git/doc/guix.texi:28458 guix-git/doc/guix.texi:28465
  27440. #: guix-git/doc/guix.texi:28472 guix-git/doc/guix.texi:28632
  27441. #: guix-git/doc/guix.texi:28648 guix-git/doc/guix.texi:28655
  27442. #: guix-git/doc/guix.texi:28662 guix-git/doc/guix.texi:28673
  27443. #: guix-git/doc/guix.texi:29951 guix-git/doc/guix.texi:29959
  27444. #: guix-git/doc/guix.texi:29967 guix-git/doc/guix.texi:29991
  27445. msgid "Defaults to @samp{5}."
  27446. msgstr ""
  27447. #. type: deftypevr
  27448. #: guix-git/doc/guix.texi:18548
  27449. #, no-wrap
  27450. msgid "{@code{cups-configuration} parameter} boolean keep-alive?"
  27451. msgstr ""
  27452. #. type: deftypevr
  27453. #: guix-git/doc/guix.texi:18550
  27454. msgid "Specifies whether to support HTTP keep-alive connections."
  27455. msgstr ""
  27456. #. type: deftypevr
  27457. #: guix-git/doc/guix.texi:18554
  27458. #, no-wrap
  27459. msgid "{@code{cups-configuration} parameter} non-negative-integer keep-alive-timeout"
  27460. msgstr ""
  27461. #. type: deftypevr
  27462. #: guix-git/doc/guix.texi:18556
  27463. msgid "Specifies how long an idle client connection remains open, in seconds."
  27464. msgstr ""
  27465. #. type: deftypevr
  27466. #: guix-git/doc/guix.texi:18560
  27467. #, no-wrap
  27468. msgid "{@code{cups-configuration} parameter} non-negative-integer limit-request-body"
  27469. msgstr ""
  27470. #. type: deftypevr
  27471. #: guix-git/doc/guix.texi:18563
  27472. msgid "Specifies the maximum size of print files, IPP requests, and HTML form data. A limit of 0 disables the limit check."
  27473. msgstr ""
  27474. #. type: deftypevr
  27475. #: guix-git/doc/guix.texi:18567
  27476. #, no-wrap
  27477. msgid "{@code{cups-configuration} parameter} multiline-string-list listen"
  27478. msgstr ""
  27479. #. type: deftypevr
  27480. #: guix-git/doc/guix.texi:18574
  27481. 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."
  27482. msgstr ""
  27483. #. type: deftypevr
  27484. #: guix-git/doc/guix.texi:18576
  27485. #, no-wrap
  27486. msgid "{@code{cups-configuration} parameter} non-negative-integer listen-back-log"
  27487. msgstr ""
  27488. #. type: deftypevr
  27489. #: guix-git/doc/guix.texi:18583
  27490. 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."
  27491. msgstr ""
  27492. #. type: deftypevr
  27493. #: guix-git/doc/guix.texi:18585
  27494. msgid "Defaults to @samp{128}."
  27495. msgstr ""
  27496. #. type: deftypevr
  27497. #: guix-git/doc/guix.texi:18587
  27498. #, no-wrap
  27499. msgid "{@code{cups-configuration} parameter} location-access-control-list location-access-controls"
  27500. msgstr ""
  27501. #. type: deftypevr
  27502. #: guix-git/doc/guix.texi:18589
  27503. msgid "Specifies a set of additional access controls."
  27504. msgstr ""
  27505. #. type: deftypevr
  27506. #: guix-git/doc/guix.texi:18591
  27507. msgid "Available @code{location-access-controls} fields are:"
  27508. msgstr ""
  27509. #. type: deftypevr
  27510. #: guix-git/doc/guix.texi:18592
  27511. #, no-wrap
  27512. msgid "{@code{location-access-controls} parameter} file-name path"
  27513. msgstr ""
  27514. #. type: deftypevr
  27515. #: guix-git/doc/guix.texi:18594
  27516. msgid "Specifies the URI path to which the access control applies."
  27517. msgstr ""
  27518. #. type: deftypevr
  27519. #: guix-git/doc/guix.texi:18596
  27520. #, no-wrap
  27521. msgid "{@code{location-access-controls} parameter} access-control-list access-controls"
  27522. msgstr ""
  27523. #. type: deftypevr
  27524. #: guix-git/doc/guix.texi:18599
  27525. msgid "Access controls for all access to this path, in the same format as the @code{access-controls} of @code{operation-access-control}."
  27526. msgstr ""
  27527. #. type: deftypevr
  27528. #: guix-git/doc/guix.texi:18601 guix-git/doc/guix.texi:18607
  27529. #: guix-git/doc/guix.texi:18621 guix-git/doc/guix.texi:18628
  27530. #: guix-git/doc/guix.texi:18770 guix-git/doc/guix.texi:18829
  27531. #: guix-git/doc/guix.texi:18907 guix-git/doc/guix.texi:18921
  27532. #: guix-git/doc/guix.texi:21301 guix-git/doc/guix.texi:21504
  27533. #: guix-git/doc/guix.texi:21532 guix-git/doc/guix.texi:21562
  27534. #: guix-git/doc/guix.texi:21677 guix-git/doc/guix.texi:21690
  27535. #: guix-git/doc/guix.texi:21697 guix-git/doc/guix.texi:23219
  27536. #: guix-git/doc/guix.texi:23614 guix-git/doc/guix.texi:23718
  27537. #: guix-git/doc/guix.texi:24145 guix-git/doc/guix.texi:24153
  27538. #: guix-git/doc/guix.texi:24398 guix-git/doc/guix.texi:26519
  27539. #: guix-git/doc/guix.texi:26688 guix-git/doc/guix.texi:26887
  27540. #: guix-git/doc/guix.texi:28292 guix-git/doc/guix.texi:28352
  27541. #: guix-git/doc/guix.texi:28360 guix-git/doc/guix.texi:30014
  27542. #: guix-git/doc/guix.texi:30021 guix-git/doc/guix.texi:30363
  27543. #: guix-git/doc/guix.texi:30441 guix-git/doc/guix.texi:30535
  27544. #: guix-git/doc/guix.texi:30543 guix-git/doc/guix.texi:30579
  27545. #: guix-git/doc/guix.texi:30729 guix-git/doc/guix.texi:30780
  27546. #: guix-git/doc/guix.texi:30789
  27547. msgid "Defaults to @samp{()}."
  27548. msgstr ""
  27549. #. type: deftypevr
  27550. #: guix-git/doc/guix.texi:18603
  27551. #, no-wrap
  27552. msgid "{@code{location-access-controls} parameter} method-access-control-list method-access-controls"
  27553. msgstr ""
  27554. #. type: deftypevr
  27555. #: guix-git/doc/guix.texi:18605
  27556. msgid "Access controls for method-specific access to this path."
  27557. msgstr ""
  27558. #. type: deftypevr
  27559. #: guix-git/doc/guix.texi:18609
  27560. msgid "Available @code{method-access-controls} fields are:"
  27561. msgstr ""
  27562. #. type: deftypevr
  27563. #: guix-git/doc/guix.texi:18610
  27564. #, no-wrap
  27565. msgid "{@code{method-access-controls} parameter} boolean reverse?"
  27566. msgstr ""
  27567. #. type: deftypevr
  27568. #: guix-git/doc/guix.texi:18613
  27569. msgid "If @code{#t}, apply access controls to all methods except the listed methods. Otherwise apply to only the listed methods."
  27570. msgstr ""
  27571. #. type: deftypevr
  27572. #: guix-git/doc/guix.texi:18617
  27573. #, no-wrap
  27574. msgid "{@code{method-access-controls} parameter} method-list methods"
  27575. msgstr ""
  27576. #. type: deftypevr
  27577. #: guix-git/doc/guix.texi:18619
  27578. msgid "Methods to which this access control applies."
  27579. msgstr ""
  27580. #. type: deftypevr
  27581. #: guix-git/doc/guix.texi:18623
  27582. #, no-wrap
  27583. msgid "{@code{method-access-controls} parameter} access-control-list access-controls"
  27584. msgstr ""
  27585. #. type: deftypevr
  27586. #: guix-git/doc/guix.texi:18626
  27587. msgid "Access control directives, as a list of strings. Each string should be one directive, such as @samp{\"Order allow,deny\"}."
  27588. msgstr ""
  27589. #. type: deftypevr
  27590. #: guix-git/doc/guix.texi:18632
  27591. #, no-wrap
  27592. msgid "{@code{cups-configuration} parameter} non-negative-integer log-debug-history"
  27593. msgstr ""
  27594. #. type: deftypevr
  27595. #: guix-git/doc/guix.texi:18636
  27596. 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."
  27597. msgstr ""
  27598. #. type: deftypevr
  27599. #: guix-git/doc/guix.texi:18638 guix-git/doc/guix.texi:18659
  27600. #: guix-git/doc/guix.texi:18666 guix-git/doc/guix.texi:21061
  27601. #: guix-git/doc/guix.texi:22751 guix-git/doc/guix.texi:22766
  27602. #: guix-git/doc/guix.texi:26872
  27603. msgid "Defaults to @samp{100}."
  27604. msgstr ""
  27605. #. type: deftypevr
  27606. #: guix-git/doc/guix.texi:18640
  27607. #, no-wrap
  27608. msgid "{@code{cups-configuration} parameter} log-level log-level"
  27609. msgstr ""
  27610. #. type: deftypevr
  27611. #: guix-git/doc/guix.texi:18643
  27612. msgid "Specifies the level of logging for the ErrorLog file. The value @code{none} stops all logging while @code{debug2} logs everything."
  27613. msgstr ""
  27614. #. type: deftypevr
  27615. #: guix-git/doc/guix.texi:18645 guix-git/doc/guix.texi:23228
  27616. msgid "Defaults to @samp{info}."
  27617. msgstr ""
  27618. #. type: deftypevr
  27619. #: guix-git/doc/guix.texi:18647
  27620. #, no-wrap
  27621. msgid "{@code{cups-configuration} parameter} log-time-format log-time-format"
  27622. msgstr ""
  27623. #. type: deftypevr
  27624. #: guix-git/doc/guix.texi:18650
  27625. 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."
  27626. msgstr ""
  27627. #. type: deftypevr
  27628. #: guix-git/doc/guix.texi:18652
  27629. msgid "Defaults to @samp{standard}."
  27630. msgstr ""
  27631. #. type: deftypevr
  27632. #: guix-git/doc/guix.texi:18654
  27633. #, no-wrap
  27634. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients"
  27635. msgstr ""
  27636. #. type: deftypevr
  27637. #: guix-git/doc/guix.texi:18657
  27638. msgid "Specifies the maximum number of simultaneous clients that are allowed by the scheduler."
  27639. msgstr ""
  27640. #. type: deftypevr
  27641. #: guix-git/doc/guix.texi:18661
  27642. #, no-wrap
  27643. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients-per-host"
  27644. msgstr ""
  27645. #. type: deftypevr
  27646. #: guix-git/doc/guix.texi:18664
  27647. msgid "Specifies the maximum number of simultaneous clients that are allowed from a single address."
  27648. msgstr ""
  27649. #. type: deftypevr
  27650. #: guix-git/doc/guix.texi:18668
  27651. #, no-wrap
  27652. msgid "{@code{cups-configuration} parameter} non-negative-integer max-copies"
  27653. msgstr ""
  27654. #. type: deftypevr
  27655. #: guix-git/doc/guix.texi:18671
  27656. msgid "Specifies the maximum number of copies that a user can print of each job."
  27657. msgstr ""
  27658. #. type: deftypevr
  27659. #: guix-git/doc/guix.texi:18673
  27660. msgid "Defaults to @samp{9999}."
  27661. msgstr ""
  27662. #. type: deftypevr
  27663. #: guix-git/doc/guix.texi:18675
  27664. #, no-wrap
  27665. msgid "{@code{cups-configuration} parameter} non-negative-integer max-hold-time"
  27666. msgstr ""
  27667. #. type: deftypevr
  27668. #: guix-git/doc/guix.texi:18679
  27669. 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."
  27670. msgstr ""
  27671. #. type: deftypevr
  27672. #: guix-git/doc/guix.texi:18683
  27673. #, no-wrap
  27674. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs"
  27675. msgstr ""
  27676. #. type: deftypevr
  27677. #: guix-git/doc/guix.texi:18686
  27678. msgid "Specifies the maximum number of simultaneous jobs that are allowed. Set to 0 to allow an unlimited number of jobs."
  27679. msgstr ""
  27680. #. type: deftypevr
  27681. #: guix-git/doc/guix.texi:18688
  27682. msgid "Defaults to @samp{500}."
  27683. msgstr ""
  27684. #. type: deftypevr
  27685. #: guix-git/doc/guix.texi:18690
  27686. #, no-wrap
  27687. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-printer"
  27688. msgstr ""
  27689. #. type: deftypevr
  27690. #: guix-git/doc/guix.texi:18693
  27691. msgid "Specifies the maximum number of simultaneous jobs that are allowed per printer. A value of 0 allows up to MaxJobs jobs per printer."
  27692. msgstr ""
  27693. #. type: deftypevr
  27694. #: guix-git/doc/guix.texi:18697
  27695. #, no-wrap
  27696. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-user"
  27697. msgstr ""
  27698. #. type: deftypevr
  27699. #: guix-git/doc/guix.texi:18700
  27700. msgid "Specifies the maximum number of simultaneous jobs that are allowed per user. A value of 0 allows up to MaxJobs jobs per user."
  27701. msgstr ""
  27702. #. type: deftypevr
  27703. #: guix-git/doc/guix.texi:18704
  27704. #, no-wrap
  27705. msgid "{@code{cups-configuration} parameter} non-negative-integer max-job-time"
  27706. msgstr ""
  27707. #. type: deftypevr
  27708. #: guix-git/doc/guix.texi:18707
  27709. 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."
  27710. msgstr ""
  27711. #. type: deftypevr
  27712. #: guix-git/doc/guix.texi:18709
  27713. msgid "Defaults to @samp{10800}."
  27714. msgstr ""
  27715. #. type: deftypevr
  27716. #: guix-git/doc/guix.texi:18711
  27717. #, no-wrap
  27718. msgid "{@code{cups-configuration} parameter} non-negative-integer max-log-size"
  27719. msgstr ""
  27720. #. type: deftypevr
  27721. #: guix-git/doc/guix.texi:18714
  27722. msgid "Specifies the maximum size of the log files before they are rotated, in bytes. The value 0 disables log rotation."
  27723. msgstr ""
  27724. #. type: deftypevr
  27725. #: guix-git/doc/guix.texi:18716
  27726. msgid "Defaults to @samp{1048576}."
  27727. msgstr ""
  27728. #. type: deftypevr
  27729. #: guix-git/doc/guix.texi:18718
  27730. #, no-wrap
  27731. msgid "{@code{cups-configuration} parameter} non-negative-integer multiple-operation-timeout"
  27732. msgstr ""
  27733. #. type: deftypevr
  27734. #: guix-git/doc/guix.texi:18721
  27735. msgid "Specifies the maximum amount of time to allow between files in a multiple file print job, in seconds."
  27736. msgstr ""
  27737. #. type: deftypevr
  27738. #: guix-git/doc/guix.texi:18723 guix-git/doc/guix.texi:18934
  27739. #: guix-git/doc/guix.texi:26453
  27740. msgid "Defaults to @samp{300}."
  27741. msgstr ""
  27742. #. type: deftypevr
  27743. #: guix-git/doc/guix.texi:18725
  27744. #, no-wrap
  27745. msgid "{@code{cups-configuration} parameter} string page-log-format"
  27746. msgstr ""
  27747. #. type: deftypevr
  27748. #: guix-git/doc/guix.texi:18730
  27749. 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:"
  27750. msgstr ""
  27751. #. type: item
  27752. #: guix-git/doc/guix.texi:18732
  27753. #, no-wrap
  27754. msgid "%%"
  27755. msgstr ""
  27756. #. type: table
  27757. #: guix-git/doc/guix.texi:18734
  27758. msgid "insert a single percent character"
  27759. msgstr ""
  27760. #. type: item
  27761. #: guix-git/doc/guix.texi:18735
  27762. #, no-wrap
  27763. msgid "%@{name@}"
  27764. msgstr "%@{name@}"
  27765. #. type: table
  27766. #: guix-git/doc/guix.texi:18737
  27767. msgid "insert the value of the specified IPP attribute"
  27768. msgstr ""
  27769. #. type: item
  27770. #: guix-git/doc/guix.texi:18738
  27771. #, no-wrap
  27772. msgid "%C"
  27773. msgstr "%C"
  27774. #. type: table
  27775. #: guix-git/doc/guix.texi:18740
  27776. msgid "insert the number of copies for the current page"
  27777. msgstr ""
  27778. #. type: item
  27779. #: guix-git/doc/guix.texi:18741
  27780. #, no-wrap
  27781. msgid "%P"
  27782. msgstr ""
  27783. #. type: table
  27784. #: guix-git/doc/guix.texi:18743
  27785. msgid "insert the current page number"
  27786. msgstr ""
  27787. #. type: item
  27788. #: guix-git/doc/guix.texi:18744
  27789. #, no-wrap
  27790. msgid "%T"
  27791. msgstr "%T"
  27792. #. type: table
  27793. #: guix-git/doc/guix.texi:18746
  27794. msgid "insert the current date and time in common log format"
  27795. msgstr ""
  27796. #. type: item
  27797. #: guix-git/doc/guix.texi:18747
  27798. #, no-wrap
  27799. msgid "%j"
  27800. msgstr ""
  27801. #. type: table
  27802. #: guix-git/doc/guix.texi:18749
  27803. msgid "insert the job ID"
  27804. msgstr ""
  27805. #. type: item
  27806. #: guix-git/doc/guix.texi:18750 guix-git/doc/guix.texi:20671
  27807. #, no-wrap
  27808. msgid "%p"
  27809. msgstr ""
  27810. #. type: table
  27811. #: guix-git/doc/guix.texi:18752
  27812. msgid "insert the printer name"
  27813. msgstr ""
  27814. #. type: item
  27815. #: guix-git/doc/guix.texi:18753 guix-git/doc/guix.texi:20694
  27816. #, no-wrap
  27817. msgid "%u"
  27818. msgstr ""
  27819. #. type: table
  27820. #: guix-git/doc/guix.texi:18755
  27821. msgid "insert the username"
  27822. msgstr ""
  27823. #. type: deftypevr
  27824. #: guix-git/doc/guix.texi:18761
  27825. 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."
  27826. msgstr ""
  27827. #. type: deftypevr
  27828. #: guix-git/doc/guix.texi:18765
  27829. #, no-wrap
  27830. msgid "{@code{cups-configuration} parameter} environment-variables environment-variables"
  27831. msgstr ""
  27832. #. type: deftypevr
  27833. #: guix-git/doc/guix.texi:18768
  27834. msgid "Passes the specified environment variable(s) to child processes; a list of strings."
  27835. msgstr ""
  27836. #. type: deftypevr
  27837. #: guix-git/doc/guix.texi:18772
  27838. #, no-wrap
  27839. msgid "{@code{cups-configuration} parameter} policy-configuration-list policies"
  27840. msgstr ""
  27841. #. type: deftypevr
  27842. #: guix-git/doc/guix.texi:18774
  27843. msgid "Specifies named access control policies."
  27844. msgstr ""
  27845. #. type: deftypevr
  27846. #: guix-git/doc/guix.texi:18776
  27847. msgid "Available @code{policy-configuration} fields are:"
  27848. msgstr ""
  27849. #. type: deftypevr
  27850. #: guix-git/doc/guix.texi:18777
  27851. #, no-wrap
  27852. msgid "{@code{policy-configuration} parameter} string name"
  27853. msgstr ""
  27854. #. type: deftypevr
  27855. #: guix-git/doc/guix.texi:18779
  27856. msgid "Name of the policy."
  27857. msgstr ""
  27858. #. type: deftypevr
  27859. #: guix-git/doc/guix.texi:18781
  27860. #, no-wrap
  27861. msgid "{@code{policy-configuration} parameter} string job-private-access"
  27862. msgstr ""
  27863. #. type: deftypevr
  27864. #: guix-git/doc/guix.texi:18791
  27865. 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-config} 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}."
  27866. msgstr ""
  27867. #. type: deftypevr
  27868. #: guix-git/doc/guix.texi:18793 guix-git/doc/guix.texi:18815
  27869. msgid "Defaults to @samp{\"@@OWNER @@SYSTEM\"}."
  27870. msgstr ""
  27871. #. type: deftypevr
  27872. #: guix-git/doc/guix.texi:18795
  27873. #, no-wrap
  27874. msgid "{@code{policy-configuration} parameter} string job-private-values"
  27875. msgstr ""
  27876. #. type: deftypevr
  27877. #: guix-git/doc/guix.texi:18798 guix-git/doc/guix.texi:18820
  27878. msgid "Specifies the list of job values to make private, or @code{all}, @code{default}, or @code{none}."
  27879. msgstr ""
  27880. #. type: deftypevr
  27881. #: guix-git/doc/guix.texi:18801
  27882. msgid "Defaults to @samp{\"job-name job-originating-host-name job-originating-user-name phone\"}."
  27883. msgstr ""
  27884. #. type: deftypevr
  27885. #: guix-git/doc/guix.texi:18803
  27886. #, no-wrap
  27887. msgid "{@code{policy-configuration} parameter} string subscription-private-access"
  27888. msgstr ""
  27889. #. type: deftypevr
  27890. #: guix-git/doc/guix.texi:18813
  27891. 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-config} 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}."
  27892. msgstr ""
  27893. #. type: deftypevr
  27894. #: guix-git/doc/guix.texi:18817
  27895. #, no-wrap
  27896. msgid "{@code{policy-configuration} parameter} string subscription-private-values"
  27897. msgstr ""
  27898. #. type: deftypevr
  27899. #: guix-git/doc/guix.texi:18823
  27900. msgid "Defaults to @samp{\"notify-events notify-pull-method notify-recipient-uri notify-subscriber-user-name notify-user-data\"}."
  27901. msgstr ""
  27902. #. type: deftypevr
  27903. #: guix-git/doc/guix.texi:18825
  27904. #, no-wrap
  27905. msgid "{@code{policy-configuration} parameter} operation-access-control-list access-controls"
  27906. msgstr ""
  27907. #. type: deftypevr
  27908. #: guix-git/doc/guix.texi:18827
  27909. msgid "Access control by IPP operation."
  27910. msgstr ""
  27911. #. type: deftypevr
  27912. #: guix-git/doc/guix.texi:18832
  27913. #, no-wrap
  27914. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-files"
  27915. msgstr ""
  27916. #. type: deftypevr
  27917. #: guix-git/doc/guix.texi:18837
  27918. 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."
  27919. msgstr ""
  27920. #. type: deftypevr
  27921. #: guix-git/doc/guix.texi:18839
  27922. msgid "Defaults to @samp{86400}."
  27923. msgstr ""
  27924. #. type: deftypevr
  27925. #: guix-git/doc/guix.texi:18841
  27926. #, no-wrap
  27927. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-history"
  27928. msgstr ""
  27929. #. type: deftypevr
  27930. #: guix-git/doc/guix.texi:18846
  27931. 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."
  27932. msgstr ""
  27933. #. type: deftypevr
  27934. #: guix-git/doc/guix.texi:18850
  27935. #, no-wrap
  27936. msgid "{@code{cups-configuration} parameter} non-negative-integer reload-timeout"
  27937. msgstr ""
  27938. #. type: deftypevr
  27939. #: guix-git/doc/guix.texi:18853
  27940. msgid "Specifies the amount of time to wait for job completion before restarting the scheduler."
  27941. msgstr ""
  27942. #. type: deftypevr
  27943. #: guix-git/doc/guix.texi:18857
  27944. #, no-wrap
  27945. msgid "{@code{cups-configuration} parameter} string rip-cache"
  27946. msgstr ""
  27947. #. type: deftypevr
  27948. #: guix-git/doc/guix.texi:18860
  27949. msgid "Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer."
  27950. msgstr ""
  27951. #. type: deftypevr
  27952. #: guix-git/doc/guix.texi:18862
  27953. msgid "Defaults to @samp{\"128m\"}."
  27954. msgstr ""
  27955. #. type: deftypevr
  27956. #: guix-git/doc/guix.texi:18864
  27957. #, no-wrap
  27958. msgid "{@code{cups-configuration} parameter} string server-admin"
  27959. msgstr ""
  27960. #. type: deftypevr
  27961. #: guix-git/doc/guix.texi:18866
  27962. msgid "Specifies the email address of the server administrator."
  27963. msgstr ""
  27964. #. type: deftypevr
  27965. #: guix-git/doc/guix.texi:18868
  27966. msgid "Defaults to @samp{\"root@@localhost.localdomain\"}."
  27967. msgstr ""
  27968. #. type: deftypevr
  27969. #: guix-git/doc/guix.texi:18870
  27970. #, no-wrap
  27971. msgid "{@code{cups-configuration} parameter} host-name-list-or-* server-alias"
  27972. msgstr ""
  27973. #. type: deftypevr
  27974. #: guix-git/doc/guix.texi:18878
  27975. 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{*}."
  27976. msgstr ""
  27977. #. type: deftypevr
  27978. #: guix-git/doc/guix.texi:18880
  27979. msgid "Defaults to @samp{*}."
  27980. msgstr ""
  27981. #. type: deftypevr
  27982. #: guix-git/doc/guix.texi:18882
  27983. #, no-wrap
  27984. msgid "{@code{cups-configuration} parameter} string server-name"
  27985. msgstr ""
  27986. #. type: deftypevr
  27987. #: guix-git/doc/guix.texi:18884
  27988. msgid "Specifies the fully-qualified host name of the server."
  27989. msgstr ""
  27990. #. type: deftypevr
  27991. #: guix-git/doc/guix.texi:18886 guix-git/doc/guix.texi:23741
  27992. #: guix-git/doc/guix.texi:23786
  27993. msgid "Defaults to @samp{\"localhost\"}."
  27994. msgstr ""
  27995. #. type: deftypevr
  27996. #: guix-git/doc/guix.texi:18888
  27997. #, no-wrap
  27998. msgid "{@code{cups-configuration} parameter} server-tokens server-tokens"
  27999. msgstr ""
  28000. #. type: deftypevr
  28001. #: guix-git/doc/guix.texi:18896
  28002. 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}."
  28003. msgstr ""
  28004. #. type: deftypevr
  28005. #: guix-git/doc/guix.texi:18898
  28006. msgid "Defaults to @samp{Minimal}."
  28007. msgstr ""
  28008. #. type: deftypevr
  28009. #: guix-git/doc/guix.texi:18900
  28010. #, no-wrap
  28011. msgid "{@code{cups-configuration} parameter} multiline-string-list ssl-listen"
  28012. msgstr ""
  28013. #. type: deftypevr
  28014. #: guix-git/doc/guix.texi:18905
  28015. 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."
  28016. msgstr ""
  28017. #. type: deftypevr
  28018. #: guix-git/doc/guix.texi:18909
  28019. #, no-wrap
  28020. msgid "{@code{cups-configuration} parameter} ssl-options ssl-options"
  28021. msgstr ""
  28022. #. type: deftypevr
  28023. #: guix-git/doc/guix.texi:18919
  28024. 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."
  28025. msgstr ""
  28026. #. type: deftypevr
  28027. #: guix-git/doc/guix.texi:18923
  28028. #, no-wrap
  28029. msgid "{@code{cups-configuration} parameter} boolean strict-conformance?"
  28030. msgstr ""
  28031. #. type: deftypevr
  28032. #: guix-git/doc/guix.texi:18926
  28033. msgid "Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications."
  28034. msgstr ""
  28035. #. type: deftypevr
  28036. #: guix-git/doc/guix.texi:18930
  28037. #, no-wrap
  28038. msgid "{@code{cups-configuration} parameter} non-negative-integer timeout"
  28039. msgstr ""
  28040. #. type: deftypevr
  28041. #: guix-git/doc/guix.texi:18932
  28042. msgid "Specifies the HTTP request timeout, in seconds."
  28043. msgstr ""
  28044. #. type: deftypevr
  28045. #: guix-git/doc/guix.texi:18937
  28046. #, no-wrap
  28047. msgid "{@code{cups-configuration} parameter} boolean web-interface?"
  28048. msgstr ""
  28049. #. type: deftypevr
  28050. #: guix-git/doc/guix.texi:18939
  28051. msgid "Specifies whether the web interface is enabled."
  28052. msgstr ""
  28053. #. type: Plain text
  28054. #: guix-git/doc/guix.texi:18949
  28055. 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}."
  28056. msgstr ""
  28057. #. type: Plain text
  28058. #: guix-git/doc/guix.texi:18951
  28059. msgid "Available @code{opaque-cups-configuration} fields are:"
  28060. msgstr ""
  28061. #. type: deftypevr
  28062. #: guix-git/doc/guix.texi:18952
  28063. #, no-wrap
  28064. msgid "{@code{opaque-cups-configuration} parameter} package cups"
  28065. msgstr ""
  28066. #. type: deftypevr
  28067. #: guix-git/doc/guix.texi:18956
  28068. #, no-wrap
  28069. msgid "{@code{opaque-cups-configuration} parameter} string cupsd.conf"
  28070. msgstr ""
  28071. #. type: deftypevr
  28072. #: guix-git/doc/guix.texi:18958
  28073. msgid "The contents of the @code{cupsd.conf}, as a string."
  28074. msgstr ""
  28075. #. type: deftypevr
  28076. #: guix-git/doc/guix.texi:18960
  28077. #, no-wrap
  28078. msgid "{@code{opaque-cups-configuration} parameter} string cups-files.conf"
  28079. msgstr ""
  28080. #. type: deftypevr
  28081. #: guix-git/doc/guix.texi:18962
  28082. msgid "The contents of the @code{cups-files.conf} file, as a string."
  28083. msgstr ""
  28084. #. type: Plain text
  28085. #: guix-git/doc/guix.texi:18967
  28086. 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:"
  28087. msgstr ""
  28088. #. type: lisp
  28089. #: guix-git/doc/guix.texi:18973
  28090. #, no-wrap
  28091. msgid ""
  28092. "(service cups-service-type\n"
  28093. " (opaque-cups-configuration\n"
  28094. " (cupsd.conf cupsd.conf)\n"
  28095. " (cups-files.conf cups-files.conf)))\n"
  28096. msgstr ""
  28097. #. type: Plain text
  28098. #: guix-git/doc/guix.texi:18984
  28099. 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."
  28100. msgstr ""
  28101. #. type: Plain text
  28102. #: guix-git/doc/guix.texi:18988
  28103. 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:"
  28104. msgstr ""
  28105. #. type: defvr
  28106. #: guix-git/doc/guix.texi:18989
  28107. #, no-wrap
  28108. msgid "{Scheme Variable} %desktop-services"
  28109. msgstr ""
  28110. #. type: defvr
  28111. #: guix-git/doc/guix.texi:18992
  28112. msgid "This is a list of services that builds upon @code{%base-services} and adds or adjusts services for a typical ``desktop'' setup."
  28113. msgstr ""
  28114. #. type: defvr
  28115. #: guix-git/doc/guix.texi:19003
  28116. 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})."
  28117. msgstr ""
  28118. #. type: Plain text
  28119. #: guix-git/doc/guix.texi:19008
  28120. 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}})."
  28121. msgstr ""
  28122. #. type: Plain text
  28123. #: guix-git/doc/guix.texi:19031
  28124. 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."
  28125. msgstr ""
  28126. #. type: Plain text
  28127. #: guix-git/doc/guix.texi:19040
  28128. 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."
  28129. msgstr ""
  28130. #. type: defvr
  28131. #: guix-git/doc/guix.texi:19041
  28132. #, no-wrap
  28133. msgid "{Scheme Variable} gnome-desktop-service-type"
  28134. msgstr ""
  28135. #. type: defvr
  28136. #: guix-git/doc/guix.texi:19045
  28137. 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)."
  28138. msgstr ""
  28139. #. type: defvr
  28140. #: guix-git/doc/guix.texi:19048
  28141. msgid "This service adds the @code{gnome} package to the system profile, and extends polkit with the actions from @code{gnome-settings-daemon}."
  28142. msgstr ""
  28143. #. type: deftp
  28144. #: guix-git/doc/guix.texi:19050
  28145. #, no-wrap
  28146. msgid "{Data Type} gnome-desktop-configuration"
  28147. msgstr ""
  28148. #. type: deftp
  28149. #: guix-git/doc/guix.texi:19052
  28150. msgid "Configuration record for the GNOME desktop environment."
  28151. msgstr ""
  28152. #. type: item
  28153. #: guix-git/doc/guix.texi:19054
  28154. #, no-wrap
  28155. msgid "@code{gnome} (default: @code{gnome})"
  28156. msgstr ""
  28157. #. type: table
  28158. #: guix-git/doc/guix.texi:19056
  28159. msgid "The GNOME package to use."
  28160. msgstr ""
  28161. #. type: defvr
  28162. #: guix-git/doc/guix.texi:19059
  28163. #, no-wrap
  28164. msgid "{Scheme Variable} xfce-desktop-service-type"
  28165. msgstr ""
  28166. #. type: defvr
  28167. #: guix-git/doc/guix.texi:19063
  28168. 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)."
  28169. msgstr ""
  28170. #. type: defvr
  28171. #: guix-git/doc/guix.texi:19068
  28172. 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."
  28173. msgstr ""
  28174. #. type: defvr
  28175. #: guix-git/doc/guix.texi:19074
  28176. 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}."
  28177. msgstr ""
  28178. #. type: deftp
  28179. #: guix-git/doc/guix.texi:19076
  28180. #, no-wrap
  28181. msgid "{Data Type} xfce-desktop-configuration"
  28182. msgstr ""
  28183. #. type: deftp
  28184. #: guix-git/doc/guix.texi:19078
  28185. msgid "Configuration record for the Xfce desktop environment."
  28186. msgstr ""
  28187. #. type: item
  28188. #: guix-git/doc/guix.texi:19080
  28189. #, no-wrap
  28190. msgid "@code{xfce} (default: @code{xfce})"
  28191. msgstr "@code{xfce} (default: @code{xfce})"
  28192. #. type: table
  28193. #: guix-git/doc/guix.texi:19082
  28194. msgid "The Xfce package to use."
  28195. msgstr ""
  28196. #. type: deffn
  28197. #: guix-git/doc/guix.texi:19085
  28198. #, no-wrap
  28199. msgid "{Scheme Variable} mate-desktop-service-type"
  28200. msgstr ""
  28201. #. type: deffn
  28202. #: guix-git/doc/guix.texi:19089
  28203. 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)."
  28204. msgstr ""
  28205. #. type: deffn
  28206. #: guix-git/doc/guix.texi:19093
  28207. msgid "This service adds the @code{mate} package to the system profile, and extends polkit with the actions from @code{mate-settings-daemon}."
  28208. msgstr ""
  28209. #. type: deftp
  28210. #: guix-git/doc/guix.texi:19095
  28211. #, no-wrap
  28212. msgid "{Data Type} mate-desktop-configuration"
  28213. msgstr ""
  28214. #. type: deftp
  28215. #: guix-git/doc/guix.texi:19097
  28216. msgid "Configuration record for the MATE desktop environment."
  28217. msgstr ""
  28218. #. type: item
  28219. #: guix-git/doc/guix.texi:19099
  28220. #, no-wrap
  28221. msgid "@code{mate} (default: @code{mate})"
  28222. msgstr ""
  28223. #. type: table
  28224. #: guix-git/doc/guix.texi:19101
  28225. msgid "The MATE package to use."
  28226. msgstr ""
  28227. #. type: deffn
  28228. #: guix-git/doc/guix.texi:19104
  28229. #, no-wrap
  28230. msgid "{Scheme Variable} lxqt-desktop-service-type"
  28231. msgstr ""
  28232. #. type: deffn
  28233. #: guix-git/doc/guix.texi:19108
  28234. msgid "This is the type of the service that runs the @uref{https://lxqt.github.io, LXQt desktop environment}. Its value is a @code{lxqt-desktop-configuration} object (see below)."
  28235. msgstr ""
  28236. #. type: deffn
  28237. #: guix-git/doc/guix.texi:19111
  28238. msgid "This service adds the @code{lxqt} package to the system profile."
  28239. msgstr ""
  28240. #. type: deftp
  28241. #: guix-git/doc/guix.texi:19113
  28242. #, no-wrap
  28243. msgid "{Data Type} lxqt-desktop-configuration"
  28244. msgstr ""
  28245. #. type: deftp
  28246. #: guix-git/doc/guix.texi:19115
  28247. msgid "Configuration record for the LXQt desktop environment."
  28248. msgstr ""
  28249. #. type: item
  28250. #: guix-git/doc/guix.texi:19117
  28251. #, no-wrap
  28252. msgid "@code{lxqt} (default: @code{lxqt})"
  28253. msgstr ""
  28254. #. type: table
  28255. #: guix-git/doc/guix.texi:19119
  28256. msgid "The LXQT package to use."
  28257. msgstr ""
  28258. #. type: deffn
  28259. #: guix-git/doc/guix.texi:19122
  28260. #, no-wrap
  28261. msgid "{Scheme Variable} enlightenment-desktop-service-type"
  28262. msgstr ""
  28263. #. type: deffn
  28264. #: guix-git/doc/guix.texi:19125
  28265. msgid "Return a service that adds the @code{enlightenment} package to the system profile, and extends dbus with actions from @code{efl}."
  28266. msgstr ""
  28267. #. type: deftp
  28268. #: guix-git/doc/guix.texi:19127
  28269. #, no-wrap
  28270. msgid "{Data Type} enlightenment-desktop-service-configuration"
  28271. msgstr ""
  28272. #. type: item
  28273. #: guix-git/doc/guix.texi:19129
  28274. #, no-wrap
  28275. msgid "@code{enlightenment} (default: @code{enlightenment})"
  28276. msgstr ""
  28277. #. type: table
  28278. #: guix-git/doc/guix.texi:19131
  28279. msgid "The enlightenment package to use."
  28280. msgstr ""
  28281. #. type: Plain text
  28282. #: guix-git/doc/guix.texi:19139
  28283. 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}:"
  28284. msgstr ""
  28285. #. type: lisp
  28286. #: guix-git/doc/guix.texi:19150
  28287. #, no-wrap
  28288. msgid ""
  28289. "(use-modules (gnu))\n"
  28290. "(use-service-modules desktop)\n"
  28291. "(operating-system\n"
  28292. " ...\n"
  28293. " ;; cons* adds items to the list given as its last argument.\n"
  28294. " (services (cons* (service gnome-desktop-service-type)\n"
  28295. " (service xfce-desktop-service)\n"
  28296. " %desktop-services))\n"
  28297. " ...)\n"
  28298. msgstr ""
  28299. #. type: Plain text
  28300. #: guix-git/doc/guix.texi:19154
  28301. msgid "These desktop environments will then be available as options in the graphical login window."
  28302. msgstr ""
  28303. #. type: Plain text
  28304. #: guix-git/doc/guix.texi:19158
  28305. 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."
  28306. msgstr ""
  28307. #. type: deffn
  28308. #: guix-git/doc/guix.texi:19159
  28309. #, no-wrap
  28310. msgid "{Scheme Procedure} dbus-service [#:dbus @var{dbus}] [#:services '()]"
  28311. msgstr ""
  28312. #. type: deffn
  28313. #: guix-git/doc/guix.texi:19162
  28314. msgid "Return a service that runs the ``system bus'', using @var{dbus}, with support for @var{services}."
  28315. msgstr ""
  28316. #. type: deffn
  28317. #: guix-git/doc/guix.texi:19166
  28318. 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."
  28319. msgstr ""
  28320. #. type: deffn
  28321. #: guix-git/doc/guix.texi:19171
  28322. 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)}."
  28323. msgstr ""
  28324. #. type: deffn
  28325. #: guix-git/doc/guix.texi:19173
  28326. #, no-wrap
  28327. msgid "{Scheme Procedure} elogind-service [#:config @var{config}]"
  28328. msgstr ""
  28329. #. type: deffn
  28330. #: guix-git/doc/guix.texi:19179
  28331. 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."
  28332. msgstr ""
  28333. #. type: deffn
  28334. #: guix-git/doc/guix.texi:19183
  28335. 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."
  28336. msgstr ""
  28337. #. type: deffn
  28338. #: guix-git/doc/guix.texi:19188
  28339. 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:"
  28340. msgstr ""
  28341. #. type: item
  28342. #: guix-git/doc/guix.texi:19190
  28343. #, no-wrap
  28344. msgid "kill-user-processes?"
  28345. msgstr ""
  28346. #. type: code{#1}
  28347. #: guix-git/doc/guix.texi:19192 guix-git/doc/guix.texi:19212
  28348. #: guix-git/doc/guix.texi:19214 guix-git/doc/guix.texi:19216
  28349. #: guix-git/doc/guix.texi:19228
  28350. msgid "#f"
  28351. msgstr ""
  28352. #. type: item
  28353. #: guix-git/doc/guix.texi:19192
  28354. #, no-wrap
  28355. msgid "kill-only-users"
  28356. msgstr ""
  28357. #. type: code{#1}
  28358. #: guix-git/doc/guix.texi:19194 guix-git/doc/guix.texi:19234
  28359. msgid "()"
  28360. msgstr ""
  28361. #. type: item
  28362. #: guix-git/doc/guix.texi:19194
  28363. #, no-wrap
  28364. msgid "kill-exclude-users"
  28365. msgstr ""
  28366. #. type: code{#1}
  28367. #: guix-git/doc/guix.texi:19196
  28368. msgid "(\"root\")"
  28369. msgstr ""
  28370. #. type: item
  28371. #: guix-git/doc/guix.texi:19196
  28372. #, no-wrap
  28373. msgid "inhibit-delay-max-seconds"
  28374. msgstr ""
  28375. #. type: code{#1}
  28376. #: guix-git/doc/guix.texi:19198
  28377. msgid "5"
  28378. msgstr "5"
  28379. #. type: item
  28380. #: guix-git/doc/guix.texi:19198
  28381. #, no-wrap
  28382. msgid "handle-power-key"
  28383. msgstr ""
  28384. #. type: code{#1}
  28385. #: guix-git/doc/guix.texi:19200
  28386. msgid "poweroff"
  28387. msgstr ""
  28388. #. type: item
  28389. #: guix-git/doc/guix.texi:19200
  28390. #, no-wrap
  28391. msgid "handle-suspend-key"
  28392. msgstr ""
  28393. #. type: code{#1}
  28394. #: guix-git/doc/guix.texi:19202 guix-git/doc/guix.texi:19206
  28395. msgid "suspend"
  28396. msgstr ""
  28397. #. type: item
  28398. #: guix-git/doc/guix.texi:19202
  28399. #, no-wrap
  28400. msgid "handle-hibernate-key"
  28401. msgstr ""
  28402. #. type: code{#1}
  28403. #: guix-git/doc/guix.texi:19204
  28404. msgid "hibernate"
  28405. msgstr ""
  28406. #. type: item
  28407. #: guix-git/doc/guix.texi:19204
  28408. #, no-wrap
  28409. msgid "handle-lid-switch"
  28410. msgstr ""
  28411. #. type: item
  28412. #: guix-git/doc/guix.texi:19206
  28413. #, no-wrap
  28414. msgid "handle-lid-switch-docked"
  28415. msgstr ""
  28416. #. type: code{#1}
  28417. #: guix-git/doc/guix.texi:19208 guix-git/doc/guix.texi:19210
  28418. #: guix-git/doc/guix.texi:19222
  28419. msgid "ignore"
  28420. msgstr ""
  28421. #. type: item
  28422. #: guix-git/doc/guix.texi:19208
  28423. #, no-wrap
  28424. msgid "handle-lid-switch-external-power"
  28425. msgstr ""
  28426. #. type: item
  28427. #: guix-git/doc/guix.texi:19210
  28428. #, no-wrap
  28429. msgid "power-key-ignore-inhibited?"
  28430. msgstr ""
  28431. #. type: item
  28432. #: guix-git/doc/guix.texi:19212
  28433. #, no-wrap
  28434. msgid "suspend-key-ignore-inhibited?"
  28435. msgstr ""
  28436. #. type: item
  28437. #: guix-git/doc/guix.texi:19214
  28438. #, no-wrap
  28439. msgid "hibernate-key-ignore-inhibited?"
  28440. msgstr ""
  28441. #. type: item
  28442. #: guix-git/doc/guix.texi:19216
  28443. #, no-wrap
  28444. msgid "lid-switch-ignore-inhibited?"
  28445. msgstr ""
  28446. #. type: code{#1}
  28447. #: guix-git/doc/guix.texi:19218 guix-git/doc/guix.texi:19230
  28448. msgid "#t"
  28449. msgstr ""
  28450. #. type: item
  28451. #: guix-git/doc/guix.texi:19218
  28452. #, no-wrap
  28453. msgid "holdoff-timeout-seconds"
  28454. msgstr ""
  28455. #. type: code{#1}
  28456. #: guix-git/doc/guix.texi:19220
  28457. msgid "30"
  28458. msgstr ""
  28459. #. type: item
  28460. #: guix-git/doc/guix.texi:19220
  28461. #, no-wrap
  28462. msgid "idle-action"
  28463. msgstr ""
  28464. #. type: item
  28465. #: guix-git/doc/guix.texi:19222
  28466. #, no-wrap
  28467. msgid "idle-action-seconds"
  28468. msgstr ""
  28469. #. type: code{#1}
  28470. #: guix-git/doc/guix.texi:19224
  28471. msgid "(* 30 60)"
  28472. msgstr ""
  28473. #. type: item
  28474. #: guix-git/doc/guix.texi:19224
  28475. #, no-wrap
  28476. msgid "runtime-directory-size-percent"
  28477. msgstr ""
  28478. #. type: code{#1}
  28479. #: guix-git/doc/guix.texi:19226
  28480. msgid "10"
  28481. msgstr ""
  28482. #. type: item
  28483. #: guix-git/doc/guix.texi:19226
  28484. #, no-wrap
  28485. msgid "runtime-directory-size"
  28486. msgstr ""
  28487. #. type: item
  28488. #: guix-git/doc/guix.texi:19228
  28489. #, no-wrap
  28490. msgid "remove-ipc?"
  28491. msgstr ""
  28492. #. type: item
  28493. #: guix-git/doc/guix.texi:19230
  28494. #, no-wrap
  28495. msgid "suspend-state"
  28496. msgstr ""
  28497. #. type: code{#1}
  28498. #: guix-git/doc/guix.texi:19232
  28499. msgid "(\"mem\" \"standby\" \"freeze\")"
  28500. msgstr ""
  28501. #. type: item
  28502. #: guix-git/doc/guix.texi:19232
  28503. #, no-wrap
  28504. msgid "suspend-mode"
  28505. msgstr ""
  28506. #. type: item
  28507. #: guix-git/doc/guix.texi:19234
  28508. #, no-wrap
  28509. msgid "hibernate-state"
  28510. msgstr ""
  28511. #. type: code{#1}
  28512. #: guix-git/doc/guix.texi:19236 guix-git/doc/guix.texi:19240
  28513. msgid "(\"disk\")"
  28514. msgstr ""
  28515. #. type: item
  28516. #: guix-git/doc/guix.texi:19236
  28517. #, no-wrap
  28518. msgid "hibernate-mode"
  28519. msgstr ""
  28520. #. type: code{#1}
  28521. #: guix-git/doc/guix.texi:19238
  28522. msgid "(\"platform\" \"shutdown\")"
  28523. msgstr ""
  28524. #. type: item
  28525. #: guix-git/doc/guix.texi:19238
  28526. #, no-wrap
  28527. msgid "hybrid-sleep-state"
  28528. msgstr ""
  28529. #. type: item
  28530. #: guix-git/doc/guix.texi:19240
  28531. #, no-wrap
  28532. msgid "hybrid-sleep-mode"
  28533. msgstr ""
  28534. #. type: code{#1}
  28535. #: guix-git/doc/guix.texi:19242
  28536. msgid "(\"suspend\" \"platform\" \"shutdown\")"
  28537. msgstr ""
  28538. #. type: deffn
  28539. #: guix-git/doc/guix.texi:19245
  28540. #, no-wrap
  28541. msgid "{Scheme Procedure} accountsservice-service @"
  28542. msgstr ""
  28543. #. type: deffn
  28544. #: guix-git/doc/guix.texi:19253
  28545. 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."
  28546. msgstr ""
  28547. #. type: deffn
  28548. #: guix-git/doc/guix.texi:19256
  28549. msgid "The @var{accountsservice} keyword argument is the @code{accountsservice} package to expose as a service."
  28550. msgstr ""
  28551. #. type: deffn
  28552. #: guix-git/doc/guix.texi:19258
  28553. #, no-wrap
  28554. msgid "{Scheme Procedure} polkit-service @"
  28555. msgstr ""
  28556. #. type: deffn
  28557. #: guix-git/doc/guix.texi:19267
  28558. 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."
  28559. msgstr ""
  28560. #. type: defvr
  28561. #: guix-git/doc/guix.texi:19269
  28562. #, no-wrap
  28563. msgid "{Scheme Variable} polkit-wheel-service"
  28564. msgstr ""
  28565. #. type: defvr
  28566. #: guix-git/doc/guix.texi:19274
  28567. 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}."
  28568. msgstr ""
  28569. #. type: defvr
  28570. #: guix-git/doc/guix.texi:19276
  28571. #, no-wrap
  28572. msgid "{Scheme Variable} upower-service-type"
  28573. msgstr ""
  28574. #. type: defvr
  28575. #: guix-git/doc/guix.texi:19280
  28576. 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."
  28577. msgstr ""
  28578. #. type: defvr
  28579. #: guix-git/doc/guix.texi:19283
  28580. msgid "It implements the @code{org.freedesktop.UPower} D-Bus interface, and is notably used by GNOME."
  28581. msgstr ""
  28582. #. type: deftp
  28583. #: guix-git/doc/guix.texi:19285
  28584. #, no-wrap
  28585. msgid "{Data Type} upower-configuration"
  28586. msgstr ""
  28587. #. type: deftp
  28588. #: guix-git/doc/guix.texi:19287
  28589. msgid "Data type representation the configuration for UPower."
  28590. msgstr ""
  28591. #. type: item
  28592. #: guix-git/doc/guix.texi:19290
  28593. #, no-wrap
  28594. msgid "@code{upower} (default: @var{upower})"
  28595. msgstr "@code{upower} (default: @var{upower})"
  28596. #. type: table
  28597. #: guix-git/doc/guix.texi:19292
  28598. msgid "Package to use for @code{upower}."
  28599. msgstr ""
  28600. #. type: item
  28601. #: guix-git/doc/guix.texi:19293
  28602. #, no-wrap
  28603. msgid "@code{watts-up-pro?} (default: @code{#f})"
  28604. msgstr "@code{watts-up-pro?} (padrão: @code{#f})"
  28605. #. type: table
  28606. #: guix-git/doc/guix.texi:19295
  28607. msgid "Enable the Watts Up Pro device."
  28608. msgstr ""
  28609. #. type: item
  28610. #: guix-git/doc/guix.texi:19296
  28611. #, no-wrap
  28612. msgid "@code{poll-batteries?} (default: @code{#t})"
  28613. msgstr "@code{poll-batteries?} (padrão: @code{#t})"
  28614. #. type: table
  28615. #: guix-git/doc/guix.texi:19298
  28616. msgid "Enable polling the kernel for battery level changes."
  28617. msgstr ""
  28618. #. type: item
  28619. #: guix-git/doc/guix.texi:19299
  28620. #, no-wrap
  28621. msgid "@code{ignore-lid?} (default: @code{#f})"
  28622. msgstr "@code{ignore-lid?} (padrão: @code{#f})"
  28623. #. type: table
  28624. #: guix-git/doc/guix.texi:19301
  28625. msgid "Ignore the lid state, this can be useful if it's incorrect on a device."
  28626. msgstr ""
  28627. #. type: item
  28628. #: guix-git/doc/guix.texi:19302
  28629. #, no-wrap
  28630. msgid "@code{use-percentage-for-policy?} (default: @code{#f})"
  28631. msgstr ""
  28632. #. type: table
  28633. #: guix-git/doc/guix.texi:19305
  28634. 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."
  28635. msgstr ""
  28636. #. type: item
  28637. #: guix-git/doc/guix.texi:19306
  28638. #, no-wrap
  28639. msgid "@code{percentage-low} (default: @code{10})"
  28640. msgstr ""
  28641. #. type: table
  28642. #: guix-git/doc/guix.texi:19309
  28643. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered low."
  28644. msgstr ""
  28645. #. type: item
  28646. #: guix-git/doc/guix.texi:19310
  28647. #, no-wrap
  28648. msgid "@code{percentage-critical} (default: @code{3})"
  28649. msgstr ""
  28650. #. type: table
  28651. #: guix-git/doc/guix.texi:19313
  28652. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered critical."
  28653. msgstr ""
  28654. #. type: item
  28655. #: guix-git/doc/guix.texi:19314
  28656. #, no-wrap
  28657. msgid "@code{percentage-action} (default: @code{2})"
  28658. msgstr ""
  28659. #. type: table
  28660. #: guix-git/doc/guix.texi:19317
  28661. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which action will be taken."
  28662. msgstr ""
  28663. #. type: item
  28664. #: guix-git/doc/guix.texi:19318
  28665. #, no-wrap
  28666. msgid "@code{time-low} (default: @code{1200})"
  28667. msgstr ""
  28668. #. type: table
  28669. #: guix-git/doc/guix.texi:19321
  28670. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered low."
  28671. msgstr ""
  28672. #. type: item
  28673. #: guix-git/doc/guix.texi:19322
  28674. #, no-wrap
  28675. msgid "@code{time-critical} (default: @code{300})"
  28676. msgstr ""
  28677. #. type: table
  28678. #: guix-git/doc/guix.texi:19325
  28679. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered critical."
  28680. msgstr ""
  28681. #. type: item
  28682. #: guix-git/doc/guix.texi:19326
  28683. #, no-wrap
  28684. msgid "@code{time-action} (default: @code{120})"
  28685. msgstr ""
  28686. #. type: table
  28687. #: guix-git/doc/guix.texi:19329
  28688. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which action will be taken."
  28689. msgstr ""
  28690. #. type: item
  28691. #: guix-git/doc/guix.texi:19330
  28692. #, no-wrap
  28693. msgid "@code{critical-power-action} (default: @code{'hybrid-sleep})"
  28694. msgstr ""
  28695. #. type: table
  28696. #: guix-git/doc/guix.texi:19333
  28697. msgid "The action taken when @code{percentage-action} or @code{time-action} is reached (depending on the configuration of @code{use-percentage-for-policy?})."
  28698. msgstr ""
  28699. #. type: table
  28700. #: guix-git/doc/guix.texi:19335
  28701. msgid "Possible values are:"
  28702. msgstr ""
  28703. #. type: code{#1}
  28704. #: guix-git/doc/guix.texi:19339
  28705. msgid "'power-off"
  28706. msgstr ""
  28707. #. type: code{#1}
  28708. #: guix-git/doc/guix.texi:19342
  28709. msgid "'hibernate"
  28710. msgstr ""
  28711. #. type: itemize
  28712. #: guix-git/doc/guix.texi:19345
  28713. msgid "@code{'hybrid-sleep}."
  28714. msgstr ""
  28715. #. type: deffn
  28716. #: guix-git/doc/guix.texi:19350
  28717. #, no-wrap
  28718. msgid "{Scheme Procedure} udisks-service [#:udisks @var{udisks}]"
  28719. msgstr ""
  28720. #. type: deffn
  28721. #: guix-git/doc/guix.texi:19360
  28722. 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."
  28723. msgstr ""
  28724. #. type: deffn
  28725. #: guix-git/doc/guix.texi:19362
  28726. #, no-wrap
  28727. msgid "{Scheme Variable} colord-service-type"
  28728. msgstr ""
  28729. #. type: deffn
  28730. #: guix-git/doc/guix.texi:19369
  28731. 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."
  28732. msgstr ""
  28733. #. type: cindex
  28734. #: guix-git/doc/guix.texi:19371
  28735. #, no-wrap
  28736. msgid "scanner access"
  28737. msgstr ""
  28738. #. type: defvr
  28739. #: guix-git/doc/guix.texi:19372
  28740. #, no-wrap
  28741. msgid "{Scheme Variable} sane-service-type"
  28742. msgstr ""
  28743. #. type: defvr
  28744. #: guix-git/doc/guix.texi:19378
  28745. 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."
  28746. msgstr ""
  28747. #. type: defvr
  28748. #: guix-git/doc/guix.texi:19380
  28749. #, no-wrap
  28750. msgid "{Scheme Variable} sane-backends-minimal"
  28751. msgstr ""
  28752. #. type: defvr
  28753. #: guix-git/doc/guix.texi:19383
  28754. msgid "The default package which the @code{sane-service-type} installs. It supports many recent scanners."
  28755. msgstr ""
  28756. #. type: defvr
  28757. #: guix-git/doc/guix.texi:19385
  28758. #, no-wrap
  28759. msgid "{Scheme Variable} sane-backends"
  28760. msgstr ""
  28761. #. type: defvr
  28762. #: guix-git/doc/guix.texi:19392
  28763. 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:"
  28764. msgstr ""
  28765. #. type: lisp
  28766. #: guix-git/doc/guix.texi:19401
  28767. #, no-wrap
  28768. msgid ""
  28769. "(use-modules (gnu))\n"
  28770. "(use-service-modules\n"
  28771. " @dots{}\n"
  28772. " desktop)\n"
  28773. "(use-package-modules\n"
  28774. " @dots{}\n"
  28775. " scanner)\n"
  28776. "\n"
  28777. msgstr ""
  28778. #. type: lisp
  28779. #: guix-git/doc/guix.texi:19406
  28780. #, no-wrap
  28781. msgid ""
  28782. "(define %my-desktop-services\n"
  28783. " ;; List of desktop services that supports a broader range of scanners.\n"
  28784. " (modify-services %desktop-services\n"
  28785. " (sane-service-type _ => sane-backends)))\n"
  28786. "\n"
  28787. msgstr ""
  28788. #. type: lisp
  28789. #: guix-git/doc/guix.texi:19410
  28790. #, no-wrap
  28791. msgid ""
  28792. "(operating-system\n"
  28793. " @dots{}\n"
  28794. " (services %my-desktop-services)\n"
  28795. msgstr ""
  28796. #. type: deffn
  28797. #: guix-git/doc/guix.texi:19413
  28798. #, no-wrap
  28799. msgid "{Scheme Procedure} geoclue-application name [#:allowed? #t] [#:system? #f] [#:users '()]"
  28800. msgstr ""
  28801. #. type: deffn
  28802. #: guix-git/doc/guix.texi:19422
  28803. 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."
  28804. msgstr ""
  28805. #. type: defvr
  28806. #: guix-git/doc/guix.texi:19424
  28807. #, no-wrap
  28808. msgid "{Scheme Variable} %standard-geoclue-applications"
  28809. msgstr ""
  28810. #. type: defvr
  28811. #: guix-git/doc/guix.texi:19431
  28812. 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."
  28813. msgstr ""
  28814. #. type: deffn
  28815. #: guix-git/doc/guix.texi:19433
  28816. #, no-wrap
  28817. msgid "{Scheme Procedure} geoclue-service [#:colord @var{colord}] @"
  28818. msgstr ""
  28819. #. type: deffn
  28820. #: guix-git/doc/guix.texi:19446
  28821. 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."
  28822. msgstr ""
  28823. #. type: deffn
  28824. #: guix-git/doc/guix.texi:19448
  28825. #, no-wrap
  28826. msgid "{Scheme Procedure} bluetooth-service [#:bluez @var{bluez}] @"
  28827. msgstr ""
  28828. #. type: deffn
  28829. #: guix-git/doc/guix.texi:19455
  28830. 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."
  28831. msgstr ""
  28832. #. type: deffn
  28833. #: guix-git/doc/guix.texi:19457
  28834. msgid "Users need to be in the @code{lp} group to access the D-Bus service."
  28835. msgstr ""
  28836. #. type: defvr
  28837. #: guix-git/doc/guix.texi:19459
  28838. #, no-wrap
  28839. msgid "{Scheme Variable} gnome-keyring-service-type"
  28840. msgstr ""
  28841. #. type: defvr
  28842. #: guix-git/doc/guix.texi:19463
  28843. 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)."
  28844. msgstr ""
  28845. #. type: defvr
  28846. #: guix-git/doc/guix.texi:19467
  28847. 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."
  28848. msgstr ""
  28849. #. type: deftp
  28850. #: guix-git/doc/guix.texi:19469
  28851. #, no-wrap
  28852. msgid "{Data Type} gnome-keyring-configuration"
  28853. msgstr ""
  28854. #. type: deftp
  28855. #: guix-git/doc/guix.texi:19471
  28856. msgid "Configuration record for the GNOME Keyring service."
  28857. msgstr ""
  28858. #. type: item
  28859. #: guix-git/doc/guix.texi:19473
  28860. #, no-wrap
  28861. msgid "@code{keyring} (default: @code{gnome-keyring})"
  28862. msgstr ""
  28863. #. type: table
  28864. #: guix-git/doc/guix.texi:19475
  28865. msgid "The GNOME keyring package to use."
  28866. msgstr ""
  28867. #. type: code{#1}
  28868. #: guix-git/doc/guix.texi:19476
  28869. #, no-wrap
  28870. msgid "pam-services"
  28871. msgstr ""
  28872. #. type: table
  28873. #: guix-git/doc/guix.texi:19481
  28874. 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}."
  28875. msgstr ""
  28876. #. type: table
  28877. #: guix-git/doc/guix.texi:19487
  28878. 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."
  28879. msgstr ""
  28880. #. type: table
  28881. #: guix-git/doc/guix.texi:19490
  28882. msgid "By default, this field contains ``gdm-password'' with the value @code{login} and ``passwd'' is with the value @code{passwd}."
  28883. msgstr ""
  28884. #. type: cindex
  28885. #: guix-git/doc/guix.texi:19497
  28886. #, no-wrap
  28887. msgid "sound support"
  28888. msgstr ""
  28889. #. type: cindex
  28890. #: guix-git/doc/guix.texi:19498
  28891. #, no-wrap
  28892. msgid "ALSA"
  28893. msgstr ""
  28894. #. type: cindex
  28895. #: guix-git/doc/guix.texi:19499
  28896. #, no-wrap
  28897. msgid "PulseAudio, sound support"
  28898. msgstr ""
  28899. #. type: Plain text
  28900. #: guix-git/doc/guix.texi:19504
  28901. 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."
  28902. msgstr ""
  28903. #. type: deffn
  28904. #: guix-git/doc/guix.texi:19505
  28905. #, no-wrap
  28906. msgid "{Scheme Variable} alsa-service-type"
  28907. msgstr ""
  28908. #. type: deffn
  28909. #: guix-git/doc/guix.texi:19510
  28910. 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:"
  28911. msgstr ""
  28912. #. type: lisp
  28913. #: guix-git/doc/guix.texi:19513
  28914. #, no-wrap
  28915. msgid "(service alsa-service-type)\n"
  28916. msgstr ""
  28917. #. type: deffn
  28918. #: guix-git/doc/guix.texi:19516
  28919. msgid "See below for details about @code{alsa-configuration}."
  28920. msgstr ""
  28921. #. type: deftp
  28922. #: guix-git/doc/guix.texi:19518
  28923. #, no-wrap
  28924. msgid "{Data Type} alsa-configuration"
  28925. msgstr ""
  28926. #. type: deftp
  28927. #: guix-git/doc/guix.texi:19520
  28928. msgid "Data type representing the configuration for @code{alsa-service}."
  28929. msgstr ""
  28930. #. type: item
  28931. #: guix-git/doc/guix.texi:19522
  28932. #, no-wrap
  28933. msgid "@code{alsa-plugins} (default: @var{alsa-plugins})"
  28934. msgstr "@code{alsa-plugins} (default: @var{alsa-plugins})"
  28935. #. type: table
  28936. #: guix-git/doc/guix.texi:19524
  28937. msgid "@code{alsa-plugins} package to use."
  28938. msgstr ""
  28939. #. type: item
  28940. #: guix-git/doc/guix.texi:19525
  28941. #, no-wrap
  28942. msgid "@code{pulseaudio?} (default: @var{#t})"
  28943. msgstr ""
  28944. #. type: table
  28945. #: guix-git/doc/guix.texi:19528
  28946. msgid "Whether ALSA applications should transparently be made to use the @uref{https://www.pulseaudio.org/, PulseAudio} sound server."
  28947. msgstr ""
  28948. #. type: table
  28949. #: guix-git/doc/guix.texi:19532
  28950. 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."
  28951. msgstr ""
  28952. #. type: item
  28953. #: guix-git/doc/guix.texi:19533
  28954. #, no-wrap
  28955. msgid "@code{extra-options} (default: @var{\"\"})"
  28956. msgstr ""
  28957. #. type: table
  28958. #: guix-git/doc/guix.texi:19535
  28959. msgid "String to append to the @file{/etc/asound.conf} file."
  28960. msgstr ""
  28961. #. type: Plain text
  28962. #: guix-git/doc/guix.texi:19541
  28963. msgid "Individual users who want to override the system configuration of ALSA can do it with the @file{~/.asoundrc} file:"
  28964. msgstr ""
  28965. #. type: example
  28966. #: guix-git/doc/guix.texi:19547
  28967. #, no-wrap
  28968. msgid ""
  28969. "# In guix, we have to specify the absolute path for plugins.\n"
  28970. "pcm_type.jack @{\n"
  28971. " lib \"/home/alice/.guix-profile/lib/alsa-lib/libasound_module_pcm_jack.so\"\n"
  28972. "@}\n"
  28973. "\n"
  28974. msgstr ""
  28975. #. type: example
  28976. #: guix-git/doc/guix.texi:19556
  28977. #, no-wrap
  28978. msgid ""
  28979. "# Routing ALSA to jack:\n"
  28980. "# <http://jackaudio.org/faq/routing_alsa.html>.\n"
  28981. "pcm.rawjack @{\n"
  28982. " type jack\n"
  28983. " playback_ports @{\n"
  28984. " 0 system:playback_1\n"
  28985. " 1 system:playback_2\n"
  28986. " @}\n"
  28987. "\n"
  28988. msgstr ""
  28989. #. type: example
  28990. #: guix-git/doc/guix.texi:19562
  28991. #, no-wrap
  28992. msgid ""
  28993. " capture_ports @{\n"
  28994. " 0 system:capture_1\n"
  28995. " 1 system:capture_2\n"
  28996. " @}\n"
  28997. "@}\n"
  28998. "\n"
  28999. msgstr ""
  29000. #. type: example
  29001. #: guix-git/doc/guix.texi:19569
  29002. #, no-wrap
  29003. msgid ""
  29004. "pcm.!default @{\n"
  29005. " type plug\n"
  29006. " slave @{\n"
  29007. " pcm \"rawjack\"\n"
  29008. " @}\n"
  29009. "@}\n"
  29010. msgstr ""
  29011. #. type: Plain text
  29012. #: guix-git/doc/guix.texi:19573
  29013. msgid "See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the details."
  29014. msgstr ""
  29015. #. type: deffn
  29016. #: guix-git/doc/guix.texi:19574
  29017. #, no-wrap
  29018. msgid "{Scheme Variable} pulseaudio-service-type"
  29019. msgstr ""
  29020. #. type: deffn
  29021. #: guix-git/doc/guix.texi:19578
  29022. 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."
  29023. msgstr ""
  29024. #. type: quotation
  29025. #: guix-git/doc/guix.texi:19584
  29026. 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}."
  29027. msgstr ""
  29028. #. type: quotation
  29029. #: guix-git/doc/guix.texi:19592
  29030. 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."
  29031. msgstr ""
  29032. #. type: deftp
  29033. #: guix-git/doc/guix.texi:19595
  29034. #, no-wrap
  29035. msgid "{Data Type} pulseaudio-configuration"
  29036. msgstr ""
  29037. #. type: deftp
  29038. #: guix-git/doc/guix.texi:19597
  29039. msgid "Data type representing the configuration for @code{pulseaudio-service}."
  29040. msgstr ""
  29041. #. type: item
  29042. #: guix-git/doc/guix.texi:19599
  29043. #, no-wrap
  29044. msgid "@code{client-conf} (default: @code{'()})"
  29045. msgstr ""
  29046. #. type: table
  29047. #: guix-git/doc/guix.texi:19604
  29048. 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."
  29049. msgstr ""
  29050. #. type: item
  29051. #: guix-git/doc/guix.texi:19605
  29052. #, no-wrap
  29053. msgid "@code{daemon-conf} (default: @code{'((flat-volumes . no))})"
  29054. msgstr ""
  29055. #. type: table
  29056. #: guix-git/doc/guix.texi:19608
  29057. msgid "List of settings to set in @file{daemon.conf}, formatted just like @var{client-conf}."
  29058. msgstr ""
  29059. #. type: item
  29060. #: guix-git/doc/guix.texi:19609
  29061. #, no-wrap
  29062. msgid "@code{script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/default.pa\")})"
  29063. msgstr ""
  29064. #. type: table
  29065. #: guix-git/doc/guix.texi:19611
  29066. msgid "Script file to use as @file{default.pa}."
  29067. msgstr ""
  29068. #. type: item
  29069. #: guix-git/doc/guix.texi:19612
  29070. #, no-wrap
  29071. msgid "@code{system-script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/system.pa\")})"
  29072. msgstr ""
  29073. #. type: table
  29074. #: guix-git/doc/guix.texi:19614
  29075. msgid "Script file to use as @file{system.pa}."
  29076. msgstr ""
  29077. #. type: deffn
  29078. #: guix-git/doc/guix.texi:19617
  29079. #, no-wrap
  29080. msgid "{Scheme Variable} ladspa-service-type"
  29081. msgstr ""
  29082. #. type: deffn
  29083. #: guix-git/doc/guix.texi:19620
  29084. msgid "This service sets the @var{LADSPA_PATH} variable, so that programs, which respect it, e.g. PulseAudio, can load LADSPA plugins."
  29085. msgstr ""
  29086. #. type: deffn
  29087. #: guix-git/doc/guix.texi:19623
  29088. msgid "The following example will setup the service to enable modules from the @code{swh-plugins} package:"
  29089. msgstr ""
  29090. #. type: lisp
  29091. #: guix-git/doc/guix.texi:19627
  29092. #, no-wrap
  29093. msgid ""
  29094. "(service ladspa-service-type\n"
  29095. " (ladspa-configuration (plugins (list swh-plugins))))\n"
  29096. msgstr ""
  29097. #. type: deffn
  29098. #: guix-git/doc/guix.texi:19631
  29099. msgid "See @uref{http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html} for the details."
  29100. msgstr ""
  29101. #. type: cindex
  29102. #: guix-git/doc/guix.texi:19638
  29103. #, no-wrap
  29104. msgid "SQL"
  29105. msgstr ""
  29106. #. type: Plain text
  29107. #: guix-git/doc/guix.texi:19640
  29108. msgid "The @code{(gnu services databases)} module provides the following services."
  29109. msgstr ""
  29110. #. type: subsubheading
  29111. #: guix-git/doc/guix.texi:19641
  29112. #, no-wrap
  29113. msgid "PostgreSQL"
  29114. msgstr ""
  29115. #. type: Plain text
  29116. #: guix-git/doc/guix.texi:19645
  29117. msgid "The following example describes a PostgreSQL service with the default configuration."
  29118. msgstr ""
  29119. #. type: lisp
  29120. #: guix-git/doc/guix.texi:19650
  29121. #, no-wrap
  29122. msgid ""
  29123. "(service postgresql-service-type\n"
  29124. " (postgresql-configuration\n"
  29125. " (postgresql postgresql-10)))\n"
  29126. msgstr ""
  29127. #. type: Plain text
  29128. #: guix-git/doc/guix.texi:19656
  29129. 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."
  29130. msgstr ""
  29131. #. type: Plain text
  29132. #: guix-git/doc/guix.texi:19663
  29133. 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."
  29134. msgstr ""
  29135. #. type: example
  29136. #: guix-git/doc/guix.texi:19668
  29137. #, no-wrap
  29138. msgid ""
  29139. "sudo -u postgres -s /bin/sh\n"
  29140. "createuser --interactive\n"
  29141. "createdb $MY_USER_LOGIN # Replace appropriately.\n"
  29142. msgstr ""
  29143. #. type: deftp
  29144. #: guix-git/doc/guix.texi:19670
  29145. #, no-wrap
  29146. msgid "{Data Type} postgresql-configuration"
  29147. msgstr ""
  29148. #. type: deftp
  29149. #: guix-git/doc/guix.texi:19673
  29150. msgid "Data type representing the configuration for the @code{postgresql-service-type}."
  29151. msgstr ""
  29152. #. type: code{#1}
  29153. #: guix-git/doc/guix.texi:19675
  29154. #, no-wrap
  29155. msgid "postgresql"
  29156. msgstr ""
  29157. #. type: table
  29158. #: guix-git/doc/guix.texi:19677
  29159. msgid "PostgreSQL package to use for the service."
  29160. msgstr ""
  29161. #. type: item
  29162. #: guix-git/doc/guix.texi:19678
  29163. #, no-wrap
  29164. msgid "@code{port} (default: @code{5432})"
  29165. msgstr ""
  29166. #. type: table
  29167. #: guix-git/doc/guix.texi:19680
  29168. msgid "Port on which PostgreSQL should listen."
  29169. msgstr ""
  29170. #. type: table
  29171. #: guix-git/doc/guix.texi:19683
  29172. msgid "Locale to use as the default when creating the database cluster."
  29173. msgstr ""
  29174. #. type: item
  29175. #: guix-git/doc/guix.texi:19684
  29176. #, no-wrap
  29177. msgid "@code{config-file} (default: @code{(postgresql-config-file)})"
  29178. msgstr ""
  29179. #. type: table
  29180. #: guix-git/doc/guix.texi:19688
  29181. 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."
  29182. msgstr ""
  29183. #. type: item
  29184. #: guix-git/doc/guix.texi:19689
  29185. #, no-wrap
  29186. msgid "@code{log-directory} (default: @code{\"/var/log/postgresql\"})"
  29187. msgstr ""
  29188. #. type: table
  29189. #: guix-git/doc/guix.texi:19693
  29190. 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."
  29191. msgstr ""
  29192. #. type: item
  29193. #: guix-git/doc/guix.texi:19694
  29194. #, no-wrap
  29195. msgid "@code{data-directory} (default: @code{\"/var/lib/postgresql/data\"})"
  29196. msgstr ""
  29197. #. type: table
  29198. #: guix-git/doc/guix.texi:19696
  29199. msgid "Directory in which to store the data."
  29200. msgstr ""
  29201. #. type: item
  29202. #: guix-git/doc/guix.texi:19697
  29203. #, no-wrap
  29204. msgid "@code{extension-packages} (default: @code{'()})"
  29205. msgstr ""
  29206. #. type: cindex
  29207. #: guix-git/doc/guix.texi:19698
  29208. #, no-wrap
  29209. msgid "postgresql extension-packages"
  29210. msgstr ""
  29211. #. type: table
  29212. #: guix-git/doc/guix.texi:19703
  29213. 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:"
  29214. msgstr ""
  29215. #. type: cindex
  29216. #: guix-git/doc/guix.texi:19704
  29217. #, no-wrap
  29218. msgid "postgis"
  29219. msgstr ""
  29220. #. type: lisp
  29221. #: guix-git/doc/guix.texi:19707
  29222. #, no-wrap
  29223. msgid ""
  29224. "(use-package-modules databases geo)\n"
  29225. "\n"
  29226. msgstr ""
  29227. #. type: lisp
  29228. #: guix-git/doc/guix.texi:19720
  29229. #, no-wrap
  29230. msgid ""
  29231. "(operating-system\n"
  29232. " ...\n"
  29233. " ;; postgresql is required to run `psql' but postgis is not required for\n"
  29234. " ;; proper operation.\n"
  29235. " (packages (cons* postgresql %base-packages))\n"
  29236. " (services\n"
  29237. " (cons*\n"
  29238. " (service postgresql-service-type\n"
  29239. " (postgresql-configuration\n"
  29240. " (postgresql postgresql-10)\n"
  29241. " (extension-packages (list postgis))))\n"
  29242. " %base-services)))\n"
  29243. msgstr ""
  29244. #. type: table
  29245. #: guix-git/doc/guix.texi:19724
  29246. msgid "Then the extension becomes visible and you can initialise an empty geographic database in this way:"
  29247. msgstr ""
  29248. #. type: example
  29249. #: guix-git/doc/guix.texi:19731
  29250. #, no-wrap
  29251. msgid ""
  29252. "psql -U postgres\n"
  29253. "> create database postgistest;\n"
  29254. "> \\connect postgistest;\n"
  29255. "> create extension postgis;\n"
  29256. "> create extension postgis_topology;\n"
  29257. msgstr ""
  29258. #. type: table
  29259. #: guix-git/doc/guix.texi:19736
  29260. 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."
  29261. msgstr ""
  29262. #. type: deftp
  29263. #: guix-git/doc/guix.texi:19740
  29264. #, no-wrap
  29265. msgid "{Data Type} postgresql-config-file"
  29266. msgstr ""
  29267. #. type: deftp
  29268. #: guix-git/doc/guix.texi:19746
  29269. 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."
  29270. msgstr ""
  29271. #. type: lisp
  29272. #: guix-git/doc/guix.texi:19766
  29273. #, no-wrap
  29274. msgid ""
  29275. "(service postgresql-service-type\n"
  29276. " (postgresql-configuration\n"
  29277. " (config-file\n"
  29278. " (postgresql-config-file\n"
  29279. " (log-destination \"stderr\")\n"
  29280. " (hba-file\n"
  29281. " (plain-file \"pg_hba.conf\"\n"
  29282. " \"\n"
  29283. "local\tall\tall\t\t\ttrust\n"
  29284. "host\tall\tall\t127.0.0.1/32 \tmd5\n"
  29285. "host\tall\tall\t::1/128 \tmd5\"))\n"
  29286. " (extra-config\n"
  29287. " '((\"session_preload_libraries\" \"auto_explain\")\n"
  29288. " (\"random_page_cost\" 2)\n"
  29289. " (\"auto_explain.log_min_duration\" \"100 ms\")\n"
  29290. " (\"work_mem\" \"500 MB\")\n"
  29291. " (\"logging_collector\" #t)\n"
  29292. " (\"log_directory\" \"/var/log/postgresql\")))))))\n"
  29293. msgstr ""
  29294. #. type: item
  29295. #: guix-git/doc/guix.texi:19769
  29296. #, no-wrap
  29297. msgid "@code{log-destination} (default: @code{\"syslog\"})"
  29298. msgstr ""
  29299. #. type: table
  29300. #: guix-git/doc/guix.texi:19772
  29301. msgid "The logging method to use for PostgreSQL@. Multiple values are accepted, separated by commas."
  29302. msgstr ""
  29303. #. type: item
  29304. #: guix-git/doc/guix.texi:19773
  29305. #, no-wrap
  29306. msgid "@code{hba-file} (default: @code{%default-postgres-hba})"
  29307. msgstr ""
  29308. #. type: table
  29309. #: guix-git/doc/guix.texi:19776
  29310. msgid "Filename or G-expression for the host-based authentication configuration."
  29311. msgstr ""
  29312. #. type: item
  29313. #: guix-git/doc/guix.texi:19777
  29314. #, no-wrap
  29315. msgid "@code{ident-file} (default: @code{%default-postgres-ident})"
  29316. msgstr ""
  29317. #. type: table
  29318. #: guix-git/doc/guix.texi:19779
  29319. msgid "Filename or G-expression for the user name mapping configuration."
  29320. msgstr ""
  29321. #. type: item
  29322. #: guix-git/doc/guix.texi:19780
  29323. #, fuzzy, no-wrap
  29324. #| msgid "@code{chdir} (default: @code{#f})"
  29325. msgid "@code{socket-directory} (default: @code{#false})"
  29326. msgstr "@code{chdir} (default: @code{#f})"
  29327. #. type: table
  29328. #: guix-git/doc/guix.texi:19785
  29329. 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."
  29330. msgstr ""
  29331. #. type: table
  29332. #: guix-git/doc/guix.texi:19788
  29333. msgid "By default, the @code{#false} value means the PostgreSQL default value will be used, which is currently @samp{/tmp}."
  29334. msgstr ""
  29335. #. type: table
  29336. #: guix-git/doc/guix.texi:19793
  29337. 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."
  29338. msgstr ""
  29339. #. type: table
  29340. #: guix-git/doc/guix.texi:19799
  29341. 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}."
  29342. msgstr ""
  29343. #. type: deffn
  29344. #: guix-git/doc/guix.texi:19803
  29345. #, no-wrap
  29346. msgid "{Scheme Variable} postgresql-role-service-type"
  29347. msgstr ""
  29348. #. type: deffn
  29349. #: guix-git/doc/guix.texi:19806
  29350. msgid "This service allows to create PostgreSQL roles and databases after PostgreSQL service start. Here is an example of its use."
  29351. msgstr ""
  29352. #. type: lisp
  29353. #: guix-git/doc/guix.texi:19814
  29354. #, no-wrap
  29355. msgid ""
  29356. "(service postgresql-role-service-type\n"
  29357. " (postgresql-role-configuration\n"
  29358. " (roles\n"
  29359. " (list (postgresql-role\n"
  29360. " (name \"test\")\n"
  29361. " (create-database? #t))))))\n"
  29362. msgstr ""
  29363. #. type: deffn
  29364. #: guix-git/doc/guix.texi:19818
  29365. msgid "This service can be extended with extra roles, as in this example:"
  29366. msgstr ""
  29367. #. type: lisp
  29368. #: guix-git/doc/guix.texi:19824
  29369. #, no-wrap
  29370. msgid ""
  29371. "(service-extension postgresql-role-service-type\n"
  29372. " (const (postgresql-role\n"
  29373. " (name \"alice\")\n"
  29374. " (create-database? #t))))\n"
  29375. msgstr ""
  29376. #. type: deftp
  29377. #: guix-git/doc/guix.texi:19827
  29378. #, no-wrap
  29379. msgid "{Data Type} postgresql-role"
  29380. msgstr ""
  29381. #. type: deftp
  29382. #: guix-git/doc/guix.texi:19833
  29383. 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."
  29384. msgstr ""
  29385. #. type: table
  29386. #: guix-git/doc/guix.texi:19837
  29387. msgid "The role name."
  29388. msgstr ""
  29389. #. type: item
  29390. #: guix-git/doc/guix.texi:19838
  29391. #, no-wrap
  29392. msgid "@code{permissions} (default: @code{'(createdb login)})"
  29393. msgstr ""
  29394. #. type: table
  29395. #: guix-git/doc/guix.texi:19842
  29396. msgid "The role permissions list. Supported permissions are @code{bypassrls}, @code{createdb}, @code{createrole}, @code{login}, @code{replication} and @code{superuser}."
  29397. msgstr ""
  29398. #. type: item
  29399. #: guix-git/doc/guix.texi:19843
  29400. #, no-wrap
  29401. msgid "@code{create-database?} (default: @code{#f})"
  29402. msgstr ""
  29403. #. type: table
  29404. #: guix-git/doc/guix.texi:19845
  29405. msgid "Whether to create a database with the same name as the role."
  29406. msgstr ""
  29407. #. type: deftp
  29408. #: guix-git/doc/guix.texi:19849
  29409. #, no-wrap
  29410. msgid "{Data Type} postgresql-role-configuration"
  29411. msgstr ""
  29412. #. type: deftp
  29413. #: guix-git/doc/guix.texi:19852
  29414. msgid "Data type representing the configuration of @var{postgresql-role-service-type}."
  29415. msgstr ""
  29416. #. type: item
  29417. #: guix-git/doc/guix.texi:19854
  29418. #, no-wrap
  29419. msgid "@code{host} (default: @code{\"/var/run/postgresql\"})"
  29420. msgstr ""
  29421. #. type: table
  29422. #: guix-git/doc/guix.texi:19856
  29423. msgid "The PostgreSQL host to connect to."
  29424. msgstr ""
  29425. #. type: item
  29426. #: guix-git/doc/guix.texi:19857
  29427. #, no-wrap
  29428. msgid "@code{log} (default: @code{\"/var/log/postgresql_roles.log\"})"
  29429. msgstr ""
  29430. #. type: table
  29431. #: guix-git/doc/guix.texi:19859
  29432. msgid "File name of the log file."
  29433. msgstr ""
  29434. #. type: item
  29435. #: guix-git/doc/guix.texi:19860
  29436. #, no-wrap
  29437. msgid "@code{roles} (default: @code{'()})"
  29438. msgstr ""
  29439. #. type: table
  29440. #: guix-git/doc/guix.texi:19862
  29441. msgid "The initial PostgreSQL roles to create."
  29442. msgstr ""
  29443. #. type: subsubheading
  29444. #: guix-git/doc/guix.texi:19865
  29445. #, no-wrap
  29446. msgid "MariaDB/MySQL"
  29447. msgstr ""
  29448. #. type: defvr
  29449. #: guix-git/doc/guix.texi:19867
  29450. #, no-wrap
  29451. msgid "{Scheme Variable} mysql-service-type"
  29452. msgstr ""
  29453. #. type: defvr
  29454. #: guix-git/doc/guix.texi:19871
  29455. 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."
  29456. msgstr ""
  29457. #. type: deftp
  29458. #: guix-git/doc/guix.texi:19873
  29459. #, no-wrap
  29460. msgid "{Data Type} mysql-configuration"
  29461. msgstr ""
  29462. #. type: deftp
  29463. #: guix-git/doc/guix.texi:19875
  29464. msgid "Data type representing the configuration of @var{mysql-service-type}."
  29465. msgstr ""
  29466. #. type: item
  29467. #: guix-git/doc/guix.texi:19877
  29468. #, no-wrap
  29469. msgid "@code{mysql} (default: @var{mariadb})"
  29470. msgstr ""
  29471. #. type: table
  29472. #: guix-git/doc/guix.texi:19880
  29473. msgid "Package object of the MySQL database server, can be either @var{mariadb} or @var{mysql}."
  29474. msgstr ""
  29475. #. type: table
  29476. #: guix-git/doc/guix.texi:19883
  29477. msgid "For MySQL, a temporary root password will be displayed at activation time. For MariaDB, the root password is empty."
  29478. msgstr ""
  29479. #. type: item
  29480. #: guix-git/doc/guix.texi:19884 guix-git/doc/guix.texi:23430
  29481. #, no-wrap
  29482. msgid "@code{bind-address} (default: @code{\"127.0.0.1\"})"
  29483. msgstr ""
  29484. #. type: table
  29485. #: guix-git/doc/guix.texi:19887
  29486. msgid "The IP on which to listen for network connections. Use @code{\"0.0.0.0\"} to bind to all available network interfaces."
  29487. msgstr ""
  29488. #. type: item
  29489. #: guix-git/doc/guix.texi:19888
  29490. #, no-wrap
  29491. msgid "@code{port} (default: @code{3306})"
  29492. msgstr "@code{porta} (default: @code{3306})"
  29493. #. type: table
  29494. #: guix-git/doc/guix.texi:19890
  29495. msgid "TCP port on which the database server listens for incoming connections."
  29496. msgstr ""
  29497. #. type: item
  29498. #: guix-git/doc/guix.texi:19891
  29499. #, no-wrap
  29500. msgid "@code{socket} (default: @code{\"/run/mysqld/mysqld.sock\"})"
  29501. msgstr ""
  29502. #. type: table
  29503. #: guix-git/doc/guix.texi:19893
  29504. msgid "Socket file to use for local (non-network) connections."
  29505. msgstr ""
  29506. #. type: table
  29507. #: guix-git/doc/guix.texi:19896
  29508. msgid "Additional settings for the @file{my.cnf} configuration file."
  29509. msgstr ""
  29510. #. type: item
  29511. #: guix-git/doc/guix.texi:19897
  29512. #, no-wrap
  29513. msgid "@code{auto-upgrade?} (default: @code{#t})"
  29514. msgstr ""
  29515. #. type: table
  29516. #: guix-git/doc/guix.texi:19902
  29517. 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."
  29518. msgstr ""
  29519. #. type: subsubheading
  29520. #: guix-git/doc/guix.texi:19906
  29521. #, no-wrap
  29522. msgid "Memcached"
  29523. msgstr ""
  29524. #. type: defvr
  29525. #: guix-git/doc/guix.texi:19908
  29526. #, no-wrap
  29527. msgid "{Scheme Variable} memcached-service-type"
  29528. msgstr ""
  29529. #. type: defvr
  29530. #: guix-git/doc/guix.texi:19912
  29531. 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."
  29532. msgstr ""
  29533. #. type: lisp
  29534. #: guix-git/doc/guix.texi:19916
  29535. #, no-wrap
  29536. msgid "(service memcached-service-type)\n"
  29537. msgstr ""
  29538. #. type: deftp
  29539. #: guix-git/doc/guix.texi:19918
  29540. #, no-wrap
  29541. msgid "{Data Type} memcached-configuration"
  29542. msgstr ""
  29543. #. type: deftp
  29544. #: guix-git/doc/guix.texi:19920
  29545. msgid "Data type representing the configuration of memcached."
  29546. msgstr ""
  29547. #. type: item
  29548. #: guix-git/doc/guix.texi:19922
  29549. #, no-wrap
  29550. msgid "@code{memcached} (default: @code{memcached})"
  29551. msgstr ""
  29552. #. type: table
  29553. #: guix-git/doc/guix.texi:19924
  29554. msgid "The Memcached package to use."
  29555. msgstr ""
  29556. #. type: item
  29557. #: guix-git/doc/guix.texi:19925
  29558. #, no-wrap
  29559. msgid "@code{interfaces} (default: @code{'(\"0.0.0.0\")})"
  29560. msgstr ""
  29561. #. type: table
  29562. #: guix-git/doc/guix.texi:19927
  29563. msgid "Network interfaces on which to listen."
  29564. msgstr ""
  29565. #. type: item
  29566. #: guix-git/doc/guix.texi:19928
  29567. #, no-wrap
  29568. msgid "@code{tcp-port} (default: @code{11211})"
  29569. msgstr ""
  29570. #. type: table
  29571. #: guix-git/doc/guix.texi:19930
  29572. msgid "Port on which to accept connections."
  29573. msgstr ""
  29574. #. type: item
  29575. #: guix-git/doc/guix.texi:19931
  29576. #, no-wrap
  29577. msgid "@code{udp-port} (default: @code{11211})"
  29578. msgstr ""
  29579. #. type: table
  29580. #: guix-git/doc/guix.texi:19934
  29581. msgid "Port on which to accept UDP connections on, a value of 0 will disable listening on a UDP socket."
  29582. msgstr ""
  29583. #. type: item
  29584. #: guix-git/doc/guix.texi:19935
  29585. #, no-wrap
  29586. msgid "@code{additional-options} (default: @code{'()})"
  29587. msgstr ""
  29588. #. type: table
  29589. #: guix-git/doc/guix.texi:19937
  29590. msgid "Additional command line options to pass to @code{memcached}."
  29591. msgstr ""
  29592. #. type: subsubheading
  29593. #: guix-git/doc/guix.texi:19940
  29594. #, no-wrap
  29595. msgid "Redis"
  29596. msgstr ""
  29597. #. type: defvr
  29598. #: guix-git/doc/guix.texi:19942
  29599. #, no-wrap
  29600. msgid "{Scheme Variable} redis-service-type"
  29601. msgstr ""
  29602. #. type: defvr
  29603. #: guix-git/doc/guix.texi:19945
  29604. msgid "This is the service type for the @uref{https://redis.io/, Redis} key/value store, whose value is a @code{redis-configuration} object."
  29605. msgstr ""
  29606. #. type: deftp
  29607. #: guix-git/doc/guix.texi:19947
  29608. #, no-wrap
  29609. msgid "{Data Type} redis-configuration"
  29610. msgstr ""
  29611. #. type: deftp
  29612. #: guix-git/doc/guix.texi:19949
  29613. msgid "Data type representing the configuration of redis."
  29614. msgstr ""
  29615. #. type: item
  29616. #: guix-git/doc/guix.texi:19951
  29617. #, no-wrap
  29618. msgid "@code{redis} (default: @code{redis})"
  29619. msgstr ""
  29620. #. type: table
  29621. #: guix-git/doc/guix.texi:19953
  29622. msgid "The Redis package to use."
  29623. msgstr ""
  29624. #. type: item
  29625. #: guix-git/doc/guix.texi:19954
  29626. #, no-wrap
  29627. msgid "@code{bind} (default: @code{\"127.0.0.1\"})"
  29628. msgstr ""
  29629. #. type: table
  29630. #: guix-git/doc/guix.texi:19956
  29631. msgid "Network interface on which to listen."
  29632. msgstr ""
  29633. #. type: item
  29634. #: guix-git/doc/guix.texi:19957
  29635. #, no-wrap
  29636. msgid "@code{port} (default: @code{6379})"
  29637. msgstr "@code{porta} (default: @code{6379})"
  29638. #. type: table
  29639. #: guix-git/doc/guix.texi:19960
  29640. msgid "Port on which to accept connections on, a value of 0 will disable listening on a TCP socket."
  29641. msgstr ""
  29642. #. type: item
  29643. #: guix-git/doc/guix.texi:19961
  29644. #, no-wrap
  29645. msgid "@code{working-directory} (default: @code{\"/var/lib/redis\"})"
  29646. msgstr ""
  29647. #. type: table
  29648. #: guix-git/doc/guix.texi:19963
  29649. msgid "Directory in which to store the database and related files."
  29650. msgstr ""
  29651. #. type: cindex
  29652. #: guix-git/doc/guix.texi:19969
  29653. #, no-wrap
  29654. msgid "mail"
  29655. msgstr ""
  29656. #. type: cindex
  29657. #: guix-git/doc/guix.texi:19970
  29658. #, no-wrap
  29659. msgid "email"
  29660. msgstr "e-mail"
  29661. #. type: Plain text
  29662. #: guix-git/doc/guix.texi:19975
  29663. 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."
  29664. msgstr ""
  29665. #. type: subsubheading
  29666. #: guix-git/doc/guix.texi:19976
  29667. #, no-wrap
  29668. msgid "Dovecot Service"
  29669. msgstr ""
  29670. #. type: deffn
  29671. #: guix-git/doc/guix.texi:19978
  29672. #, no-wrap
  29673. msgid "{Scheme Procedure} dovecot-service [#:config (dovecot-configuration)]"
  29674. msgstr ""
  29675. #. type: deffn
  29676. #: guix-git/doc/guix.texi:19980
  29677. msgid "Return a service that runs the Dovecot IMAP/POP3/LMTP mail server."
  29678. msgstr ""
  29679. #. type: Plain text
  29680. #: guix-git/doc/guix.texi:19990
  29681. 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."
  29682. msgstr ""
  29683. #. type: Plain text
  29684. #: guix-git/doc/guix.texi:19993
  29685. msgid "For example, to specify that mail is located at @code{maildir~/.mail}, one would instantiate the Dovecot service like this:"
  29686. msgstr ""
  29687. #. type: lisp
  29688. #: guix-git/doc/guix.texi:19998
  29689. #, no-wrap
  29690. msgid ""
  29691. "(dovecot-service #:config\n"
  29692. " (dovecot-configuration\n"
  29693. " (mail-location \"maildir:~/.mail\")))\n"
  29694. msgstr ""
  29695. #. type: Plain text
  29696. #: guix-git/doc/guix.texi:20006
  29697. 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."
  29698. msgstr ""
  29699. #. type: Plain text
  29700. #: guix-git/doc/guix.texi:20016
  29701. msgid "Available @code{dovecot-configuration} fields are:"
  29702. msgstr ""
  29703. #. type: deftypevr
  29704. #: guix-git/doc/guix.texi:20017
  29705. #, no-wrap
  29706. msgid "{@code{dovecot-configuration} parameter} package dovecot"
  29707. msgstr ""
  29708. #. type: deftypevr
  29709. #: guix-git/doc/guix.texi:20019 guix-git/doc/guix.texi:21325
  29710. msgid "The dovecot package."
  29711. msgstr ""
  29712. #. type: deftypevr
  29713. #: guix-git/doc/guix.texi:20021
  29714. #, no-wrap
  29715. msgid "{@code{dovecot-configuration} parameter} comma-separated-string-list listen"
  29716. msgstr ""
  29717. #. type: deftypevr
  29718. #: guix-git/doc/guix.texi:20027
  29719. 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."
  29720. msgstr ""
  29721. #. type: deftypevr
  29722. #: guix-git/doc/guix.texi:20029
  29723. #, no-wrap
  29724. msgid "{@code{dovecot-configuration} parameter} protocol-configuration-list protocols"
  29725. msgstr ""
  29726. #. type: deftypevr
  29727. #: guix-git/doc/guix.texi:20032
  29728. msgid "List of protocols we want to serve. Available protocols include @samp{imap}, @samp{pop3}, and @samp{lmtp}."
  29729. msgstr ""
  29730. #. type: deftypevr
  29731. #: guix-git/doc/guix.texi:20034
  29732. msgid "Available @code{protocol-configuration} fields are:"
  29733. msgstr ""
  29734. #. type: deftypevr
  29735. #: guix-git/doc/guix.texi:20035
  29736. #, no-wrap
  29737. msgid "{@code{protocol-configuration} parameter} string name"
  29738. msgstr ""
  29739. #. type: deftypevr
  29740. #: guix-git/doc/guix.texi:20037
  29741. msgid "The name of the protocol."
  29742. msgstr ""
  29743. #. type: deftypevr
  29744. #: guix-git/doc/guix.texi:20039
  29745. #, no-wrap
  29746. msgid "{@code{protocol-configuration} parameter} string auth-socket-path"
  29747. msgstr ""
  29748. #. type: deftypevr
  29749. #: guix-git/doc/guix.texi:20043
  29750. 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\"}."
  29751. msgstr ""
  29752. #. type: deftypevr
  29753. #: guix-git/doc/guix.texi:20045
  29754. #, no-wrap
  29755. msgid "{@code{protocol-configuration} parameter} space-separated-string-list mail-plugins"
  29756. msgstr ""
  29757. #. type: deftypevr
  29758. #: guix-git/doc/guix.texi:20047
  29759. msgid "Space separated list of plugins to load."
  29760. msgstr ""
  29761. #. type: deftypevr
  29762. #: guix-git/doc/guix.texi:20049
  29763. #, no-wrap
  29764. msgid "{@code{protocol-configuration} parameter} non-negative-integer mail-max-userip-connections"
  29765. msgstr ""
  29766. #. type: deftypevr
  29767. #: guix-git/doc/guix.texi:20053
  29768. 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}."
  29769. msgstr ""
  29770. #. type: deftypevr
  29771. #: guix-git/doc/guix.texi:20057
  29772. #, no-wrap
  29773. msgid "{@code{dovecot-configuration} parameter} service-configuration-list services"
  29774. msgstr ""
  29775. #. type: deftypevr
  29776. #: guix-git/doc/guix.texi:20061
  29777. msgid "List of services to enable. Available services include @samp{imap}, @samp{imap-login}, @samp{pop3}, @samp{pop3-login}, @samp{auth}, and @samp{lmtp}."
  29778. msgstr ""
  29779. #. type: deftypevr
  29780. #: guix-git/doc/guix.texi:20063
  29781. msgid "Available @code{service-configuration} fields are:"
  29782. msgstr ""
  29783. #. type: deftypevr
  29784. #: guix-git/doc/guix.texi:20064
  29785. #, no-wrap
  29786. msgid "{@code{service-configuration} parameter} string kind"
  29787. msgstr ""
  29788. #. type: deftypevr
  29789. #: guix-git/doc/guix.texi:20069
  29790. 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."
  29791. msgstr ""
  29792. #. type: deftypevr
  29793. #: guix-git/doc/guix.texi:20071
  29794. #, no-wrap
  29795. msgid "{@code{service-configuration} parameter} listener-configuration-list listeners"
  29796. msgstr ""
  29797. #. type: deftypevr
  29798. #: guix-git/doc/guix.texi:20076
  29799. 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{()}."
  29800. msgstr ""
  29801. #. type: deftypevr
  29802. #: guix-git/doc/guix.texi:20078
  29803. msgid "Available @code{unix-listener-configuration} fields are:"
  29804. msgstr ""
  29805. #. type: deftypevr
  29806. #: guix-git/doc/guix.texi:20079
  29807. #, no-wrap
  29808. msgid "{@code{unix-listener-configuration} parameter} string path"
  29809. msgstr ""
  29810. #. type: deftypevr
  29811. #: guix-git/doc/guix.texi:20082 guix-git/doc/guix.texi:20105
  29812. msgid "Path to the file, relative to @code{base-dir} field. This is also used as the section name."
  29813. msgstr ""
  29814. #. type: deftypevr
  29815. #: guix-git/doc/guix.texi:20084
  29816. #, no-wrap
  29817. msgid "{@code{unix-listener-configuration} parameter} string mode"
  29818. msgstr ""
  29819. #. type: deftypevr
  29820. #: guix-git/doc/guix.texi:20087 guix-git/doc/guix.texi:20110
  29821. msgid "The access mode for the socket. Defaults to @samp{\"0600\"}."
  29822. msgstr ""
  29823. #. type: deftypevr
  29824. #: guix-git/doc/guix.texi:20089
  29825. #, no-wrap
  29826. msgid "{@code{unix-listener-configuration} parameter} string user"
  29827. msgstr ""
  29828. #. type: deftypevr
  29829. #: guix-git/doc/guix.texi:20092 guix-git/doc/guix.texi:20115
  29830. msgid "The user to own the socket. Defaults to @samp{\"\"}."
  29831. msgstr ""
  29832. #. type: deftypevr
  29833. #: guix-git/doc/guix.texi:20094
  29834. #, no-wrap
  29835. msgid "{@code{unix-listener-configuration} parameter} string group"
  29836. msgstr ""
  29837. #. type: deftypevr
  29838. #: guix-git/doc/guix.texi:20097 guix-git/doc/guix.texi:20120
  29839. msgid "The group to own the socket. Defaults to @samp{\"\"}."
  29840. msgstr ""
  29841. #. type: deftypevr
  29842. #: guix-git/doc/guix.texi:20101
  29843. msgid "Available @code{fifo-listener-configuration} fields are:"
  29844. msgstr ""
  29845. #. type: deftypevr
  29846. #: guix-git/doc/guix.texi:20102
  29847. #, no-wrap
  29848. msgid "{@code{fifo-listener-configuration} parameter} string path"
  29849. msgstr ""
  29850. #. type: deftypevr
  29851. #: guix-git/doc/guix.texi:20107
  29852. #, no-wrap
  29853. msgid "{@code{fifo-listener-configuration} parameter} string mode"
  29854. msgstr ""
  29855. #. type: deftypevr
  29856. #: guix-git/doc/guix.texi:20112
  29857. #, no-wrap
  29858. msgid "{@code{fifo-listener-configuration} parameter} string user"
  29859. msgstr ""
  29860. #. type: deftypevr
  29861. #: guix-git/doc/guix.texi:20117
  29862. #, no-wrap
  29863. msgid "{@code{fifo-listener-configuration} parameter} string group"
  29864. msgstr ""
  29865. #. type: deftypevr
  29866. #: guix-git/doc/guix.texi:20124
  29867. msgid "Available @code{inet-listener-configuration} fields are:"
  29868. msgstr ""
  29869. #. type: deftypevr
  29870. #: guix-git/doc/guix.texi:20125
  29871. #, no-wrap
  29872. msgid "{@code{inet-listener-configuration} parameter} string protocol"
  29873. msgstr ""
  29874. #. type: deftypevr
  29875. #: guix-git/doc/guix.texi:20127
  29876. msgid "The protocol to listen for."
  29877. msgstr ""
  29878. #. type: deftypevr
  29879. #: guix-git/doc/guix.texi:20129
  29880. #, no-wrap
  29881. msgid "{@code{inet-listener-configuration} parameter} string address"
  29882. msgstr ""
  29883. #. type: deftypevr
  29884. #: guix-git/doc/guix.texi:20132
  29885. msgid "The address on which to listen, or empty for all addresses. Defaults to @samp{\"\"}."
  29886. msgstr ""
  29887. #. type: deftypevr
  29888. #: guix-git/doc/guix.texi:20134
  29889. #, no-wrap
  29890. msgid "{@code{inet-listener-configuration} parameter} non-negative-integer port"
  29891. msgstr ""
  29892. #. type: deftypevr
  29893. #: guix-git/doc/guix.texi:20136
  29894. msgid "The port on which to listen."
  29895. msgstr ""
  29896. #. type: deftypevr
  29897. #: guix-git/doc/guix.texi:20138
  29898. #, no-wrap
  29899. msgid "{@code{inet-listener-configuration} parameter} boolean ssl?"
  29900. msgstr ""
  29901. #. type: deftypevr
  29902. #: guix-git/doc/guix.texi:20142
  29903. msgid "Whether to use SSL for this service; @samp{yes}, @samp{no}, or @samp{required}. Defaults to @samp{#t}."
  29904. msgstr ""
  29905. #. type: deftypevr
  29906. #: guix-git/doc/guix.texi:20146
  29907. #, no-wrap
  29908. msgid "{@code{service-configuration} parameter} non-negative-integer client-limit"
  29909. msgstr ""
  29910. #. type: deftypevr
  29911. #: guix-git/doc/guix.texi:20151
  29912. 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."
  29913. msgstr ""
  29914. #. type: deftypevr
  29915. #: guix-git/doc/guix.texi:20156
  29916. #, no-wrap
  29917. msgid "{@code{service-configuration} parameter} non-negative-integer service-count"
  29918. msgstr ""
  29919. #. type: deftypevr
  29920. #: guix-git/doc/guix.texi:20161
  29921. 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}."
  29922. msgstr ""
  29923. #. type: deftypevr
  29924. #: guix-git/doc/guix.texi:20164
  29925. #, no-wrap
  29926. msgid "{@code{service-configuration} parameter} non-negative-integer process-limit"
  29927. msgstr ""
  29928. #. type: deftypevr
  29929. #: guix-git/doc/guix.texi:20167
  29930. msgid "Maximum number of processes that can exist for this service. If set to 0, @code{default-process-limit} is used instead."
  29931. msgstr ""
  29932. #. type: deftypevr
  29933. #: guix-git/doc/guix.texi:20172
  29934. #, no-wrap
  29935. msgid "{@code{service-configuration} parameter} non-negative-integer process-min-avail"
  29936. msgstr ""
  29937. #. type: deftypevr
  29938. #: guix-git/doc/guix.texi:20175
  29939. msgid "Number of processes to always keep waiting for more connections. Defaults to @samp{0}."
  29940. msgstr ""
  29941. #. type: deftypevr
  29942. #: guix-git/doc/guix.texi:20177
  29943. #, no-wrap
  29944. msgid "{@code{service-configuration} parameter} non-negative-integer vsz-limit"
  29945. msgstr ""
  29946. #. type: deftypevr
  29947. #: guix-git/doc/guix.texi:20181
  29948. msgid "If you set @samp{service-count 0}, you probably need to grow this. Defaults to @samp{256000000}."
  29949. msgstr ""
  29950. #. type: deftypevr
  29951. #: guix-git/doc/guix.texi:20185
  29952. #, no-wrap
  29953. msgid "{@code{dovecot-configuration} parameter} dict-configuration dict"
  29954. msgstr ""
  29955. #. type: deftypevr
  29956. #: guix-git/doc/guix.texi:20188
  29957. msgid "Dict configuration, as created by the @code{dict-configuration} constructor."
  29958. msgstr ""
  29959. #. type: deftypevr
  29960. #: guix-git/doc/guix.texi:20190
  29961. msgid "Available @code{dict-configuration} fields are:"
  29962. msgstr ""
  29963. #. type: deftypevr
  29964. #: guix-git/doc/guix.texi:20191
  29965. #, no-wrap
  29966. msgid "{@code{dict-configuration} parameter} free-form-fields entries"
  29967. msgstr ""
  29968. #. type: deftypevr
  29969. #: guix-git/doc/guix.texi:20194
  29970. msgid "A list of key-value pairs that this dict should hold. Defaults to @samp{()}."
  29971. msgstr ""
  29972. #. type: deftypevr
  29973. #: guix-git/doc/guix.texi:20198
  29974. #, no-wrap
  29975. msgid "{@code{dovecot-configuration} parameter} passdb-configuration-list passdbs"
  29976. msgstr ""
  29977. #. type: deftypevr
  29978. #: guix-git/doc/guix.texi:20201
  29979. msgid "A list of passdb configurations, each one created by the @code{passdb-configuration} constructor."
  29980. msgstr ""
  29981. #. type: deftypevr
  29982. #: guix-git/doc/guix.texi:20203
  29983. msgid "Available @code{passdb-configuration} fields are:"
  29984. msgstr ""
  29985. #. type: deftypevr
  29986. #: guix-git/doc/guix.texi:20204
  29987. #, no-wrap
  29988. msgid "{@code{passdb-configuration} parameter} string driver"
  29989. msgstr ""
  29990. #. type: deftypevr
  29991. #: guix-git/doc/guix.texi:20209
  29992. 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\"}."
  29993. msgstr ""
  29994. #. type: deftypevr
  29995. #: guix-git/doc/guix.texi:20211
  29996. #, no-wrap
  29997. msgid "{@code{passdb-configuration} parameter} space-separated-string-list args"
  29998. msgstr ""
  29999. #. type: deftypevr
  30000. #: guix-git/doc/guix.texi:20214
  30001. msgid "Space separated list of arguments to the passdb driver. Defaults to @samp{\"\"}."
  30002. msgstr ""
  30003. #. type: deftypevr
  30004. #: guix-git/doc/guix.texi:20218
  30005. #, no-wrap
  30006. msgid "{@code{dovecot-configuration} parameter} userdb-configuration-list userdbs"
  30007. msgstr ""
  30008. #. type: deftypevr
  30009. #: guix-git/doc/guix.texi:20221
  30010. msgid "List of userdb configurations, each one created by the @code{userdb-configuration} constructor."
  30011. msgstr ""
  30012. #. type: deftypevr
  30013. #: guix-git/doc/guix.texi:20223
  30014. msgid "Available @code{userdb-configuration} fields are:"
  30015. msgstr ""
  30016. #. type: deftypevr
  30017. #: guix-git/doc/guix.texi:20224
  30018. #, no-wrap
  30019. msgid "{@code{userdb-configuration} parameter} string driver"
  30020. msgstr ""
  30021. #. type: deftypevr
  30022. #: guix-git/doc/guix.texi:20228
  30023. msgid "The driver that the userdb should use. Valid values include @samp{passwd} and @samp{static}. Defaults to @samp{\"passwd\"}."
  30024. msgstr ""
  30025. #. type: deftypevr
  30026. #: guix-git/doc/guix.texi:20230
  30027. #, no-wrap
  30028. msgid "{@code{userdb-configuration} parameter} space-separated-string-list args"
  30029. msgstr ""
  30030. #. type: deftypevr
  30031. #: guix-git/doc/guix.texi:20233
  30032. msgid "Space separated list of arguments to the userdb driver. Defaults to @samp{\"\"}."
  30033. msgstr ""
  30034. #. type: deftypevr
  30035. #: guix-git/doc/guix.texi:20235
  30036. #, no-wrap
  30037. msgid "{@code{userdb-configuration} parameter} free-form-args override-fields"
  30038. msgstr ""
  30039. #. type: deftypevr
  30040. #: guix-git/doc/guix.texi:20238
  30041. msgid "Override fields from passwd. Defaults to @samp{()}."
  30042. msgstr ""
  30043. #. type: deftypevr
  30044. #: guix-git/doc/guix.texi:20242
  30045. #, no-wrap
  30046. msgid "{@code{dovecot-configuration} parameter} plugin-configuration plugin-configuration"
  30047. msgstr ""
  30048. #. type: deftypevr
  30049. #: guix-git/doc/guix.texi:20245
  30050. msgid "Plug-in configuration, created by the @code{plugin-configuration} constructor."
  30051. msgstr ""
  30052. #. type: deftypevr
  30053. #: guix-git/doc/guix.texi:20247
  30054. #, no-wrap
  30055. msgid "{@code{dovecot-configuration} parameter} list-of-namespace-configuration namespaces"
  30056. msgstr ""
  30057. #. type: deftypevr
  30058. #: guix-git/doc/guix.texi:20250
  30059. msgid "List of namespaces. Each item in the list is created by the @code{namespace-configuration} constructor."
  30060. msgstr ""
  30061. #. type: deftypevr
  30062. #: guix-git/doc/guix.texi:20252
  30063. msgid "Available @code{namespace-configuration} fields are:"
  30064. msgstr ""
  30065. #. type: deftypevr
  30066. #: guix-git/doc/guix.texi:20253
  30067. #, no-wrap
  30068. msgid "{@code{namespace-configuration} parameter} string name"
  30069. msgstr ""
  30070. #. type: deftypevr
  30071. #: guix-git/doc/guix.texi:20255
  30072. msgid "Name for this namespace."
  30073. msgstr ""
  30074. #. type: deftypevr
  30075. #: guix-git/doc/guix.texi:20257
  30076. #, no-wrap
  30077. msgid "{@code{namespace-configuration} parameter} string type"
  30078. msgstr ""
  30079. #. type: deftypevr
  30080. #: guix-git/doc/guix.texi:20260
  30081. msgid "Namespace type: @samp{private}, @samp{shared} or @samp{public}. Defaults to @samp{\"private\"}."
  30082. msgstr ""
  30083. #. type: deftypevr
  30084. #: guix-git/doc/guix.texi:20262
  30085. #, no-wrap
  30086. msgid "{@code{namespace-configuration} parameter} string separator"
  30087. msgstr ""
  30088. #. type: deftypevr
  30089. #: guix-git/doc/guix.texi:20268
  30090. 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{\"\"}."
  30091. msgstr ""
  30092. #. type: deftypevr
  30093. #: guix-git/doc/guix.texi:20270
  30094. #, no-wrap
  30095. msgid "{@code{namespace-configuration} parameter} string prefix"
  30096. msgstr ""
  30097. #. type: deftypevr
  30098. #: guix-git/doc/guix.texi:20274
  30099. msgid "Prefix required to access this namespace. This needs to be different for all namespaces. For example @samp{Public/}. Defaults to @samp{\"\"}."
  30100. msgstr ""
  30101. #. type: deftypevr
  30102. #: guix-git/doc/guix.texi:20276
  30103. #, no-wrap
  30104. msgid "{@code{namespace-configuration} parameter} string location"
  30105. msgstr ""
  30106. #. type: deftypevr
  30107. #: guix-git/doc/guix.texi:20280
  30108. 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{\"\"}."
  30109. msgstr ""
  30110. #. type: deftypevr
  30111. #: guix-git/doc/guix.texi:20282
  30112. #, no-wrap
  30113. msgid "{@code{namespace-configuration} parameter} boolean inbox?"
  30114. msgstr ""
  30115. #. type: deftypevr
  30116. #: guix-git/doc/guix.texi:20286
  30117. msgid "There can be only one INBOX, and this setting defines which namespace has it. Defaults to @samp{#f}."
  30118. msgstr ""
  30119. #. type: deftypevr
  30120. #: guix-git/doc/guix.texi:20288
  30121. #, no-wrap
  30122. msgid "{@code{namespace-configuration} parameter} boolean hidden?"
  30123. msgstr ""
  30124. #. type: deftypevr
  30125. #: guix-git/doc/guix.texi:20296
  30126. 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}."
  30127. msgstr ""
  30128. #. type: deftypevr
  30129. #: guix-git/doc/guix.texi:20298
  30130. #, no-wrap
  30131. msgid "{@code{namespace-configuration} parameter} boolean list?"
  30132. msgstr ""
  30133. #. type: deftypevr
  30134. #: guix-git/doc/guix.texi:20304
  30135. 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}."
  30136. msgstr ""
  30137. #. type: deftypevr
  30138. #: guix-git/doc/guix.texi:20306
  30139. #, no-wrap
  30140. msgid "{@code{namespace-configuration} parameter} boolean subscriptions?"
  30141. msgstr ""
  30142. #. type: deftypevr
  30143. #: guix-git/doc/guix.texi:20311
  30144. 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}."
  30145. msgstr ""
  30146. #. type: deftypevr
  30147. #: guix-git/doc/guix.texi:20313
  30148. #, no-wrap
  30149. msgid "{@code{namespace-configuration} parameter} mailbox-configuration-list mailboxes"
  30150. msgstr ""
  30151. #. type: deftypevr
  30152. #: guix-git/doc/guix.texi:20316
  30153. msgid "List of predefined mailboxes in this namespace. Defaults to @samp{()}."
  30154. msgstr ""
  30155. #. type: deftypevr
  30156. #: guix-git/doc/guix.texi:20318
  30157. msgid "Available @code{mailbox-configuration} fields are:"
  30158. msgstr ""
  30159. #. type: deftypevr
  30160. #: guix-git/doc/guix.texi:20319
  30161. #, no-wrap
  30162. msgid "{@code{mailbox-configuration} parameter} string name"
  30163. msgstr ""
  30164. #. type: deftypevr
  30165. #: guix-git/doc/guix.texi:20321
  30166. msgid "Name for this mailbox."
  30167. msgstr ""
  30168. #. type: deftypevr
  30169. #: guix-git/doc/guix.texi:20323
  30170. #, no-wrap
  30171. msgid "{@code{mailbox-configuration} parameter} string auto"
  30172. msgstr ""
  30173. #. type: deftypevr
  30174. #: guix-git/doc/guix.texi:20327
  30175. msgid "@samp{create} will automatically create this mailbox. @samp{subscribe} will both create and subscribe to the mailbox. Defaults to @samp{\"no\"}."
  30176. msgstr ""
  30177. #. type: deftypevr
  30178. #: guix-git/doc/guix.texi:20329
  30179. #, no-wrap
  30180. msgid "{@code{mailbox-configuration} parameter} space-separated-string-list special-use"
  30181. msgstr ""
  30182. #. type: deftypevr
  30183. #: guix-git/doc/guix.texi:20334
  30184. 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{()}."
  30185. msgstr ""
  30186. #. type: deftypevr
  30187. #: guix-git/doc/guix.texi:20340
  30188. #, no-wrap
  30189. msgid "{@code{dovecot-configuration} parameter} file-name base-dir"
  30190. msgstr ""
  30191. #. type: deftypevr
  30192. #: guix-git/doc/guix.texi:20343
  30193. msgid "Base directory where to store runtime data. Defaults to @samp{\"/var/run/dovecot/\"}."
  30194. msgstr ""
  30195. #. type: deftypevr
  30196. #: guix-git/doc/guix.texi:20345
  30197. #, no-wrap
  30198. msgid "{@code{dovecot-configuration} parameter} string login-greeting"
  30199. msgstr ""
  30200. #. type: deftypevr
  30201. #: guix-git/doc/guix.texi:20348
  30202. msgid "Greeting message for clients. Defaults to @samp{\"Dovecot ready.\"}."
  30203. msgstr ""
  30204. #. type: deftypevr
  30205. #: guix-git/doc/guix.texi:20350
  30206. #, no-wrap
  30207. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-trusted-networks"
  30208. msgstr ""
  30209. #. type: deftypevr
  30210. #: guix-git/doc/guix.texi:20357
  30211. 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{()}."
  30212. msgstr ""
  30213. #. type: deftypevr
  30214. #: guix-git/doc/guix.texi:20359
  30215. #, no-wrap
  30216. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-access-sockets"
  30217. msgstr ""
  30218. #. type: deftypevr
  30219. #: guix-git/doc/guix.texi:20362
  30220. msgid "List of login access check sockets (e.g.@: tcpwrap). Defaults to @samp{()}."
  30221. msgstr ""
  30222. #. type: deftypevr
  30223. #: guix-git/doc/guix.texi:20364
  30224. #, no-wrap
  30225. msgid "{@code{dovecot-configuration} parameter} boolean verbose-proctitle?"
  30226. msgstr ""
  30227. #. type: deftypevr
  30228. #: guix-git/doc/guix.texi:20370
  30229. 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}."
  30230. msgstr ""
  30231. #. type: deftypevr
  30232. #: guix-git/doc/guix.texi:20372
  30233. #, no-wrap
  30234. msgid "{@code{dovecot-configuration} parameter} boolean shutdown-clients?"
  30235. msgstr ""
  30236. #. type: deftypevr
  30237. #: guix-git/doc/guix.texi:20378
  30238. 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}."
  30239. msgstr ""
  30240. #. type: deftypevr
  30241. #: guix-git/doc/guix.texi:20380
  30242. #, no-wrap
  30243. msgid "{@code{dovecot-configuration} parameter} non-negative-integer doveadm-worker-count"
  30244. msgstr ""
  30245. #. type: deftypevr
  30246. #: guix-git/doc/guix.texi:20384
  30247. 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}."
  30248. msgstr ""
  30249. #. type: deftypevr
  30250. #: guix-git/doc/guix.texi:20386
  30251. #, no-wrap
  30252. msgid "{@code{dovecot-configuration} parameter} string doveadm-socket-path"
  30253. msgstr ""
  30254. #. type: deftypevr
  30255. #: guix-git/doc/guix.texi:20389
  30256. msgid "UNIX socket or host:port used for connecting to doveadm server. Defaults to @samp{\"doveadm-server\"}."
  30257. msgstr ""
  30258. #. type: deftypevr
  30259. #: guix-git/doc/guix.texi:20391
  30260. #, no-wrap
  30261. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list import-environment"
  30262. msgstr ""
  30263. #. type: deftypevr
  30264. #: guix-git/doc/guix.texi:20395
  30265. 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."
  30266. msgstr ""
  30267. #. type: deftypevr
  30268. #: guix-git/doc/guix.texi:20397
  30269. #, no-wrap
  30270. msgid "{@code{dovecot-configuration} parameter} boolean disable-plaintext-auth?"
  30271. msgstr ""
  30272. #. type: deftypevr
  30273. #: guix-git/doc/guix.texi:20404
  30274. 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}."
  30275. msgstr ""
  30276. #. type: deftypevr
  30277. #: guix-git/doc/guix.texi:20406
  30278. #, no-wrap
  30279. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-cache-size"
  30280. msgstr ""
  30281. #. type: deftypevr
  30282. #: guix-git/doc/guix.texi:20411
  30283. 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}."
  30284. msgstr ""
  30285. #. type: deftypevr
  30286. #: guix-git/doc/guix.texi:20413
  30287. #, no-wrap
  30288. msgid "{@code{dovecot-configuration} parameter} string auth-cache-ttl"
  30289. msgstr ""
  30290. #. type: deftypevr
  30291. #: guix-git/doc/guix.texi:20421
  30292. 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\"}."
  30293. msgstr ""
  30294. #. type: deftypevr
  30295. #: guix-git/doc/guix.texi:20423
  30296. #, no-wrap
  30297. msgid "{@code{dovecot-configuration} parameter} string auth-cache-negative-ttl"
  30298. msgstr ""
  30299. #. type: deftypevr
  30300. #: guix-git/doc/guix.texi:20427
  30301. msgid "TTL for negative hits (user not found, password mismatch). 0 disables caching them completely. Defaults to @samp{\"1 hour\"}."
  30302. msgstr ""
  30303. #. type: deftypevr
  30304. #: guix-git/doc/guix.texi:20429
  30305. #, no-wrap
  30306. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-realms"
  30307. msgstr ""
  30308. #. type: deftypevr
  30309. #: guix-git/doc/guix.texi:20435
  30310. 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{()}."
  30311. msgstr ""
  30312. #. type: deftypevr
  30313. #: guix-git/doc/guix.texi:20437
  30314. #, no-wrap
  30315. msgid "{@code{dovecot-configuration} parameter} string auth-default-realm"
  30316. msgstr ""
  30317. #. type: deftypevr
  30318. #: guix-git/doc/guix.texi:20442
  30319. 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{\"\"}."
  30320. msgstr ""
  30321. #. type: deftypevr
  30322. #: guix-git/doc/guix.texi:20444
  30323. #, no-wrap
  30324. msgid "{@code{dovecot-configuration} parameter} string auth-username-chars"
  30325. msgstr ""
  30326. #. type: deftypevr
  30327. #: guix-git/doc/guix.texi:20451
  30328. 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.-_@@\"}."
  30329. msgstr ""
  30330. #. type: deftypevr
  30331. #: guix-git/doc/guix.texi:20453
  30332. #, no-wrap
  30333. msgid "{@code{dovecot-configuration} parameter} string auth-username-translation"
  30334. msgstr ""
  30335. #. type: deftypevr
  30336. #: guix-git/doc/guix.texi:20459
  30337. 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{\"\"}."
  30338. msgstr ""
  30339. #. type: deftypevr
  30340. #: guix-git/doc/guix.texi:20461
  30341. #, no-wrap
  30342. msgid "{@code{dovecot-configuration} parameter} string auth-username-format"
  30343. msgstr ""
  30344. #. type: deftypevr
  30345. #: guix-git/doc/guix.texi:20468
  30346. 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\"}."
  30347. msgstr ""
  30348. #. type: deftypevr
  30349. #: guix-git/doc/guix.texi:20470
  30350. #, no-wrap
  30351. msgid "{@code{dovecot-configuration} parameter} string auth-master-user-separator"
  30352. msgstr ""
  30353. #. type: deftypevr
  30354. #: guix-git/doc/guix.texi:20478
  30355. 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{\"\"}."
  30356. msgstr ""
  30357. #. type: deftypevr
  30358. #: guix-git/doc/guix.texi:20480
  30359. #, no-wrap
  30360. msgid "{@code{dovecot-configuration} parameter} string auth-anonymous-username"
  30361. msgstr ""
  30362. #. type: deftypevr
  30363. #: guix-git/doc/guix.texi:20484
  30364. msgid "Username to use for users logging in with ANONYMOUS SASL mechanism. Defaults to @samp{\"anonymous\"}."
  30365. msgstr ""
  30366. #. type: deftypevr
  30367. #: guix-git/doc/guix.texi:20486
  30368. #, no-wrap
  30369. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-worker-max-count"
  30370. msgstr ""
  30371. #. type: deftypevr
  30372. #: guix-git/doc/guix.texi:20491
  30373. 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}."
  30374. msgstr ""
  30375. #. type: deftypevr
  30376. #: guix-git/doc/guix.texi:20493
  30377. #, no-wrap
  30378. msgid "{@code{dovecot-configuration} parameter} string auth-gssapi-hostname"
  30379. msgstr ""
  30380. #. type: deftypevr
  30381. #: guix-git/doc/guix.texi:20498
  30382. 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{\"\"}."
  30383. msgstr ""
  30384. #. type: deftypevr
  30385. #: guix-git/doc/guix.texi:20500
  30386. #, no-wrap
  30387. msgid "{@code{dovecot-configuration} parameter} string auth-krb5-keytab"
  30388. msgstr ""
  30389. #. type: deftypevr
  30390. #: guix-git/doc/guix.texi:20506
  30391. 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{\"\"}."
  30392. msgstr ""
  30393. #. type: deftypevr
  30394. #: guix-git/doc/guix.texi:20508
  30395. #, no-wrap
  30396. msgid "{@code{dovecot-configuration} parameter} boolean auth-use-winbind?"
  30397. msgstr ""
  30398. #. type: deftypevr
  30399. #: guix-git/doc/guix.texi:20513
  30400. 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}."
  30401. msgstr ""
  30402. #. type: deftypevr
  30403. #: guix-git/doc/guix.texi:20515
  30404. #, no-wrap
  30405. msgid "{@code{dovecot-configuration} parameter} file-name auth-winbind-helper-path"
  30406. msgstr ""
  30407. #. type: deftypevr
  30408. #: guix-git/doc/guix.texi:20518
  30409. msgid "Path for Samba's @samp{ntlm-auth} helper binary. Defaults to @samp{\"/usr/bin/ntlm_auth\"}."
  30410. msgstr ""
  30411. #. type: deftypevr
  30412. #: guix-git/doc/guix.texi:20520
  30413. #, no-wrap
  30414. msgid "{@code{dovecot-configuration} parameter} string auth-failure-delay"
  30415. msgstr ""
  30416. #. type: deftypevr
  30417. #: guix-git/doc/guix.texi:20523
  30418. msgid "Time to delay before replying to failed authentications. Defaults to @samp{\"2 secs\"}."
  30419. msgstr ""
  30420. #. type: deftypevr
  30421. #: guix-git/doc/guix.texi:20525
  30422. #, no-wrap
  30423. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-require-client-cert?"
  30424. msgstr ""
  30425. #. type: deftypevr
  30426. #: guix-git/doc/guix.texi:20529
  30427. msgid "Require a valid SSL client certificate or the authentication fails. Defaults to @samp{#f}."
  30428. msgstr ""
  30429. #. type: deftypevr
  30430. #: guix-git/doc/guix.texi:20531
  30431. #, no-wrap
  30432. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-username-from-cert?"
  30433. msgstr ""
  30434. #. type: deftypevr
  30435. #: guix-git/doc/guix.texi:20536
  30436. 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}."
  30437. msgstr ""
  30438. #. type: deftypevr
  30439. #: guix-git/doc/guix.texi:20538
  30440. #, no-wrap
  30441. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-mechanisms"
  30442. msgstr ""
  30443. #. type: deftypevr
  30444. #: guix-git/doc/guix.texi:20544
  30445. 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."
  30446. msgstr ""
  30447. #. type: deftypevr
  30448. #: guix-git/doc/guix.texi:20546
  30449. #, no-wrap
  30450. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-servers"
  30451. msgstr ""
  30452. #. type: deftypevr
  30453. #: guix-git/doc/guix.texi:20551
  30454. 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{()}."
  30455. msgstr ""
  30456. #. type: deftypevr
  30457. #: guix-git/doc/guix.texi:20553
  30458. #, no-wrap
  30459. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-mail-servers"
  30460. msgstr ""
  30461. #. type: deftypevr
  30462. #: guix-git/doc/guix.texi:20557
  30463. 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{()}."
  30464. msgstr ""
  30465. #. type: deftypevr
  30466. #: guix-git/doc/guix.texi:20559
  30467. #, no-wrap
  30468. msgid "{@code{dovecot-configuration} parameter} string director-user-expire"
  30469. msgstr ""
  30470. #. type: deftypevr
  30471. #: guix-git/doc/guix.texi:20563
  30472. msgid "How long to redirect users to a specific server after it no longer has any connections. Defaults to @samp{\"15 min\"}."
  30473. msgstr ""
  30474. #. type: deftypevr
  30475. #: guix-git/doc/guix.texi:20565
  30476. #, no-wrap
  30477. msgid "{@code{dovecot-configuration} parameter} string director-username-hash"
  30478. msgstr ""
  30479. #. type: deftypevr
  30480. #: guix-git/doc/guix.texi:20570
  30481. 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\"}."
  30482. msgstr ""
  30483. #. type: deftypevr
  30484. #: guix-git/doc/guix.texi:20572
  30485. #, no-wrap
  30486. msgid "{@code{dovecot-configuration} parameter} string log-path"
  30487. msgstr ""
  30488. #. type: deftypevr
  30489. #: guix-git/doc/guix.texi:20576
  30490. msgid "Log file to use for error messages. @samp{syslog} logs to syslog, @samp{/dev/stderr} logs to stderr. Defaults to @samp{\"syslog\"}."
  30491. msgstr ""
  30492. #. type: deftypevr
  30493. #: guix-git/doc/guix.texi:20578
  30494. #, no-wrap
  30495. msgid "{@code{dovecot-configuration} parameter} string info-log-path"
  30496. msgstr ""
  30497. #. type: deftypevr
  30498. #: guix-git/doc/guix.texi:20582
  30499. msgid "Log file to use for informational messages. Defaults to @samp{log-path}. Defaults to @samp{\"\"}."
  30500. msgstr ""
  30501. #. type: deftypevr
  30502. #: guix-git/doc/guix.texi:20584
  30503. #, no-wrap
  30504. msgid "{@code{dovecot-configuration} parameter} string debug-log-path"
  30505. msgstr ""
  30506. #. type: deftypevr
  30507. #: guix-git/doc/guix.texi:20588
  30508. msgid "Log file to use for debug messages. Defaults to @samp{info-log-path}. Defaults to @samp{\"\"}."
  30509. msgstr ""
  30510. #. type: deftypevr
  30511. #: guix-git/doc/guix.texi:20590
  30512. #, no-wrap
  30513. msgid "{@code{dovecot-configuration} parameter} string syslog-facility"
  30514. msgstr ""
  30515. #. type: deftypevr
  30516. #: guix-git/doc/guix.texi:20595
  30517. 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\"}."
  30518. msgstr ""
  30519. #. type: deftypevr
  30520. #: guix-git/doc/guix.texi:20597
  30521. #, no-wrap
  30522. msgid "{@code{dovecot-configuration} parameter} boolean auth-verbose?"
  30523. msgstr ""
  30524. #. type: deftypevr
  30525. #: guix-git/doc/guix.texi:20601
  30526. msgid "Log unsuccessful authentication attempts and the reasons why they failed. Defaults to @samp{#f}."
  30527. msgstr ""
  30528. #. type: deftypevr
  30529. #: guix-git/doc/guix.texi:20603
  30530. #, no-wrap
  30531. msgid "{@code{dovecot-configuration} parameter} string auth-verbose-passwords"
  30532. msgstr ""
  30533. #. type: deftypevr
  30534. #: guix-git/doc/guix.texi:20610
  30535. 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\"}."
  30536. msgstr ""
  30537. #. type: deftypevr
  30538. #: guix-git/doc/guix.texi:20612
  30539. #, no-wrap
  30540. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug?"
  30541. msgstr ""
  30542. #. type: deftypevr
  30543. #: guix-git/doc/guix.texi:20616
  30544. msgid "Even more verbose logging for debugging purposes. Shows for example SQL queries. Defaults to @samp{#f}."
  30545. msgstr ""
  30546. #. type: deftypevr
  30547. #: guix-git/doc/guix.texi:20618
  30548. #, no-wrap
  30549. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug-passwords?"
  30550. msgstr ""
  30551. #. type: deftypevr
  30552. #: guix-git/doc/guix.texi:20623
  30553. 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}."
  30554. msgstr ""
  30555. #. type: deftypevr
  30556. #: guix-git/doc/guix.texi:20625
  30557. #, no-wrap
  30558. msgid "{@code{dovecot-configuration} parameter} boolean mail-debug?"
  30559. msgstr ""
  30560. #. type: deftypevr
  30561. #: guix-git/doc/guix.texi:20629
  30562. msgid "Enable mail process debugging. This can help you figure out why Dovecot isn't finding your mails. Defaults to @samp{#f}."
  30563. msgstr ""
  30564. #. type: deftypevr
  30565. #: guix-git/doc/guix.texi:20631
  30566. #, no-wrap
  30567. msgid "{@code{dovecot-configuration} parameter} boolean verbose-ssl?"
  30568. msgstr ""
  30569. #. type: deftypevr
  30570. #: guix-git/doc/guix.texi:20634
  30571. msgid "Show protocol level SSL errors. Defaults to @samp{#f}."
  30572. msgstr ""
  30573. #. type: deftypevr
  30574. #: guix-git/doc/guix.texi:20636
  30575. #, no-wrap
  30576. msgid "{@code{dovecot-configuration} parameter} string log-timestamp"
  30577. msgstr ""
  30578. #. type: deftypevr
  30579. #: guix-git/doc/guix.texi:20640
  30580. msgid "Prefix for each line written to log file. % codes are in strftime(3) format. Defaults to @samp{\"\\\"%b %d %H:%M:%S \\\"\"}."
  30581. msgstr ""
  30582. #. type: deftypevr
  30583. #: guix-git/doc/guix.texi:20642
  30584. #, no-wrap
  30585. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-log-format-elements"
  30586. msgstr ""
  30587. #. type: deftypevr
  30588. #: guix-git/doc/guix.texi:20646
  30589. 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."
  30590. msgstr ""
  30591. #. type: deftypevr
  30592. #: guix-git/doc/guix.texi:20648
  30593. #, no-wrap
  30594. msgid "{@code{dovecot-configuration} parameter} string login-log-format"
  30595. msgstr ""
  30596. #. type: deftypevr
  30597. #: guix-git/doc/guix.texi:20652
  30598. msgid "Login log format. %s contains @samp{login-log-format-elements} string, %$ contains the data we want to log. Defaults to @samp{\"%$: %s\"}."
  30599. msgstr ""
  30600. #. type: deftypevr
  30601. #: guix-git/doc/guix.texi:20654
  30602. #, no-wrap
  30603. msgid "{@code{dovecot-configuration} parameter} string mail-log-prefix"
  30604. msgstr ""
  30605. #. type: deftypevr
  30606. #: guix-git/doc/guix.texi:20658
  30607. 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@}>: \\\"\"}."
  30608. msgstr ""
  30609. #. type: deftypevr
  30610. #: guix-git/doc/guix.texi:20660
  30611. #, no-wrap
  30612. msgid "{@code{dovecot-configuration} parameter} string deliver-log-format"
  30613. msgstr ""
  30614. #. type: deftypevr
  30615. #: guix-git/doc/guix.texi:20662
  30616. msgid "Format to use for logging mail deliveries. You can use variables:"
  30617. msgstr ""
  30618. #. type: item
  30619. #: guix-git/doc/guix.texi:20663
  30620. #, no-wrap
  30621. msgid "%$"
  30622. msgstr ""
  30623. #. type: table
  30624. #: guix-git/doc/guix.texi:20665
  30625. msgid "Delivery status message (e.g.@: @samp{saved to INBOX})"
  30626. msgstr ""
  30627. #. type: item
  30628. #: guix-git/doc/guix.texi:20665
  30629. #, no-wrap
  30630. msgid "%m"
  30631. msgstr ""
  30632. #. type: table
  30633. #: guix-git/doc/guix.texi:20667
  30634. msgid "Message-ID"
  30635. msgstr "Mensagem-ID"
  30636. #. type: item
  30637. #: guix-git/doc/guix.texi:20667 guix-git/doc/guix.texi:21199
  30638. #, no-wrap
  30639. msgid "%s"
  30640. msgstr ""
  30641. #. type: table
  30642. #: guix-git/doc/guix.texi:20669
  30643. msgid "Subject"
  30644. msgstr "Assunto"
  30645. #. type: item
  30646. #: guix-git/doc/guix.texi:20669
  30647. #, no-wrap
  30648. msgid "%f"
  30649. msgstr ""
  30650. #. type: table
  30651. #: guix-git/doc/guix.texi:20671
  30652. msgid "From address"
  30653. msgstr ""
  30654. #. type: table
  30655. #: guix-git/doc/guix.texi:20673
  30656. msgid "Physical size"
  30657. msgstr ""
  30658. #. type: item
  30659. #: guix-git/doc/guix.texi:20673
  30660. #, no-wrap
  30661. msgid "%w"
  30662. msgstr ""
  30663. #. type: table
  30664. #: guix-git/doc/guix.texi:20675
  30665. msgid "Virtual size."
  30666. msgstr ""
  30667. #. type: deftypevr
  30668. #: guix-git/doc/guix.texi:20677
  30669. msgid "Defaults to @samp{\"msgid=%m: %$\"}."
  30670. msgstr ""
  30671. #. type: deftypevr
  30672. #: guix-git/doc/guix.texi:20679
  30673. #, no-wrap
  30674. msgid "{@code{dovecot-configuration} parameter} string mail-location"
  30675. msgstr ""
  30676. #. type: deftypevr
  30677. #: guix-git/doc/guix.texi:20684
  30678. 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."
  30679. msgstr ""
  30680. #. type: deftypevr
  30681. #: guix-git/doc/guix.texi:20690
  30682. 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."
  30683. msgstr ""
  30684. #. type: deftypevr
  30685. #: guix-git/doc/guix.texi:20692
  30686. msgid "There are a few special variables you can use, e.g.:"
  30687. msgstr ""
  30688. #. type: table
  30689. #: guix-git/doc/guix.texi:20696
  30690. msgid "username"
  30691. msgstr "nome de usuário"
  30692. #. type: item
  30693. #: guix-git/doc/guix.texi:20696 guix-git/doc/guix.texi:21195
  30694. #, no-wrap
  30695. msgid "%n"
  30696. msgstr ""
  30697. #. type: table
  30698. #: guix-git/doc/guix.texi:20698
  30699. msgid "user part in user@@domain, same as %u if there's no domain"
  30700. msgstr ""
  30701. #. type: item
  30702. #: guix-git/doc/guix.texi:20698
  30703. #, no-wrap
  30704. msgid "%d"
  30705. msgstr "%d"
  30706. #. type: table
  30707. #: guix-git/doc/guix.texi:20700
  30708. msgid "domain part in user@@domain, empty if there's no domain"
  30709. msgstr ""
  30710. #. type: item
  30711. #: guix-git/doc/guix.texi:20700
  30712. #, no-wrap
  30713. msgid "%h"
  30714. msgstr ""
  30715. #. type: table
  30716. #: guix-git/doc/guix.texi:20702
  30717. msgid "home director"
  30718. msgstr ""
  30719. #. type: deftypevr
  30720. #: guix-git/doc/guix.texi:20705
  30721. msgid "See doc/wiki/Variables.txt for full list. Some examples:"
  30722. msgstr ""
  30723. #. type: item
  30724. #: guix-git/doc/guix.texi:20706
  30725. #, no-wrap
  30726. msgid "maildir:~/Maildir"
  30727. msgstr ""
  30728. #. type: item
  30729. #: guix-git/doc/guix.texi:20707
  30730. #, no-wrap
  30731. msgid "mbox:~/mail:INBOX=/var/mail/%u"
  30732. msgstr ""
  30733. #. type: item
  30734. #: guix-git/doc/guix.texi:20708
  30735. #, no-wrap
  30736. msgid "mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%"
  30737. msgstr ""
  30738. #. type: deftypevr
  30739. #: guix-git/doc/guix.texi:20713
  30740. #, no-wrap
  30741. msgid "{@code{dovecot-configuration} parameter} string mail-uid"
  30742. msgstr ""
  30743. #. type: deftypevr
  30744. #: guix-git/doc/guix.texi:20718
  30745. 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{\"\"}."
  30746. msgstr ""
  30747. #. type: deftypevr
  30748. #: guix-git/doc/guix.texi:20720
  30749. #, no-wrap
  30750. msgid "{@code{dovecot-configuration} parameter} string mail-gid"
  30751. msgstr ""
  30752. #. type: deftypevr
  30753. #: guix-git/doc/guix.texi:20725
  30754. #, no-wrap
  30755. msgid "{@code{dovecot-configuration} parameter} string mail-privileged-group"
  30756. msgstr ""
  30757. #. type: deftypevr
  30758. #: guix-git/doc/guix.texi:20731
  30759. 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{\"\"}."
  30760. msgstr ""
  30761. #. type: deftypevr
  30762. #: guix-git/doc/guix.texi:20733
  30763. #, no-wrap
  30764. msgid "{@code{dovecot-configuration} parameter} string mail-access-groups"
  30765. msgstr ""
  30766. #. type: deftypevr
  30767. #: guix-git/doc/guix.texi:20741
  30768. 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{\"\"}."
  30769. msgstr ""
  30770. #. type: deftypevr
  30771. #: guix-git/doc/guix.texi:20743
  30772. #, no-wrap
  30773. msgid "{@code{dovecot-configuration} parameter} boolean mail-full-filesystem-access?"
  30774. msgstr ""
  30775. #. type: deftypevr
  30776. #: guix-git/doc/guix.texi:20749
  30777. 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}."
  30778. msgstr ""
  30779. #. type: deftypevr
  30780. #: guix-git/doc/guix.texi:20751
  30781. #, no-wrap
  30782. msgid "{@code{dovecot-configuration} parameter} boolean mmap-disable?"
  30783. msgstr ""
  30784. #. type: deftypevr
  30785. #: guix-git/doc/guix.texi:20755
  30786. 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}."
  30787. msgstr ""
  30788. #. type: deftypevr
  30789. #: guix-git/doc/guix.texi:20757
  30790. #, no-wrap
  30791. msgid "{@code{dovecot-configuration} parameter} boolean dotlock-use-excl?"
  30792. msgstr ""
  30793. #. type: deftypevr
  30794. #: guix-git/doc/guix.texi:20762
  30795. 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}."
  30796. msgstr ""
  30797. #. type: deftypevr
  30798. #: guix-git/doc/guix.texi:20764
  30799. #, no-wrap
  30800. msgid "{@code{dovecot-configuration} parameter} string mail-fsync"
  30801. msgstr ""
  30802. #. type: deftypevr
  30803. #: guix-git/doc/guix.texi:20766
  30804. msgid "When to use fsync() or fdatasync() calls:"
  30805. msgstr ""
  30806. #. type: item
  30807. #: guix-git/doc/guix.texi:20767
  30808. #, no-wrap
  30809. msgid "optimized"
  30810. msgstr ""
  30811. #. type: table
  30812. #: guix-git/doc/guix.texi:20769
  30813. msgid "Whenever necessary to avoid losing important data"
  30814. msgstr ""
  30815. #. type: table
  30816. #: guix-git/doc/guix.texi:20771
  30817. msgid "Useful with e.g.@: NFS when @code{write()}s are delayed"
  30818. msgstr ""
  30819. #. type: table
  30820. #: guix-git/doc/guix.texi:20773
  30821. msgid "Never use it (best performance, but crashes can lose data)."
  30822. msgstr ""
  30823. #. type: deftypevr
  30824. #: guix-git/doc/guix.texi:20775
  30825. msgid "Defaults to @samp{\"optimized\"}."
  30826. msgstr ""
  30827. #. type: deftypevr
  30828. #: guix-git/doc/guix.texi:20777
  30829. #, no-wrap
  30830. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-storage?"
  30831. msgstr ""
  30832. #. type: deftypevr
  30833. #: guix-git/doc/guix.texi:20782
  30834. 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}."
  30835. msgstr ""
  30836. #. type: deftypevr
  30837. #: guix-git/doc/guix.texi:20784
  30838. #, no-wrap
  30839. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-index?"
  30840. msgstr ""
  30841. #. type: deftypevr
  30842. #: guix-git/doc/guix.texi:20788
  30843. 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}."
  30844. msgstr ""
  30845. #. type: deftypevr
  30846. #: guix-git/doc/guix.texi:20790
  30847. #, no-wrap
  30848. msgid "{@code{dovecot-configuration} parameter} string lock-method"
  30849. msgstr ""
  30850. #. type: deftypevr
  30851. #: guix-git/doc/guix.texi:20796
  30852. 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\"}."
  30853. msgstr ""
  30854. #. type: deftypevr
  30855. #: guix-git/doc/guix.texi:20798
  30856. #, no-wrap
  30857. msgid "{@code{dovecot-configuration} parameter} file-name mail-temp-dir"
  30858. msgstr ""
  30859. #. type: deftypevr
  30860. #: guix-git/doc/guix.texi:20802
  30861. msgid "Directory in which LDA/LMTP temporarily stores incoming mails >128 kB. Defaults to @samp{\"/tmp\"}."
  30862. msgstr ""
  30863. #. type: deftypevr
  30864. #: guix-git/doc/guix.texi:20804
  30865. #, no-wrap
  30866. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-uid"
  30867. msgstr ""
  30868. #. type: deftypevr
  30869. #: guix-git/doc/guix.texi:20810
  30870. 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}."
  30871. msgstr ""
  30872. #. type: deftypevr
  30873. #: guix-git/doc/guix.texi:20812
  30874. #, no-wrap
  30875. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-uid"
  30876. msgstr ""
  30877. #. type: deftypevr
  30878. #: guix-git/doc/guix.texi:20817
  30879. #, no-wrap
  30880. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-gid"
  30881. msgstr ""
  30882. #. type: deftypevr
  30883. #: guix-git/doc/guix.texi:20822
  30884. 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}."
  30885. msgstr ""
  30886. #. type: deftypevr
  30887. #: guix-git/doc/guix.texi:20824
  30888. #, no-wrap
  30889. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-gid"
  30890. msgstr ""
  30891. #. type: deftypevr
  30892. #: guix-git/doc/guix.texi:20829
  30893. #, no-wrap
  30894. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-max-keyword-length"
  30895. msgstr ""
  30896. #. type: deftypevr
  30897. #: guix-git/doc/guix.texi:20833
  30898. msgid "Maximum allowed length for mail keyword name. It's only forced when trying to create new keywords. Defaults to @samp{50}."
  30899. msgstr ""
  30900. #. type: deftypevr
  30901. #: guix-git/doc/guix.texi:20835
  30902. #, no-wrap
  30903. msgid "{@code{dovecot-configuration} parameter} colon-separated-file-name-list valid-chroot-dirs"
  30904. msgstr ""
  30905. #. type: deftypevr
  30906. #: guix-git/doc/guix.texi:20845
  30907. 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{()}."
  30908. msgstr ""
  30909. #. type: deftypevr
  30910. #: guix-git/doc/guix.texi:20847
  30911. #, no-wrap
  30912. msgid "{@code{dovecot-configuration} parameter} string mail-chroot"
  30913. msgstr ""
  30914. #. type: deftypevr
  30915. #: guix-git/doc/guix.texi:20856
  30916. 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{\"\"}."
  30917. msgstr ""
  30918. #. type: deftypevr
  30919. #: guix-git/doc/guix.texi:20858
  30920. #, no-wrap
  30921. msgid "{@code{dovecot-configuration} parameter} file-name auth-socket-path"
  30922. msgstr ""
  30923. #. type: deftypevr
  30924. #: guix-git/doc/guix.texi:20862
  30925. 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\"}."
  30926. msgstr ""
  30927. #. type: deftypevr
  30928. #: guix-git/doc/guix.texi:20864
  30929. #, no-wrap
  30930. msgid "{@code{dovecot-configuration} parameter} file-name mail-plugin-dir"
  30931. msgstr ""
  30932. #. type: deftypevr
  30933. #: guix-git/doc/guix.texi:20867
  30934. msgid "Directory where to look up mail plugins. Defaults to @samp{\"/usr/lib/dovecot\"}."
  30935. msgstr ""
  30936. #. type: deftypevr
  30937. #: guix-git/doc/guix.texi:20869
  30938. #, no-wrap
  30939. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mail-plugins"
  30940. msgstr ""
  30941. #. type: deftypevr
  30942. #: guix-git/doc/guix.texi:20873
  30943. 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{()}."
  30944. msgstr ""
  30945. #. type: deftypevr
  30946. #: guix-git/doc/guix.texi:20875
  30947. #, no-wrap
  30948. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-cache-min-mail-count"
  30949. msgstr ""
  30950. #. type: deftypevr
  30951. #: guix-git/doc/guix.texi:20880
  30952. 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}."
  30953. msgstr ""
  30954. #. type: deftypevr
  30955. #: guix-git/doc/guix.texi:20882
  30956. #, no-wrap
  30957. msgid "{@code{dovecot-configuration} parameter} string mailbox-idle-check-interval"
  30958. msgstr ""
  30959. #. type: deftypevr
  30960. #: guix-git/doc/guix.texi:20889
  30961. 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\"}."
  30962. msgstr ""
  30963. #. type: deftypevr
  30964. #: guix-git/doc/guix.texi:20891
  30965. #, no-wrap
  30966. msgid "{@code{dovecot-configuration} parameter} boolean mail-save-crlf?"
  30967. msgstr ""
  30968. #. type: deftypevr
  30969. #: guix-git/doc/guix.texi:20898
  30970. 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}."
  30971. msgstr ""
  30972. #. type: deftypevr
  30973. #: guix-git/doc/guix.texi:20900
  30974. #, no-wrap
  30975. msgid "{@code{dovecot-configuration} parameter} boolean maildir-stat-dirs?"
  30976. msgstr ""
  30977. #. type: deftypevr
  30978. #: guix-git/doc/guix.texi:20908
  30979. 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}."
  30980. msgstr ""
  30981. #. type: deftypevr
  30982. #: guix-git/doc/guix.texi:20910
  30983. #, no-wrap
  30984. msgid "{@code{dovecot-configuration} parameter} boolean maildir-copy-with-hardlinks?"
  30985. msgstr ""
  30986. #. type: deftypevr
  30987. #: guix-git/doc/guix.texi:20915
  30988. 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}."
  30989. msgstr ""
  30990. #. type: deftypevr
  30991. #: guix-git/doc/guix.texi:20917
  30992. #, no-wrap
  30993. msgid "{@code{dovecot-configuration} parameter} boolean maildir-very-dirty-syncs?"
  30994. msgstr ""
  30995. #. type: deftypevr
  30996. #: guix-git/doc/guix.texi:20922
  30997. 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}."
  30998. msgstr ""
  30999. #. type: deftypevr
  31000. #: guix-git/doc/guix.texi:20924
  31001. #, no-wrap
  31002. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-read-locks"
  31003. msgstr ""
  31004. #. type: deftypevr
  31005. #: guix-git/doc/guix.texi:20927
  31006. msgid "Which locking methods to use for locking mbox. There are four available:"
  31007. msgstr ""
  31008. #. type: item
  31009. #: guix-git/doc/guix.texi:20929
  31010. #, no-wrap
  31011. msgid "dotlock"
  31012. msgstr ""
  31013. #. type: table
  31014. #: guix-git/doc/guix.texi:20933
  31015. 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."
  31016. msgstr ""
  31017. #. type: item
  31018. #: guix-git/doc/guix.texi:20933
  31019. #, no-wrap
  31020. msgid "dotlock-try"
  31021. msgstr ""
  31022. #. type: table
  31023. #: guix-git/doc/guix.texi:20936
  31024. msgid "Same as dotlock, but if it fails because of permissions or because there isn't enough disk space, just skip it."
  31025. msgstr ""
  31026. #. type: item
  31027. #: guix-git/doc/guix.texi:20936
  31028. #, no-wrap
  31029. msgid "fcntl"
  31030. msgstr ""
  31031. #. type: table
  31032. #: guix-git/doc/guix.texi:20938
  31033. msgid "Use this if possible. Works with NFS too if lockd is used."
  31034. msgstr ""
  31035. #. type: item
  31036. #: guix-git/doc/guix.texi:20938
  31037. #, no-wrap
  31038. msgid "flock"
  31039. msgstr ""
  31040. #. type: table
  31041. #: guix-git/doc/guix.texi:20940 guix-git/doc/guix.texi:20942
  31042. msgid "May not exist in all systems. Doesn't work with NFS."
  31043. msgstr ""
  31044. #. type: item
  31045. #: guix-git/doc/guix.texi:20940
  31046. #, no-wrap
  31047. msgid "lockf"
  31048. msgstr ""
  31049. #. type: deftypevr
  31050. #: guix-git/doc/guix.texi:20948
  31051. 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."
  31052. msgstr ""
  31053. #. type: deftypevr
  31054. #: guix-git/doc/guix.texi:20950
  31055. #, no-wrap
  31056. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-write-locks"
  31057. msgstr ""
  31058. #. type: deftypevr
  31059. #: guix-git/doc/guix.texi:20954
  31060. #, no-wrap
  31061. msgid "{@code{dovecot-configuration} parameter} string mbox-lock-timeout"
  31062. msgstr ""
  31063. #. type: deftypevr
  31064. #: guix-git/doc/guix.texi:20957
  31065. msgid "Maximum time to wait for lock (all of them) before aborting. Defaults to @samp{\"5 mins\"}."
  31066. msgstr ""
  31067. #. type: deftypevr
  31068. #: guix-git/doc/guix.texi:20959
  31069. #, no-wrap
  31070. msgid "{@code{dovecot-configuration} parameter} string mbox-dotlock-change-timeout"
  31071. msgstr ""
  31072. #. type: deftypevr
  31073. #: guix-git/doc/guix.texi:20963
  31074. 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\"}."
  31075. msgstr ""
  31076. #. type: deftypevr
  31077. #: guix-git/doc/guix.texi:20965
  31078. #, no-wrap
  31079. msgid "{@code{dovecot-configuration} parameter} boolean mbox-dirty-syncs?"
  31080. msgstr ""
  31081. #. type: deftypevr
  31082. #: guix-git/doc/guix.texi:20976
  31083. 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}."
  31084. msgstr ""
  31085. #. type: deftypevr
  31086. #: guix-git/doc/guix.texi:20978
  31087. #, no-wrap
  31088. msgid "{@code{dovecot-configuration} parameter} boolean mbox-very-dirty-syncs?"
  31089. msgstr ""
  31090. #. type: deftypevr
  31091. #: guix-git/doc/guix.texi:20983
  31092. 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}."
  31093. msgstr ""
  31094. #. type: deftypevr
  31095. #: guix-git/doc/guix.texi:20985
  31096. #, no-wrap
  31097. msgid "{@code{dovecot-configuration} parameter} boolean mbox-lazy-writes?"
  31098. msgstr ""
  31099. #. type: deftypevr
  31100. #: guix-git/doc/guix.texi:20991
  31101. 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}."
  31102. msgstr ""
  31103. #. type: deftypevr
  31104. #: guix-git/doc/guix.texi:20993
  31105. #, no-wrap
  31106. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mbox-min-index-size"
  31107. msgstr ""
  31108. #. type: deftypevr
  31109. #: guix-git/doc/guix.texi:20998
  31110. 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}."
  31111. msgstr ""
  31112. #. type: deftypevr
  31113. #: guix-git/doc/guix.texi:21000
  31114. #, no-wrap
  31115. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mdbox-rotate-size"
  31116. msgstr ""
  31117. #. type: deftypevr
  31118. #: guix-git/doc/guix.texi:21003
  31119. msgid "Maximum dbox file size until it's rotated. Defaults to @samp{10000000}."
  31120. msgstr ""
  31121. #. type: deftypevr
  31122. #: guix-git/doc/guix.texi:21005
  31123. #, no-wrap
  31124. msgid "{@code{dovecot-configuration} parameter} string mdbox-rotate-interval"
  31125. msgstr ""
  31126. #. type: deftypevr
  31127. #: guix-git/doc/guix.texi:21010
  31128. 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\"}."
  31129. msgstr ""
  31130. #. type: deftypevr
  31131. #: guix-git/doc/guix.texi:21012
  31132. #, no-wrap
  31133. msgid "{@code{dovecot-configuration} parameter} boolean mdbox-preallocate-space?"
  31134. msgstr ""
  31135. #. type: deftypevr
  31136. #: guix-git/doc/guix.texi:21017
  31137. 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}."
  31138. msgstr ""
  31139. #. type: deftypevr
  31140. #: guix-git/doc/guix.texi:21019
  31141. #, no-wrap
  31142. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-dir"
  31143. msgstr ""
  31144. #. type: deftypevr
  31145. #: guix-git/doc/guix.texi:21023
  31146. 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."
  31147. msgstr ""
  31148. #. type: deftypevr
  31149. #: guix-git/doc/guix.texi:21025
  31150. msgid "WARNING: This feature hasn't been tested much yet. Use at your own risk."
  31151. msgstr ""
  31152. #. type: deftypevr
  31153. #: guix-git/doc/guix.texi:21028
  31154. msgid "Directory root where to store mail attachments. Disabled, if empty. Defaults to @samp{\"\"}."
  31155. msgstr ""
  31156. #. type: deftypevr
  31157. #: guix-git/doc/guix.texi:21030
  31158. #, no-wrap
  31159. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-attachment-min-size"
  31160. msgstr ""
  31161. #. type: deftypevr
  31162. #: guix-git/doc/guix.texi:21035
  31163. 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}."
  31164. msgstr ""
  31165. #. type: deftypevr
  31166. #: guix-git/doc/guix.texi:21037
  31167. #, no-wrap
  31168. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-fs"
  31169. msgstr ""
  31170. #. type: deftypevr
  31171. #: guix-git/doc/guix.texi:21039
  31172. msgid "File system backend to use for saving attachments:"
  31173. msgstr ""
  31174. #. type: item
  31175. #: guix-git/doc/guix.texi:21040
  31176. #, no-wrap
  31177. msgid "posix"
  31178. msgstr ""
  31179. #. type: table
  31180. #: guix-git/doc/guix.texi:21042
  31181. msgid "No SiS done by Dovecot (but this might help FS's own deduplication)"
  31182. msgstr ""
  31183. #. type: item
  31184. #: guix-git/doc/guix.texi:21042
  31185. #, no-wrap
  31186. msgid "sis posix"
  31187. msgstr ""
  31188. #. type: table
  31189. #: guix-git/doc/guix.texi:21044
  31190. msgid "SiS with immediate byte-by-byte comparison during saving"
  31191. msgstr ""
  31192. #. type: item
  31193. #: guix-git/doc/guix.texi:21044
  31194. #, no-wrap
  31195. msgid "sis-queue posix"
  31196. msgstr ""
  31197. #. type: table
  31198. #: guix-git/doc/guix.texi:21046
  31199. msgid "SiS with delayed comparison and deduplication."
  31200. msgstr ""
  31201. #. type: deftypevr
  31202. #: guix-git/doc/guix.texi:21048
  31203. msgid "Defaults to @samp{\"sis posix\"}."
  31204. msgstr ""
  31205. #. type: deftypevr
  31206. #: guix-git/doc/guix.texi:21050
  31207. #, no-wrap
  31208. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-hash"
  31209. msgstr ""
  31210. #. type: deftypevr
  31211. #: guix-git/doc/guix.texi:21056
  31212. 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@}\"}."
  31213. msgstr ""
  31214. #. type: deftypevr
  31215. #: guix-git/doc/guix.texi:21058
  31216. #, no-wrap
  31217. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-process-limit"
  31218. msgstr ""
  31219. #. type: deftypevr
  31220. #: guix-git/doc/guix.texi:21063
  31221. #, no-wrap
  31222. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-client-limit"
  31223. msgstr ""
  31224. #. type: deftypevr
  31225. #: guix-git/doc/guix.texi:21066 guix-git/doc/guix.texi:28386
  31226. msgid "Defaults to @samp{1000}."
  31227. msgstr ""
  31228. #. type: deftypevr
  31229. #: guix-git/doc/guix.texi:21068
  31230. #, no-wrap
  31231. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-vsz-limit"
  31232. msgstr ""
  31233. #. type: deftypevr
  31234. #: guix-git/doc/guix.texi:21073
  31235. 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}."
  31236. msgstr ""
  31237. #. type: deftypevr
  31238. #: guix-git/doc/guix.texi:21075
  31239. #, no-wrap
  31240. msgid "{@code{dovecot-configuration} parameter} string default-login-user"
  31241. msgstr ""
  31242. #. type: deftypevr
  31243. #: guix-git/doc/guix.texi:21080
  31244. 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\"}."
  31245. msgstr ""
  31246. #. type: deftypevr
  31247. #: guix-git/doc/guix.texi:21082
  31248. #, no-wrap
  31249. msgid "{@code{dovecot-configuration} parameter} string default-internal-user"
  31250. msgstr ""
  31251. #. type: deftypevr
  31252. #: guix-git/doc/guix.texi:21087
  31253. 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\"}."
  31254. msgstr ""
  31255. #. type: deftypevr
  31256. #: guix-git/doc/guix.texi:21089
  31257. #, no-wrap
  31258. msgid "{@code{dovecot-configuration} parameter} string ssl?"
  31259. msgstr ""
  31260. #. type: deftypevr
  31261. #: guix-git/doc/guix.texi:21092
  31262. msgid "SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>. Defaults to @samp{\"required\"}."
  31263. msgstr ""
  31264. #. type: deftypevr
  31265. #: guix-git/doc/guix.texi:21094
  31266. #, no-wrap
  31267. msgid "{@code{dovecot-configuration} parameter} string ssl-cert"
  31268. msgstr ""
  31269. #. type: deftypevr
  31270. #: guix-git/doc/guix.texi:21097
  31271. msgid "PEM encoded X.509 SSL/TLS certificate (public key). Defaults to @samp{\"</etc/dovecot/default.pem\"}."
  31272. msgstr ""
  31273. #. type: deftypevr
  31274. #: guix-git/doc/guix.texi:21099
  31275. #, no-wrap
  31276. msgid "{@code{dovecot-configuration} parameter} string ssl-key"
  31277. msgstr ""
  31278. #. type: deftypevr
  31279. #: guix-git/doc/guix.texi:21104
  31280. 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\"}."
  31281. msgstr ""
  31282. #. type: deftypevr
  31283. #: guix-git/doc/guix.texi:21106
  31284. #, no-wrap
  31285. msgid "{@code{dovecot-configuration} parameter} string ssl-key-password"
  31286. msgstr ""
  31287. #. type: deftypevr
  31288. #: guix-git/doc/guix.texi:21112
  31289. 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{\"\"}."
  31290. msgstr ""
  31291. #. type: deftypevr
  31292. #: guix-git/doc/guix.texi:21114
  31293. #, no-wrap
  31294. msgid "{@code{dovecot-configuration} parameter} string ssl-ca"
  31295. msgstr ""
  31296. #. type: deftypevr
  31297. #: guix-git/doc/guix.texi:21120
  31298. 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{\"\"}."
  31299. msgstr ""
  31300. #. type: deftypevr
  31301. #: guix-git/doc/guix.texi:21122
  31302. #, no-wrap
  31303. msgid "{@code{dovecot-configuration} parameter} boolean ssl-require-crl?"
  31304. msgstr ""
  31305. #. type: deftypevr
  31306. #: guix-git/doc/guix.texi:21125
  31307. msgid "Require that CRL check succeeds for client certificates. Defaults to @samp{#t}."
  31308. msgstr ""
  31309. #. type: deftypevr
  31310. #: guix-git/doc/guix.texi:21127
  31311. #, no-wrap
  31312. msgid "{@code{dovecot-configuration} parameter} boolean ssl-verify-client-cert?"
  31313. msgstr ""
  31314. #. type: deftypevr
  31315. #: guix-git/doc/guix.texi:21131
  31316. 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}."
  31317. msgstr ""
  31318. #. type: deftypevr
  31319. #: guix-git/doc/guix.texi:21133
  31320. #, no-wrap
  31321. msgid "{@code{dovecot-configuration} parameter} string ssl-cert-username-field"
  31322. msgstr ""
  31323. #. type: deftypevr
  31324. #: guix-git/doc/guix.texi:21138
  31325. 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\"}."
  31326. msgstr ""
  31327. #. type: deftypevr
  31328. #: guix-git/doc/guix.texi:21140
  31329. #, no-wrap
  31330. msgid "{@code{dovecot-configuration} parameter} string ssl-min-protocol"
  31331. msgstr ""
  31332. #. type: deftypevr
  31333. #: guix-git/doc/guix.texi:21143
  31334. msgid "Minimum SSL protocol version to accept. Defaults to @samp{\"TLSv1\"}."
  31335. msgstr ""
  31336. #. type: deftypevr
  31337. #: guix-git/doc/guix.texi:21145
  31338. #, no-wrap
  31339. msgid "{@code{dovecot-configuration} parameter} string ssl-cipher-list"
  31340. msgstr ""
  31341. #. type: deftypevr
  31342. #: guix-git/doc/guix.texi:21148
  31343. msgid "SSL ciphers to use. Defaults to @samp{\"ALL:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@@STRENGTH\"}."
  31344. msgstr ""
  31345. #. type: deftypevr
  31346. #: guix-git/doc/guix.texi:21150
  31347. #, no-wrap
  31348. msgid "{@code{dovecot-configuration} parameter} string ssl-crypto-device"
  31349. msgstr ""
  31350. #. type: deftypevr
  31351. #: guix-git/doc/guix.texi:21153
  31352. msgid "SSL crypto device to use, for valid values run \"openssl engine\". Defaults to @samp{\"\"}."
  31353. msgstr ""
  31354. #. type: deftypevr
  31355. #: guix-git/doc/guix.texi:21155
  31356. #, no-wrap
  31357. msgid "{@code{dovecot-configuration} parameter} string postmaster-address"
  31358. msgstr ""
  31359. #. type: deftypevr
  31360. #: guix-git/doc/guix.texi:21159
  31361. msgid "Address to use when sending rejection mails. %d expands to recipient domain. Defaults to @samp{\"postmaster@@%d\"}."
  31362. msgstr ""
  31363. #. type: deftypevr
  31364. #: guix-git/doc/guix.texi:21161
  31365. #, no-wrap
  31366. msgid "{@code{dovecot-configuration} parameter} string hostname"
  31367. msgstr ""
  31368. #. type: deftypevr
  31369. #: guix-git/doc/guix.texi:21165
  31370. 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{\"\"}."
  31371. msgstr ""
  31372. #. type: deftypevr
  31373. #: guix-git/doc/guix.texi:21167
  31374. #, no-wrap
  31375. msgid "{@code{dovecot-configuration} parameter} boolean quota-full-tempfail?"
  31376. msgstr ""
  31377. #. type: deftypevr
  31378. #: guix-git/doc/guix.texi:21171
  31379. msgid "If user is over quota, return with temporary failure instead of bouncing the mail. Defaults to @samp{#f}."
  31380. msgstr ""
  31381. #. type: deftypevr
  31382. #: guix-git/doc/guix.texi:21173
  31383. #, no-wrap
  31384. msgid "{@code{dovecot-configuration} parameter} file-name sendmail-path"
  31385. msgstr ""
  31386. #. type: deftypevr
  31387. #: guix-git/doc/guix.texi:21176
  31388. msgid "Binary to use for sending mails. Defaults to @samp{\"/usr/sbin/sendmail\"}."
  31389. msgstr ""
  31390. #. type: deftypevr
  31391. #: guix-git/doc/guix.texi:21178
  31392. #, no-wrap
  31393. msgid "{@code{dovecot-configuration} parameter} string submission-host"
  31394. msgstr ""
  31395. #. type: deftypevr
  31396. #: guix-git/doc/guix.texi:21182
  31397. msgid "If non-empty, send mails via this SMTP host[:port] instead of sendmail. Defaults to @samp{\"\"}."
  31398. msgstr ""
  31399. #. type: deftypevr
  31400. #: guix-git/doc/guix.texi:21184
  31401. #, no-wrap
  31402. msgid "{@code{dovecot-configuration} parameter} string rejection-subject"
  31403. msgstr ""
  31404. #. type: deftypevr
  31405. #: guix-git/doc/guix.texi:21188
  31406. 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\"}."
  31407. msgstr ""
  31408. #. type: deftypevr
  31409. #: guix-git/doc/guix.texi:21190
  31410. #, no-wrap
  31411. msgid "{@code{dovecot-configuration} parameter} string rejection-reason"
  31412. msgstr ""
  31413. #. type: deftypevr
  31414. #: guix-git/doc/guix.texi:21193
  31415. msgid "Human readable error message for rejection mails. You can use variables:"
  31416. msgstr ""
  31417. #. type: table
  31418. #: guix-git/doc/guix.texi:21197
  31419. msgid "CRLF"
  31420. msgstr ""
  31421. #. type: item
  31422. #: guix-git/doc/guix.texi:21197
  31423. #, no-wrap
  31424. msgid "%r"
  31425. msgstr ""
  31426. #. type: table
  31427. #: guix-git/doc/guix.texi:21199
  31428. msgid "reason"
  31429. msgstr ""
  31430. #. type: table
  31431. #: guix-git/doc/guix.texi:21201
  31432. msgid "original subject"
  31433. msgstr ""
  31434. #. type: item
  31435. #: guix-git/doc/guix.texi:21201
  31436. #, no-wrap
  31437. msgid "%t"
  31438. msgstr ""
  31439. #. type: table
  31440. #: guix-git/doc/guix.texi:21203
  31441. msgid "recipient"
  31442. msgstr "destinatário"
  31443. #. type: deftypevr
  31444. #: guix-git/doc/guix.texi:21205
  31445. msgid "Defaults to @samp{\"Your message to <%t> was automatically rejected:%n%r\"}."
  31446. msgstr ""
  31447. #. type: deftypevr
  31448. #: guix-git/doc/guix.texi:21207
  31449. #, no-wrap
  31450. msgid "{@code{dovecot-configuration} parameter} string recipient-delimiter"
  31451. msgstr ""
  31452. #. type: deftypevr
  31453. #: guix-git/doc/guix.texi:21211
  31454. msgid "Delimiter character between local-part and detail in email address. Defaults to @samp{\"+\"}."
  31455. msgstr ""
  31456. #. type: deftypevr
  31457. #: guix-git/doc/guix.texi:21213
  31458. #, no-wrap
  31459. msgid "{@code{dovecot-configuration} parameter} string lda-original-recipient-header"
  31460. msgstr ""
  31461. #. type: deftypevr
  31462. #: guix-git/doc/guix.texi:21219
  31463. 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{\"\"}."
  31464. msgstr ""
  31465. #. type: deftypevr
  31466. #: guix-git/doc/guix.texi:21221
  31467. #, no-wrap
  31468. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autocreate?"
  31469. msgstr ""
  31470. #. type: deftypevr
  31471. #: guix-git/doc/guix.texi:21225
  31472. msgid "Should saving a mail to a nonexistent mailbox automatically create it?. Defaults to @samp{#f}."
  31473. msgstr ""
  31474. #. type: deftypevr
  31475. #: guix-git/doc/guix.texi:21227
  31476. #, no-wrap
  31477. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autosubscribe?"
  31478. msgstr ""
  31479. #. type: deftypevr
  31480. #: guix-git/doc/guix.texi:21231
  31481. msgid "Should automatically created mailboxes be also automatically subscribed?. Defaults to @samp{#f}."
  31482. msgstr ""
  31483. #. type: deftypevr
  31484. #: guix-git/doc/guix.texi:21233
  31485. #, no-wrap
  31486. msgid "{@code{dovecot-configuration} parameter} non-negative-integer imap-max-line-length"
  31487. msgstr ""
  31488. #. type: deftypevr
  31489. #: guix-git/doc/guix.texi:21239
  31490. 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}."
  31491. msgstr ""
  31492. #. type: deftypevr
  31493. #: guix-git/doc/guix.texi:21241
  31494. #, no-wrap
  31495. msgid "{@code{dovecot-configuration} parameter} string imap-logout-format"
  31496. msgstr ""
  31497. #. type: deftypevr
  31498. #: guix-git/doc/guix.texi:21243
  31499. msgid "IMAP logout format string:"
  31500. msgstr ""
  31501. #. type: item
  31502. #: guix-git/doc/guix.texi:21244
  31503. #, no-wrap
  31504. msgid "%i"
  31505. msgstr ""
  31506. #. type: table
  31507. #: guix-git/doc/guix.texi:21246
  31508. msgid "total number of bytes read from client"
  31509. msgstr ""
  31510. #. type: item
  31511. #: guix-git/doc/guix.texi:21246
  31512. #, no-wrap
  31513. msgid "%o"
  31514. msgstr ""
  31515. #. type: table
  31516. #: guix-git/doc/guix.texi:21248
  31517. msgid "total number of bytes sent to client."
  31518. msgstr ""
  31519. #. type: deftypevr
  31520. #: guix-git/doc/guix.texi:21251
  31521. 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@}\"}."
  31522. msgstr ""
  31523. #. type: deftypevr
  31524. #: guix-git/doc/guix.texi:21253
  31525. #, no-wrap
  31526. msgid "{@code{dovecot-configuration} parameter} string imap-capability"
  31527. msgstr ""
  31528. #. type: deftypevr
  31529. #: guix-git/doc/guix.texi:21257
  31530. 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{\"\"}."
  31531. msgstr ""
  31532. #. type: deftypevr
  31533. #: guix-git/doc/guix.texi:21259
  31534. #, no-wrap
  31535. msgid "{@code{dovecot-configuration} parameter} string imap-idle-notify-interval"
  31536. msgstr ""
  31537. #. type: deftypevr
  31538. #: guix-git/doc/guix.texi:21263
  31539. msgid "How long to wait between \"OK Still here\" notifications when client is IDLEing. Defaults to @samp{\"2 mins\"}."
  31540. msgstr ""
  31541. #. type: deftypevr
  31542. #: guix-git/doc/guix.texi:21265
  31543. #, no-wrap
  31544. msgid "{@code{dovecot-configuration} parameter} string imap-id-send"
  31545. msgstr ""
  31546. #. type: deftypevr
  31547. #: guix-git/doc/guix.texi:21271
  31548. 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{\"\"}."
  31549. msgstr ""
  31550. #. type: deftypevr
  31551. #: guix-git/doc/guix.texi:21273
  31552. #, no-wrap
  31553. msgid "{@code{dovecot-configuration} parameter} string imap-id-log"
  31554. msgstr ""
  31555. #. type: deftypevr
  31556. #: guix-git/doc/guix.texi:21276
  31557. msgid "ID fields sent by client to log. * means everything. Defaults to @samp{\"\"}."
  31558. msgstr ""
  31559. #. type: deftypevr
  31560. #: guix-git/doc/guix.texi:21278
  31561. #, no-wrap
  31562. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list imap-client-workarounds"
  31563. msgstr ""
  31564. #. type: deftypevr
  31565. #: guix-git/doc/guix.texi:21280
  31566. msgid "Workarounds for various client bugs:"
  31567. msgstr ""
  31568. #. type: item
  31569. #: guix-git/doc/guix.texi:21282
  31570. #, no-wrap
  31571. msgid "delay-newmail"
  31572. msgstr ""
  31573. #. type: table
  31574. #: guix-git/doc/guix.texi:21289
  31575. 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\"."
  31576. msgstr ""
  31577. #. type: item
  31578. #: guix-git/doc/guix.texi:21290
  31579. #, no-wrap
  31580. msgid "tb-extra-mailbox-sep"
  31581. msgstr ""
  31582. #. type: table
  31583. #: guix-git/doc/guix.texi:21294
  31584. 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."
  31585. msgstr ""
  31586. #. type: item
  31587. #: guix-git/doc/guix.texi:21295
  31588. #, no-wrap
  31589. msgid "tb-lsub-flags"
  31590. msgstr ""
  31591. #. type: table
  31592. #: guix-git/doc/guix.texi:21299
  31593. 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."
  31594. msgstr ""
  31595. #. type: deftypevr
  31596. #: guix-git/doc/guix.texi:21303
  31597. #, no-wrap
  31598. msgid "{@code{dovecot-configuration} parameter} string imap-urlauth-host"
  31599. msgstr ""
  31600. #. type: deftypevr
  31601. #: guix-git/doc/guix.texi:21306
  31602. msgid "Host allowed in URLAUTH URLs sent by client. \"*\" allows all. Defaults to @samp{\"\"}."
  31603. msgstr ""
  31604. #. type: Plain text
  31605. #: guix-git/doc/guix.texi:21314
  31606. 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."
  31607. msgstr ""
  31608. #. type: Plain text
  31609. #: guix-git/doc/guix.texi:21320
  31610. 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."
  31611. msgstr ""
  31612. #. type: Plain text
  31613. #: guix-git/doc/guix.texi:21322
  31614. msgid "Available @code{opaque-dovecot-configuration} fields are:"
  31615. msgstr ""
  31616. #. type: deftypevr
  31617. #: guix-git/doc/guix.texi:21323
  31618. #, no-wrap
  31619. msgid "{@code{opaque-dovecot-configuration} parameter} package dovecot"
  31620. msgstr ""
  31621. #. type: deftypevr
  31622. #: guix-git/doc/guix.texi:21327
  31623. #, no-wrap
  31624. msgid "{@code{opaque-dovecot-configuration} parameter} string string"
  31625. msgstr ""
  31626. #. type: deftypevr
  31627. #: guix-git/doc/guix.texi:21329
  31628. msgid "The contents of the @code{dovecot.conf}, as a string."
  31629. msgstr ""
  31630. #. type: Plain text
  31631. #: guix-git/doc/guix.texi:21333
  31632. msgid "For example, if your @code{dovecot.conf} is just the empty string, you could instantiate a dovecot service like this:"
  31633. msgstr ""
  31634. #. type: lisp
  31635. #: guix-git/doc/guix.texi:21338
  31636. #, no-wrap
  31637. msgid ""
  31638. "(dovecot-service #:config\n"
  31639. " (opaque-dovecot-configuration\n"
  31640. " (string \"\")))\n"
  31641. msgstr ""
  31642. #. type: subsubheading
  31643. #: guix-git/doc/guix.texi:21340
  31644. #, no-wrap
  31645. msgid "OpenSMTPD Service"
  31646. msgstr ""
  31647. #. type: deffn
  31648. #: guix-git/doc/guix.texi:21342
  31649. #, no-wrap
  31650. msgid "{Scheme Variable} opensmtpd-service-type"
  31651. msgstr ""
  31652. #. type: deffn
  31653. #: guix-git/doc/guix.texi:21346
  31654. 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:"
  31655. msgstr ""
  31656. #. type: lisp
  31657. #: guix-git/doc/guix.texi:21351
  31658. #, no-wrap
  31659. msgid ""
  31660. "(service opensmtpd-service-type\n"
  31661. " (opensmtpd-configuration\n"
  31662. " (config-file (local-file \"./my-smtpd.conf\"))))\n"
  31663. msgstr ""
  31664. #. type: deftp
  31665. #: guix-git/doc/guix.texi:21354
  31666. #, no-wrap
  31667. msgid "{Data Type} opensmtpd-configuration"
  31668. msgstr ""
  31669. #. type: deftp
  31670. #: guix-git/doc/guix.texi:21356
  31671. msgid "Data type representing the configuration of opensmtpd."
  31672. msgstr ""
  31673. #. type: item
  31674. #: guix-git/doc/guix.texi:21358
  31675. #, no-wrap
  31676. msgid "@code{package} (default: @var{opensmtpd})"
  31677. msgstr ""
  31678. #. type: table
  31679. #: guix-git/doc/guix.texi:21360
  31680. msgid "Package object of the OpenSMTPD SMTP server."
  31681. msgstr ""
  31682. #. type: item
  31683. #: guix-git/doc/guix.texi:21361
  31684. #, no-wrap
  31685. msgid "@code{config-file} (default: @code{%default-opensmtpd-file})"
  31686. msgstr ""
  31687. #. type: table
  31688. #: guix-git/doc/guix.texi:21366
  31689. 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."
  31690. msgstr ""
  31691. #. type: subsubheading
  31692. #: guix-git/doc/guix.texi:21370
  31693. #, no-wrap
  31694. msgid "Exim Service"
  31695. msgstr ""
  31696. #. type: cindex
  31697. #: guix-git/doc/guix.texi:21372
  31698. #, no-wrap
  31699. msgid "mail transfer agent (MTA)"
  31700. msgstr ""
  31701. #. type: cindex
  31702. #: guix-git/doc/guix.texi:21373
  31703. #, no-wrap
  31704. msgid "MTA (mail transfer agent)"
  31705. msgstr ""
  31706. #. type: cindex
  31707. #: guix-git/doc/guix.texi:21374
  31708. #, no-wrap
  31709. msgid "SMTP"
  31710. msgstr ""
  31711. #. type: deffn
  31712. #: guix-git/doc/guix.texi:21376
  31713. #, no-wrap
  31714. msgid "{Scheme Variable} exim-service-type"
  31715. msgstr ""
  31716. #. type: deffn
  31717. #: guix-git/doc/guix.texi:21380
  31718. 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:"
  31719. msgstr ""
  31720. #. type: lisp
  31721. #: guix-git/doc/guix.texi:21385
  31722. #, no-wrap
  31723. msgid ""
  31724. "(service exim-service-type\n"
  31725. " (exim-configuration\n"
  31726. " (config-file (local-file \"./my-exim.conf\"))))\n"
  31727. msgstr ""
  31728. #. type: Plain text
  31729. #: guix-git/doc/guix.texi:21391
  31730. 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)."
  31731. msgstr ""
  31732. #. type: deftp
  31733. #: guix-git/doc/guix.texi:21392
  31734. #, no-wrap
  31735. msgid "{Data Type} exim-configuration"
  31736. msgstr ""
  31737. #. type: deftp
  31738. #: guix-git/doc/guix.texi:21394
  31739. msgid "Data type representing the configuration of exim."
  31740. msgstr ""
  31741. #. type: item
  31742. #: guix-git/doc/guix.texi:21396
  31743. #, no-wrap
  31744. msgid "@code{package} (default: @var{exim})"
  31745. msgstr ""
  31746. #. type: table
  31747. #: guix-git/doc/guix.texi:21398
  31748. msgid "Package object of the Exim server."
  31749. msgstr ""
  31750. #. type: table
  31751. #: guix-git/doc/guix.texi:21405
  31752. 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."
  31753. msgstr ""
  31754. #. type: subsubheading
  31755. #: guix-git/doc/guix.texi:21409
  31756. #, no-wrap
  31757. msgid "Getmail service"
  31758. msgstr ""
  31759. #. type: cindex
  31760. #: guix-git/doc/guix.texi:21411
  31761. #, no-wrap
  31762. msgid "IMAP"
  31763. msgstr ""
  31764. #. type: cindex
  31765. #: guix-git/doc/guix.texi:21412
  31766. #, no-wrap
  31767. msgid "POP"
  31768. msgstr ""
  31769. #. type: deffn
  31770. #: guix-git/doc/guix.texi:21414
  31771. #, no-wrap
  31772. msgid "{Scheme Variable} getmail-service-type"
  31773. msgstr ""
  31774. #. type: deffn
  31775. #: guix-git/doc/guix.texi:21417
  31776. msgid "This is the type of the @uref{http://pyropus.ca/software/getmail/, Getmail} mail retriever, whose value should be an @code{getmail-configuration}."
  31777. msgstr ""
  31778. #. type: Plain text
  31779. #: guix-git/doc/guix.texi:21420
  31780. msgid "Available @code{getmail-configuration} fields are:"
  31781. msgstr ""
  31782. #. type: deftypevr
  31783. #: guix-git/doc/guix.texi:21421
  31784. #, no-wrap
  31785. msgid "{@code{getmail-configuration} parameter} symbol name"
  31786. msgstr ""
  31787. #. type: deftypevr
  31788. #: guix-git/doc/guix.texi:21423
  31789. msgid "A symbol to identify the getmail service."
  31790. msgstr ""
  31791. #. type: deftypevr
  31792. #: guix-git/doc/guix.texi:21425
  31793. msgid "Defaults to @samp{\"unset\"}."
  31794. msgstr ""
  31795. #. type: deftypevr
  31796. #: guix-git/doc/guix.texi:21428
  31797. #, no-wrap
  31798. msgid "{@code{getmail-configuration} parameter} package package"
  31799. msgstr ""
  31800. #. type: deftypevr
  31801. #: guix-git/doc/guix.texi:21430
  31802. msgid "The getmail package to use."
  31803. msgstr ""
  31804. #. type: deftypevr
  31805. #: guix-git/doc/guix.texi:21433
  31806. #, no-wrap
  31807. msgid "{@code{getmail-configuration} parameter} string user"
  31808. msgstr ""
  31809. #. type: deftypevr
  31810. #: guix-git/doc/guix.texi:21435
  31811. msgid "The user to run getmail as."
  31812. msgstr ""
  31813. #. type: deftypevr
  31814. #: guix-git/doc/guix.texi:21437 guix-git/doc/guix.texi:21444
  31815. msgid "Defaults to @samp{\"getmail\"}."
  31816. msgstr ""
  31817. #. type: deftypevr
  31818. #: guix-git/doc/guix.texi:21440
  31819. #, no-wrap
  31820. msgid "{@code{getmail-configuration} parameter} string group"
  31821. msgstr ""
  31822. #. type: deftypevr
  31823. #: guix-git/doc/guix.texi:21442
  31824. msgid "The group to run getmail as."
  31825. msgstr ""
  31826. #. type: deftypevr
  31827. #: guix-git/doc/guix.texi:21447
  31828. #, no-wrap
  31829. msgid "{@code{getmail-configuration} parameter} string directory"
  31830. msgstr ""
  31831. #. type: deftypevr
  31832. #: guix-git/doc/guix.texi:21449
  31833. msgid "The getmail directory to use."
  31834. msgstr ""
  31835. #. type: deftypevr
  31836. #: guix-git/doc/guix.texi:21451
  31837. msgid "Defaults to @samp{\"/var/lib/getmail/default\"}."
  31838. msgstr ""
  31839. #. type: deftypevr
  31840. #: guix-git/doc/guix.texi:21454
  31841. #, no-wrap
  31842. msgid "{@code{getmail-configuration} parameter} getmail-configuration-file rcfile"
  31843. msgstr ""
  31844. #. type: deftypevr
  31845. #: guix-git/doc/guix.texi:21456
  31846. msgid "The getmail configuration file to use."
  31847. msgstr ""
  31848. #. type: deftypevr
  31849. #: guix-git/doc/guix.texi:21458
  31850. msgid "Available @code{getmail-configuration-file} fields are:"
  31851. msgstr ""
  31852. #. type: deftypevr
  31853. #: guix-git/doc/guix.texi:21459
  31854. #, no-wrap
  31855. msgid "{@code{getmail-configuration-file} parameter} getmail-retriever-configuration retriever"
  31856. msgstr ""
  31857. #. type: deftypevr
  31858. #: guix-git/doc/guix.texi:21461
  31859. msgid "What mail account to retrieve mail from, and how to access that account."
  31860. msgstr ""
  31861. #. type: deftypevr
  31862. #: guix-git/doc/guix.texi:21463
  31863. msgid "Available @code{getmail-retriever-configuration} fields are:"
  31864. msgstr ""
  31865. #. type: deftypevr
  31866. #: guix-git/doc/guix.texi:21464
  31867. #, no-wrap
  31868. msgid "{@code{getmail-retriever-configuration} parameter} string type"
  31869. msgstr ""
  31870. #. type: deftypevr
  31871. #: guix-git/doc/guix.texi:21467
  31872. msgid "The type of mail retriever to use. Valid values include @samp{passwd} and @samp{static}."
  31873. msgstr ""
  31874. #. type: deftypevr
  31875. #: guix-git/doc/guix.texi:21469
  31876. msgid "Defaults to @samp{\"SimpleIMAPSSLRetriever\"}."
  31877. msgstr ""
  31878. #. type: deftypevr
  31879. #: guix-git/doc/guix.texi:21472
  31880. #, no-wrap
  31881. msgid "{@code{getmail-retriever-configuration} parameter} string server"
  31882. msgstr ""
  31883. #. type: deftypevr
  31884. #: guix-git/doc/guix.texi:21474 guix-git/doc/guix.texi:21481
  31885. msgid "Username to login to the mail server with."
  31886. msgstr ""
  31887. #. type: deftypevr
  31888. #: guix-git/doc/guix.texi:21476 guix-git/doc/guix.texi:21483
  31889. #: guix-git/doc/guix.texi:21547
  31890. msgid "Defaults to @samp{unset}."
  31891. msgstr ""
  31892. #. type: deftypevr
  31893. #: guix-git/doc/guix.texi:21479
  31894. #, no-wrap
  31895. msgid "{@code{getmail-retriever-configuration} parameter} string username"
  31896. msgstr ""
  31897. #. type: deftypevr
  31898. #: guix-git/doc/guix.texi:21486
  31899. #, no-wrap
  31900. msgid "{@code{getmail-retriever-configuration} parameter} non-negative-integer port"
  31901. msgstr ""
  31902. #. type: deftypevr
  31903. #: guix-git/doc/guix.texi:21488
  31904. msgid "Port number to connect to."
  31905. msgstr ""
  31906. #. type: deftypevr
  31907. #: guix-git/doc/guix.texi:21493
  31908. #, no-wrap
  31909. msgid "{@code{getmail-retriever-configuration} parameter} string password"
  31910. msgstr ""
  31911. #. type: deftypevr
  31912. #: guix-git/doc/guix.texi:21495 guix-git/doc/guix.texi:21502
  31913. msgid "Override fields from passwd."
  31914. msgstr ""
  31915. #. type: deftypevr
  31916. #: guix-git/doc/guix.texi:21500
  31917. #, no-wrap
  31918. msgid "{@code{getmail-retriever-configuration} parameter} list password-command"
  31919. msgstr ""
  31920. #. type: deftypevr
  31921. #: guix-git/doc/guix.texi:21507
  31922. #, no-wrap
  31923. msgid "{@code{getmail-retriever-configuration} parameter} string keyfile"
  31924. msgstr ""
  31925. #. type: deftypevr
  31926. #: guix-git/doc/guix.texi:21509
  31927. msgid "PEM-formatted key file to use for the TLS negotiation."
  31928. msgstr ""
  31929. #. type: deftypevr
  31930. #: guix-git/doc/guix.texi:21514
  31931. #, no-wrap
  31932. msgid "{@code{getmail-retriever-configuration} parameter} string certfile"
  31933. msgstr ""
  31934. #. type: deftypevr
  31935. #: guix-git/doc/guix.texi:21516
  31936. msgid "PEM-formatted certificate file to use for the TLS negotiation."
  31937. msgstr ""
  31938. #. type: deftypevr
  31939. #: guix-git/doc/guix.texi:21521
  31940. #, no-wrap
  31941. msgid "{@code{getmail-retriever-configuration} parameter} string ca-certs"
  31942. msgstr ""
  31943. #. type: deftypevr
  31944. #: guix-git/doc/guix.texi:21523
  31945. msgid "CA certificates to use."
  31946. msgstr ""
  31947. #. type: deftypevr
  31948. #: guix-git/doc/guix.texi:21528
  31949. #, no-wrap
  31950. msgid "{@code{getmail-retriever-configuration} parameter} parameter-alist extra-parameters"
  31951. msgstr ""
  31952. #. type: deftypevr
  31953. #: guix-git/doc/guix.texi:21530
  31954. msgid "Extra retriever parameters."
  31955. msgstr ""
  31956. #. type: deftypevr
  31957. #: guix-git/doc/guix.texi:21537
  31958. #, no-wrap
  31959. msgid "{@code{getmail-configuration-file} parameter} getmail-destination-configuration destination"
  31960. msgstr ""
  31961. #. type: deftypevr
  31962. #: guix-git/doc/guix.texi:21539
  31963. msgid "What to do with retrieved messages."
  31964. msgstr ""
  31965. #. type: deftypevr
  31966. #: guix-git/doc/guix.texi:21541
  31967. msgid "Available @code{getmail-destination-configuration} fields are:"
  31968. msgstr ""
  31969. #. type: deftypevr
  31970. #: guix-git/doc/guix.texi:21542
  31971. #, no-wrap
  31972. msgid "{@code{getmail-destination-configuration} parameter} string type"
  31973. msgstr ""
  31974. #. type: deftypevr
  31975. #: guix-git/doc/guix.texi:21545
  31976. msgid "The type of mail destination. Valid values include @samp{Maildir}, @samp{Mboxrd} and @samp{MDA_external}."
  31977. msgstr ""
  31978. #. type: deftypevr
  31979. #: guix-git/doc/guix.texi:21550
  31980. #, no-wrap
  31981. msgid "{@code{getmail-destination-configuration} parameter} string-or-filelike path"
  31982. msgstr ""
  31983. #. type: deftypevr
  31984. #: guix-git/doc/guix.texi:21553
  31985. msgid "The path option for the mail destination. The behaviour depends on the chosen type."
  31986. msgstr ""
  31987. #. type: deftypevr
  31988. #: guix-git/doc/guix.texi:21558
  31989. #, no-wrap
  31990. msgid "{@code{getmail-destination-configuration} parameter} parameter-alist extra-parameters"
  31991. msgstr ""
  31992. #. type: deftypevr
  31993. #: guix-git/doc/guix.texi:21560
  31994. msgid "Extra destination parameters"
  31995. msgstr ""
  31996. #. type: deftypevr
  31997. #: guix-git/doc/guix.texi:21567
  31998. #, no-wrap
  31999. msgid "{@code{getmail-configuration-file} parameter} getmail-options-configuration options"
  32000. msgstr ""
  32001. #. type: deftypevr
  32002. #: guix-git/doc/guix.texi:21569
  32003. msgid "Configure getmail."
  32004. msgstr ""
  32005. #. type: deftypevr
  32006. #: guix-git/doc/guix.texi:21571
  32007. msgid "Available @code{getmail-options-configuration} fields are:"
  32008. msgstr ""
  32009. #. type: deftypevr
  32010. #: guix-git/doc/guix.texi:21572
  32011. #, no-wrap
  32012. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer verbose"
  32013. msgstr ""
  32014. #. type: deftypevr
  32015. #: guix-git/doc/guix.texi:21577
  32016. 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 it's actions."
  32017. msgstr ""
  32018. #. type: deftypevr
  32019. #: guix-git/doc/guix.texi:21579 guix-git/doc/guix.texi:27856
  32020. #: guix-git/doc/guix.texi:28444 guix-git/doc/guix.texi:28589
  32021. msgid "Defaults to @samp{1}."
  32022. msgstr ""
  32023. #. type: deftypevr
  32024. #: guix-git/doc/guix.texi:21582
  32025. #, no-wrap
  32026. msgid "{@code{getmail-options-configuration} parameter} boolean read-all"
  32027. msgstr ""
  32028. #. type: deftypevr
  32029. #: guix-git/doc/guix.texi:21585
  32030. msgid "If true, getmail will retrieve all available messages. Otherwise it will only retrieve messages it hasn't seen previously."
  32031. msgstr ""
  32032. #. type: deftypevr
  32033. #: guix-git/doc/guix.texi:21590
  32034. #, no-wrap
  32035. msgid "{@code{getmail-options-configuration} parameter} boolean delete"
  32036. msgstr ""
  32037. #. type: deftypevr
  32038. #: guix-git/doc/guix.texi:21594
  32039. 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."
  32040. msgstr ""
  32041. #. type: deftypevr
  32042. #: guix-git/doc/guix.texi:21599
  32043. #, no-wrap
  32044. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-after"
  32045. msgstr ""
  32046. #. type: deftypevr
  32047. #: guix-git/doc/guix.texi:21604
  32048. 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."
  32049. msgstr ""
  32050. #. type: deftypevr
  32051. #: guix-git/doc/guix.texi:21609
  32052. #, no-wrap
  32053. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-bigger-than"
  32054. msgstr ""
  32055. #. type: deftypevr
  32056. #: guix-git/doc/guix.texi:21613
  32057. 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."
  32058. msgstr ""
  32059. #. type: deftypevr
  32060. #: guix-git/doc/guix.texi:21618
  32061. #, no-wrap
  32062. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-bytes-per-session"
  32063. msgstr ""
  32064. #. type: deftypevr
  32065. #: guix-git/doc/guix.texi:21621
  32066. 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."
  32067. msgstr ""
  32068. #. type: deftypevr
  32069. #: guix-git/doc/guix.texi:21626
  32070. #, no-wrap
  32071. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-message-size"
  32072. msgstr ""
  32073. #. type: deftypevr
  32074. #: guix-git/doc/guix.texi:21629
  32075. msgid "Don't retrieve messages larger than this number of bytes. A value of @samp{0} disables this feature."
  32076. msgstr ""
  32077. #. type: deftypevr
  32078. #: guix-git/doc/guix.texi:21634
  32079. #, no-wrap
  32080. msgid "{@code{getmail-options-configuration} parameter} boolean delivered-to"
  32081. msgstr ""
  32082. #. type: deftypevr
  32083. #: guix-git/doc/guix.texi:21636
  32084. msgid "If true, getmail will add a Delivered-To header to messages."
  32085. msgstr ""
  32086. #. type: deftypevr
  32087. #: guix-git/doc/guix.texi:21641
  32088. #, no-wrap
  32089. msgid "{@code{getmail-options-configuration} parameter} boolean received"
  32090. msgstr ""
  32091. #. type: deftypevr
  32092. #: guix-git/doc/guix.texi:21643
  32093. msgid "If set, getmail adds a Received header to the messages."
  32094. msgstr ""
  32095. #. type: deftypevr
  32096. #: guix-git/doc/guix.texi:21648
  32097. #, no-wrap
  32098. msgid "{@code{getmail-options-configuration} parameter} string message-log"
  32099. msgstr ""
  32100. #. type: deftypevr
  32101. #: guix-git/doc/guix.texi:21651
  32102. msgid "Getmail will record a log of its actions to the named file. A value of @samp{\"\"} disables this feature."
  32103. msgstr ""
  32104. #. type: deftypevr
  32105. #: guix-git/doc/guix.texi:21656
  32106. #, no-wrap
  32107. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-syslog"
  32108. msgstr ""
  32109. #. type: deftypevr
  32110. #: guix-git/doc/guix.texi:21659
  32111. msgid "If true, getmail will record a log of its actions using the system logger."
  32112. msgstr ""
  32113. #. type: deftypevr
  32114. #: guix-git/doc/guix.texi:21664
  32115. #, no-wrap
  32116. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-verbose"
  32117. msgstr ""
  32118. #. type: deftypevr
  32119. #: guix-git/doc/guix.texi:21668
  32120. 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."
  32121. msgstr ""
  32122. #. type: deftypevr
  32123. #: guix-git/doc/guix.texi:21673
  32124. #, no-wrap
  32125. msgid "{@code{getmail-options-configuration} parameter} parameter-alist extra-parameters"
  32126. msgstr ""
  32127. #. type: deftypevr
  32128. #: guix-git/doc/guix.texi:21675
  32129. msgid "Extra options to include."
  32130. msgstr ""
  32131. #. type: deftypevr
  32132. #: guix-git/doc/guix.texi:21684
  32133. #, no-wrap
  32134. msgid "{@code{getmail-configuration} parameter} list idle"
  32135. msgstr ""
  32136. #. type: deftypevr
  32137. #: guix-git/doc/guix.texi:21688
  32138. 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."
  32139. msgstr ""
  32140. #. type: deftypevr
  32141. #: guix-git/doc/guix.texi:21693
  32142. #, no-wrap
  32143. msgid "{@code{getmail-configuration} parameter} list environment-variables"
  32144. msgstr ""
  32145. #. type: deftypevr
  32146. #: guix-git/doc/guix.texi:21695
  32147. msgid "Environment variables to set for getmail."
  32148. msgstr ""
  32149. #. type: subsubheading
  32150. #: guix-git/doc/guix.texi:21700
  32151. #, no-wrap
  32152. msgid "Mail Aliases Service"
  32153. msgstr ""
  32154. #. type: cindex
  32155. #: guix-git/doc/guix.texi:21702
  32156. #, no-wrap
  32157. msgid "email aliases"
  32158. msgstr ""
  32159. #. type: cindex
  32160. #: guix-git/doc/guix.texi:21703
  32161. #, no-wrap
  32162. msgid "aliases, for email addresses"
  32163. msgstr ""
  32164. #. type: deffn
  32165. #: guix-git/doc/guix.texi:21705
  32166. #, no-wrap
  32167. msgid "{Scheme Variable} mail-aliases-service-type"
  32168. msgstr ""
  32169. #. type: deffn
  32170. #: guix-git/doc/guix.texi:21708
  32171. msgid "This is the type of the service which provides @code{/etc/aliases}, specifying how to deliver mail to users on this system."
  32172. msgstr ""
  32173. #. type: lisp
  32174. #: guix-git/doc/guix.texi:21713
  32175. #, no-wrap
  32176. msgid ""
  32177. "(service mail-aliases-service-type\n"
  32178. " '((\"postmaster\" \"bob\")\n"
  32179. " (\"bob\" \"bob@@example.com\" \"bob@@example2.com\")))\n"
  32180. msgstr ""
  32181. #. type: Plain text
  32182. #: guix-git/doc/guix.texi:21721
  32183. 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."
  32184. msgstr ""
  32185. #. type: Plain text
  32186. #: guix-git/doc/guix.texi:21727
  32187. 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})."
  32188. msgstr ""
  32189. #. type: cindex
  32190. #: guix-git/doc/guix.texi:21728 guix-git/doc/guix.texi:21729
  32191. #, no-wrap
  32192. msgid "GNU Mailutils IMAP4 Daemon"
  32193. msgstr ""
  32194. #. type: deffn
  32195. #: guix-git/doc/guix.texi:21731
  32196. #, no-wrap
  32197. msgid "{Scheme Variable} imap4d-service-type"
  32198. msgstr ""
  32199. #. type: deffn
  32200. #: guix-git/doc/guix.texi:21735
  32201. 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:"
  32202. msgstr ""
  32203. #. type: lisp
  32204. #: guix-git/doc/guix.texi:21740
  32205. #, no-wrap
  32206. msgid ""
  32207. "(service imap4d-service-type\n"
  32208. " (imap4d-configuration\n"
  32209. " (config-file (local-file \"imap4d.conf\"))))\n"
  32210. msgstr ""
  32211. #. type: deftp
  32212. #: guix-git/doc/guix.texi:21743
  32213. #, no-wrap
  32214. msgid "{Data Type} imap4d-configuration"
  32215. msgstr ""
  32216. #. type: deftp
  32217. #: guix-git/doc/guix.texi:21745
  32218. msgid "Data type representing the configuration of @command{imap4d}."
  32219. msgstr ""
  32220. #. type: item
  32221. #: guix-git/doc/guix.texi:21747
  32222. #, no-wrap
  32223. msgid "@code{package} (default: @code{mailutils})"
  32224. msgstr ""
  32225. #. type: table
  32226. #: guix-git/doc/guix.texi:21749
  32227. msgid "The package that provides @command{imap4d}."
  32228. msgstr ""
  32229. #. type: item
  32230. #: guix-git/doc/guix.texi:21750
  32231. #, no-wrap
  32232. msgid "@code{config-file} (default: @code{%default-imap4d-config-file})"
  32233. msgstr ""
  32234. #. type: table
  32235. #: guix-git/doc/guix.texi:21754
  32236. 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."
  32237. msgstr ""
  32238. #. type: subsubheading
  32239. #: guix-git/doc/guix.texi:21758
  32240. #, no-wrap
  32241. msgid "Radicale Service"
  32242. msgstr ""
  32243. #. type: cindex
  32244. #: guix-git/doc/guix.texi:21759
  32245. #, no-wrap
  32246. msgid "CalDAV"
  32247. msgstr ""
  32248. #. type: cindex
  32249. #: guix-git/doc/guix.texi:21760
  32250. #, no-wrap
  32251. msgid "CardDAV"
  32252. msgstr ""
  32253. #. type: deffn
  32254. #: guix-git/doc/guix.texi:21762
  32255. #, no-wrap
  32256. msgid "{Scheme Variable} radicale-service-type"
  32257. msgstr ""
  32258. #. type: deffn
  32259. #: guix-git/doc/guix.texi:21765
  32260. msgid "This is the type of the @uref{https://radicale.org, Radicale} CalDAV/CardDAV server whose value should be a @code{radicale-configuration}."
  32261. msgstr ""
  32262. #. type: deftp
  32263. #: guix-git/doc/guix.texi:21767
  32264. #, no-wrap
  32265. msgid "{Data Type} radicale-configuration"
  32266. msgstr ""
  32267. #. type: deftp
  32268. #: guix-git/doc/guix.texi:21769
  32269. msgid "Data type representing the configuration of @command{radicale}."
  32270. msgstr ""
  32271. #. type: item
  32272. #: guix-git/doc/guix.texi:21771
  32273. #, no-wrap
  32274. msgid "@code{package} (default: @code{radicale})"
  32275. msgstr ""
  32276. #. type: table
  32277. #: guix-git/doc/guix.texi:21773
  32278. msgid "The package that provides @command{radicale}."
  32279. msgstr ""
  32280. #. type: item
  32281. #: guix-git/doc/guix.texi:21774
  32282. #, no-wrap
  32283. msgid "@code{config-file} (default: @code{%default-radicale-config-file})"
  32284. msgstr ""
  32285. #. type: table
  32286. #: guix-git/doc/guix.texi:21778
  32287. 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."
  32288. msgstr ""
  32289. #. type: cindex
  32290. #: guix-git/doc/guix.texi:21785
  32291. #, no-wrap
  32292. msgid "messaging"
  32293. msgstr ""
  32294. #. type: cindex
  32295. #: guix-git/doc/guix.texi:21786
  32296. #, no-wrap
  32297. msgid "jabber"
  32298. msgstr ""
  32299. #. type: cindex
  32300. #: guix-git/doc/guix.texi:21787
  32301. #, no-wrap
  32302. msgid "XMPP"
  32303. msgstr "XMPP"
  32304. #. type: Plain text
  32305. #: guix-git/doc/guix.texi:21791
  32306. msgid "The @code{(gnu services messaging)} module provides Guix service definitions for messaging services. Currently it provides the following services:"
  32307. msgstr ""
  32308. #. type: subsubheading
  32309. #: guix-git/doc/guix.texi:21792
  32310. #, no-wrap
  32311. msgid "Prosody Service"
  32312. msgstr ""
  32313. #. type: deffn
  32314. #: guix-git/doc/guix.texi:21794
  32315. #, no-wrap
  32316. msgid "{Scheme Variable} prosody-service-type"
  32317. msgstr ""
  32318. #. type: deffn
  32319. #: guix-git/doc/guix.texi:21798
  32320. 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:"
  32321. msgstr ""
  32322. #. type: lisp
  32323. #: guix-git/doc/guix.texi:21813
  32324. #, no-wrap
  32325. msgid ""
  32326. "(service prosody-service-type\n"
  32327. " (prosody-configuration\n"
  32328. " (modules-enabled (cons* \"groups\" \"mam\" %default-modules-enabled))\n"
  32329. " (int-components\n"
  32330. " (list\n"
  32331. " (int-component-configuration\n"
  32332. " (hostname \"conference.example.net\")\n"
  32333. " (plugin \"muc\")\n"
  32334. " (mod-muc (mod-muc-configuration)))))\n"
  32335. " (virtualhosts\n"
  32336. " (list\n"
  32337. " (virtualhost-configuration\n"
  32338. " (domain \"example.net\"))))))\n"
  32339. msgstr ""
  32340. #. type: deffn
  32341. #: guix-git/doc/guix.texi:21816
  32342. msgid "See below for details about @code{prosody-configuration}."
  32343. msgstr ""
  32344. #. type: Plain text
  32345. #: guix-git/doc/guix.texi:21822
  32346. 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."
  32347. msgstr ""
  32348. #. type: Plain text
  32349. #: guix-git/doc/guix.texi:21825
  32350. msgid "You can perform various sanity checks on the generated configuration with the @code{prosodyctl check} command."
  32351. msgstr ""
  32352. #. type: Plain text
  32353. #: guix-git/doc/guix.texi:21829
  32354. 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}."
  32355. msgstr ""
  32356. #. type: example
  32357. #: guix-git/doc/guix.texi:21832
  32358. #, no-wrap
  32359. msgid "prosodyctl --root cert import /etc/letsencrypt/live\n"
  32360. msgstr ""
  32361. #. type: Plain text
  32362. #: guix-git/doc/guix.texi:21839
  32363. 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}."
  32364. msgstr ""
  32365. #. type: Plain text
  32366. #: guix-git/doc/guix.texi:21843
  32367. 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."
  32368. msgstr ""
  32369. #. type: Plain text
  32370. #: guix-git/doc/guix.texi:21846
  32371. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a file name."
  32372. msgstr ""
  32373. #. type: Plain text
  32374. #: guix-git/doc/guix.texi:21856
  32375. msgid "Available @code{prosody-configuration} fields are:"
  32376. msgstr ""
  32377. #. type: deftypevr
  32378. #: guix-git/doc/guix.texi:21857
  32379. #, no-wrap
  32380. msgid "{@code{prosody-configuration} parameter} package prosody"
  32381. msgstr ""
  32382. #. type: deftypevr
  32383. #: guix-git/doc/guix.texi:21859
  32384. msgid "The Prosody package."
  32385. msgstr ""
  32386. #. type: deftypevr
  32387. #: guix-git/doc/guix.texi:21861
  32388. #, no-wrap
  32389. msgid "{@code{prosody-configuration} parameter} file-name data-path"
  32390. msgstr ""
  32391. #. type: deftypevr
  32392. #: guix-git/doc/guix.texi:21865
  32393. msgid "Location of the Prosody data storage directory. See @url{https://prosody.im/doc/configure}. Defaults to @samp{\"/var/lib/prosody\"}."
  32394. msgstr ""
  32395. #. type: deftypevr
  32396. #: guix-git/doc/guix.texi:21867
  32397. #, no-wrap
  32398. msgid "{@code{prosody-configuration} parameter} file-object-list plugin-paths"
  32399. msgstr ""
  32400. #. type: deftypevr
  32401. #: guix-git/doc/guix.texi:21871
  32402. 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{()}."
  32403. msgstr ""
  32404. #. type: deftypevr
  32405. #: guix-git/doc/guix.texi:21873
  32406. #, no-wrap
  32407. msgid "{@code{prosody-configuration} parameter} file-name certificates"
  32408. msgstr ""
  32409. #. type: deftypevr
  32410. #: guix-git/doc/guix.texi:21878
  32411. 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\"}."
  32412. msgstr ""
  32413. #. type: deftypevr
  32414. #: guix-git/doc/guix.texi:21880
  32415. #, no-wrap
  32416. msgid "{@code{prosody-configuration} parameter} string-list admins"
  32417. msgstr ""
  32418. #. type: deftypevr
  32419. #: guix-git/doc/guix.texi:21886
  32420. 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{()}."
  32421. msgstr ""
  32422. #. type: deftypevr
  32423. #: guix-git/doc/guix.texi:21888
  32424. #, no-wrap
  32425. msgid "{@code{prosody-configuration} parameter} boolean use-libevent?"
  32426. msgstr ""
  32427. #. type: deftypevr
  32428. #: guix-git/doc/guix.texi:21892
  32429. msgid "Enable use of libevent for better performance under high load. See @url{https://prosody.im/doc/libevent}. Defaults to @samp{#f}."
  32430. msgstr ""
  32431. #. type: deftypevr
  32432. #: guix-git/doc/guix.texi:21894
  32433. #, no-wrap
  32434. msgid "{@code{prosody-configuration} parameter} module-list modules-enabled"
  32435. msgstr ""
  32436. #. type: deftypevr
  32437. #: guix-git/doc/guix.texi:21900
  32438. 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\")}."
  32439. msgstr ""
  32440. #. type: deftypevr
  32441. #: guix-git/doc/guix.texi:21902
  32442. #, no-wrap
  32443. msgid "{@code{prosody-configuration} parameter} string-list modules-disabled"
  32444. msgstr ""
  32445. #. type: deftypevr
  32446. #: guix-git/doc/guix.texi:21906
  32447. 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{()}."
  32448. msgstr ""
  32449. #. type: deftypevr
  32450. #: guix-git/doc/guix.texi:21908
  32451. #, no-wrap
  32452. msgid "{@code{prosody-configuration} parameter} file-object groups-file"
  32453. msgstr ""
  32454. #. type: deftypevr
  32455. #: guix-git/doc/guix.texi:21913
  32456. 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\"}."
  32457. msgstr ""
  32458. #. type: deftypevr
  32459. #: guix-git/doc/guix.texi:21915
  32460. #, no-wrap
  32461. msgid "{@code{prosody-configuration} parameter} boolean allow-registration?"
  32462. msgstr ""
  32463. #. type: deftypevr
  32464. #: guix-git/doc/guix.texi:21919
  32465. msgid "Disable account creation by default, for security. See @url{https://prosody.im/doc/creating_accounts}. Defaults to @samp{#f}."
  32466. msgstr ""
  32467. #. type: deftypevr
  32468. #: guix-git/doc/guix.texi:21921
  32469. #, no-wrap
  32470. msgid "{@code{prosody-configuration} parameter} maybe-ssl-configuration ssl"
  32471. msgstr ""
  32472. #. type: deftypevr
  32473. #: guix-git/doc/guix.texi:21926
  32474. 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}."
  32475. msgstr ""
  32476. #. type: deftypevr
  32477. #: guix-git/doc/guix.texi:21928
  32478. msgid "Available @code{ssl-configuration} fields are:"
  32479. msgstr ""
  32480. #. type: deftypevr
  32481. #: guix-git/doc/guix.texi:21929
  32482. #, no-wrap
  32483. msgid "{@code{ssl-configuration} parameter} maybe-string protocol"
  32484. msgstr ""
  32485. #. type: deftypevr
  32486. #: guix-git/doc/guix.texi:21931
  32487. msgid "This determines what handshake to use."
  32488. msgstr ""
  32489. #. type: deftypevr
  32490. #: guix-git/doc/guix.texi:21933
  32491. #, no-wrap
  32492. msgid "{@code{ssl-configuration} parameter} maybe-file-name key"
  32493. msgstr ""
  32494. #. type: deftypevr
  32495. #: guix-git/doc/guix.texi:21935
  32496. msgid "Path to your private key file."
  32497. msgstr ""
  32498. #. type: deftypevr
  32499. #: guix-git/doc/guix.texi:21937
  32500. #, no-wrap
  32501. msgid "{@code{ssl-configuration} parameter} maybe-file-name certificate"
  32502. msgstr ""
  32503. #. type: deftypevr
  32504. #: guix-git/doc/guix.texi:21939
  32505. msgid "Path to your certificate file."
  32506. msgstr ""
  32507. #. type: deftypevr
  32508. #: guix-git/doc/guix.texi:21941
  32509. #, no-wrap
  32510. msgid "{@code{ssl-configuration} parameter} file-object capath"
  32511. msgstr ""
  32512. #. type: deftypevr
  32513. #: guix-git/doc/guix.texi:21945
  32514. 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\"}."
  32515. msgstr ""
  32516. #. type: deftypevr
  32517. #: guix-git/doc/guix.texi:21947
  32518. #, no-wrap
  32519. msgid "{@code{ssl-configuration} parameter} maybe-file-object cafile"
  32520. msgstr ""
  32521. #. type: deftypevr
  32522. #: guix-git/doc/guix.texi:21950
  32523. msgid "Path to a file containing root certificates that you wish Prosody to trust. Similar to @code{capath} but with all certificates concatenated together."
  32524. msgstr ""
  32525. #. type: deftypevr
  32526. #: guix-git/doc/guix.texi:21952
  32527. #, no-wrap
  32528. msgid "{@code{ssl-configuration} parameter} maybe-string-list verify"
  32529. msgstr ""
  32530. #. type: deftypevr
  32531. #: guix-git/doc/guix.texi:21955
  32532. msgid "A list of verification options (these mostly map to OpenSSL's @code{set_verify()} flags)."
  32533. msgstr ""
  32534. #. type: deftypevr
  32535. #: guix-git/doc/guix.texi:21957
  32536. #, no-wrap
  32537. msgid "{@code{ssl-configuration} parameter} maybe-string-list options"
  32538. msgstr ""
  32539. #. type: deftypevr
  32540. #: guix-git/doc/guix.texi:21961
  32541. 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."
  32542. msgstr ""
  32543. #. type: deftypevr
  32544. #: guix-git/doc/guix.texi:21963
  32545. #, no-wrap
  32546. msgid "{@code{ssl-configuration} parameter} maybe-non-negative-integer depth"
  32547. msgstr ""
  32548. #. type: deftypevr
  32549. #: guix-git/doc/guix.texi:21966
  32550. msgid "How long a chain of certificate authorities to check when looking for a trusted root certificate."
  32551. msgstr ""
  32552. #. type: deftypevr
  32553. #: guix-git/doc/guix.texi:21968
  32554. #, no-wrap
  32555. msgid "{@code{ssl-configuration} parameter} maybe-string ciphers"
  32556. msgstr ""
  32557. #. type: deftypevr
  32558. #: guix-git/doc/guix.texi:21971
  32559. msgid "An OpenSSL cipher string. This selects what ciphers Prosody will offer to clients, and in what order."
  32560. msgstr ""
  32561. #. type: deftypevr
  32562. #: guix-git/doc/guix.texi:21973
  32563. #, no-wrap
  32564. msgid "{@code{ssl-configuration} parameter} maybe-file-name dhparam"
  32565. msgstr ""
  32566. #. type: deftypevr
  32567. #: guix-git/doc/guix.texi:21977
  32568. 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}"
  32569. msgstr ""
  32570. #. type: deftypevr
  32571. #: guix-git/doc/guix.texi:21979
  32572. #, no-wrap
  32573. msgid "{@code{ssl-configuration} parameter} maybe-string curve"
  32574. msgstr ""
  32575. #. type: deftypevr
  32576. #: guix-git/doc/guix.texi:21982
  32577. msgid "Curve for Elliptic curve Diffie-Hellman. Prosody's default is @samp{\"secp384r1\"}."
  32578. msgstr ""
  32579. #. type: deftypevr
  32580. #: guix-git/doc/guix.texi:21984
  32581. #, no-wrap
  32582. msgid "{@code{ssl-configuration} parameter} maybe-string-list verifyext"
  32583. msgstr ""
  32584. #. type: deftypevr
  32585. #: guix-git/doc/guix.texi:21986
  32586. msgid "A list of ``extra'' verification options."
  32587. msgstr ""
  32588. #. type: deftypevr
  32589. #: guix-git/doc/guix.texi:21988
  32590. #, no-wrap
  32591. msgid "{@code{ssl-configuration} parameter} maybe-string password"
  32592. msgstr ""
  32593. #. type: deftypevr
  32594. #: guix-git/doc/guix.texi:21990
  32595. msgid "Password for encrypted private keys."
  32596. msgstr ""
  32597. #. type: deftypevr
  32598. #: guix-git/doc/guix.texi:21994
  32599. #, no-wrap
  32600. msgid "{@code{prosody-configuration} parameter} boolean c2s-require-encryption?"
  32601. msgstr ""
  32602. #. type: deftypevr
  32603. #: guix-git/doc/guix.texi:21998
  32604. 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}."
  32605. msgstr ""
  32606. #. type: deftypevr
  32607. #: guix-git/doc/guix.texi:22000
  32608. #, no-wrap
  32609. msgid "{@code{prosody-configuration} parameter} string-list disable-sasl-mechanisms"
  32610. msgstr ""
  32611. #. type: deftypevr
  32612. #: guix-git/doc/guix.texi:22004
  32613. msgid "Set of mechanisms that will never be offered. See @url{https://prosody.im/doc/modules/mod_saslauth}. Defaults to @samp{(\"DIGEST-MD5\")}."
  32614. msgstr ""
  32615. #. type: deftypevr
  32616. #: guix-git/doc/guix.texi:22006
  32617. #, no-wrap
  32618. msgid "{@code{prosody-configuration} parameter} boolean s2s-require-encryption?"
  32619. msgstr ""
  32620. #. type: deftypevr
  32621. #: guix-git/doc/guix.texi:22010
  32622. 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}."
  32623. msgstr ""
  32624. #. type: deftypevr
  32625. #: guix-git/doc/guix.texi:22012
  32626. #, no-wrap
  32627. msgid "{@code{prosody-configuration} parameter} boolean s2s-secure-auth?"
  32628. msgstr ""
  32629. #. type: deftypevr
  32630. #: guix-git/doc/guix.texi:22018
  32631. 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}."
  32632. msgstr ""
  32633. #. type: deftypevr
  32634. #: guix-git/doc/guix.texi:22020
  32635. #, no-wrap
  32636. msgid "{@code{prosody-configuration} parameter} string-list s2s-insecure-domains"
  32637. msgstr ""
  32638. #. type: deftypevr
  32639. #: guix-git/doc/guix.texi:22026
  32640. 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{()}."
  32641. msgstr ""
  32642. #. type: deftypevr
  32643. #: guix-git/doc/guix.texi:22028
  32644. #, no-wrap
  32645. msgid "{@code{prosody-configuration} parameter} string-list s2s-secure-domains"
  32646. msgstr ""
  32647. #. type: deftypevr
  32648. #: guix-git/doc/guix.texi:22033
  32649. 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{()}."
  32650. msgstr ""
  32651. #. type: deftypevr
  32652. #: guix-git/doc/guix.texi:22035
  32653. #, no-wrap
  32654. msgid "{@code{prosody-configuration} parameter} string authentication"
  32655. msgstr ""
  32656. #. type: deftypevr
  32657. #: guix-git/doc/guix.texi:22043
  32658. 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\"}."
  32659. msgstr ""
  32660. #. type: deftypevr
  32661. #: guix-git/doc/guix.texi:22045
  32662. #, no-wrap
  32663. msgid "{@code{prosody-configuration} parameter} maybe-string log"
  32664. msgstr ""
  32665. #. type: deftypevr
  32666. #: guix-git/doc/guix.texi:22049
  32667. 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\"}."
  32668. msgstr ""
  32669. #. type: deftypevr
  32670. #: guix-git/doc/guix.texi:22051
  32671. #, no-wrap
  32672. msgid "{@code{prosody-configuration} parameter} file-name pidfile"
  32673. msgstr ""
  32674. #. type: deftypevr
  32675. #: guix-git/doc/guix.texi:22054
  32676. msgid "File to write pid in. See @url{https://prosody.im/doc/modules/mod_posix}. Defaults to @samp{\"/var/run/prosody/prosody.pid\"}."
  32677. msgstr ""
  32678. #. type: deftypevr
  32679. #: guix-git/doc/guix.texi:22056
  32680. #, no-wrap
  32681. msgid "{@code{prosody-configuration} parameter} maybe-non-negative-integer http-max-content-size"
  32682. msgstr ""
  32683. #. type: deftypevr
  32684. #: guix-git/doc/guix.texi:22058
  32685. msgid "Maximum allowed size of the HTTP body (in bytes)."
  32686. msgstr ""
  32687. #. type: deftypevr
  32688. #: guix-git/doc/guix.texi:22060
  32689. #, no-wrap
  32690. msgid "{@code{prosody-configuration} parameter} maybe-string http-external-url"
  32691. msgstr ""
  32692. #. type: deftypevr
  32693. #: guix-git/doc/guix.texi:22065
  32694. 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}."
  32695. msgstr ""
  32696. #. type: deftypevr
  32697. #: guix-git/doc/guix.texi:22067
  32698. #, no-wrap
  32699. msgid "{@code{prosody-configuration} parameter} virtualhost-configuration-list virtualhosts"
  32700. msgstr ""
  32701. #. type: deftypevr
  32702. #: guix-git/doc/guix.texi:22072
  32703. 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."
  32704. msgstr ""
  32705. #. type: deftypevr
  32706. #: guix-git/doc/guix.texi:22078
  32707. 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."
  32708. msgstr ""
  32709. #. type: deftypevr
  32710. #: guix-git/doc/guix.texi:22080
  32711. msgid "See @url{https://prosody.im/doc/configure#virtual_host_settings}."
  32712. msgstr ""
  32713. #. type: deftypevr
  32714. #: guix-git/doc/guix.texi:22082
  32715. msgid "Available @code{virtualhost-configuration} fields are:"
  32716. msgstr ""
  32717. #. type: deftypevr
  32718. #: guix-git/doc/guix.texi:22084 guix-git/doc/guix.texi:22106
  32719. #: guix-git/doc/guix.texi:22159
  32720. 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:"
  32721. msgstr ""
  32722. #. type: deftypevr
  32723. #: guix-git/doc/guix.texi:22084
  32724. #, no-wrap
  32725. msgid "{@code{virtualhost-configuration} parameter} string domain"
  32726. msgstr ""
  32727. #. type: deftypevr
  32728. #: guix-git/doc/guix.texi:22086
  32729. msgid "Domain you wish Prosody to serve."
  32730. msgstr ""
  32731. #. type: deftypevr
  32732. #: guix-git/doc/guix.texi:22090
  32733. #, no-wrap
  32734. msgid "{@code{prosody-configuration} parameter} int-component-configuration-list int-components"
  32735. msgstr ""
  32736. #. type: deftypevr
  32737. #: guix-git/doc/guix.texi:22095
  32738. 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."
  32739. msgstr ""
  32740. #. type: deftypevr
  32741. #: guix-git/doc/guix.texi:22099
  32742. 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."
  32743. msgstr ""
  32744. #. type: deftypevr
  32745. #: guix-git/doc/guix.texi:22102
  32746. msgid "See @url{https://prosody.im/doc/components}. Defaults to @samp{()}."
  32747. msgstr ""
  32748. #. type: deftypevr
  32749. #: guix-git/doc/guix.texi:22104
  32750. msgid "Available @code{int-component-configuration} fields are:"
  32751. msgstr ""
  32752. #. type: deftypevr
  32753. #: guix-git/doc/guix.texi:22106
  32754. #, no-wrap
  32755. msgid "{@code{int-component-configuration} parameter} string hostname"
  32756. msgstr ""
  32757. #. type: deftypevr
  32758. #: guix-git/doc/guix.texi:22108 guix-git/doc/guix.texi:22165
  32759. msgid "Hostname of the component."
  32760. msgstr ""
  32761. #. type: deftypevr
  32762. #: guix-git/doc/guix.texi:22110
  32763. #, no-wrap
  32764. msgid "{@code{int-component-configuration} parameter} string plugin"
  32765. msgstr ""
  32766. #. type: deftypevr
  32767. #: guix-git/doc/guix.texi:22112
  32768. msgid "Plugin you wish to use for the component."
  32769. msgstr ""
  32770. #. type: deftypevr
  32771. #: guix-git/doc/guix.texi:22114
  32772. #, no-wrap
  32773. msgid "{@code{int-component-configuration} parameter} maybe-mod-muc-configuration mod-muc"
  32774. msgstr ""
  32775. #. type: deftypevr
  32776. #: guix-git/doc/guix.texi:22117
  32777. msgid "Multi-user chat (MUC) is Prosody's module for allowing you to create hosted chatrooms/conferences for XMPP users."
  32778. msgstr ""
  32779. #. type: deftypevr
  32780. #: guix-git/doc/guix.texi:22121
  32781. 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."
  32782. msgstr ""
  32783. #. type: deftypevr
  32784. #: guix-git/doc/guix.texi:22123
  32785. msgid "See also @url{https://prosody.im/doc/modules/mod_muc}."
  32786. msgstr ""
  32787. #. type: deftypevr
  32788. #: guix-git/doc/guix.texi:22125
  32789. msgid "Available @code{mod-muc-configuration} fields are:"
  32790. msgstr ""
  32791. #. type: deftypevr
  32792. #: guix-git/doc/guix.texi:22126
  32793. #, no-wrap
  32794. msgid "{@code{mod-muc-configuration} parameter} string name"
  32795. msgstr ""
  32796. #. type: deftypevr
  32797. #: guix-git/doc/guix.texi:22129
  32798. msgid "The name to return in service discovery responses. Defaults to @samp{\"Prosody Chatrooms\"}."
  32799. msgstr ""
  32800. #. type: deftypevr
  32801. #: guix-git/doc/guix.texi:22131
  32802. #, no-wrap
  32803. msgid "{@code{mod-muc-configuration} parameter} string-or-boolean restrict-room-creation"
  32804. msgstr ""
  32805. #. type: deftypevr
  32806. #: guix-git/doc/guix.texi:22138
  32807. 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}."
  32808. msgstr ""
  32809. #. type: deftypevr
  32810. #: guix-git/doc/guix.texi:22140
  32811. #, no-wrap
  32812. msgid "{@code{mod-muc-configuration} parameter} non-negative-integer max-history-messages"
  32813. msgstr ""
  32814. #. type: deftypevr
  32815. #: guix-git/doc/guix.texi:22144
  32816. msgid "Maximum number of history messages that will be sent to the member that has just joined the room. Defaults to @samp{20}."
  32817. msgstr ""
  32818. #. type: deftypevr
  32819. #: guix-git/doc/guix.texi:22150
  32820. #, no-wrap
  32821. msgid "{@code{prosody-configuration} parameter} ext-component-configuration-list ext-components"
  32822. msgstr ""
  32823. #. type: deftypevr
  32824. #: guix-git/doc/guix.texi:22155
  32825. 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{()}."
  32826. msgstr ""
  32827. #. type: deftypevr
  32828. #: guix-git/doc/guix.texi:22157
  32829. msgid "Available @code{ext-component-configuration} fields are:"
  32830. msgstr ""
  32831. #. type: deftypevr
  32832. #: guix-git/doc/guix.texi:22159
  32833. #, no-wrap
  32834. msgid "{@code{ext-component-configuration} parameter} string component-secret"
  32835. msgstr ""
  32836. #. type: deftypevr
  32837. #: guix-git/doc/guix.texi:22161
  32838. msgid "Password which the component will use to log in."
  32839. msgstr ""
  32840. #. type: deftypevr
  32841. #: guix-git/doc/guix.texi:22163
  32842. #, no-wrap
  32843. msgid "{@code{ext-component-configuration} parameter} string hostname"
  32844. msgstr ""
  32845. #. type: deftypevr
  32846. #: guix-git/doc/guix.texi:22169
  32847. #, no-wrap
  32848. msgid "{@code{prosody-configuration} parameter} non-negative-integer-list component-ports"
  32849. msgstr ""
  32850. #. type: deftypevr
  32851. #: guix-git/doc/guix.texi:22172
  32852. msgid "Port(s) Prosody listens on for component connections. Defaults to @samp{(5347)}."
  32853. msgstr ""
  32854. #. type: deftypevr
  32855. #: guix-git/doc/guix.texi:22174
  32856. #, no-wrap
  32857. msgid "{@code{prosody-configuration} parameter} string component-interface"
  32858. msgstr ""
  32859. #. type: deftypevr
  32860. #: guix-git/doc/guix.texi:22177
  32861. msgid "Interface Prosody listens on for component connections. Defaults to @samp{\"127.0.0.1\"}."
  32862. msgstr ""
  32863. #. type: deftypevr
  32864. #: guix-git/doc/guix.texi:22179
  32865. #, no-wrap
  32866. msgid "{@code{prosody-configuration} parameter} maybe-raw-content raw-content"
  32867. msgstr ""
  32868. #. type: deftypevr
  32869. #: guix-git/doc/guix.texi:22181
  32870. msgid "Raw content that will be added to the configuration file."
  32871. msgstr ""
  32872. #. type: Plain text
  32873. #: guix-git/doc/guix.texi:22189
  32874. 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:"
  32875. msgstr ""
  32876. #. type: deftypevr
  32877. #: guix-git/doc/guix.texi:22190
  32878. #, no-wrap
  32879. msgid "{@code{opaque-prosody-configuration} parameter} package prosody"
  32880. msgstr ""
  32881. #. type: deftypevr
  32882. #: guix-git/doc/guix.texi:22192
  32883. msgid "The prosody package."
  32884. msgstr ""
  32885. #. type: deftypevr
  32886. #: guix-git/doc/guix.texi:22194
  32887. #, no-wrap
  32888. msgid "{@code{opaque-prosody-configuration} parameter} string prosody.cfg.lua"
  32889. msgstr ""
  32890. #. type: deftypevr
  32891. #: guix-git/doc/guix.texi:22196
  32892. msgid "The contents of the @code{prosody.cfg.lua} to use."
  32893. msgstr ""
  32894. #. type: Plain text
  32895. #: guix-git/doc/guix.texi:22200
  32896. msgid "For example, if your @code{prosody.cfg.lua} is just the empty string, you could instantiate a prosody service like this:"
  32897. msgstr ""
  32898. #. type: lisp
  32899. #: guix-git/doc/guix.texi:22205
  32900. #, no-wrap
  32901. msgid ""
  32902. "(service prosody-service-type\n"
  32903. " (opaque-prosody-configuration\n"
  32904. " (prosody.cfg.lua \"\")))\n"
  32905. msgstr ""
  32906. #. type: subsubheading
  32907. #: guix-git/doc/guix.texi:22209
  32908. #, no-wrap
  32909. msgid "BitlBee Service"
  32910. msgstr ""
  32911. #. type: cindex
  32912. #: guix-git/doc/guix.texi:22211 guix-git/doc/guix.texi:22255
  32913. #, no-wrap
  32914. msgid "IRC (Internet Relay Chat)"
  32915. msgstr ""
  32916. #. type: cindex
  32917. #: guix-git/doc/guix.texi:22212
  32918. #, no-wrap
  32919. msgid "IRC gateway"
  32920. msgstr ""
  32921. #. type: Plain text
  32922. #: guix-git/doc/guix.texi:22215
  32923. msgid "@url{https://bitlbee.org,BitlBee} is a gateway that provides an IRC interface to a variety of messaging protocols such as XMPP."
  32924. msgstr ""
  32925. #. type: defvr
  32926. #: guix-git/doc/guix.texi:22216
  32927. #, no-wrap
  32928. msgid "{Scheme Variable} bitlbee-service-type"
  32929. msgstr ""
  32930. #. type: defvr
  32931. #: guix-git/doc/guix.texi:22220
  32932. 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)."
  32933. msgstr ""
  32934. #. type: defvr
  32935. #: guix-git/doc/guix.texi:22223
  32936. msgid "To have BitlBee listen on port 6667 on localhost, add this line to your services:"
  32937. msgstr ""
  32938. #. type: lisp
  32939. #: guix-git/doc/guix.texi:22226
  32940. #, no-wrap
  32941. msgid "(service bitlbee-service-type)\n"
  32942. msgstr ""
  32943. #. type: deftp
  32944. #: guix-git/doc/guix.texi:22229
  32945. #, no-wrap
  32946. msgid "{Data Type} bitlbee-configuration"
  32947. msgstr ""
  32948. #. type: deftp
  32949. #: guix-git/doc/guix.texi:22231
  32950. msgid "This is the configuration for BitlBee, with the following fields:"
  32951. msgstr ""
  32952. #. type: item
  32953. #: guix-git/doc/guix.texi:22233
  32954. #, no-wrap
  32955. msgid "@code{interface} (default: @code{\"127.0.0.1\"})"
  32956. msgstr ""
  32957. #. type: itemx
  32958. #: guix-git/doc/guix.texi:22234
  32959. #, no-wrap
  32960. msgid "@code{port} (default: @code{6667})"
  32961. msgstr "@code{porta} (default: @code{6667})"
  32962. #. type: table
  32963. #: guix-git/doc/guix.texi:22237
  32964. msgid "Listen on the network interface corresponding to the IP address specified in @var{interface}, on @var{port}."
  32965. msgstr ""
  32966. #. type: table
  32967. #: guix-git/doc/guix.texi:22241
  32968. 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."
  32969. msgstr ""
  32970. #. type: item
  32971. #: guix-git/doc/guix.texi:22242
  32972. #, no-wrap
  32973. msgid "@code{bitlbee} (default: @code{bitlbee})"
  32974. msgstr ""
  32975. #. type: table
  32976. #: guix-git/doc/guix.texi:22244
  32977. msgid "The BitlBee package to use."
  32978. msgstr ""
  32979. #. type: item
  32980. #: guix-git/doc/guix.texi:22245
  32981. #, no-wrap
  32982. msgid "@code{plugins} (default: @code{'()})"
  32983. msgstr ""
  32984. #. type: table
  32985. #: guix-git/doc/guix.texi:22247
  32986. msgid "List of plugin packages to use---e.g., @code{bitlbee-discord}."
  32987. msgstr ""
  32988. #. type: table
  32989. #: guix-git/doc/guix.texi:22250
  32990. msgid "Configuration snippet added as-is to the BitlBee configuration file."
  32991. msgstr ""
  32992. #. type: subsubheading
  32993. #: guix-git/doc/guix.texi:22253
  32994. #, no-wrap
  32995. msgid "Quassel Service"
  32996. msgstr ""
  32997. #. type: Plain text
  32998. #: guix-git/doc/guix.texi:22259
  32999. 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."
  33000. msgstr ""
  33001. #. type: defvr
  33002. #: guix-git/doc/guix.texi:22260
  33003. #, no-wrap
  33004. msgid "{Scheme Variable} quassel-service-type"
  33005. msgstr ""
  33006. #. type: defvr
  33007. #: guix-git/doc/guix.texi:22264
  33008. 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)."
  33009. msgstr ""
  33010. #. type: deftp
  33011. #: guix-git/doc/guix.texi:22266
  33012. #, no-wrap
  33013. msgid "{Data Type} quassel-configuration"
  33014. msgstr ""
  33015. #. type: deftp
  33016. #: guix-git/doc/guix.texi:22268
  33017. msgid "This is the configuration for Quassel, with the following fields:"
  33018. msgstr ""
  33019. #. type: item
  33020. #: guix-git/doc/guix.texi:22270
  33021. #, no-wrap
  33022. msgid "@code{quassel} (default: @code{quassel})"
  33023. msgstr ""
  33024. #. type: table
  33025. #: guix-git/doc/guix.texi:22272
  33026. msgid "The Quassel package to use."
  33027. msgstr ""
  33028. #. type: item
  33029. #: guix-git/doc/guix.texi:22273
  33030. #, no-wrap
  33031. msgid "@code{interface} (default: @code{\"::,0.0.0.0\"})"
  33032. msgstr ""
  33033. #. type: item
  33034. #: guix-git/doc/guix.texi:22274
  33035. #, no-wrap
  33036. msgid "@code{port} (default: @code{4242})"
  33037. msgstr ""
  33038. #. type: table
  33039. #: guix-git/doc/guix.texi:22278
  33040. msgid "Listen on the network interface(s) corresponding to the IPv4 or IPv6 interfaces specified in the comma delimited @var{interface}, on @var{port}."
  33041. msgstr ""
  33042. #. type: item
  33043. #: guix-git/doc/guix.texi:22279
  33044. #, no-wrap
  33045. msgid "@code{loglevel} (default: @code{\"Info\"})"
  33046. msgstr ""
  33047. #. type: table
  33048. #: guix-git/doc/guix.texi:22282
  33049. msgid "The level of logging desired. Accepted values are Debug, Info, Warning and Error."
  33050. msgstr ""
  33051. #. type: cindex
  33052. #: guix-git/doc/guix.texi:22288
  33053. #, no-wrap
  33054. msgid "Murmur (VoIP server)"
  33055. msgstr ""
  33056. #. type: cindex
  33057. #: guix-git/doc/guix.texi:22289
  33058. #, no-wrap
  33059. msgid "VoIP server"
  33060. msgstr ""
  33061. #. type: Plain text
  33062. #: guix-git/doc/guix.texi:22293
  33063. 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."
  33064. msgstr ""
  33065. #. type: deftp
  33066. #: guix-git/doc/guix.texi:22294
  33067. #, no-wrap
  33068. msgid "{Data Type} murmur-configuration"
  33069. msgstr ""
  33070. #. type: deftp
  33071. #: guix-git/doc/guix.texi:22297
  33072. msgid "The service type for the Murmur server. An example configuration can look like this:"
  33073. msgstr ""
  33074. #. type: lisp
  33075. #: guix-git/doc/guix.texi:22306
  33076. #, no-wrap
  33077. msgid ""
  33078. "(service murmur-service-type\n"
  33079. " (murmur-configuration\n"
  33080. " (welcome-text\n"
  33081. " \"Welcome to this Mumble server running on Guix!\")\n"
  33082. " (cert-required? #t) ;disallow text password logins\n"
  33083. " (ssl-cert \"/etc/letsencrypt/live/mumble.example.com/fullchain.pem\")\n"
  33084. " (ssl-key \"/etc/letsencrypt/live/mumble.example.com/privkey.pem\")))\n"
  33085. msgstr ""
  33086. #. type: deftp
  33087. #: guix-git/doc/guix.texi:22310
  33088. msgid "After reconfiguring your system, you can manually set the murmur @code{SuperUser} password with the command that is printed during the activation phase."
  33089. msgstr ""
  33090. #. type: deftp
  33091. #: guix-git/doc/guix.texi:22319
  33092. 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."
  33093. msgstr ""
  33094. #. type: deftp
  33095. #: guix-git/doc/guix.texi:22321
  33096. msgid "Available @code{murmur-configuration} fields are:"
  33097. msgstr ""
  33098. #. type: item
  33099. #: guix-git/doc/guix.texi:22323
  33100. #, no-wrap
  33101. msgid "@code{package} (default: @code{mumble})"
  33102. msgstr ""
  33103. #. type: table
  33104. #: guix-git/doc/guix.texi:22325
  33105. msgid "Package that contains @code{bin/murmurd}."
  33106. msgstr ""
  33107. #. type: item
  33108. #: guix-git/doc/guix.texi:22326
  33109. #, no-wrap
  33110. msgid "@code{user} (default: @code{\"murmur\"})"
  33111. msgstr ""
  33112. #. type: table
  33113. #: guix-git/doc/guix.texi:22328
  33114. msgid "User who will run the Murmur server."
  33115. msgstr ""
  33116. #. type: item
  33117. #: guix-git/doc/guix.texi:22329
  33118. #, no-wrap
  33119. msgid "@code{group} (default: @code{\"murmur\"})"
  33120. msgstr ""
  33121. #. type: table
  33122. #: guix-git/doc/guix.texi:22331
  33123. msgid "Group of the user who will run the murmur server."
  33124. msgstr ""
  33125. #. type: item
  33126. #: guix-git/doc/guix.texi:22332
  33127. #, no-wrap
  33128. msgid "@code{port} (default: @code{64738})"
  33129. msgstr "@code{porta} (default: @code{64738})"
  33130. #. type: table
  33131. #: guix-git/doc/guix.texi:22334
  33132. msgid "Port on which the server will listen."
  33133. msgstr ""
  33134. #. type: item
  33135. #: guix-git/doc/guix.texi:22335
  33136. #, no-wrap
  33137. msgid "@code{welcome-text} (default: @code{\"\"})"
  33138. msgstr ""
  33139. #. type: table
  33140. #: guix-git/doc/guix.texi:22337
  33141. msgid "Welcome text sent to clients when they connect."
  33142. msgstr ""
  33143. #. type: item
  33144. #: guix-git/doc/guix.texi:22338
  33145. #, no-wrap
  33146. msgid "@code{server-password} (default: @code{\"\"})"
  33147. msgstr ""
  33148. #. type: table
  33149. #: guix-git/doc/guix.texi:22340
  33150. msgid "Password the clients have to enter in order to connect."
  33151. msgstr ""
  33152. #. type: item
  33153. #: guix-git/doc/guix.texi:22341
  33154. #, no-wrap
  33155. msgid "@code{max-users} (default: @code{100})"
  33156. msgstr ""
  33157. #. type: table
  33158. #: guix-git/doc/guix.texi:22343
  33159. msgid "Maximum of users that can be connected to the server at once."
  33160. msgstr ""
  33161. #. type: item
  33162. #: guix-git/doc/guix.texi:22344
  33163. #, no-wrap
  33164. msgid "@code{max-user-bandwidth} (default: @code{#f})"
  33165. msgstr ""
  33166. #. type: table
  33167. #: guix-git/doc/guix.texi:22346
  33168. msgid "Maximum voice traffic a user can send per second."
  33169. msgstr ""
  33170. #. type: item
  33171. #: guix-git/doc/guix.texi:22347
  33172. #, no-wrap
  33173. msgid "@code{database-file} (default: @code{\"/var/lib/murmur/db.sqlite\"})"
  33174. msgstr ""
  33175. #. type: table
  33176. #: guix-git/doc/guix.texi:22350
  33177. msgid "File name of the sqlite database. The service's user will become the owner of the directory."
  33178. msgstr ""
  33179. #. type: item
  33180. #: guix-git/doc/guix.texi:22351
  33181. #, no-wrap
  33182. msgid "@code{log-file} (default: @code{\"/var/log/murmur/murmur.log\"})"
  33183. msgstr ""
  33184. #. type: table
  33185. #: guix-git/doc/guix.texi:22354
  33186. msgid "File name of the log file. The service's user will become the owner of the directory."
  33187. msgstr ""
  33188. #. type: item
  33189. #: guix-git/doc/guix.texi:22355
  33190. #, no-wrap
  33191. msgid "@code{autoban-attempts} (default: @code{10})"
  33192. msgstr ""
  33193. #. type: table
  33194. #: guix-git/doc/guix.texi:22358
  33195. msgid "Maximum number of logins a user can make in @code{autoban-timeframe} without getting auto banned for @code{autoban-time}."
  33196. msgstr ""
  33197. #. type: item
  33198. #: guix-git/doc/guix.texi:22359
  33199. #, no-wrap
  33200. msgid "@code{autoban-timeframe} (default: @code{120})"
  33201. msgstr ""
  33202. #. type: table
  33203. #: guix-git/doc/guix.texi:22361
  33204. msgid "Timeframe for autoban in seconds."
  33205. msgstr ""
  33206. #. type: item
  33207. #: guix-git/doc/guix.texi:22362
  33208. #, no-wrap
  33209. msgid "@code{autoban-time} (default: @code{300})"
  33210. msgstr ""
  33211. #. type: table
  33212. #: guix-git/doc/guix.texi:22365
  33213. msgid "Amount of time in seconds for which a client gets banned when violating the autoban limits."
  33214. msgstr ""
  33215. #. type: item
  33216. #: guix-git/doc/guix.texi:22366
  33217. #, no-wrap
  33218. msgid "@code{opus-threshold} (default: @code{100})"
  33219. msgstr ""
  33220. #. type: table
  33221. #: guix-git/doc/guix.texi:22369
  33222. msgid "Percentage of clients that need to support opus before switching over to opus audio codec."
  33223. msgstr ""
  33224. #. type: item
  33225. #: guix-git/doc/guix.texi:22370
  33226. #, no-wrap
  33227. msgid "@code{channel-nesting-limit} (default: @code{10})"
  33228. msgstr ""
  33229. #. type: table
  33230. #: guix-git/doc/guix.texi:22372
  33231. msgid "How deep channels can be nested at maximum."
  33232. msgstr ""
  33233. #. type: item
  33234. #: guix-git/doc/guix.texi:22373
  33235. #, no-wrap
  33236. msgid "@code{channelname-regex} (default: @code{#f})"
  33237. msgstr ""
  33238. #. type: table
  33239. #: guix-git/doc/guix.texi:22375
  33240. msgid "A string in form of a Qt regular expression that channel names must conform to."
  33241. msgstr ""
  33242. #. type: item
  33243. #: guix-git/doc/guix.texi:22376
  33244. #, no-wrap
  33245. msgid "@code{username-regex} (default: @code{#f})"
  33246. msgstr ""
  33247. #. type: table
  33248. #: guix-git/doc/guix.texi:22378
  33249. msgid "A string in form of a Qt regular expression that user names must conform to."
  33250. msgstr ""
  33251. #. type: item
  33252. #: guix-git/doc/guix.texi:22379
  33253. #, no-wrap
  33254. msgid "@code{text-message-length} (default: @code{5000})"
  33255. msgstr ""
  33256. #. type: table
  33257. #: guix-git/doc/guix.texi:22381
  33258. msgid "Maximum size in bytes that a user can send in one text chat message."
  33259. msgstr ""
  33260. #. type: item
  33261. #: guix-git/doc/guix.texi:22382
  33262. #, no-wrap
  33263. msgid "@code{image-message-length} (default: @code{(* 128 1024)})"
  33264. msgstr ""
  33265. #. type: table
  33266. #: guix-git/doc/guix.texi:22384
  33267. msgid "Maximum size in bytes that a user can send in one image message."
  33268. msgstr ""
  33269. #. type: item
  33270. #: guix-git/doc/guix.texi:22385
  33271. #, no-wrap
  33272. msgid "@code{cert-required?} (default: @code{#f})"
  33273. msgstr ""
  33274. #. type: table
  33275. #: guix-git/doc/guix.texi:22388
  33276. 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."
  33277. msgstr ""
  33278. #. type: item
  33279. #: guix-git/doc/guix.texi:22389
  33280. #, no-wrap
  33281. msgid "@code{remember-channel?} (default: @code{#f})"
  33282. msgstr "@code{remember-channel?} (padrão: @code{#f})"
  33283. #. type: table
  33284. #: guix-git/doc/guix.texi:22392
  33285. msgid "Should murmur remember the last channel each user was in when they disconnected and put them into the remembered channel when they rejoin."
  33286. msgstr ""
  33287. #. type: item
  33288. #: guix-git/doc/guix.texi:22393
  33289. #, no-wrap
  33290. msgid "@code{allow-html?} (default: @code{#f})"
  33291. msgstr ""
  33292. #. type: table
  33293. #: guix-git/doc/guix.texi:22395
  33294. msgid "Should html be allowed in text messages, user comments, and channel descriptions."
  33295. msgstr ""
  33296. #. type: item
  33297. #: guix-git/doc/guix.texi:22396
  33298. #, no-wrap
  33299. msgid "@code{allow-ping?} (default: @code{#f})"
  33300. msgstr ""
  33301. #. type: table
  33302. #: guix-git/doc/guix.texi:22400
  33303. 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."
  33304. msgstr ""
  33305. #. type: table
  33306. #: guix-git/doc/guix.texi:22402
  33307. msgid "Disabling this setting will prevent public listing of the server."
  33308. msgstr ""
  33309. #. type: item
  33310. #: guix-git/doc/guix.texi:22403
  33311. #, no-wrap
  33312. msgid "@code{bonjour?} (default: @code{#f})"
  33313. msgstr "@code{bonjour?} (padrão: @code{#f})"
  33314. #. type: table
  33315. #: guix-git/doc/guix.texi:22405
  33316. msgid "Should the server advertise itself in the local network through the bonjour protocol."
  33317. msgstr ""
  33318. #. type: item
  33319. #: guix-git/doc/guix.texi:22406
  33320. #, no-wrap
  33321. msgid "@code{send-version?} (default: @code{#f})"
  33322. msgstr ""
  33323. #. type: table
  33324. #: guix-git/doc/guix.texi:22408
  33325. msgid "Should the murmur server version be exposed in ping requests."
  33326. msgstr ""
  33327. #. type: item
  33328. #: guix-git/doc/guix.texi:22409
  33329. #, no-wrap
  33330. msgid "@code{log-days} (default: @code{31})"
  33331. msgstr ""
  33332. #. type: table
  33333. #: guix-git/doc/guix.texi:22413
  33334. 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."
  33335. msgstr ""
  33336. #. type: item
  33337. #: guix-git/doc/guix.texi:22414
  33338. #, no-wrap
  33339. msgid "@code{obfuscate-ips?} (default: @code{#t})"
  33340. msgstr ""
  33341. #. type: table
  33342. #: guix-git/doc/guix.texi:22416
  33343. msgid "Should logged ips be obfuscated to protect the privacy of users."
  33344. msgstr ""
  33345. #. type: item
  33346. #: guix-git/doc/guix.texi:22417
  33347. #, no-wrap
  33348. msgid "@code{ssl-cert} (default: @code{#f})"
  33349. msgstr ""
  33350. #. type: table
  33351. #: guix-git/doc/guix.texi:22419
  33352. msgid "File name of the SSL/TLS certificate used for encrypted connections."
  33353. msgstr ""
  33354. #. type: lisp
  33355. #: guix-git/doc/guix.texi:22422
  33356. #, no-wrap
  33357. msgid "(ssl-cert \"/etc/letsencrypt/live/example.com/fullchain.pem\")\n"
  33358. msgstr ""
  33359. #. type: item
  33360. #: guix-git/doc/guix.texi:22423
  33361. #, no-wrap
  33362. msgid "@code{ssl-key} (default: @code{#f})"
  33363. msgstr ""
  33364. #. type: table
  33365. #: guix-git/doc/guix.texi:22425
  33366. msgid "Filepath to the ssl private key used for encrypted connections."
  33367. msgstr ""
  33368. #. type: lisp
  33369. #: guix-git/doc/guix.texi:22427
  33370. #, no-wrap
  33371. msgid "(ssl-key \"/etc/letsencrypt/live/example.com/privkey.pem\")\n"
  33372. msgstr ""
  33373. #. type: item
  33374. #: guix-git/doc/guix.texi:22429
  33375. #, no-wrap
  33376. msgid "@code{ssl-dh-params} (default: @code{#f})"
  33377. msgstr ""
  33378. #. type: table
  33379. #: guix-git/doc/guix.texi:22434
  33380. 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."
  33381. msgstr ""
  33382. #. type: item
  33383. #: guix-git/doc/guix.texi:22435
  33384. #, no-wrap
  33385. msgid "@code{ssl-ciphers} (default: @code{#f})"
  33386. msgstr ""
  33387. #. type: table
  33388. #: guix-git/doc/guix.texi:22438
  33389. msgid "The @code{ssl-ciphers} option chooses the cipher suites to make available for use in SSL/TLS."
  33390. msgstr ""
  33391. #. type: table
  33392. #: guix-git/doc/guix.texi:22442
  33393. msgid "This option is specified using @uref{https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT, OpenSSL cipher list notation}."
  33394. msgstr ""
  33395. #. type: table
  33396. #: guix-git/doc/guix.texi:22447
  33397. 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."
  33398. msgstr ""
  33399. #. type: table
  33400. #: guix-git/doc/guix.texi:22451
  33401. 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."
  33402. msgstr ""
  33403. #. type: item
  33404. #: guix-git/doc/guix.texi:22452
  33405. #, no-wrap
  33406. msgid "@code{public-registration} (default: @code{#f})"
  33407. msgstr ""
  33408. #. type: table
  33409. #: guix-git/doc/guix.texi:22454
  33410. msgid "Must be a @code{<murmur-public-registration-configuration>} record or @code{#f}."
  33411. msgstr ""
  33412. #. type: table
  33413. #: guix-git/doc/guix.texi:22459
  33414. 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}."
  33415. msgstr ""
  33416. #. type: table
  33417. #: guix-git/doc/guix.texi:22461
  33418. msgid "It might take a few hours until it shows up in the public list."
  33419. msgstr ""
  33420. #. type: item
  33421. #: guix-git/doc/guix.texi:22462 guix-git/doc/guix.texi:24698
  33422. #, no-wrap
  33423. msgid "@code{file} (default: @code{#f})"
  33424. msgstr "@code{file} (default: @code{#f})"
  33425. #. type: table
  33426. #: guix-git/doc/guix.texi:22464
  33427. msgid "Optional alternative override for this configuration."
  33428. msgstr ""
  33429. #. type: deftp
  33430. #: guix-git/doc/guix.texi:22467
  33431. #, no-wrap
  33432. msgid "{Data Type} murmur-public-registration-configuration"
  33433. msgstr ""
  33434. #. type: deftp
  33435. #: guix-git/doc/guix.texi:22469
  33436. msgid "Configuration for public registration of a murmur service."
  33437. msgstr ""
  33438. #. type: table
  33439. #: guix-git/doc/guix.texi:22473
  33440. msgid "This is a display name for your server. Not to be confused with the hostname."
  33441. msgstr ""
  33442. #. type: itemx
  33443. #: guix-git/doc/guix.texi:22474 guix-git/doc/guix.texi:31149
  33444. #: guix-git/doc/guix.texi:32190
  33445. #, no-wrap
  33446. msgid "password"
  33447. msgstr "senha"
  33448. #. type: table
  33449. #: guix-git/doc/guix.texi:22477
  33450. msgid "A password to identify your registration. Subsequent updates will need the same password. Don't lose your password."
  33451. msgstr ""
  33452. #. type: table
  33453. #: guix-git/doc/guix.texi:22481
  33454. msgid "This should be a @code{http://} or @code{https://} link to your web site."
  33455. msgstr ""
  33456. #. type: item
  33457. #: guix-git/doc/guix.texi:22482 guix-git/doc/guix.texi:25577
  33458. #, no-wrap
  33459. msgid "@code{hostname} (default: @code{#f})"
  33460. msgstr "@code{hostname} (default: @code{#f})"
  33461. #. type: table
  33462. #: guix-git/doc/guix.texi:22485
  33463. 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."
  33464. msgstr ""
  33465. #. type: Plain text
  33466. #: guix-git/doc/guix.texi:22495
  33467. msgid "The @code{(gnu services file-sharing)} module provides services that assist with transferring files over peer-to-peer file-sharing networks."
  33468. msgstr ""
  33469. #. type: subsubheading
  33470. #: guix-git/doc/guix.texi:22496
  33471. #, no-wrap
  33472. msgid "Transmission Daemon Service"
  33473. msgstr ""
  33474. #. type: Plain text
  33475. #: guix-git/doc/guix.texi:22504
  33476. 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."
  33477. msgstr ""
  33478. #. type: deffn
  33479. #: guix-git/doc/guix.texi:22505
  33480. #, no-wrap
  33481. msgid "{Scheme Variable} transmission-daemon-service-type"
  33482. msgstr ""
  33483. #. type: deffn
  33484. #: guix-git/doc/guix.texi:22509
  33485. msgid "The service type for the Transmission Daemon BitTorrent client. Its value must be a @code{transmission-daemon-configuration} object as in this example:"
  33486. msgstr ""
  33487. #. type: lisp
  33488. #: guix-git/doc/guix.texi:22520
  33489. #, no-wrap
  33490. msgid ""
  33491. "(service transmission-daemon-service-type\n"
  33492. " (transmission-daemon-configuration\n"
  33493. " ;; Restrict access to the RPC (\"control\") interface\n"
  33494. " (rpc-authentication-required? #t)\n"
  33495. " (rpc-username \"transmission\")\n"
  33496. " (rpc-password\n"
  33497. " (transmission-password-hash\n"
  33498. " \"transmission\" ; desired password\n"
  33499. " \"uKd1uMs9\")) ; arbitrary salt value\n"
  33500. "\n"
  33501. msgstr ""
  33502. #. type: lisp
  33503. #: guix-git/doc/guix.texi:22525
  33504. #, no-wrap
  33505. msgid ""
  33506. " ;; Accept requests from this and other hosts on the\n"
  33507. " ;; local network\n"
  33508. " (rpc-whitelist-enabled? #t)\n"
  33509. " (rpc-whitelist '(\"::1\" \"127.0.0.1\" \"192.168.0.*\"))\n"
  33510. "\n"
  33511. msgstr ""
  33512. #. type: lisp
  33513. #: guix-git/doc/guix.texi:22529
  33514. #, no-wrap
  33515. msgid ""
  33516. " ;; Limit bandwidth use during work hours\n"
  33517. " (alt-speed-down (* 1024 2)) ; 2 MB/s\n"
  33518. " (alt-speed-up 512) ; 512 kB/s\n"
  33519. "\n"
  33520. msgstr ""
  33521. #. type: lisp
  33522. #: guix-git/doc/guix.texi:22536
  33523. #, no-wrap
  33524. msgid ""
  33525. " (alt-speed-time-enabled? #t)\n"
  33526. " (alt-speed-time-day 'weekdays)\n"
  33527. " (alt-speed-time-begin\n"
  33528. " (+ (* 60 8) 30)) ; 8:30 am\n"
  33529. " (alt-speed-time-end\n"
  33530. " (+ (* 60 (+ 12 5)) 30)))) ; 5:30 pm\n"
  33531. msgstr ""
  33532. #. type: Plain text
  33533. #: guix-git/doc/guix.texi:22549
  33534. 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."
  33535. msgstr ""
  33536. #. type: Plain text
  33537. #: guix-git/doc/guix.texi:22557
  33538. 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."
  33539. msgstr ""
  33540. #. type: deffn
  33541. #: guix-git/doc/guix.texi:22558
  33542. #, no-wrap
  33543. msgid "{Scheme Procedure} transmission-password-hash @var{password} @var{salt}"
  33544. msgstr ""
  33545. #. type: deffn
  33546. #: guix-git/doc/guix.texi:22562
  33547. 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."
  33548. msgstr ""
  33549. #. type: deffn
  33550. #: guix-git/doc/guix.texi:22566
  33551. 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."
  33552. msgstr ""
  33553. #. type: deffn
  33554. #: guix-git/doc/guix.texi:22568
  33555. #, no-wrap
  33556. msgid "{Scheme Procedure} transmission-random-salt"
  33557. msgstr ""
  33558. #. type: deffn
  33559. #: guix-git/doc/guix.texi:22572
  33560. 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."
  33561. msgstr ""
  33562. #. type: Plain text
  33563. #: guix-git/doc/guix.texi:22578
  33564. 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:"
  33565. msgstr ""
  33566. #. type: example
  33567. #: guix-git/doc/guix.texi:22584
  33568. #, no-wrap
  33569. msgid ""
  33570. "$ guix repl\n"
  33571. "scheme@@(guix-user)> ,use (gnu services file-sharing)\n"
  33572. "scheme@@(guix-user)> (transmission-random-salt)\n"
  33573. "$1 = \"uKd1uMs9\"\n"
  33574. msgstr ""
  33575. #. type: Plain text
  33576. #: guix-git/doc/guix.texi:22587
  33577. msgid "Alternatively, a complete password hash can generated in a single step:"
  33578. msgstr ""
  33579. #. type: example
  33580. #: guix-git/doc/guix.texi:22592
  33581. #, no-wrap
  33582. msgid ""
  33583. "scheme@@(guix-user)> (transmission-password-hash \"transmission\"\n"
  33584. "(transmission-random-salt))\n"
  33585. "$2 = \"@{c8bbc6d1740cd8dc819a6e25563b67812c1c19c9VtFPfdsX\"\n"
  33586. msgstr ""
  33587. #. type: Plain text
  33588. #: guix-git/doc/guix.texi:22597
  33589. 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."
  33590. msgstr ""
  33591. #. type: Plain text
  33592. #: guix-git/doc/guix.texi:22606
  33593. 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."
  33594. msgstr ""
  33595. #. type: Plain text
  33596. #: guix-git/doc/guix.texi:22613
  33597. 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.)"
  33598. msgstr ""
  33599. #. type: Plain text
  33600. #: guix-git/doc/guix.texi:22618
  33601. 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:"
  33602. msgstr ""
  33603. #. type: example
  33604. #: guix-git/doc/guix.texi:22621
  33605. #, no-wrap
  33606. msgid "# herd reload transmission-daemon\n"
  33607. msgstr ""
  33608. #. type: Plain text
  33609. #: guix-git/doc/guix.texi:22625
  33610. msgid "The full set of available configuration settings is defined by the @code{transmission-daemon-configuration} data type."
  33611. msgstr ""
  33612. #. type: deftp
  33613. #: guix-git/doc/guix.texi:22626
  33614. #, no-wrap
  33615. msgid "{Data Type} transmission-daemon-configuration"
  33616. msgstr ""
  33617. #. type: deftp
  33618. #: guix-git/doc/guix.texi:22630
  33619. 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."
  33620. msgstr ""
  33621. #. type: Plain text
  33622. #: guix-git/doc/guix.texi:22644
  33623. msgid "Available @code{transmission-daemon-configuration} fields are:"
  33624. msgstr ""
  33625. #. type: deftypevr
  33626. #: guix-git/doc/guix.texi:22645
  33627. #, no-wrap
  33628. msgid "{@code{transmission-daemon-configuration} parameter} package transmission"
  33629. msgstr ""
  33630. #. type: deftypevr
  33631. #: guix-git/doc/guix.texi:22647
  33632. msgid "The Transmission package to use."
  33633. msgstr ""
  33634. #. type: deftypevr
  33635. #: guix-git/doc/guix.texi:22650
  33636. #, no-wrap
  33637. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer stop-wait-period"
  33638. msgstr ""
  33639. #. type: deftypevr
  33640. #: guix-git/doc/guix.texi:22656
  33641. 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."
  33642. msgstr ""
  33643. #. type: deftypevr
  33644. #: guix-git/doc/guix.texi:22658 guix-git/doc/guix.texi:23030
  33645. #: guix-git/doc/guix.texi:30262 guix-git/doc/guix.texi:30497
  33646. #: guix-git/doc/guix.texi:30505 guix-git/doc/guix.texi:30513
  33647. msgid "Defaults to @samp{10}."
  33648. msgstr ""
  33649. #. type: deftypevr
  33650. #: guix-git/doc/guix.texi:22661
  33651. #, no-wrap
  33652. msgid "{@code{transmission-daemon-configuration} parameter} string download-dir"
  33653. msgstr ""
  33654. #. type: deftypevr
  33655. #: guix-git/doc/guix.texi:22663
  33656. msgid "The directory to which torrent files are downloaded."
  33657. msgstr ""
  33658. #. type: deftypevr
  33659. #: guix-git/doc/guix.texi:22665
  33660. msgid "Defaults to @samp{\"/var/lib/transmission-daemon/downloads\"}."
  33661. msgstr ""
  33662. #. type: deftypevr
  33663. #: guix-git/doc/guix.texi:22668
  33664. #, no-wrap
  33665. msgid "{@code{transmission-daemon-configuration} parameter} boolean incomplete-dir-enabled?"
  33666. msgstr ""
  33667. #. type: deftypevr
  33668. #: guix-git/doc/guix.texi:22673
  33669. 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}."
  33670. msgstr ""
  33671. #. type: deftypevr
  33672. #: guix-git/doc/guix.texi:22678
  33673. #, no-wrap
  33674. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string incomplete-dir"
  33675. msgstr ""
  33676. #. type: deftypevr
  33677. #: guix-git/doc/guix.texi:22681
  33678. msgid "The directory in which files from incompletely downloaded torrents will be held when @code{incomplete-dir-enabled?} is @code{#t}."
  33679. msgstr ""
  33680. #. type: deftypevr
  33681. #: guix-git/doc/guix.texi:22683 guix-git/doc/guix.texi:22727
  33682. #: guix-git/doc/guix.texi:22940 guix-git/doc/guix.texi:22996
  33683. #: guix-git/doc/guix.texi:23170 guix-git/doc/guix.texi:23181
  33684. #: guix-git/doc/guix.texi:23254 guix-git/doc/guix.texi:23979
  33685. #: guix-git/doc/guix.texi:24022 guix-git/doc/guix.texi:24030
  33686. #: guix-git/doc/guix.texi:24038 guix-git/doc/guix.texi:24046
  33687. #: guix-git/doc/guix.texi:24055 guix-git/doc/guix.texi:24063
  33688. #: guix-git/doc/guix.texi:24070 guix-git/doc/guix.texi:24078
  33689. #: guix-git/doc/guix.texi:24086 guix-git/doc/guix.texi:24096
  33690. #: guix-git/doc/guix.texi:24103 guix-git/doc/guix.texi:24127
  33691. #: guix-git/doc/guix.texi:24135 guix-git/doc/guix.texi:24161
  33692. #: guix-git/doc/guix.texi:24170 guix-git/doc/guix.texi:24179
  33693. #: guix-git/doc/guix.texi:24188 guix-git/doc/guix.texi:24197
  33694. #: guix-git/doc/guix.texi:24206 guix-git/doc/guix.texi:24214
  33695. #: guix-git/doc/guix.texi:24222 guix-git/doc/guix.texi:24229
  33696. #: guix-git/doc/guix.texi:24237 guix-git/doc/guix.texi:24244
  33697. #: guix-git/doc/guix.texi:24252 guix-git/doc/guix.texi:24260
  33698. #: guix-git/doc/guix.texi:24269 guix-git/doc/guix.texi:24278
  33699. #: guix-git/doc/guix.texi:24286 guix-git/doc/guix.texi:24294
  33700. #: guix-git/doc/guix.texi:24302 guix-git/doc/guix.texi:24313
  33701. #: guix-git/doc/guix.texi:24323 guix-git/doc/guix.texi:24334
  33702. #: guix-git/doc/guix.texi:24343 guix-git/doc/guix.texi:24353
  33703. #: guix-git/doc/guix.texi:24361 guix-git/doc/guix.texi:24372
  33704. #: guix-git/doc/guix.texi:24381 guix-git/doc/guix.texi:24391
  33705. #: guix-git/doc/guix.texi:27554 guix-git/doc/guix.texi:27561
  33706. #: guix-git/doc/guix.texi:27568 guix-git/doc/guix.texi:27575
  33707. #: guix-git/doc/guix.texi:27582 guix-git/doc/guix.texi:27589
  33708. #: guix-git/doc/guix.texi:27597 guix-git/doc/guix.texi:27605
  33709. #: guix-git/doc/guix.texi:27612 guix-git/doc/guix.texi:27619
  33710. #: guix-git/doc/guix.texi:27626 guix-git/doc/guix.texi:27633
  33711. #: guix-git/doc/guix.texi:27663 guix-git/doc/guix.texi:27701
  33712. #: guix-git/doc/guix.texi:27708 guix-git/doc/guix.texi:27717
  33713. #: guix-git/doc/guix.texi:27739 guix-git/doc/guix.texi:27747
  33714. #: guix-git/doc/guix.texi:27754 guix-git/doc/guix.texi:27909
  33715. #: guix-git/doc/guix.texi:27929 guix-git/doc/guix.texi:27944
  33716. #: guix-git/doc/guix.texi:27951 guix-git/doc/guix.texi:30634
  33717. #: guix-git/doc/guix.texi:30642 guix-git/doc/guix.texi:30650
  33718. #: guix-git/doc/guix.texi:30658 guix-git/doc/guix.texi:30666
  33719. #: guix-git/doc/guix.texi:30674
  33720. msgid "Defaults to @samp{disabled}."
  33721. msgstr ""
  33722. #. type: deftypevr
  33723. #: guix-git/doc/guix.texi:22686
  33724. #, no-wrap
  33725. msgid "{@code{transmission-daemon-configuration} parameter} umask umask"
  33726. msgstr ""
  33727. #. type: deftypevr
  33728. #: guix-git/doc/guix.texi:22689
  33729. msgid "The file mode creation mask used for downloaded files. (See the @command{umask} man page for more information.)"
  33730. msgstr ""
  33731. #. type: deftypevr
  33732. #: guix-git/doc/guix.texi:22691
  33733. msgid "Defaults to @samp{18}."
  33734. msgstr ""
  33735. #. type: deftypevr
  33736. #: guix-git/doc/guix.texi:22694
  33737. #, no-wrap
  33738. msgid "{@code{transmission-daemon-configuration} parameter} boolean rename-partial-files?"
  33739. msgstr ""
  33740. #. type: deftypevr
  33741. #: guix-git/doc/guix.texi:22697
  33742. msgid "When @code{#t}, ``.part'' is appended to the name of partially downloaded files."
  33743. msgstr ""
  33744. #. type: deftypevr
  33745. #: guix-git/doc/guix.texi:22702
  33746. #, no-wrap
  33747. msgid "{@code{transmission-daemon-configuration} parameter} preallocation-mode preallocation"
  33748. msgstr ""
  33749. #. type: deftypevr
  33750. #: guix-git/doc/guix.texi:22707
  33751. 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."
  33752. msgstr ""
  33753. #. type: deftypevr
  33754. #: guix-git/doc/guix.texi:22709
  33755. msgid "Defaults to @samp{fast}."
  33756. msgstr ""
  33757. #. type: deftypevr
  33758. #: guix-git/doc/guix.texi:22712
  33759. #, no-wrap
  33760. msgid "{@code{transmission-daemon-configuration} parameter} boolean watch-dir-enabled?"
  33761. msgstr ""
  33762. #. type: deftypevr
  33763. #: guix-git/doc/guix.texi:22717
  33764. 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})."
  33765. msgstr ""
  33766. #. type: deftypevr
  33767. #: guix-git/doc/guix.texi:22722
  33768. #, no-wrap
  33769. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string watch-dir"
  33770. msgstr ""
  33771. #. type: deftypevr
  33772. #: guix-git/doc/guix.texi:22725
  33773. msgid "The directory to be watched for @file{.torrent} files indicating new torrents to be added, when @code{watch-dir-enabled} is @code{#t}."
  33774. msgstr ""
  33775. #. type: deftypevr
  33776. #: guix-git/doc/guix.texi:22730
  33777. #, no-wrap
  33778. msgid "{@code{transmission-daemon-configuration} parameter} boolean trash-original-torrent-files?"
  33779. msgstr ""
  33780. #. type: deftypevr
  33781. #: guix-git/doc/guix.texi:22734
  33782. 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?})."
  33783. msgstr ""
  33784. #. type: deftypevr
  33785. #: guix-git/doc/guix.texi:22739
  33786. #, no-wrap
  33787. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-down-enabled?"
  33788. msgstr ""
  33789. #. type: deftypevr
  33790. #: guix-git/doc/guix.texi:22742
  33791. msgid "When @code{#t}, the daemon's download speed will be limited to the rate specified by @code{speed-limit-down}."
  33792. msgstr ""
  33793. #. type: deftypevr
  33794. #: guix-git/doc/guix.texi:22747
  33795. #, no-wrap
  33796. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-down"
  33797. msgstr ""
  33798. #. type: deftypevr
  33799. #: guix-git/doc/guix.texi:22749
  33800. msgid "The default global-maximum download speed, in kilobytes per second."
  33801. msgstr ""
  33802. #. type: deftypevr
  33803. #: guix-git/doc/guix.texi:22754
  33804. #, no-wrap
  33805. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-up-enabled?"
  33806. msgstr ""
  33807. #. type: deftypevr
  33808. #: guix-git/doc/guix.texi:22757
  33809. msgid "When @code{#t}, the daemon's upload speed will be limited to the rate specified by @code{speed-limit-up}."
  33810. msgstr ""
  33811. #. type: deftypevr
  33812. #: guix-git/doc/guix.texi:22762
  33813. #, no-wrap
  33814. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-up"
  33815. msgstr ""
  33816. #. type: deftypevr
  33817. #: guix-git/doc/guix.texi:22764
  33818. msgid "The default global-maximum upload speed, in kilobytes per second."
  33819. msgstr ""
  33820. #. type: deftypevr
  33821. #: guix-git/doc/guix.texi:22769
  33822. #, no-wrap
  33823. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-enabled?"
  33824. msgstr ""
  33825. #. type: deftypevr
  33826. #: guix-git/doc/guix.texi:22775
  33827. 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?}."
  33828. msgstr ""
  33829. #. type: deftypevr
  33830. #: guix-git/doc/guix.texi:22780
  33831. #, no-wrap
  33832. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-down"
  33833. msgstr ""
  33834. #. type: deftypevr
  33835. #: guix-git/doc/guix.texi:22782
  33836. msgid "The alternate global-maximum download speed, in kilobytes per second."
  33837. msgstr ""
  33838. #. type: deftypevr
  33839. #: guix-git/doc/guix.texi:22784 guix-git/doc/guix.texi:22791
  33840. #: guix-git/doc/guix.texi:22963 guix-git/doc/guix.texi:30269
  33841. #: guix-git/doc/guix.texi:30284
  33842. msgid "Defaults to @samp{50}."
  33843. msgstr ""
  33844. #. type: deftypevr
  33845. #: guix-git/doc/guix.texi:22787
  33846. #, no-wrap
  33847. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-up"
  33848. msgstr ""
  33849. #. type: deftypevr
  33850. #: guix-git/doc/guix.texi:22789
  33851. msgid "The alternate global-maximum upload speed, in kilobytes per second."
  33852. msgstr ""
  33853. #. type: deftypevr
  33854. #: guix-git/doc/guix.texi:22794
  33855. #, no-wrap
  33856. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-time-enabled?"
  33857. msgstr ""
  33858. #. type: deftypevr
  33859. #: guix-git/doc/guix.texi:22799
  33860. 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}."
  33861. msgstr ""
  33862. #. type: deftypevr
  33863. #: guix-git/doc/guix.texi:22804
  33864. #, no-wrap
  33865. msgid "{@code{transmission-daemon-configuration} parameter} day-list alt-speed-time-day"
  33866. msgstr ""
  33867. #. type: deftypevr
  33868. #: guix-git/doc/guix.texi:22809
  33869. 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}."
  33870. msgstr ""
  33871. #. type: deftypevr
  33872. #: guix-git/doc/guix.texi:22811
  33873. msgid "Defaults to @samp{all}."
  33874. msgstr ""
  33875. #. type: deftypevr
  33876. #: guix-git/doc/guix.texi:22814
  33877. #, no-wrap
  33878. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-begin"
  33879. msgstr ""
  33880. #. type: deftypevr
  33881. #: guix-git/doc/guix.texi:22817
  33882. msgid "The time of day at which to enable the alternate speed limits, expressed as a number of minutes since midnight."
  33883. msgstr ""
  33884. #. type: deftypevr
  33885. #: guix-git/doc/guix.texi:22819
  33886. msgid "Defaults to @samp{540}."
  33887. msgstr ""
  33888. #. type: deftypevr
  33889. #: guix-git/doc/guix.texi:22822
  33890. #, no-wrap
  33891. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-end"
  33892. msgstr ""
  33893. #. type: deftypevr
  33894. #: guix-git/doc/guix.texi:22825
  33895. msgid "The time of day at which to disable the alternate speed limits, expressed as a number of minutes since midnight."
  33896. msgstr ""
  33897. #. type: deftypevr
  33898. #: guix-git/doc/guix.texi:22827
  33899. msgid "Defaults to @samp{1020}."
  33900. msgstr ""
  33901. #. type: deftypevr
  33902. #: guix-git/doc/guix.texi:22830
  33903. #, no-wrap
  33904. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv4"
  33905. msgstr ""
  33906. #. type: deftypevr
  33907. #: guix-git/doc/guix.texi:22833
  33908. msgid "The IP address at which to listen for peer connections, or ``0.0.0.0'' to listen at all available IP addresses."
  33909. msgstr ""
  33910. #. type: deftypevr
  33911. #: guix-git/doc/guix.texi:22835 guix-git/doc/guix.texi:23138
  33912. #: guix-git/doc/guix.texi:28184
  33913. msgid "Defaults to @samp{\"0.0.0.0\"}."
  33914. msgstr ""
  33915. #. type: deftypevr
  33916. #: guix-git/doc/guix.texi:22838
  33917. #, no-wrap
  33918. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv6"
  33919. msgstr ""
  33920. #. type: deftypevr
  33921. #: guix-git/doc/guix.texi:22841
  33922. msgid "The IPv6 address at which to listen for peer connections, or ``::'' to listen at all available IPv6 addresses."
  33923. msgstr ""
  33924. #. type: deftypevr
  33925. #: guix-git/doc/guix.texi:22843
  33926. msgid "Defaults to @samp{\"::\"}."
  33927. msgstr ""
  33928. #. type: deftypevr
  33929. #: guix-git/doc/guix.texi:22846
  33930. #, no-wrap
  33931. msgid "{@code{transmission-daemon-configuration} parameter} boolean peer-port-random-on-start?"
  33932. msgstr ""
  33933. #. type: deftypevr
  33934. #: guix-git/doc/guix.texi:22852
  33935. 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}."
  33936. msgstr ""
  33937. #. type: deftypevr
  33938. #: guix-git/doc/guix.texi:22857
  33939. #, no-wrap
  33940. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-low"
  33941. msgstr ""
  33942. #. type: deftypevr
  33943. #: guix-git/doc/guix.texi:22860
  33944. msgid "The lowest selectable port number when @code{peer-port-random-on-start?} is @code{#t}."
  33945. msgstr ""
  33946. #. type: deftypevr
  33947. #: guix-git/doc/guix.texi:22862
  33948. msgid "Defaults to @samp{49152}."
  33949. msgstr ""
  33950. #. type: deftypevr
  33951. #: guix-git/doc/guix.texi:22865
  33952. #, no-wrap
  33953. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-high"
  33954. msgstr ""
  33955. #. type: deftypevr
  33956. #: guix-git/doc/guix.texi:22868
  33957. msgid "The highest selectable port number when @code{peer-port-random-on-start} is @code{#t}."
  33958. msgstr ""
  33959. #. type: deftypevr
  33960. #: guix-git/doc/guix.texi:22870
  33961. msgid "Defaults to @samp{65535}."
  33962. msgstr ""
  33963. #. type: deftypevr
  33964. #: guix-git/doc/guix.texi:22873
  33965. #, no-wrap
  33966. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port"
  33967. msgstr ""
  33968. #. type: deftypevr
  33969. #: guix-git/doc/guix.texi:22876
  33970. msgid "The port on which to listen for peer connections when @code{peer-port-random-on-start?} is @code{#f}."
  33971. msgstr ""
  33972. #. type: deftypevr
  33973. #: guix-git/doc/guix.texi:22878
  33974. msgid "Defaults to @samp{51413}."
  33975. msgstr ""
  33976. #. type: deftypevr
  33977. #: guix-git/doc/guix.texi:22881
  33978. #, no-wrap
  33979. msgid "{@code{transmission-daemon-configuration} parameter} boolean port-forwarding-enabled?"
  33980. msgstr ""
  33981. #. type: deftypevr
  33982. #: guix-git/doc/guix.texi:22885
  33983. msgid "If @code{#t}, the daemon will attempt to configure port-forwarding on an upstream gateway automatically using @acronym{UPnP} and @acronym{NAT-PMP}."
  33984. msgstr ""
  33985. #. type: deftypevr
  33986. #: guix-git/doc/guix.texi:22890
  33987. #, no-wrap
  33988. msgid "{@code{transmission-daemon-configuration} parameter} encryption-mode encryption"
  33989. msgstr ""
  33990. #. type: deftypevr
  33991. #: guix-git/doc/guix.texi:22895
  33992. msgid "The encryption preference for peer connections, one of @code{prefer-unencrypted-connections}, @code{prefer-encrypted-connections} or @code{require-encrypted-connections}."
  33993. msgstr ""
  33994. #. type: deftypevr
  33995. #: guix-git/doc/guix.texi:22897
  33996. msgid "Defaults to @samp{prefer-encrypted-connections}."
  33997. msgstr ""
  33998. #. type: deftypevr
  33999. #: guix-git/doc/guix.texi:22900
  34000. #, no-wrap
  34001. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string peer-congestion-algorithm"
  34002. msgstr ""
  34003. #. type: deftypevr
  34004. #: guix-git/doc/guix.texi:22905
  34005. 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)."
  34006. msgstr ""
  34007. #. type: deftypevr
  34008. #: guix-git/doc/guix.texi:22914
  34009. 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."
  34010. msgstr ""
  34011. #. type: deftypevr
  34012. #: guix-git/doc/guix.texi:22922
  34013. 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:"
  34014. msgstr ""
  34015. #. type: lisp
  34016. #: guix-git/doc/guix.texi:22929
  34017. #, no-wrap
  34018. msgid ""
  34019. "(service sysctl-service-type\n"
  34020. " (sysctl-configuration\n"
  34021. " (settings\n"
  34022. " (\"net.ipv4.tcp_allowed_congestion_control\" .\n"
  34023. " \"reno cubic lp\"))))\n"
  34024. msgstr ""
  34025. #. type: deftypevr
  34026. #: guix-git/doc/guix.texi:22932
  34027. msgid "The Transmission Daemon configuration can then be updated with"
  34028. msgstr ""
  34029. #. type: lisp
  34030. #: guix-git/doc/guix.texi:22935
  34031. #, no-wrap
  34032. msgid "(peer-congestion-algorithm \"lp\")\n"
  34033. msgstr ""
  34034. #. type: deftypevr
  34035. #: guix-git/doc/guix.texi:22938
  34036. msgid "and the system reconfigured to have the changes take effect."
  34037. msgstr ""
  34038. #. type: deftypevr
  34039. #: guix-git/doc/guix.texi:22943
  34040. #, no-wrap
  34041. msgid "{@code{transmission-daemon-configuration} parameter} tcp-type-of-service peer-socket-tos"
  34042. msgstr ""
  34043. #. type: deftypevr
  34044. #: guix-git/doc/guix.texi:22947
  34045. 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}."
  34046. msgstr ""
  34047. #. type: deftypevr
  34048. #: guix-git/doc/guix.texi:22949
  34049. msgid "Defaults to @samp{default}."
  34050. msgstr ""
  34051. #. type: deftypevr
  34052. #: guix-git/doc/guix.texi:22952
  34053. #, no-wrap
  34054. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-global"
  34055. msgstr ""
  34056. #. type: deftypevr
  34057. #: guix-git/doc/guix.texi:22954
  34058. msgid "The global limit on the number of connected peers."
  34059. msgstr ""
  34060. #. type: deftypevr
  34061. #: guix-git/doc/guix.texi:22956
  34062. msgid "Defaults to @samp{200}."
  34063. msgstr ""
  34064. #. type: deftypevr
  34065. #: guix-git/doc/guix.texi:22959
  34066. #, no-wrap
  34067. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-per-torrent"
  34068. msgstr ""
  34069. #. type: deftypevr
  34070. #: guix-git/doc/guix.texi:22961
  34071. msgid "The per-torrent limit on the number of connected peers."
  34072. msgstr ""
  34073. #. type: deftypevr
  34074. #: guix-git/doc/guix.texi:22966
  34075. #, no-wrap
  34076. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer upload-slots-per-torrent"
  34077. msgstr ""
  34078. #. type: deftypevr
  34079. #: guix-git/doc/guix.texi:22969
  34080. msgid "The maximum number of peers to which the daemon will upload data simultaneously for each torrent."
  34081. msgstr ""
  34082. #. type: deftypevr
  34083. #: guix-git/doc/guix.texi:22971
  34084. msgid "Defaults to @samp{14}."
  34085. msgstr ""
  34086. #. type: deftypevr
  34087. #: guix-git/doc/guix.texi:22974
  34088. #, no-wrap
  34089. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-id-ttl-hours"
  34090. msgstr ""
  34091. #. type: deftypevr
  34092. #: guix-git/doc/guix.texi:22977
  34093. msgid "The maximum lifespan, in hours, of the peer ID associated with each public torrent before it is regenerated."
  34094. msgstr ""
  34095. #. type: deftypevr
  34096. #: guix-git/doc/guix.texi:22979
  34097. msgid "Defaults to @samp{6}."
  34098. msgstr ""
  34099. #. type: deftypevr
  34100. #: guix-git/doc/guix.texi:22982
  34101. #, no-wrap
  34102. msgid "{@code{transmission-daemon-configuration} parameter} boolean blocklist-enabled?"
  34103. msgstr ""
  34104. #. type: deftypevr
  34105. #: guix-git/doc/guix.texi:22985
  34106. msgid "When @code{#t}, the daemon will ignore peers mentioned in the blocklist it has most recently downloaded from @code{blocklist-url}."
  34107. msgstr ""
  34108. #. type: deftypevr
  34109. #: guix-git/doc/guix.texi:22990
  34110. #, no-wrap
  34111. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string blocklist-url"
  34112. msgstr ""
  34113. #. type: deftypevr
  34114. #: guix-git/doc/guix.texi:22994
  34115. 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}."
  34116. msgstr ""
  34117. #. type: deftypevr
  34118. #: guix-git/doc/guix.texi:22999
  34119. #, no-wrap
  34120. msgid "{@code{transmission-daemon-configuration} parameter} boolean download-queue-enabled?"
  34121. msgstr ""
  34122. #. type: deftypevr
  34123. #: guix-git/doc/guix.texi:23002
  34124. msgid "If @code{#t}, the daemon will be limited to downloading at most @code{download-queue-size} non-stalled torrents simultaneously."
  34125. msgstr ""
  34126. #. type: deftypevr
  34127. #: guix-git/doc/guix.texi:23007
  34128. #, no-wrap
  34129. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer download-queue-size"
  34130. msgstr ""
  34131. #. type: deftypevr
  34132. #: guix-git/doc/guix.texi:23011
  34133. 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}."
  34134. msgstr ""
  34135. #. type: deftypevr
  34136. #: guix-git/doc/guix.texi:23016
  34137. #, no-wrap
  34138. msgid "{@code{transmission-daemon-configuration} parameter} boolean seed-queue-enabled?"
  34139. msgstr ""
  34140. #. type: deftypevr
  34141. #: guix-git/doc/guix.texi:23019
  34142. msgid "If @code{#t}, the daemon will be limited to seeding at most @code{seed-queue-size} non-stalled torrents simultaneously."
  34143. msgstr ""
  34144. #. type: deftypevr
  34145. #: guix-git/doc/guix.texi:23024
  34146. #, no-wrap
  34147. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer seed-queue-size"
  34148. msgstr ""
  34149. #. type: deftypevr
  34150. #: guix-git/doc/guix.texi:23028
  34151. 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}."
  34152. msgstr ""
  34153. #. type: deftypevr
  34154. #: guix-git/doc/guix.texi:23033
  34155. #, no-wrap
  34156. msgid "{@code{transmission-daemon-configuration} parameter} boolean queue-stalled-enabled?"
  34157. msgstr ""
  34158. #. type: deftypevr
  34159. #: guix-git/doc/guix.texi:23038
  34160. 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."
  34161. msgstr ""
  34162. #. type: deftypevr
  34163. #: guix-git/doc/guix.texi:23043
  34164. #, no-wrap
  34165. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer queue-stalled-minutes"
  34166. msgstr ""
  34167. #. type: deftypevr
  34168. #: guix-git/doc/guix.texi:23047
  34169. 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}."
  34170. msgstr ""
  34171. #. type: deftypevr
  34172. #: guix-git/doc/guix.texi:23052
  34173. #, no-wrap
  34174. msgid "{@code{transmission-daemon-configuration} parameter} boolean ratio-limit-enabled?"
  34175. msgstr ""
  34176. #. type: deftypevr
  34177. #: guix-git/doc/guix.texi:23055
  34178. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it reaches the ratio specified by @code{ratio-limit}."
  34179. msgstr ""
  34180. #. type: deftypevr
  34181. #: guix-git/doc/guix.texi:23060
  34182. #, no-wrap
  34183. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-rational ratio-limit"
  34184. msgstr ""
  34185. #. type: deftypevr
  34186. #: guix-git/doc/guix.texi:23063
  34187. msgid "The ratio at which a torrent being seeded will be paused, when @code{ratio-limit-enabled?} is @code{#t}."
  34188. msgstr ""
  34189. #. type: deftypevr
  34190. #: guix-git/doc/guix.texi:23065
  34191. msgid "Defaults to @samp{2.0}."
  34192. msgstr ""
  34193. #. type: deftypevr
  34194. #: guix-git/doc/guix.texi:23068
  34195. #, no-wrap
  34196. msgid "{@code{transmission-daemon-configuration} parameter} boolean idle-seeding-limit-enabled?"
  34197. msgstr ""
  34198. #. type: deftypevr
  34199. #: guix-git/doc/guix.texi:23071
  34200. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it has been idle for @code{idle-seeding-limit} minutes."
  34201. msgstr ""
  34202. #. type: deftypevr
  34203. #: guix-git/doc/guix.texi:23076
  34204. #, no-wrap
  34205. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer idle-seeding-limit"
  34206. msgstr ""
  34207. #. type: deftypevr
  34208. #: guix-git/doc/guix.texi:23080
  34209. 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}."
  34210. msgstr ""
  34211. #. type: deftypevr
  34212. #: guix-git/doc/guix.texi:23085
  34213. #, no-wrap
  34214. msgid "{@code{transmission-daemon-configuration} parameter} boolean dht-enabled?"
  34215. msgstr ""
  34216. #. type: deftypevr
  34217. #: guix-git/doc/guix.texi:23089
  34218. msgid "Enable @uref{http://bittorrent.org/beps/bep_0005.html,the distributed hash table (@acronym{DHT}) protocol}, which supports the use of trackerless torrents."
  34219. msgstr ""
  34220. #. type: deftypevr
  34221. #: guix-git/doc/guix.texi:23094
  34222. #, no-wrap
  34223. msgid "{@code{transmission-daemon-configuration} parameter} boolean lpd-enabled?"
  34224. msgstr ""
  34225. #. type: deftypevr
  34226. #: guix-git/doc/guix.texi:23099
  34227. 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."
  34228. msgstr ""
  34229. #. type: deftypevr
  34230. #: guix-git/doc/guix.texi:23104
  34231. #, no-wrap
  34232. msgid "{@code{transmission-daemon-configuration} parameter} boolean pex-enabled?"
  34233. msgstr ""
  34234. #. type: deftypevr
  34235. #: guix-git/doc/guix.texi:23108
  34236. 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."
  34237. msgstr ""
  34238. #. type: deftypevr
  34239. #: guix-git/doc/guix.texi:23113
  34240. #, no-wrap
  34241. msgid "{@code{transmission-daemon-configuration} parameter} boolean utp-enabled?"
  34242. msgstr ""
  34243. #. type: deftypevr
  34244. #: guix-git/doc/guix.texi:23118
  34245. 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."
  34246. msgstr ""
  34247. #. type: deftypevr
  34248. #: guix-git/doc/guix.texi:23123
  34249. #, no-wrap
  34250. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-enabled?"
  34251. msgstr ""
  34252. #. type: deftypevr
  34253. #: guix-git/doc/guix.texi:23128
  34254. 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."
  34255. msgstr ""
  34256. #. type: deftypevr
  34257. #: guix-git/doc/guix.texi:23133
  34258. #, no-wrap
  34259. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-bind-address"
  34260. msgstr ""
  34261. #. type: deftypevr
  34262. #: guix-git/doc/guix.texi:23136
  34263. msgid "The IP address at which to listen for @acronym{RPC} connections, or ``0.0.0.0'' to listen at all available IP addresses."
  34264. msgstr ""
  34265. #. type: deftypevr
  34266. #: guix-git/doc/guix.texi:23141
  34267. #, no-wrap
  34268. msgid "{@code{transmission-daemon-configuration} parameter} port-number rpc-port"
  34269. msgstr ""
  34270. #. type: deftypevr
  34271. #: guix-git/doc/guix.texi:23143
  34272. msgid "The port on which to listen for @acronym{RPC} connections."
  34273. msgstr ""
  34274. #. type: deftypevr
  34275. #: guix-git/doc/guix.texi:23145
  34276. msgid "Defaults to @samp{9091}."
  34277. msgstr ""
  34278. #. type: deftypevr
  34279. #: guix-git/doc/guix.texi:23148
  34280. #, no-wrap
  34281. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-url"
  34282. msgstr ""
  34283. #. type: deftypevr
  34284. #: guix-git/doc/guix.texi:23150
  34285. msgid "The path prefix to use in the @acronym{RPC}-endpoint @acronym{URL}."
  34286. msgstr ""
  34287. #. type: deftypevr
  34288. #: guix-git/doc/guix.texi:23152
  34289. msgid "Defaults to @samp{\"/transmission/\"}."
  34290. msgstr ""
  34291. #. type: deftypevr
  34292. #: guix-git/doc/guix.texi:23155
  34293. #, no-wrap
  34294. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-authentication-required?"
  34295. msgstr ""
  34296. #. type: deftypevr
  34297. #: guix-git/doc/guix.texi:23160
  34298. 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?}."
  34299. msgstr ""
  34300. #. type: deftypevr
  34301. #: guix-git/doc/guix.texi:23165
  34302. #, no-wrap
  34303. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string rpc-username"
  34304. msgstr ""
  34305. #. type: deftypevr
  34306. #: guix-git/doc/guix.texi:23168
  34307. msgid "The username required by clients to access the @acronym{RPC} interface when @code{rpc-authentication-required?} is @code{#t}."
  34308. msgstr ""
  34309. #. type: deftypevr
  34310. #: guix-git/doc/guix.texi:23173
  34311. #, no-wrap
  34312. msgid "{@code{transmission-daemon-configuration} parameter} maybe-transmission-password-hash rpc-password"
  34313. msgstr ""
  34314. #. type: deftypevr
  34315. #: guix-git/doc/guix.texi:23179
  34316. 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."
  34317. msgstr ""
  34318. #. type: deftypevr
  34319. #: guix-git/doc/guix.texi:23184
  34320. #, no-wrap
  34321. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-whitelist-enabled?"
  34322. msgstr ""
  34323. #. type: deftypevr
  34324. #: guix-git/doc/guix.texi:23187
  34325. msgid "When @code{#t}, @acronym{RPC} requests will be accepted only when they originate from an address specified in @code{rpc-whitelist}."
  34326. msgstr ""
  34327. #. type: deftypevr
  34328. #: guix-git/doc/guix.texi:23192
  34329. #, no-wrap
  34330. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-whitelist"
  34331. msgstr ""
  34332. #. type: deftypevr
  34333. #: guix-git/doc/guix.texi:23196
  34334. 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{*}."
  34335. msgstr ""
  34336. #. type: deftypevr
  34337. #: guix-git/doc/guix.texi:23198
  34338. msgid "Defaults to @samp{(\"127.0.0.1\" \"::1\")}."
  34339. msgstr ""
  34340. #. type: deftypevr
  34341. #: guix-git/doc/guix.texi:23201
  34342. #, no-wrap
  34343. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-host-whitelist-enabled?"
  34344. msgstr ""
  34345. #. type: deftypevr
  34346. #: guix-git/doc/guix.texi:23206
  34347. 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."
  34348. msgstr ""
  34349. #. type: deftypevr
  34350. #: guix-git/doc/guix.texi:23209
  34351. msgid "Note also this functionality is disabled when @code{rpc-authentication-required?} is @code{#t}."
  34352. msgstr ""
  34353. #. type: deftypevr
  34354. #: guix-git/doc/guix.texi:23214
  34355. #, no-wrap
  34356. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-host-whitelist"
  34357. msgstr ""
  34358. #. type: deftypevr
  34359. #: guix-git/doc/guix.texi:23217
  34360. msgid "The list of host names recognized by the @acronym{RPC} server when @code{rpc-host-whitelist-enabled?} is @code{#t}."
  34361. msgstr ""
  34362. #. type: deftypevr
  34363. #: guix-git/doc/guix.texi:23222
  34364. #, no-wrap
  34365. msgid "{@code{transmission-daemon-configuration} parameter} message-level message-level"
  34366. msgstr ""
  34367. #. type: deftypevr
  34368. #: guix-git/doc/guix.texi:23226
  34369. 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}."
  34370. msgstr ""
  34371. #. type: deftypevr
  34372. #: guix-git/doc/guix.texi:23231
  34373. #, no-wrap
  34374. msgid "{@code{transmission-daemon-configuration} parameter} boolean start-added-torrents?"
  34375. msgstr ""
  34376. #. type: deftypevr
  34377. #: guix-git/doc/guix.texi:23234
  34378. msgid "When @code{#t}, torrents are started as soon as they are added; otherwise, they are added in ``paused'' state."
  34379. msgstr ""
  34380. #. type: deftypevr
  34381. #: guix-git/doc/guix.texi:23239
  34382. #, no-wrap
  34383. msgid "{@code{transmission-daemon-configuration} parameter} boolean script-torrent-done-enabled?"
  34384. msgstr ""
  34385. #. type: deftypevr
  34386. #: guix-git/doc/guix.texi:23243
  34387. msgid "When @code{#t}, the script specified by @code{script-torrent-done-filename} will be invoked each time a torrent completes."
  34388. msgstr ""
  34389. #. type: deftypevr
  34390. #: guix-git/doc/guix.texi:23248
  34391. #, no-wrap
  34392. msgid "{@code{transmission-daemon-configuration} parameter} maybe-file-object script-torrent-done-filename"
  34393. msgstr ""
  34394. #. type: deftypevr
  34395. #: guix-git/doc/guix.texi:23252
  34396. 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}."
  34397. msgstr ""
  34398. #. type: deftypevr
  34399. #: guix-git/doc/guix.texi:23257
  34400. #, no-wrap
  34401. msgid "{@code{transmission-daemon-configuration} parameter} boolean scrape-paused-torrents-enabled?"
  34402. msgstr ""
  34403. #. type: deftypevr
  34404. #: guix-git/doc/guix.texi:23260
  34405. msgid "When @code{#t}, the daemon will scrape trackers for a torrent even when the torrent is paused."
  34406. msgstr ""
  34407. #. type: deftypevr
  34408. #: guix-git/doc/guix.texi:23265
  34409. #, no-wrap
  34410. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer cache-size-mb"
  34411. msgstr ""
  34412. #. type: deftypevr
  34413. #: guix-git/doc/guix.texi:23269
  34414. 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."
  34415. msgstr ""
  34416. #. type: deftypevr
  34417. #: guix-git/doc/guix.texi:23271
  34418. msgid "Defaults to @samp{4}."
  34419. msgstr ""
  34420. #. type: deftypevr
  34421. #: guix-git/doc/guix.texi:23274
  34422. #, no-wrap
  34423. msgid "{@code{transmission-daemon-configuration} parameter} boolean prefetch-enabled?"
  34424. msgstr ""
  34425. #. type: deftypevr
  34426. #: guix-git/doc/guix.texi:23278
  34427. 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."
  34428. msgstr ""
  34429. #. type: subsubheading
  34430. #: guix-git/doc/guix.texi:23291
  34431. #, no-wrap
  34432. msgid "Tailon Service"
  34433. msgstr ""
  34434. #. type: Plain text
  34435. #: guix-git/doc/guix.texi:23295
  34436. msgid "@uref{https://tailon.readthedocs.io/, Tailon} is a web application for viewing and searching log files."
  34437. msgstr ""
  34438. #. type: Plain text
  34439. #: guix-git/doc/guix.texi:23298
  34440. msgid "The following example will configure the service with default values. By default, Tailon can be accessed on port 8080 (@code{http://localhost:8080})."
  34441. msgstr ""
  34442. #. type: lisp
  34443. #: guix-git/doc/guix.texi:23301
  34444. #, no-wrap
  34445. msgid "(service tailon-service-type)\n"
  34446. msgstr ""
  34447. #. type: Plain text
  34448. #: guix-git/doc/guix.texi:23305
  34449. msgid "The following example customises more of the Tailon configuration, adding @command{sed} to the list of allowed commands."
  34450. msgstr ""
  34451. #. type: lisp
  34452. #: guix-git/doc/guix.texi:23312
  34453. #, no-wrap
  34454. msgid ""
  34455. "(service tailon-service-type\n"
  34456. " (tailon-configuration\n"
  34457. " (config-file\n"
  34458. " (tailon-configuration-file\n"
  34459. " (allowed-commands '(\"tail\" \"grep\" \"awk\" \"sed\"))))))\n"
  34460. msgstr ""
  34461. #. type: deftp
  34462. #: guix-git/doc/guix.texi:23315
  34463. #, no-wrap
  34464. msgid "{Data Type} tailon-configuration"
  34465. msgstr ""
  34466. #. type: deftp
  34467. #: guix-git/doc/guix.texi:23318
  34468. msgid "Data type representing the configuration of Tailon. This type has the following parameters:"
  34469. msgstr ""
  34470. #. type: item
  34471. #: guix-git/doc/guix.texi:23320
  34472. #, no-wrap
  34473. msgid "@code{config-file} (default: @code{(tailon-configuration-file)})"
  34474. msgstr ""
  34475. #. type: table
  34476. #: guix-git/doc/guix.texi:23324
  34477. 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})."
  34478. msgstr ""
  34479. #. type: table
  34480. #: guix-git/doc/guix.texi:23327
  34481. msgid "For example, to instead use a local file, the @code{local-file} function can be used:"
  34482. msgstr ""
  34483. #. type: lisp
  34484. #: guix-git/doc/guix.texi:23332
  34485. #, no-wrap
  34486. msgid ""
  34487. "(service tailon-service-type\n"
  34488. " (tailon-configuration\n"
  34489. " (config-file (local-file \"./my-tailon.conf\"))))\n"
  34490. msgstr ""
  34491. #. type: item
  34492. #: guix-git/doc/guix.texi:23334
  34493. #, no-wrap
  34494. msgid "@code{package} (default: @code{tailon})"
  34495. msgstr ""
  34496. #. type: table
  34497. #: guix-git/doc/guix.texi:23336
  34498. msgid "The tailon package to use."
  34499. msgstr ""
  34500. #. type: deftp
  34501. #: guix-git/doc/guix.texi:23340
  34502. #, no-wrap
  34503. msgid "{Data Type} tailon-configuration-file"
  34504. msgstr ""
  34505. #. type: deftp
  34506. #: guix-git/doc/guix.texi:23343
  34507. msgid "Data type representing the configuration options for Tailon. This type has the following parameters:"
  34508. msgstr ""
  34509. #. type: item
  34510. #: guix-git/doc/guix.texi:23345
  34511. #, no-wrap
  34512. msgid "@code{files} (default: @code{(list \"/var/log\")})"
  34513. msgstr ""
  34514. #. type: table
  34515. #: guix-git/doc/guix.texi:23350
  34516. 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."
  34517. msgstr ""
  34518. #. type: item
  34519. #: guix-git/doc/guix.texi:23351
  34520. #, no-wrap
  34521. msgid "@code{bind} (default: @code{\"localhost:8080\"})"
  34522. msgstr ""
  34523. #. type: table
  34524. #: guix-git/doc/guix.texi:23353
  34525. msgid "Address and port to which Tailon should bind on."
  34526. msgstr ""
  34527. #. type: item
  34528. #: guix-git/doc/guix.texi:23354
  34529. #, no-wrap
  34530. msgid "@code{relative-root} (default: @code{#f})"
  34531. msgstr ""
  34532. #. type: table
  34533. #: guix-git/doc/guix.texi:23356
  34534. msgid "URL path to use for Tailon, set to @code{#f} to not use a path."
  34535. msgstr ""
  34536. #. type: item
  34537. #: guix-git/doc/guix.texi:23357
  34538. #, no-wrap
  34539. msgid "@code{allow-transfers?} (default: @code{#t})"
  34540. msgstr ""
  34541. #. type: table
  34542. #: guix-git/doc/guix.texi:23359
  34543. msgid "Allow downloading the log files in the web interface."
  34544. msgstr ""
  34545. #. type: item
  34546. #: guix-git/doc/guix.texi:23360
  34547. #, no-wrap
  34548. msgid "@code{follow-names?} (default: @code{#t})"
  34549. msgstr ""
  34550. #. type: table
  34551. #: guix-git/doc/guix.texi:23362
  34552. msgid "Allow tailing of not-yet existent files."
  34553. msgstr ""
  34554. #. type: item
  34555. #: guix-git/doc/guix.texi:23363
  34556. #, no-wrap
  34557. msgid "@code{tail-lines} (default: @code{200})"
  34558. msgstr ""
  34559. #. type: table
  34560. #: guix-git/doc/guix.texi:23365
  34561. msgid "Number of lines to read initially from each file."
  34562. msgstr ""
  34563. #. type: item
  34564. #: guix-git/doc/guix.texi:23366
  34565. #, no-wrap
  34566. msgid "@code{allowed-commands} (default: @code{(list \"tail\" \"grep\" \"awk\")})"
  34567. msgstr ""
  34568. #. type: table
  34569. #: guix-git/doc/guix.texi:23368
  34570. msgid "Commands to allow running. By default, @code{sed} is disabled."
  34571. msgstr ""
  34572. #. type: table
  34573. #: guix-git/doc/guix.texi:23371
  34574. msgid "Set @code{debug?} to @code{#t} to show debug messages."
  34575. msgstr ""
  34576. #. type: item
  34577. #: guix-git/doc/guix.texi:23372
  34578. #, no-wrap
  34579. msgid "@code{wrap-lines} (default: @code{#t})"
  34580. msgstr ""
  34581. #. type: table
  34582. #: guix-git/doc/guix.texi:23376
  34583. 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."
  34584. msgstr ""
  34585. #. type: item
  34586. #: guix-git/doc/guix.texi:23377
  34587. #, no-wrap
  34588. msgid "@code{http-auth} (default: @code{#f})"
  34589. msgstr ""
  34590. #. type: table
  34591. #: guix-git/doc/guix.texi:23381
  34592. msgid "HTTP authentication type to use. Set to @code{#f} to disable authentication (the default). Supported values are @code{\"digest\"} or @code{\"basic\"}."
  34593. msgstr ""
  34594. #. type: item
  34595. #: guix-git/doc/guix.texi:23382
  34596. #, no-wrap
  34597. msgid "@code{users} (default: @code{#f})"
  34598. msgstr "@code{users} (default: @code{#f})"
  34599. #. type: table
  34600. #: guix-git/doc/guix.texi:23387
  34601. 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."
  34602. msgstr ""
  34603. #. type: lisp
  34604. #: guix-git/doc/guix.texi:23393
  34605. #, no-wrap
  34606. msgid ""
  34607. "(tailon-configuration-file\n"
  34608. " (http-auth \"basic\")\n"
  34609. " (users '((\"user1\" . \"password1\")\n"
  34610. " (\"user2\" . \"password2\"))))\n"
  34611. msgstr ""
  34612. #. type: subsubheading
  34613. #: guix-git/doc/guix.texi:23399
  34614. #, no-wrap
  34615. msgid "Darkstat Service"
  34616. msgstr ""
  34617. #. type: cindex
  34618. #: guix-git/doc/guix.texi:23400
  34619. #, no-wrap
  34620. msgid "darkstat"
  34621. msgstr ""
  34622. #. type: Plain text
  34623. #: guix-git/doc/guix.texi:23403
  34624. msgid "Darkstat is a packet sniffer that captures network traffic, calculates statistics about usage, and serves reports over HTTP."
  34625. msgstr ""
  34626. #. type: defvar
  34627. #: guix-git/doc/guix.texi:23404
  34628. #, no-wrap
  34629. msgid "{Scheme Variable} darkstat-service-type"
  34630. msgstr ""
  34631. #. type: defvar
  34632. #: guix-git/doc/guix.texi:23409
  34633. 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:"
  34634. msgstr ""
  34635. #. type: lisp
  34636. #: guix-git/doc/guix.texi:23414
  34637. #, no-wrap
  34638. msgid ""
  34639. "(service darkstat-service-type\n"
  34640. " (darkstat-configuration\n"
  34641. " (interface \"eno1\")))\n"
  34642. msgstr ""
  34643. #. type: deftp
  34644. #: guix-git/doc/guix.texi:23417
  34645. #, no-wrap
  34646. msgid "{Data Type} darkstat-configuration"
  34647. msgstr ""
  34648. #. type: deftp
  34649. #: guix-git/doc/guix.texi:23419
  34650. msgid "Data type representing the configuration of @command{darkstat}."
  34651. msgstr ""
  34652. #. type: item
  34653. #: guix-git/doc/guix.texi:23421
  34654. #, no-wrap
  34655. msgid "@code{package} (default: @code{darkstat})"
  34656. msgstr ""
  34657. #. type: table
  34658. #: guix-git/doc/guix.texi:23423
  34659. msgid "The darkstat package to use."
  34660. msgstr ""
  34661. #. type: code{#1}
  34662. #: guix-git/doc/guix.texi:23424
  34663. #, no-wrap
  34664. msgid "interface"
  34665. msgstr ""
  34666. #. type: table
  34667. #: guix-git/doc/guix.texi:23426
  34668. msgid "Capture traffic on the specified network interface."
  34669. msgstr ""
  34670. #. type: item
  34671. #: guix-git/doc/guix.texi:23427
  34672. #, no-wrap
  34673. msgid "@code{port} (default: @code{\"667\"})"
  34674. msgstr "@code{porta} (default: @code{\"667\"})"
  34675. #. type: table
  34676. #: guix-git/doc/guix.texi:23429
  34677. msgid "Bind the web interface to the specified port."
  34678. msgstr ""
  34679. #. type: table
  34680. #: guix-git/doc/guix.texi:23432 guix-git/doc/guix.texi:23467
  34681. msgid "Bind the web interface to the specified address."
  34682. msgstr ""
  34683. #. type: item
  34684. #: guix-git/doc/guix.texi:23433
  34685. #, no-wrap
  34686. msgid "@code{base} (default: @code{\"/\"})"
  34687. msgstr ""
  34688. #. type: table
  34689. #: guix-git/doc/guix.texi:23436
  34690. msgid "Specify the path of the base URL@. This can be useful if @command{darkstat} is accessed via a reverse proxy."
  34691. msgstr ""
  34692. #. type: subsubheading
  34693. #: guix-git/doc/guix.texi:23440
  34694. #, no-wrap
  34695. msgid "Prometheus Node Exporter Service"
  34696. msgstr ""
  34697. #. type: cindex
  34698. #: guix-git/doc/guix.texi:23442
  34699. #, no-wrap
  34700. msgid "prometheus-node-exporter"
  34701. msgstr ""
  34702. #. type: Plain text
  34703. #: guix-git/doc/guix.texi:23447
  34704. 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."
  34705. msgstr ""
  34706. #. type: defvar
  34707. #: guix-git/doc/guix.texi:23448
  34708. #, no-wrap
  34709. msgid "{Scheme variable} prometheus-node-exporter-service-type"
  34710. msgstr ""
  34711. #. type: defvar
  34712. #: guix-git/doc/guix.texi:23452
  34713. 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}."
  34714. msgstr ""
  34715. #. type: lisp
  34716. #: guix-git/doc/guix.texi:23455
  34717. #, no-wrap
  34718. msgid "(service prometheus-node-exporter-service-type)\n"
  34719. msgstr ""
  34720. #. type: deftp
  34721. #: guix-git/doc/guix.texi:23458
  34722. #, no-wrap
  34723. msgid "{Data Type} prometheus-node-exporter-configuration"
  34724. msgstr ""
  34725. #. type: deftp
  34726. #: guix-git/doc/guix.texi:23460
  34727. msgid "Data type representing the configuration of @command{node_exporter}."
  34728. msgstr ""
  34729. #. type: item
  34730. #: guix-git/doc/guix.texi:23462
  34731. #, no-wrap
  34732. msgid "@code{package} (default: @code{go-github-com-prometheus-node-exporter})"
  34733. msgstr ""
  34734. #. type: table
  34735. #: guix-git/doc/guix.texi:23464
  34736. msgid "The prometheus-node-exporter package to use."
  34737. msgstr ""
  34738. #. type: item
  34739. #: guix-git/doc/guix.texi:23465
  34740. #, no-wrap
  34741. msgid "@code{web-listen-address} (default: @code{\":9100\"})"
  34742. msgstr ""
  34743. #. type: item
  34744. #: guix-git/doc/guix.texi:23468
  34745. #, no-wrap
  34746. msgid "@code{textfile-directory} (default: @code{\"/var/lib/prometheus/node-exporter\"})"
  34747. msgstr ""
  34748. #. type: table
  34749. #: guix-git/doc/guix.texi:23472
  34750. 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."
  34751. msgstr ""
  34752. #. type: table
  34753. #: guix-git/doc/guix.texi:23475
  34754. msgid "Extra options to pass to the Prometheus node exporter."
  34755. msgstr ""
  34756. #. type: subsubheading
  34757. #: guix-git/doc/guix.texi:23479
  34758. #, no-wrap
  34759. msgid "Zabbix server"
  34760. msgstr ""
  34761. #. type: cindex
  34762. #: guix-git/doc/guix.texi:23480
  34763. #, no-wrap
  34764. msgid "zabbix zabbix-server"
  34765. msgstr ""
  34766. #. type: Plain text
  34767. #: guix-git/doc/guix.texi:23483
  34768. msgid "Zabbix provides monitoring metrics, among others network utilization, CPU load and disk space consumption:"
  34769. msgstr ""
  34770. #. type: item
  34771. #: guix-git/doc/guix.texi:23485
  34772. #, no-wrap
  34773. msgid "High performance, high capacity (able to monitor hundreds of thousands of devices)."
  34774. msgstr ""
  34775. #. type: item
  34776. #: guix-git/doc/guix.texi:23486
  34777. #, no-wrap
  34778. msgid "Auto-discovery of servers and network devices and interfaces."
  34779. msgstr ""
  34780. #. type: item
  34781. #: guix-git/doc/guix.texi:23487
  34782. #, no-wrap
  34783. msgid "Low-level discovery, allows to automatically start monitoring new items, file systems or network interfaces among others."
  34784. msgstr ""
  34785. #. type: item
  34786. #: guix-git/doc/guix.texi:23488
  34787. #, no-wrap
  34788. msgid "Distributed monitoring with centralized web administration."
  34789. msgstr ""
  34790. #. type: item
  34791. #: guix-git/doc/guix.texi:23489
  34792. #, no-wrap
  34793. msgid "Native high performance agents."
  34794. msgstr ""
  34795. #. type: item
  34796. #: guix-git/doc/guix.texi:23490
  34797. #, no-wrap
  34798. msgid "SLA, and ITIL KPI metrics on reporting."
  34799. msgstr ""
  34800. #. type: item
  34801. #: guix-git/doc/guix.texi:23491
  34802. #, no-wrap
  34803. msgid "High-level (business) view of monitored resources through user-defined visual console screens and dashboards."
  34804. msgstr ""
  34805. #. type: item
  34806. #: guix-git/doc/guix.texi:23492
  34807. #, no-wrap
  34808. msgid "Remote command execution through Zabbix proxies."
  34809. msgstr ""
  34810. #. type: Plain text
  34811. #: guix-git/doc/guix.texi:23498
  34812. msgid "Available @code{zabbix-server-configuration} fields are:"
  34813. msgstr ""
  34814. #. type: deftypevr
  34815. #: guix-git/doc/guix.texi:23499
  34816. #, no-wrap
  34817. msgid "{@code{zabbix-server-configuration} parameter} package zabbix-server"
  34818. msgstr ""
  34819. #. type: deftypevr
  34820. #: guix-git/doc/guix.texi:23501
  34821. msgid "The zabbix-server package."
  34822. msgstr ""
  34823. #. type: deftypevr
  34824. #: guix-git/doc/guix.texi:23504
  34825. #, no-wrap
  34826. msgid "{@code{zabbix-server-configuration} parameter} string user"
  34827. msgstr ""
  34828. #. type: deftypevr
  34829. #: guix-git/doc/guix.texi:23506
  34830. msgid "User who will run the Zabbix server."
  34831. msgstr ""
  34832. #. type: deftypevr
  34833. #: guix-git/doc/guix.texi:23508 guix-git/doc/guix.texi:23515
  34834. #: guix-git/doc/guix.texi:23529 guix-git/doc/guix.texi:23536
  34835. #: guix-git/doc/guix.texi:23637 guix-git/doc/guix.texi:23644
  34836. #: guix-git/doc/guix.texi:23755 guix-git/doc/guix.texi:23762
  34837. msgid "Defaults to @samp{\"zabbix\"}."
  34838. msgstr ""
  34839. #. type: deftypevr
  34840. #: guix-git/doc/guix.texi:23511
  34841. #, no-wrap
  34842. msgid "{@code{zabbix-server-configuration} parameter} group group"
  34843. msgstr ""
  34844. #. type: deftypevr
  34845. #: guix-git/doc/guix.texi:23513
  34846. msgid "Group who will run the Zabbix server."
  34847. msgstr ""
  34848. #. type: deftypevr
  34849. #: guix-git/doc/guix.texi:23518
  34850. #, no-wrap
  34851. msgid "{@code{zabbix-server-configuration} parameter} string db-host"
  34852. msgstr ""
  34853. #. type: deftypevr
  34854. #: guix-git/doc/guix.texi:23520 guix-git/doc/guix.texi:23739
  34855. msgid "Database host name."
  34856. msgstr ""
  34857. #. type: deftypevr
  34858. #: guix-git/doc/guix.texi:23522
  34859. msgid "Defaults to @samp{\"127.0.0.1\"}."
  34860. msgstr ""
  34861. #. type: deftypevr
  34862. #: guix-git/doc/guix.texi:23525
  34863. #, no-wrap
  34864. msgid "{@code{zabbix-server-configuration} parameter} string db-name"
  34865. msgstr ""
  34866. #. type: deftypevr
  34867. #: guix-git/doc/guix.texi:23527 guix-git/doc/guix.texi:23753
  34868. msgid "Database name."
  34869. msgstr ""
  34870. #. type: deftypevr
  34871. #: guix-git/doc/guix.texi:23532
  34872. #, no-wrap
  34873. msgid "{@code{zabbix-server-configuration} parameter} string db-user"
  34874. msgstr ""
  34875. #. type: deftypevr
  34876. #: guix-git/doc/guix.texi:23534 guix-git/doc/guix.texi:23760
  34877. msgid "Database user."
  34878. msgstr ""
  34879. #. type: deftypevr
  34880. #: guix-git/doc/guix.texi:23539
  34881. #, no-wrap
  34882. msgid "{@code{zabbix-server-configuration} parameter} string db-password"
  34883. msgstr ""
  34884. #. type: deftypevr
  34885. #: guix-git/doc/guix.texi:23542
  34886. msgid "Database password. Please, use @code{include-files} with @code{DBPassword=SECRET} inside a specified file instead."
  34887. msgstr ""
  34888. #. type: deftypevr
  34889. #: guix-git/doc/guix.texi:23547
  34890. #, no-wrap
  34891. msgid "{@code{zabbix-server-configuration} parameter} number db-port"
  34892. msgstr ""
  34893. #. type: deftypevr
  34894. #: guix-git/doc/guix.texi:23549 guix-git/doc/guix.texi:23746
  34895. msgid "Database port."
  34896. msgstr ""
  34897. #. type: deftypevr
  34898. #: guix-git/doc/guix.texi:23551 guix-git/doc/guix.texi:23748
  34899. msgid "Defaults to @samp{5432}."
  34900. msgstr ""
  34901. #. type: deftypevr
  34902. #: guix-git/doc/guix.texi:23554
  34903. #, no-wrap
  34904. msgid "{@code{zabbix-server-configuration} parameter} string log-type"
  34905. msgstr ""
  34906. #. type: deftypevr
  34907. #: guix-git/doc/guix.texi:23556 guix-git/doc/guix.texi:23657
  34908. msgid "Specifies where log messages are written to:"
  34909. msgstr ""
  34910. #. type: itemize
  34911. #: guix-git/doc/guix.texi:23560 guix-git/doc/guix.texi:23661
  34912. msgid "@code{system} - syslog."
  34913. msgstr ""
  34914. #. type: itemize
  34915. #: guix-git/doc/guix.texi:23563 guix-git/doc/guix.texi:23664
  34916. msgid "@code{file} - file specified with @code{log-file} parameter."
  34917. msgstr ""
  34918. #. type: itemize
  34919. #: guix-git/doc/guix.texi:23566 guix-git/doc/guix.texi:23667
  34920. msgid "@code{console} - standard output."
  34921. msgstr ""
  34922. #. type: deftypevr
  34923. #: guix-git/doc/guix.texi:23573
  34924. #, no-wrap
  34925. msgid "{@code{zabbix-server-configuration} parameter} string log-file"
  34926. msgstr ""
  34927. #. type: deftypevr
  34928. #: guix-git/doc/guix.texi:23575 guix-git/doc/guix.texi:23676
  34929. msgid "Log file name for @code{log-type} @code{file} parameter."
  34930. msgstr ""
  34931. #. type: deftypevr
  34932. #: guix-git/doc/guix.texi:23577
  34933. msgid "Defaults to @samp{\"/var/log/zabbix/server.log\"}."
  34934. msgstr ""
  34935. #. type: deftypevr
  34936. #: guix-git/doc/guix.texi:23580
  34937. #, no-wrap
  34938. msgid "{@code{zabbix-server-configuration} parameter} string pid-file"
  34939. msgstr ""
  34940. #. type: deftypevr
  34941. #: guix-git/doc/guix.texi:23582 guix-git/doc/guix.texi:23683
  34942. msgid "Name of PID file."
  34943. msgstr ""
  34944. #. type: deftypevr
  34945. #: guix-git/doc/guix.texi:23584
  34946. msgid "Defaults to @samp{\"/var/run/zabbix/zabbix_server.pid\"}."
  34947. msgstr ""
  34948. #. type: deftypevr
  34949. #: guix-git/doc/guix.texi:23587
  34950. #, no-wrap
  34951. msgid "{@code{zabbix-server-configuration} parameter} string ssl-ca-location"
  34952. msgstr ""
  34953. #. type: deftypevr
  34954. #: guix-git/doc/guix.texi:23590
  34955. msgid "The location of certificate authority (CA) files for SSL server certificate verification."
  34956. msgstr ""
  34957. #. type: deftypevr
  34958. #: guix-git/doc/guix.texi:23592
  34959. msgid "Defaults to @samp{\"/etc/ssl/certs/ca-certificates.crt\"}."
  34960. msgstr ""
  34961. #. type: deftypevr
  34962. #: guix-git/doc/guix.texi:23595
  34963. #, no-wrap
  34964. msgid "{@code{zabbix-server-configuration} parameter} string ssl-cert-location"
  34965. msgstr ""
  34966. #. type: deftypevr
  34967. #: guix-git/doc/guix.texi:23597
  34968. msgid "Location of SSL client certificates."
  34969. msgstr ""
  34970. #. type: deftypevr
  34971. #: guix-git/doc/guix.texi:23599
  34972. msgid "Defaults to @samp{\"/etc/ssl/certs\"}."
  34973. msgstr ""
  34974. #. type: deftypevr
  34975. #: guix-git/doc/guix.texi:23602
  34976. #, no-wrap
  34977. msgid "{@code{zabbix-server-configuration} parameter} string extra-options"
  34978. msgstr ""
  34979. #. type: deftypevr
  34980. #: guix-git/doc/guix.texi:23604 guix-git/doc/guix.texi:23708
  34981. msgid "Extra options will be appended to Zabbix server configuration file."
  34982. msgstr ""
  34983. #. type: deftypevr
  34984. #: guix-git/doc/guix.texi:23609
  34985. #, no-wrap
  34986. msgid "{@code{zabbix-server-configuration} parameter} include-files include-files"
  34987. msgstr ""
  34988. #. type: deftypevr
  34989. #: guix-git/doc/guix.texi:23612 guix-git/doc/guix.texi:23716
  34990. msgid "You may include individual files or all files in a directory in the configuration file."
  34991. msgstr ""
  34992. #. type: subsubheading
  34993. #: guix-git/doc/guix.texi:23619
  34994. #, no-wrap
  34995. msgid "Zabbix agent"
  34996. msgstr ""
  34997. #. type: cindex
  34998. #: guix-git/doc/guix.texi:23620
  34999. #, no-wrap
  35000. msgid "zabbix zabbix-agent"
  35001. msgstr ""
  35002. #. type: Plain text
  35003. #: guix-git/doc/guix.texi:23623
  35004. msgid "Zabbix agent gathers information for Zabbix server."
  35005. msgstr ""
  35006. #. type: Plain text
  35007. #: guix-git/doc/guix.texi:23627
  35008. msgid "Available @code{zabbix-agent-configuration} fields are:"
  35009. msgstr ""
  35010. #. type: deftypevr
  35011. #: guix-git/doc/guix.texi:23628
  35012. #, no-wrap
  35013. msgid "{@code{zabbix-agent-configuration} parameter} package zabbix-agent"
  35014. msgstr ""
  35015. #. type: deftypevr
  35016. #: guix-git/doc/guix.texi:23630
  35017. msgid "The zabbix-agent package."
  35018. msgstr ""
  35019. #. type: deftypevr
  35020. #: guix-git/doc/guix.texi:23633
  35021. #, no-wrap
  35022. msgid "{@code{zabbix-agent-configuration} parameter} string user"
  35023. msgstr ""
  35024. #. type: deftypevr
  35025. #: guix-git/doc/guix.texi:23635
  35026. msgid "User who will run the Zabbix agent."
  35027. msgstr ""
  35028. #. type: deftypevr
  35029. #: guix-git/doc/guix.texi:23640
  35030. #, no-wrap
  35031. msgid "{@code{zabbix-agent-configuration} parameter} group group"
  35032. msgstr ""
  35033. #. type: deftypevr
  35034. #: guix-git/doc/guix.texi:23642
  35035. msgid "Group who will run the Zabbix agent."
  35036. msgstr ""
  35037. #. type: deftypevr
  35038. #: guix-git/doc/guix.texi:23647
  35039. #, no-wrap
  35040. msgid "{@code{zabbix-agent-configuration} parameter} string hostname"
  35041. msgstr ""
  35042. #. type: deftypevr
  35043. #: guix-git/doc/guix.texi:23650
  35044. msgid "Unique, case sensitive hostname which is required for active checks and must match hostname as configured on the server."
  35045. msgstr ""
  35046. #. type: deftypevr
  35047. #: guix-git/doc/guix.texi:23655
  35048. #, no-wrap
  35049. msgid "{@code{zabbix-agent-configuration} parameter} string log-type"
  35050. msgstr ""
  35051. #. type: deftypevr
  35052. #: guix-git/doc/guix.texi:23674
  35053. #, no-wrap
  35054. msgid "{@code{zabbix-agent-configuration} parameter} string log-file"
  35055. msgstr ""
  35056. #. type: deftypevr
  35057. #: guix-git/doc/guix.texi:23678
  35058. msgid "Defaults to @samp{\"/var/log/zabbix/agent.log\"}."
  35059. msgstr ""
  35060. #. type: deftypevr
  35061. #: guix-git/doc/guix.texi:23681
  35062. #, no-wrap
  35063. msgid "{@code{zabbix-agent-configuration} parameter} string pid-file"
  35064. msgstr ""
  35065. #. type: deftypevr
  35066. #: guix-git/doc/guix.texi:23685
  35067. msgid "Defaults to @samp{\"/var/run/zabbix/zabbix_agent.pid\"}."
  35068. msgstr ""
  35069. #. type: deftypevr
  35070. #: guix-git/doc/guix.texi:23688
  35071. #, no-wrap
  35072. msgid "{@code{zabbix-agent-configuration} parameter} list server"
  35073. msgstr ""
  35074. #. type: deftypevr
  35075. #: guix-git/doc/guix.texi:23692
  35076. 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."
  35077. msgstr ""
  35078. #. type: deftypevr
  35079. #: guix-git/doc/guix.texi:23694 guix-git/doc/guix.texi:23703
  35080. msgid "Defaults to @samp{(\"127.0.0.1\")}."
  35081. msgstr ""
  35082. #. type: deftypevr
  35083. #: guix-git/doc/guix.texi:23697
  35084. #, no-wrap
  35085. msgid "{@code{zabbix-agent-configuration} parameter} list server-active"
  35086. msgstr ""
  35087. #. type: deftypevr
  35088. #: guix-git/doc/guix.texi:23701
  35089. 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."
  35090. msgstr ""
  35091. #. type: deftypevr
  35092. #: guix-git/doc/guix.texi:23706
  35093. #, no-wrap
  35094. msgid "{@code{zabbix-agent-configuration} parameter} string extra-options"
  35095. msgstr ""
  35096. #. type: deftypevr
  35097. #: guix-git/doc/guix.texi:23713
  35098. #, no-wrap
  35099. msgid "{@code{zabbix-agent-configuration} parameter} include-files include-files"
  35100. msgstr ""
  35101. #. type: subsubheading
  35102. #: guix-git/doc/guix.texi:23723
  35103. #, no-wrap
  35104. msgid "Zabbix front-end"
  35105. msgstr ""
  35106. #. type: cindex
  35107. #: guix-git/doc/guix.texi:23724
  35108. #, no-wrap
  35109. msgid "zabbix zabbix-front-end"
  35110. msgstr ""
  35111. #. type: Plain text
  35112. #: guix-git/doc/guix.texi:23727
  35113. msgid "This service provides a WEB interface to Zabbix server."
  35114. msgstr ""
  35115. #. type: Plain text
  35116. #: guix-git/doc/guix.texi:23731
  35117. msgid "Available @code{zabbix-front-end-configuration} fields are:"
  35118. msgstr ""
  35119. #. type: deftypevr
  35120. #: guix-git/doc/guix.texi:23732
  35121. #, no-wrap
  35122. msgid "{@code{zabbix-front-end-configuration} parameter} nginx-server-configuration-list nginx"
  35123. msgstr ""
  35124. #. type: deftypevr
  35125. #: guix-git/doc/guix.texi:23734 guix-git/doc/guix.texi:29896
  35126. msgid "NGINX configuration."
  35127. msgstr ""
  35128. #. type: deftypevr
  35129. #: guix-git/doc/guix.texi:23737
  35130. #, no-wrap
  35131. msgid "{@code{zabbix-front-end-configuration} parameter} string db-host"
  35132. msgstr ""
  35133. #. type: deftypevr
  35134. #: guix-git/doc/guix.texi:23744
  35135. #, no-wrap
  35136. msgid "{@code{zabbix-front-end-configuration} parameter} number db-port"
  35137. msgstr ""
  35138. #. type: deftypevr
  35139. #: guix-git/doc/guix.texi:23751
  35140. #, no-wrap
  35141. msgid "{@code{zabbix-front-end-configuration} parameter} string db-name"
  35142. msgstr ""
  35143. #. type: deftypevr
  35144. #: guix-git/doc/guix.texi:23758
  35145. #, no-wrap
  35146. msgid "{@code{zabbix-front-end-configuration} parameter} string db-user"
  35147. msgstr ""
  35148. #. type: deftypevr
  35149. #: guix-git/doc/guix.texi:23765
  35150. #, no-wrap
  35151. msgid "{@code{zabbix-front-end-configuration} parameter} string db-password"
  35152. msgstr ""
  35153. #. type: deftypevr
  35154. #: guix-git/doc/guix.texi:23767
  35155. msgid "Database password. Please, use @code{db-secret-file} instead."
  35156. msgstr ""
  35157. #. type: deftypevr
  35158. #: guix-git/doc/guix.texi:23772
  35159. #, no-wrap
  35160. msgid "{@code{zabbix-front-end-configuration} parameter} string db-secret-file"
  35161. msgstr ""
  35162. #. type: deftypevr
  35163. #: guix-git/doc/guix.texi:23777
  35164. 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']}."
  35165. msgstr ""
  35166. #. type: deftypevr
  35167. #: guix-git/doc/guix.texi:23782
  35168. #, no-wrap
  35169. msgid "{@code{zabbix-front-end-configuration} parameter} string zabbix-host"
  35170. msgstr ""
  35171. #. type: deftypevr
  35172. #: guix-git/doc/guix.texi:23784
  35173. msgid "Zabbix server hostname."
  35174. msgstr ""
  35175. #. type: deftypevr
  35176. #: guix-git/doc/guix.texi:23789
  35177. #, no-wrap
  35178. msgid "{@code{zabbix-front-end-configuration} parameter} number zabbix-port"
  35179. msgstr ""
  35180. #. type: deftypevr
  35181. #: guix-git/doc/guix.texi:23791
  35182. msgid "Zabbix server port."
  35183. msgstr ""
  35184. #. type: deftypevr
  35185. #: guix-git/doc/guix.texi:23793
  35186. msgid "Defaults to @samp{10051}."
  35187. msgstr ""
  35188. #. type: cindex
  35189. #: guix-git/doc/guix.texi:23801
  35190. #, no-wrap
  35191. msgid "Kerberos"
  35192. msgstr ""
  35193. #. type: Plain text
  35194. #: guix-git/doc/guix.texi:23805
  35195. msgid "The @code{(gnu services kerberos)} module provides services relating to the authentication protocol @dfn{Kerberos}."
  35196. msgstr ""
  35197. #. type: subsubheading
  35198. #: guix-git/doc/guix.texi:23806
  35199. #, no-wrap
  35200. msgid "Krb5 Service"
  35201. msgstr ""
  35202. #. type: Plain text
  35203. #: guix-git/doc/guix.texi:23813
  35204. 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."
  35205. msgstr ""
  35206. #. type: Plain text
  35207. #: guix-git/doc/guix.texi:23817
  35208. 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."
  35209. msgstr ""
  35210. #. type: defvr
  35211. #: guix-git/doc/guix.texi:23818
  35212. #, no-wrap
  35213. msgid "{Scheme Variable} krb5-service-type"
  35214. msgstr ""
  35215. #. type: defvr
  35216. #: guix-git/doc/guix.texi:23820
  35217. msgid "A service type for Kerberos 5 clients."
  35218. msgstr ""
  35219. #. type: Plain text
  35220. #: guix-git/doc/guix.texi:23824
  35221. msgid "Here is an example of its use:"
  35222. msgstr ""
  35223. #. type: lisp
  35224. #: guix-git/doc/guix.texi:23838
  35225. #, no-wrap
  35226. msgid ""
  35227. "(service krb5-service-type\n"
  35228. " (krb5-configuration\n"
  35229. " (default-realm \"EXAMPLE.COM\")\n"
  35230. " (allow-weak-crypto? #t)\n"
  35231. " (realms (list\n"
  35232. " (krb5-realm\n"
  35233. " (name \"EXAMPLE.COM\")\n"
  35234. " (admin-server \"groucho.example.com\")\n"
  35235. " (kdc \"karl.example.com\"))\n"
  35236. " (krb5-realm\n"
  35237. " (name \"ARGRX.EDU\")\n"
  35238. " (admin-server \"kerb-admin.argrx.edu\")\n"
  35239. " (kdc \"keys.argrx.edu\"))))))\n"
  35240. msgstr ""
  35241. #. type: Plain text
  35242. #: guix-git/doc/guix.texi:23842
  35243. msgid "This example provides a Kerberos@tie{}5 client configuration which:"
  35244. msgstr ""
  35245. #. type: item
  35246. #: guix-git/doc/guix.texi:23843
  35247. #, no-wrap
  35248. msgid "Recognizes two realms, @i{viz:} ``EXAMPLE.COM'' and ``ARGRX.EDU'', both"
  35249. msgstr ""
  35250. #. type: itemize
  35251. #: guix-git/doc/guix.texi:23845
  35252. msgid "of which have distinct administration servers and key distribution centers;"
  35253. msgstr ""
  35254. #. type: item
  35255. #: guix-git/doc/guix.texi:23845
  35256. #, no-wrap
  35257. msgid "Will default to the realm ``EXAMPLE.COM'' if the realm is not explicitly"
  35258. msgstr ""
  35259. #. type: itemize
  35260. #: guix-git/doc/guix.texi:23847
  35261. msgid "specified by clients;"
  35262. msgstr ""
  35263. #. type: item
  35264. #: guix-git/doc/guix.texi:23847
  35265. #, no-wrap
  35266. msgid "Accepts services which only support encryption types known to be weak."
  35267. msgstr ""
  35268. #. type: Plain text
  35269. #: guix-git/doc/guix.texi:23855
  35270. 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."
  35271. msgstr ""
  35272. #. type: deftp
  35273. #: guix-git/doc/guix.texi:23857
  35274. #, no-wrap
  35275. msgid "{Data Type} krb5-realm"
  35276. msgstr ""
  35277. #. type: cindex
  35278. #: guix-git/doc/guix.texi:23858
  35279. #, no-wrap
  35280. msgid "realm, kerberos"
  35281. msgstr ""
  35282. #. type: table
  35283. #: guix-git/doc/guix.texi:23864
  35284. 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."
  35285. msgstr ""
  35286. #. type: code{#1}
  35287. #: guix-git/doc/guix.texi:23865
  35288. #, no-wrap
  35289. msgid "admin-server"
  35290. msgstr ""
  35291. #. type: table
  35292. #: guix-git/doc/guix.texi:23868
  35293. msgid "This field is a string identifying the host where the administration server is running."
  35294. msgstr ""
  35295. #. type: code{#1}
  35296. #: guix-git/doc/guix.texi:23869
  35297. #, no-wrap
  35298. msgid "kdc"
  35299. msgstr ""
  35300. #. type: table
  35301. #: guix-git/doc/guix.texi:23872
  35302. msgid "This field is a string identifying the key distribution center for the realm."
  35303. msgstr ""
  35304. #. type: deftp
  35305. #: guix-git/doc/guix.texi:23875
  35306. #, no-wrap
  35307. msgid "{Data Type} krb5-configuration"
  35308. msgstr ""
  35309. #. type: item
  35310. #: guix-git/doc/guix.texi:23878
  35311. #, no-wrap
  35312. msgid "@code{allow-weak-crypto?} (default: @code{#f})"
  35313. msgstr ""
  35314. #. type: table
  35315. #: guix-git/doc/guix.texi:23881
  35316. msgid "If this flag is @code{#t} then services which only offer encryption algorithms known to be weak will be accepted."
  35317. msgstr ""
  35318. #. type: item
  35319. #: guix-git/doc/guix.texi:23882
  35320. #, no-wrap
  35321. msgid "@code{default-realm} (default: @code{#f})"
  35322. msgstr ""
  35323. #. type: table
  35324. #: guix-git/doc/guix.texi:23889
  35325. 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}."
  35326. msgstr ""
  35327. #. type: code{#1}
  35328. #: guix-git/doc/guix.texi:23890
  35329. #, no-wrap
  35330. msgid "realms"
  35331. msgstr ""
  35332. #. type: table
  35333. #: guix-git/doc/guix.texi:23895
  35334. 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."
  35335. msgstr ""
  35336. #. type: subsubheading
  35337. #: guix-git/doc/guix.texi:23899
  35338. #, no-wrap
  35339. msgid "PAM krb5 Service"
  35340. msgstr ""
  35341. #. type: cindex
  35342. #: guix-git/doc/guix.texi:23900
  35343. #, no-wrap
  35344. msgid "pam-krb5"
  35345. msgstr ""
  35346. #. type: Plain text
  35347. #: guix-git/doc/guix.texi:23906
  35348. 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."
  35349. msgstr ""
  35350. #. type: defvr
  35351. #: guix-git/doc/guix.texi:23907
  35352. #, no-wrap
  35353. msgid "{Scheme Variable} pam-krb5-service-type"
  35354. msgstr ""
  35355. #. type: defvr
  35356. #: guix-git/doc/guix.texi:23909
  35357. msgid "A service type for the Kerberos 5 PAM module."
  35358. msgstr ""
  35359. #. type: deftp
  35360. #: guix-git/doc/guix.texi:23911
  35361. #, no-wrap
  35362. msgid "{Data Type} pam-krb5-configuration"
  35363. msgstr ""
  35364. #. type: deftp
  35365. #: guix-git/doc/guix.texi:23914
  35366. msgid "Data type representing the configuration of the Kerberos 5 PAM module. This type has the following parameters:"
  35367. msgstr ""
  35368. #. type: item
  35369. #: guix-git/doc/guix.texi:23915
  35370. #, no-wrap
  35371. msgid "@code{pam-krb5} (default: @code{pam-krb5})"
  35372. msgstr ""
  35373. #. type: table
  35374. #: guix-git/doc/guix.texi:23917
  35375. msgid "The pam-krb5 package to use."
  35376. msgstr ""
  35377. #. type: item
  35378. #: guix-git/doc/guix.texi:23918
  35379. #, no-wrap
  35380. msgid "@code{minimum-uid} (default: @code{1000})"
  35381. msgstr ""
  35382. #. type: table
  35383. #: guix-git/doc/guix.texi:23921
  35384. msgid "The smallest user ID for which Kerberos authentications should be attempted. Local accounts with lower values will silently fail to authenticate."
  35385. msgstr ""
  35386. #. type: cindex
  35387. #: guix-git/doc/guix.texi:23927
  35388. #, no-wrap
  35389. msgid "LDAP"
  35390. msgstr ""
  35391. #. type: cindex
  35392. #: guix-git/doc/guix.texi:23928
  35393. #, no-wrap
  35394. msgid "nslcd, LDAP service"
  35395. msgstr ""
  35396. #. type: Plain text
  35397. #: guix-git/doc/guix.texi:23935
  35398. 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."
  35399. msgstr ""
  35400. #. type: Plain text
  35401. #: guix-git/doc/guix.texi:23939
  35402. 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:"
  35403. msgstr ""
  35404. #. type: lisp
  35405. #: guix-git/doc/guix.texi:23962
  35406. #, no-wrap
  35407. msgid ""
  35408. "(use-service-modules authentication)\n"
  35409. "(use-modules (gnu system nss))\n"
  35410. "...\n"
  35411. "(operating-system\n"
  35412. " ...\n"
  35413. " (services\n"
  35414. " (cons*\n"
  35415. " (service nslcd-service-type)\n"
  35416. " (service dhcp-client-service-type)\n"
  35417. " %base-services))\n"
  35418. " (name-service-switch\n"
  35419. " (let ((services (list (name-service (name \"db\"))\n"
  35420. " (name-service (name \"files\"))\n"
  35421. " (name-service (name \"ldap\")))))\n"
  35422. " (name-service-switch\n"
  35423. " (inherit %mdns-host-lookup-nss)\n"
  35424. " (password services)\n"
  35425. " (shadow services)\n"
  35426. " (group services)\n"
  35427. " (netgroup services)\n"
  35428. " (gshadow services)))))\n"
  35429. msgstr ""
  35430. #. type: Plain text
  35431. #: guix-git/doc/guix.texi:23967
  35432. msgid "Available @code{nslcd-configuration} fields are:"
  35433. msgstr ""
  35434. #. type: deftypevr
  35435. #: guix-git/doc/guix.texi:23968
  35436. #, no-wrap
  35437. msgid "{@code{nslcd-configuration} parameter} package nss-pam-ldapd"
  35438. msgstr ""
  35439. #. type: deftypevr
  35440. #: guix-git/doc/guix.texi:23970
  35441. msgid "The @code{nss-pam-ldapd} package to use."
  35442. msgstr ""
  35443. #. type: deftypevr
  35444. #: guix-git/doc/guix.texi:23973
  35445. #, no-wrap
  35446. msgid "{@code{nslcd-configuration} parameter} maybe-number threads"
  35447. msgstr ""
  35448. #. type: deftypevr
  35449. #: guix-git/doc/guix.texi:23977
  35450. 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."
  35451. msgstr ""
  35452. #. type: deftypevr
  35453. #: guix-git/doc/guix.texi:23982
  35454. #, no-wrap
  35455. msgid "{@code{nslcd-configuration} parameter} string uid"
  35456. msgstr ""
  35457. #. type: deftypevr
  35458. #: guix-git/doc/guix.texi:23984
  35459. msgid "This specifies the user id with which the daemon should be run."
  35460. msgstr ""
  35461. #. type: deftypevr
  35462. #: guix-git/doc/guix.texi:23986 guix-git/doc/guix.texi:23993
  35463. msgid "Defaults to @samp{\"nslcd\"}."
  35464. msgstr ""
  35465. #. type: deftypevr
  35466. #: guix-git/doc/guix.texi:23989
  35467. #, no-wrap
  35468. msgid "{@code{nslcd-configuration} parameter} string gid"
  35469. msgstr ""
  35470. #. type: deftypevr
  35471. #: guix-git/doc/guix.texi:23991
  35472. msgid "This specifies the group id with which the daemon should be run."
  35473. msgstr ""
  35474. #. type: deftypevr
  35475. #: guix-git/doc/guix.texi:23996
  35476. #, no-wrap
  35477. msgid "{@code{nslcd-configuration} parameter} log-option log"
  35478. msgstr ""
  35479. #. type: deftypevr
  35480. #: guix-git/doc/guix.texi:24004
  35481. 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."
  35482. msgstr ""
  35483. #. type: deftypevr
  35484. #: guix-git/doc/guix.texi:24006
  35485. msgid "Defaults to @samp{(\"/var/log/nslcd\" info)}."
  35486. msgstr ""
  35487. #. type: deftypevr
  35488. #: guix-git/doc/guix.texi:24009
  35489. #, no-wrap
  35490. msgid "{@code{nslcd-configuration} parameter} list uri"
  35491. msgstr ""
  35492. #. type: deftypevr
  35493. #: guix-git/doc/guix.texi:24012
  35494. msgid "The list of LDAP server URIs. Normally, only the first server will be used with the following servers as fall-back."
  35495. msgstr ""
  35496. #. type: deftypevr
  35497. #: guix-git/doc/guix.texi:24014
  35498. msgid "Defaults to @samp{(\"ldap://localhost:389/\")}."
  35499. msgstr ""
  35500. #. type: deftypevr
  35501. #: guix-git/doc/guix.texi:24017
  35502. #, no-wrap
  35503. msgid "{@code{nslcd-configuration} parameter} maybe-string ldap-version"
  35504. msgstr ""
  35505. #. type: deftypevr
  35506. #: guix-git/doc/guix.texi:24020
  35507. msgid "The version of the LDAP protocol to use. The default is to use the maximum version supported by the LDAP library."
  35508. msgstr ""
  35509. #. type: deftypevr
  35510. #: guix-git/doc/guix.texi:24025
  35511. #, no-wrap
  35512. msgid "{@code{nslcd-configuration} parameter} maybe-string binddn"
  35513. msgstr ""
  35514. #. type: deftypevr
  35515. #: guix-git/doc/guix.texi:24028
  35516. msgid "Specifies the distinguished name with which to bind to the directory server for lookups. The default is to bind anonymously."
  35517. msgstr ""
  35518. #. type: deftypevr
  35519. #: guix-git/doc/guix.texi:24033
  35520. #, no-wrap
  35521. msgid "{@code{nslcd-configuration} parameter} maybe-string bindpw"
  35522. msgstr ""
  35523. #. type: deftypevr
  35524. #: guix-git/doc/guix.texi:24036
  35525. msgid "Specifies the credentials with which to bind. This option is only applicable when used with binddn."
  35526. msgstr ""
  35527. #. type: deftypevr
  35528. #: guix-git/doc/guix.texi:24041
  35529. #, no-wrap
  35530. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmoddn"
  35531. msgstr ""
  35532. #. type: deftypevr
  35533. #: guix-git/doc/guix.texi:24044
  35534. msgid "Specifies the distinguished name to use when the root user tries to modify a user's password using the PAM module."
  35535. msgstr ""
  35536. #. type: deftypevr
  35537. #: guix-git/doc/guix.texi:24049
  35538. #, no-wrap
  35539. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmodpw"
  35540. msgstr ""
  35541. #. type: deftypevr
  35542. #: guix-git/doc/guix.texi:24053
  35543. 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"
  35544. msgstr ""
  35545. #. type: deftypevr
  35546. #: guix-git/doc/guix.texi:24058
  35547. #, no-wrap
  35548. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-mech"
  35549. msgstr ""
  35550. #. type: deftypevr
  35551. #: guix-git/doc/guix.texi:24061
  35552. msgid "Specifies the SASL mechanism to be used when performing SASL authentication."
  35553. msgstr ""
  35554. #. type: deftypevr
  35555. #: guix-git/doc/guix.texi:24066
  35556. #, no-wrap
  35557. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-realm"
  35558. msgstr ""
  35559. #. type: deftypevr
  35560. #: guix-git/doc/guix.texi:24068
  35561. msgid "Specifies the SASL realm to be used when performing SASL authentication."
  35562. msgstr ""
  35563. #. type: deftypevr
  35564. #: guix-git/doc/guix.texi:24073
  35565. #, no-wrap
  35566. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authcid"
  35567. msgstr ""
  35568. #. type: deftypevr
  35569. #: guix-git/doc/guix.texi:24076
  35570. msgid "Specifies the authentication identity to be used when performing SASL authentication."
  35571. msgstr ""
  35572. #. type: deftypevr
  35573. #: guix-git/doc/guix.texi:24081
  35574. #, no-wrap
  35575. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authzid"
  35576. msgstr ""
  35577. #. type: deftypevr
  35578. #: guix-git/doc/guix.texi:24084
  35579. msgid "Specifies the authorization identity to be used when performing SASL authentication."
  35580. msgstr ""
  35581. #. type: deftypevr
  35582. #: guix-git/doc/guix.texi:24089
  35583. #, no-wrap
  35584. msgid "{@code{nslcd-configuration} parameter} maybe-boolean sasl-canonicalize?"
  35585. msgstr ""
  35586. #. type: deftypevr
  35587. #: guix-git/doc/guix.texi:24094
  35588. 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."
  35589. msgstr ""
  35590. #. type: deftypevr
  35591. #: guix-git/doc/guix.texi:24099
  35592. #, no-wrap
  35593. msgid "{@code{nslcd-configuration} parameter} maybe-string krb5-ccname"
  35594. msgstr ""
  35595. #. type: deftypevr
  35596. #: guix-git/doc/guix.texi:24101
  35597. msgid "Set the name for the GSS-API Kerberos credentials cache."
  35598. msgstr ""
  35599. #. type: deftypevr
  35600. #: guix-git/doc/guix.texi:24106
  35601. #, no-wrap
  35602. msgid "{@code{nslcd-configuration} parameter} string base"
  35603. msgstr ""
  35604. #. type: deftypevr
  35605. #: guix-git/doc/guix.texi:24108
  35606. msgid "The directory search base."
  35607. msgstr ""
  35608. #. type: deftypevr
  35609. #: guix-git/doc/guix.texi:24110
  35610. msgid "Defaults to @samp{\"dc=example,dc=com\"}."
  35611. msgstr ""
  35612. #. type: deftypevr
  35613. #: guix-git/doc/guix.texi:24113
  35614. #, no-wrap
  35615. msgid "{@code{nslcd-configuration} parameter} scope-option scope"
  35616. msgstr ""
  35617. #. type: deftypevr
  35618. #: guix-git/doc/guix.texi:24117
  35619. 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."
  35620. msgstr ""
  35621. #. type: deftypevr
  35622. #: guix-git/doc/guix.texi:24119
  35623. msgid "Defaults to @samp{(subtree)}."
  35624. msgstr ""
  35625. #. type: deftypevr
  35626. #: guix-git/doc/guix.texi:24122
  35627. #, no-wrap
  35628. msgid "{@code{nslcd-configuration} parameter} maybe-deref-option deref"
  35629. msgstr ""
  35630. #. type: deftypevr
  35631. #: guix-git/doc/guix.texi:24125
  35632. msgid "Specifies the policy for dereferencing aliases. The default policy is to never dereference aliases."
  35633. msgstr ""
  35634. #. type: deftypevr
  35635. #: guix-git/doc/guix.texi:24130
  35636. #, no-wrap
  35637. msgid "{@code{nslcd-configuration} parameter} maybe-boolean referrals"
  35638. msgstr ""
  35639. #. type: deftypevr
  35640. #: guix-git/doc/guix.texi:24133
  35641. msgid "Specifies whether automatic referral chasing should be enabled. The default behaviour is to chase referrals."
  35642. msgstr ""
  35643. #. type: deftypevr
  35644. #: guix-git/doc/guix.texi:24138
  35645. #, no-wrap
  35646. msgid "{@code{nslcd-configuration} parameter} list-of-map-entries maps"
  35647. msgstr ""
  35648. #. type: deftypevr
  35649. #: guix-git/doc/guix.texi:24143
  35650. 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."
  35651. msgstr ""
  35652. #. type: deftypevr
  35653. #: guix-git/doc/guix.texi:24148
  35654. #, no-wrap
  35655. msgid "{@code{nslcd-configuration} parameter} list-of-filter-entries filters"
  35656. msgstr ""
  35657. #. type: deftypevr
  35658. #: guix-git/doc/guix.texi:24151
  35659. msgid "A list of filters consisting of the name of a map to which the filter applies and an LDAP search filter expression."
  35660. msgstr ""
  35661. #. type: deftypevr
  35662. #: guix-git/doc/guix.texi:24156
  35663. #, no-wrap
  35664. msgid "{@code{nslcd-configuration} parameter} maybe-number bind-timelimit"
  35665. msgstr ""
  35666. #. type: deftypevr
  35667. #: guix-git/doc/guix.texi:24159
  35668. msgid "Specifies the time limit in seconds to use when connecting to the directory server. The default value is 10 seconds."
  35669. msgstr ""
  35670. #. type: deftypevr
  35671. #: guix-git/doc/guix.texi:24164
  35672. #, no-wrap
  35673. msgid "{@code{nslcd-configuration} parameter} maybe-number timelimit"
  35674. msgstr ""
  35675. #. type: deftypevr
  35676. #: guix-git/doc/guix.texi:24168
  35677. 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."
  35678. msgstr ""
  35679. #. type: deftypevr
  35680. #: guix-git/doc/guix.texi:24173
  35681. #, no-wrap
  35682. msgid "{@code{nslcd-configuration} parameter} maybe-number idle-timelimit"
  35683. msgstr ""
  35684. #. type: deftypevr
  35685. #: guix-git/doc/guix.texi:24177
  35686. 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."
  35687. msgstr ""
  35688. #. type: deftypevr
  35689. #: guix-git/doc/guix.texi:24182
  35690. #, no-wrap
  35691. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-sleeptime"
  35692. msgstr ""
  35693. #. type: deftypevr
  35694. #: guix-git/doc/guix.texi:24186
  35695. 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."
  35696. msgstr ""
  35697. #. type: deftypevr
  35698. #: guix-git/doc/guix.texi:24191
  35699. #, no-wrap
  35700. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-retrytime"
  35701. msgstr ""
  35702. #. type: deftypevr
  35703. #: guix-git/doc/guix.texi:24195
  35704. 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."
  35705. msgstr ""
  35706. #. type: deftypevr
  35707. #: guix-git/doc/guix.texi:24200
  35708. #, no-wrap
  35709. msgid "{@code{nslcd-configuration} parameter} maybe-ssl-option ssl"
  35710. msgstr ""
  35711. #. type: deftypevr
  35712. #: guix-git/doc/guix.texi:24204
  35713. 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."
  35714. msgstr ""
  35715. #. type: deftypevr
  35716. #: guix-git/doc/guix.texi:24209
  35717. #, no-wrap
  35718. msgid "{@code{nslcd-configuration} parameter} maybe-tls-reqcert-option tls-reqcert"
  35719. msgstr ""
  35720. #. type: deftypevr
  35721. #: guix-git/doc/guix.texi:24212
  35722. 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."
  35723. msgstr ""
  35724. #. type: deftypevr
  35725. #: guix-git/doc/guix.texi:24217
  35726. #, no-wrap
  35727. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertdir"
  35728. msgstr ""
  35729. #. type: deftypevr
  35730. #: guix-git/doc/guix.texi:24220
  35731. msgid "Specifies the directory containing X.509 certificates for peer authen‐ tication. This parameter is ignored when using GnuTLS."
  35732. msgstr ""
  35733. #. type: deftypevr
  35734. #: guix-git/doc/guix.texi:24225
  35735. #, no-wrap
  35736. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertfile"
  35737. msgstr ""
  35738. #. type: deftypevr
  35739. #: guix-git/doc/guix.texi:24227
  35740. msgid "Specifies the path to the X.509 certificate for peer authentication."
  35741. msgstr ""
  35742. #. type: deftypevr
  35743. #: guix-git/doc/guix.texi:24232
  35744. #, no-wrap
  35745. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-randfile"
  35746. msgstr ""
  35747. #. type: deftypevr
  35748. #: guix-git/doc/guix.texi:24235
  35749. msgid "Specifies the path to an entropy source. This parameter is ignored when using GnuTLS."
  35750. msgstr ""
  35751. #. type: deftypevr
  35752. #: guix-git/doc/guix.texi:24240
  35753. #, no-wrap
  35754. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-ciphers"
  35755. msgstr ""
  35756. #. type: deftypevr
  35757. #: guix-git/doc/guix.texi:24242
  35758. msgid "Specifies the ciphers to use for TLS as a string."
  35759. msgstr ""
  35760. #. type: deftypevr
  35761. #: guix-git/doc/guix.texi:24247
  35762. #, no-wrap
  35763. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cert"
  35764. msgstr ""
  35765. #. type: deftypevr
  35766. #: guix-git/doc/guix.texi:24250
  35767. msgid "Specifies the path to the file containing the local certificate for client TLS authentication."
  35768. msgstr ""
  35769. #. type: deftypevr
  35770. #: guix-git/doc/guix.texi:24255
  35771. #, no-wrap
  35772. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-key"
  35773. msgstr ""
  35774. #. type: deftypevr
  35775. #: guix-git/doc/guix.texi:24258
  35776. msgid "Specifies the path to the file containing the private key for client TLS authentication."
  35777. msgstr ""
  35778. #. type: deftypevr
  35779. #: guix-git/doc/guix.texi:24263
  35780. #, no-wrap
  35781. msgid "{@code{nslcd-configuration} parameter} maybe-number pagesize"
  35782. msgstr ""
  35783. #. type: deftypevr
  35784. #: guix-git/doc/guix.texi:24267
  35785. 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."
  35786. msgstr ""
  35787. #. type: deftypevr
  35788. #: guix-git/doc/guix.texi:24272
  35789. #, no-wrap
  35790. msgid "{@code{nslcd-configuration} parameter} maybe-ignore-users-option nss-initgroups-ignoreusers"
  35791. msgstr ""
  35792. #. type: deftypevr
  35793. #: guix-git/doc/guix.texi:24276
  35794. 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."
  35795. msgstr ""
  35796. #. type: deftypevr
  35797. #: guix-git/doc/guix.texi:24281
  35798. #, no-wrap
  35799. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-min-uid"
  35800. msgstr ""
  35801. #. type: deftypevr
  35802. #: guix-git/doc/guix.texi:24284
  35803. msgid "This option ensures that LDAP users with a numeric user id lower than the specified value are ignored."
  35804. msgstr ""
  35805. #. type: deftypevr
  35806. #: guix-git/doc/guix.texi:24289
  35807. #, no-wrap
  35808. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-uid-offset"
  35809. msgstr ""
  35810. #. type: deftypevr
  35811. #: guix-git/doc/guix.texi:24292
  35812. 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."
  35813. msgstr ""
  35814. #. type: deftypevr
  35815. #: guix-git/doc/guix.texi:24297
  35816. #, no-wrap
  35817. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-gid-offset"
  35818. msgstr ""
  35819. #. type: deftypevr
  35820. #: guix-git/doc/guix.texi:24300
  35821. 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."
  35822. msgstr ""
  35823. #. type: deftypevr
  35824. #: guix-git/doc/guix.texi:24305
  35825. #, no-wrap
  35826. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-nested-groups"
  35827. msgstr ""
  35828. #. type: deftypevr
  35829. #: guix-git/doc/guix.texi:24311
  35830. 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."
  35831. msgstr ""
  35832. #. type: deftypevr
  35833. #: guix-git/doc/guix.texi:24316
  35834. #, no-wrap
  35835. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-getgrent-skipmembers"
  35836. msgstr ""
  35837. #. type: deftypevr
  35838. #: guix-git/doc/guix.texi:24321
  35839. 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."
  35840. msgstr ""
  35841. #. type: deftypevr
  35842. #: guix-git/doc/guix.texi:24326
  35843. #, no-wrap
  35844. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-disable-enumeration"
  35845. msgstr ""
  35846. #. type: deftypevr
  35847. #: guix-git/doc/guix.texi:24332
  35848. 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."
  35849. msgstr ""
  35850. #. type: deftypevr
  35851. #: guix-git/doc/guix.texi:24337
  35852. #, no-wrap
  35853. msgid "{@code{nslcd-configuration} parameter} maybe-string validnames"
  35854. msgstr ""
  35855. #. type: deftypevr
  35856. #: guix-git/doc/guix.texi:24341
  35857. 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."
  35858. msgstr ""
  35859. #. type: deftypevr
  35860. #: guix-git/doc/guix.texi:24346
  35861. #, no-wrap
  35862. msgid "{@code{nslcd-configuration} parameter} maybe-boolean ignorecase"
  35863. msgstr ""
  35864. #. type: deftypevr
  35865. #: guix-git/doc/guix.texi:24351
  35866. 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."
  35867. msgstr ""
  35868. #. type: deftypevr
  35869. #: guix-git/doc/guix.texi:24356
  35870. #, no-wrap
  35871. msgid "{@code{nslcd-configuration} parameter} maybe-boolean pam-authc-ppolicy"
  35872. msgstr ""
  35873. #. type: deftypevr
  35874. #: guix-git/doc/guix.texi:24359
  35875. msgid "This option specifies whether password policy controls are requested and handled from the LDAP server when performing user authentication."
  35876. msgstr ""
  35877. #. type: deftypevr
  35878. #: guix-git/doc/guix.texi:24364
  35879. #, no-wrap
  35880. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authc-search"
  35881. msgstr ""
  35882. #. type: deftypevr
  35883. #: guix-git/doc/guix.texi:24370
  35884. 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."
  35885. msgstr ""
  35886. #. type: deftypevr
  35887. #: guix-git/doc/guix.texi:24375
  35888. #, no-wrap
  35889. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authz-search"
  35890. msgstr ""
  35891. #. type: deftypevr
  35892. #: guix-git/doc/guix.texi:24379
  35893. 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."
  35894. msgstr ""
  35895. #. type: deftypevr
  35896. #: guix-git/doc/guix.texi:24384
  35897. #, no-wrap
  35898. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-password-prohibit-message"
  35899. msgstr ""
  35900. #. type: deftypevr
  35901. #: guix-git/doc/guix.texi:24389
  35902. 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."
  35903. msgstr ""
  35904. #. type: deftypevr
  35905. #: guix-git/doc/guix.texi:24394
  35906. #, no-wrap
  35907. msgid "{@code{nslcd-configuration} parameter} list pam-services"
  35908. msgstr ""
  35909. #. type: deftypevr
  35910. #: guix-git/doc/guix.texi:24396
  35911. msgid "List of pam service names for which LDAP authentication should suffice."
  35912. msgstr ""
  35913. #. type: cindex
  35914. #: guix-git/doc/guix.texi:24407
  35915. #, no-wrap
  35916. msgid "web"
  35917. msgstr "web"
  35918. #. type: cindex
  35919. #: guix-git/doc/guix.texi:24408
  35920. #, no-wrap
  35921. msgid "www"
  35922. msgstr ""
  35923. #. type: cindex
  35924. #: guix-git/doc/guix.texi:24409
  35925. #, no-wrap
  35926. msgid "HTTP"
  35927. msgstr "HTTP"
  35928. #. type: Plain text
  35929. #: guix-git/doc/guix.texi:24412
  35930. msgid "The @code{(gnu services web)} module provides the Apache HTTP Server, the nginx web server, and also a fastcgi wrapper daemon."
  35931. msgstr ""
  35932. #. type: subsubheading
  35933. #: guix-git/doc/guix.texi:24413
  35934. #, no-wrap
  35935. msgid "Apache HTTP Server"
  35936. msgstr ""
  35937. #. type: deffn
  35938. #: guix-git/doc/guix.texi:24415
  35939. #, no-wrap
  35940. msgid "{Scheme Variable} httpd-service-type"
  35941. msgstr ""
  35942. #. type: deffn
  35943. #: guix-git/doc/guix.texi:24419
  35944. 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."
  35945. msgstr ""
  35946. #. type: deffn
  35947. #: guix-git/doc/guix.texi:24421 guix-git/doc/guix.texi:24602
  35948. msgid "A simple example configuration is given below."
  35949. msgstr ""
  35950. #. type: lisp
  35951. #: guix-git/doc/guix.texi:24429
  35952. #, no-wrap
  35953. msgid ""
  35954. "(service httpd-service-type\n"
  35955. " (httpd-configuration\n"
  35956. " (config\n"
  35957. " (httpd-config-file\n"
  35958. " (server-name \"www.example.com\")\n"
  35959. " (document-root \"/srv/http/www.example.com\")))))\n"
  35960. msgstr ""
  35961. #. type: deffn
  35962. #: guix-git/doc/guix.texi:24433
  35963. msgid "Other services can also extend the @code{httpd-service-type} to add to the configuration."
  35964. msgstr ""
  35965. #. type: lisp
  35966. #: guix-git/doc/guix.texi:24442 guix-git/doc/guix.texi:24582
  35967. #, no-wrap
  35968. msgid ""
  35969. "(simple-service 'www.example.com-server httpd-service-type\n"
  35970. " (list\n"
  35971. " (httpd-virtualhost\n"
  35972. " \"*:80\"\n"
  35973. " (list (string-join '(\"ServerName www.example.com\"\n"
  35974. " \"DocumentRoot /srv/http/www.example.com\")\n"
  35975. " \"\\n\")))))\n"
  35976. msgstr ""
  35977. #. type: Plain text
  35978. #: guix-git/doc/guix.texi:24448
  35979. msgid "The details for the @code{httpd-configuration}, @code{httpd-module}, @code{httpd-config-file} and @code{httpd-virtualhost} record types are given below."
  35980. msgstr ""
  35981. #. type: deffn
  35982. #: guix-git/doc/guix.texi:24449
  35983. #, no-wrap
  35984. msgid "{Data Type} httpd-configuration"
  35985. msgstr ""
  35986. #. type: deffn
  35987. #: guix-git/doc/guix.texi:24451
  35988. msgid "This data type represents the configuration for the httpd service."
  35989. msgstr ""
  35990. #. type: item
  35991. #: guix-git/doc/guix.texi:24453
  35992. #, no-wrap
  35993. msgid "@code{package} (default: @code{httpd})"
  35994. msgstr ""
  35995. #. type: table
  35996. #: guix-git/doc/guix.texi:24455
  35997. msgid "The httpd package to use."
  35998. msgstr ""
  35999. #. type: item
  36000. #: guix-git/doc/guix.texi:24456 guix-git/doc/guix.texi:24545
  36001. #, no-wrap
  36002. msgid "@code{pid-file} (default: @code{\"/var/run/httpd\"})"
  36003. msgstr ""
  36004. #. type: table
  36005. #: guix-git/doc/guix.texi:24458
  36006. msgid "The pid file used by the shepherd-service."
  36007. msgstr ""
  36008. #. type: item
  36009. #: guix-git/doc/guix.texi:24459
  36010. #, no-wrap
  36011. msgid "@code{config} (default: @code{(httpd-config-file)})"
  36012. msgstr ""
  36013. #. type: table
  36014. #: guix-git/doc/guix.texi:24464
  36015. 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."
  36016. msgstr ""
  36017. #. type: deffn
  36018. #: guix-git/doc/guix.texi:24468
  36019. #, no-wrap
  36020. msgid "{Data Type} httpd-module"
  36021. msgstr ""
  36022. #. type: deffn
  36023. #: guix-git/doc/guix.texi:24470
  36024. msgid "This data type represents a module for the httpd service."
  36025. msgstr ""
  36026. #. type: table
  36027. #: guix-git/doc/guix.texi:24474
  36028. msgid "The name of the module."
  36029. msgstr ""
  36030. #. type: table
  36031. #: guix-git/doc/guix.texi:24480
  36032. 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\")}."
  36033. msgstr ""
  36034. #. type: defvr
  36035. #: guix-git/doc/guix.texi:24484
  36036. #, no-wrap
  36037. msgid "{Scheme Variable} %default-httpd-modules"
  36038. msgstr ""
  36039. #. type: defvr
  36040. #: guix-git/doc/guix.texi:24486
  36041. msgid "A default list of @code{httpd-module} objects."
  36042. msgstr ""
  36043. #. type: deffn
  36044. #: guix-git/doc/guix.texi:24488
  36045. #, no-wrap
  36046. msgid "{Data Type} httpd-config-file"
  36047. msgstr ""
  36048. #. type: deffn
  36049. #: guix-git/doc/guix.texi:24490
  36050. msgid "This data type represents a configuration file for the httpd service."
  36051. msgstr ""
  36052. #. type: item
  36053. #: guix-git/doc/guix.texi:24492
  36054. #, no-wrap
  36055. msgid "@code{modules} (default: @code{%default-httpd-modules})"
  36056. msgstr ""
  36057. #. type: table
  36058. #: guix-git/doc/guix.texi:24495
  36059. msgid "The modules to load. Additional modules can be added here, or loaded by additional configuration."
  36060. msgstr ""
  36061. #. type: table
  36062. #: guix-git/doc/guix.texi:24498
  36063. 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}:"
  36064. msgstr ""
  36065. #. type: lisp
  36066. #: guix-git/doc/guix.texi:24520
  36067. #, no-wrap
  36068. msgid ""
  36069. "(service httpd-service-type\n"
  36070. " (httpd-configuration\n"
  36071. " (config\n"
  36072. " (httpd-config-file\n"
  36073. " (modules (cons*\n"
  36074. " (httpd-module\n"
  36075. " (name \"proxy_module\")\n"
  36076. " (file \"modules/mod_proxy.so\"))\n"
  36077. " (httpd-module\n"
  36078. " (name \"proxy_fcgi_module\")\n"
  36079. " (file \"modules/mod_proxy_fcgi.so\"))\n"
  36080. " %default-httpd-modules))\n"
  36081. " (extra-config (list \"\\\n"
  36082. "<FilesMatch \\\\.php$>\n"
  36083. " SetHandler \\\"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\\\"\n"
  36084. "</FilesMatch>\"))))))\n"
  36085. "(service php-fpm-service-type\n"
  36086. " (php-fpm-configuration\n"
  36087. " (socket \"/var/run/php-fpm.sock\")\n"
  36088. " (socket-group \"httpd\")))\n"
  36089. msgstr ""
  36090. #. type: item
  36091. #: guix-git/doc/guix.texi:24522
  36092. #, no-wrap
  36093. msgid "@code{server-root} (default: @code{httpd})"
  36094. msgstr ""
  36095. #. type: table
  36096. #: guix-git/doc/guix.texi:24526
  36097. 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."
  36098. msgstr ""
  36099. #. type: item
  36100. #: guix-git/doc/guix.texi:24527
  36101. #, no-wrap
  36102. msgid "@code{server-name} (default: @code{#f})"
  36103. msgstr ""
  36104. #. type: table
  36105. #: guix-git/doc/guix.texi:24531
  36106. msgid "The @code{ServerName} in the configuration file, used to specify the request scheme, hostname and port that the server uses to identify itself."
  36107. msgstr ""
  36108. #. type: table
  36109. #: guix-git/doc/guix.texi:24535
  36110. 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}."
  36111. msgstr ""
  36112. #. type: item
  36113. #: guix-git/doc/guix.texi:24536
  36114. #, no-wrap
  36115. msgid "@code{document-root} (default: @code{\"/srv/http\"})"
  36116. msgstr ""
  36117. #. type: table
  36118. #: guix-git/doc/guix.texi:24538
  36119. msgid "The @code{DocumentRoot} from which files will be served."
  36120. msgstr ""
  36121. #. type: item
  36122. #: guix-git/doc/guix.texi:24539
  36123. #, no-wrap
  36124. msgid "@code{listen} (default: @code{'(\"80\")})"
  36125. msgstr ""
  36126. #. type: table
  36127. #: guix-git/doc/guix.texi:24544
  36128. 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."
  36129. msgstr ""
  36130. #. type: table
  36131. #: guix-git/doc/guix.texi:24549
  36132. 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."
  36133. msgstr ""
  36134. #. type: item
  36135. #: guix-git/doc/guix.texi:24550
  36136. #, no-wrap
  36137. msgid "@code{error-log} (default: @code{\"/var/log/httpd/error_log\"})"
  36138. msgstr ""
  36139. #. type: table
  36140. #: guix-git/doc/guix.texi:24552
  36141. msgid "The @code{ErrorLog} to which the server will log errors."
  36142. msgstr ""
  36143. #. type: item
  36144. #: guix-git/doc/guix.texi:24553 guix-git/doc/guix.texi:25114
  36145. #, no-wrap
  36146. msgid "@code{user} (default: @code{\"httpd\"})"
  36147. msgstr ""
  36148. #. type: table
  36149. #: guix-git/doc/guix.texi:24555
  36150. msgid "The @code{User} which the server will answer requests as."
  36151. msgstr ""
  36152. #. type: item
  36153. #: guix-git/doc/guix.texi:24556
  36154. #, no-wrap
  36155. msgid "@code{group} (default: @code{\"httpd\"})"
  36156. msgstr ""
  36157. #. type: table
  36158. #: guix-git/doc/guix.texi:24558
  36159. msgid "The @code{Group} which the server will answer requests as."
  36160. msgstr ""
  36161. #. type: item
  36162. #: guix-git/doc/guix.texi:24559
  36163. #, no-wrap
  36164. msgid "@code{extra-config} (default: @code{(list \"TypesConfig etc/httpd/mime.types\")})"
  36165. msgstr ""
  36166. #. type: table
  36167. #: guix-git/doc/guix.texi:24562
  36168. msgid "A flat list of strings and G-expressions which will be added to the end of the configuration file."
  36169. msgstr ""
  36170. #. type: table
  36171. #: guix-git/doc/guix.texi:24565
  36172. msgid "Any values which the service is extended with will be appended to this list."
  36173. msgstr ""
  36174. #. type: deffn
  36175. #: guix-git/doc/guix.texi:24569
  36176. #, no-wrap
  36177. msgid "{Data Type} httpd-virtualhost"
  36178. msgstr ""
  36179. #. type: deffn
  36180. #: guix-git/doc/guix.texi:24571
  36181. msgid "This data type represents a virtualhost configuration block for the httpd service."
  36182. msgstr ""
  36183. #. type: deffn
  36184. #: guix-git/doc/guix.texi:24573
  36185. msgid "These should be added to the extra-config for the httpd-service."
  36186. msgstr ""
  36187. #. type: code{#1}
  36188. #: guix-git/doc/guix.texi:24585
  36189. #, no-wrap
  36190. msgid "addresses-and-ports"
  36191. msgstr ""
  36192. #. type: table
  36193. #: guix-git/doc/guix.texi:24587
  36194. msgid "The addresses and ports for the @code{VirtualHost} directive."
  36195. msgstr ""
  36196. #. type: code{#1}
  36197. #: guix-git/doc/guix.texi:24588
  36198. #, no-wrap
  36199. msgid "contents"
  36200. msgstr "conteúdo"
  36201. #. type: table
  36202. #: guix-git/doc/guix.texi:24591
  36203. msgid "The contents of the @code{VirtualHost} directive, this should be a list of strings and G-expressions."
  36204. msgstr ""
  36205. #. type: subsubheading
  36206. #: guix-git/doc/guix.texi:24595
  36207. #, no-wrap
  36208. msgid "NGINX"
  36209. msgstr ""
  36210. #. type: deffn
  36211. #: guix-git/doc/guix.texi:24597
  36212. #, no-wrap
  36213. msgid "{Scheme Variable} nginx-service-type"
  36214. msgstr ""
  36215. #. type: deffn
  36216. #: guix-git/doc/guix.texi:24600
  36217. msgid "Service type for the @uref{https://nginx.org/,NGinx} web server. The value for this service type is a @code{<nginx-configuration>} record."
  36218. msgstr ""
  36219. #. type: lisp
  36220. #: guix-git/doc/guix.texi:24610 guix-git/doc/guix.texi:24664
  36221. #, no-wrap
  36222. msgid ""
  36223. "(service nginx-service-type\n"
  36224. " (nginx-configuration\n"
  36225. " (server-blocks\n"
  36226. " (list (nginx-server-configuration\n"
  36227. " (server-name '(\"www.example.com\"))\n"
  36228. " (root \"/srv/http/www.example.com\"))))))\n"
  36229. msgstr ""
  36230. #. type: deffn
  36231. #: guix-git/doc/guix.texi:24615
  36232. 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:"
  36233. msgstr ""
  36234. #. type: lisp
  36235. #: guix-git/doc/guix.texi:24621
  36236. #, no-wrap
  36237. msgid ""
  36238. "(simple-service 'my-extra-server nginx-service-type\n"
  36239. " (list (nginx-server-configuration\n"
  36240. " (root \"/srv/http/extra-website\")\n"
  36241. " (try-files (list \"$uri\" \"$uri/index.html\")))))\n"
  36242. msgstr ""
  36243. #. type: Plain text
  36244. #: guix-git/doc/guix.texi:24632
  36245. 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."
  36246. msgstr ""
  36247. #. type: deffn
  36248. #: guix-git/doc/guix.texi:24633
  36249. #, no-wrap
  36250. msgid "{Data Type} nginx-configuration"
  36251. msgstr ""
  36252. #. type: deffn
  36253. #: guix-git/doc/guix.texi:24637
  36254. 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."
  36255. msgstr ""
  36256. #. type: item
  36257. #: guix-git/doc/guix.texi:24639
  36258. #, no-wrap
  36259. msgid "@code{nginx} (default: @code{nginx})"
  36260. msgstr ""
  36261. #. type: table
  36262. #: guix-git/doc/guix.texi:24641
  36263. msgid "The nginx package to use."
  36264. msgstr ""
  36265. #. type: item
  36266. #: guix-git/doc/guix.texi:24642
  36267. #, no-wrap
  36268. msgid "@code{log-directory} (default: @code{\"/var/log/nginx\"})"
  36269. msgstr ""
  36270. #. type: table
  36271. #: guix-git/doc/guix.texi:24644
  36272. msgid "The directory to which NGinx will write log files."
  36273. msgstr ""
  36274. #. type: item
  36275. #: guix-git/doc/guix.texi:24645
  36276. #, no-wrap
  36277. msgid "@code{run-directory} (default: @code{\"/var/run/nginx\"})"
  36278. msgstr ""
  36279. #. type: table
  36280. #: guix-git/doc/guix.texi:24648
  36281. msgid "The directory in which NGinx will create a pid file, and write temporary files."
  36282. msgstr ""
  36283. #. type: item
  36284. #: guix-git/doc/guix.texi:24649
  36285. #, no-wrap
  36286. msgid "@code{server-blocks} (default: @code{'()})"
  36287. msgstr ""
  36288. #. type: table
  36289. #: guix-git/doc/guix.texi:24653
  36290. msgid "A list of @dfn{server blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-server-configuration>}."
  36291. msgstr ""
  36292. #. type: table
  36293. #: guix-git/doc/guix.texi:24657
  36294. 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."
  36295. msgstr ""
  36296. #. type: item
  36297. #: guix-git/doc/guix.texi:24666
  36298. #, no-wrap
  36299. msgid "@code{upstream-blocks} (default: @code{'()})"
  36300. msgstr ""
  36301. #. type: table
  36302. #: guix-git/doc/guix.texi:24670
  36303. msgid "A list of @dfn{upstream blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-upstream-configuration>}."
  36304. msgstr ""
  36305. #. type: table
  36306. #: guix-git/doc/guix.texi:24677
  36307. 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."
  36308. msgstr ""
  36309. #. type: lisp
  36310. #: guix-git/doc/guix.texi:24696
  36311. #, no-wrap
  36312. msgid ""
  36313. "(service\n"
  36314. " nginx-service-type\n"
  36315. " (nginx-configuration\n"
  36316. " (server-blocks\n"
  36317. " (list (nginx-server-configuration\n"
  36318. " (server-name '(\"www.example.com\"))\n"
  36319. " (root \"/srv/http/www.example.com\")\n"
  36320. " (locations\n"
  36321. " (list\n"
  36322. " (nginx-location-configuration\n"
  36323. " (uri \"/path1\")\n"
  36324. " (body '(\"proxy_pass http://server-proxy;\"))))))))\n"
  36325. " (upstream-blocks\n"
  36326. " (list (nginx-upstream-configuration\n"
  36327. " (name \"server-proxy\")\n"
  36328. " (servers (list \"server1.example.com\"\n"
  36329. " \"server2.example.com\")))))))\n"
  36330. msgstr ""
  36331. #. type: table
  36332. #: guix-git/doc/guix.texi:24704
  36333. 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."
  36334. msgstr ""
  36335. #. type: table
  36336. #: guix-git/doc/guix.texi:24708
  36337. 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."
  36338. msgstr ""
  36339. #. type: item
  36340. #: guix-git/doc/guix.texi:24709
  36341. #, no-wrap
  36342. msgid "@code{server-names-hash-bucket-size} (default: @code{#f})"
  36343. msgstr ""
  36344. #. type: table
  36345. #: guix-git/doc/guix.texi:24712
  36346. msgid "Bucket size for the server names hash tables, defaults to @code{#f} to use the size of the processors cache line."
  36347. msgstr ""
  36348. #. type: item
  36349. #: guix-git/doc/guix.texi:24713
  36350. #, no-wrap
  36351. msgid "@code{server-names-hash-bucket-max-size} (default: @code{#f})"
  36352. msgstr ""
  36353. #. type: table
  36354. #: guix-git/doc/guix.texi:24715
  36355. msgid "Maximum bucket size for the server names hash tables."
  36356. msgstr ""
  36357. #. type: table
  36358. #: guix-git/doc/guix.texi:24719
  36359. msgid "List of nginx dynamic modules to load. This should be a list of file names of loadable modules, as in this example:"
  36360. msgstr ""
  36361. #. type: lisp
  36362. #: guix-git/doc/guix.texi:24727
  36363. #, no-wrap
  36364. msgid ""
  36365. "(modules\n"
  36366. " (list\n"
  36367. " (file-append nginx-accept-language-module \"\\\n"
  36368. "/etc/nginx/modules/ngx_http_accept_language_module.so\")\n"
  36369. " (file-append nginx-lua-module \"\\\n"
  36370. "/etc/nginx/modules/ngx_http_lua_module.so\")))\n"
  36371. msgstr ""
  36372. #. type: item
  36373. #: guix-git/doc/guix.texi:24729
  36374. #, no-wrap
  36375. msgid "@code{lua-package-path} (default: @code{'()})"
  36376. msgstr ""
  36377. #. type: table
  36378. #: guix-git/doc/guix.texi:24732
  36379. msgid "List of nginx lua packages to load. This should be a list of package names of loadable lua modules, as in this example:"
  36380. msgstr ""
  36381. #. type: lisp
  36382. #: guix-git/doc/guix.texi:24739
  36383. #, no-wrap
  36384. msgid ""
  36385. "(lua-package-path (list lua-resty-core\n"
  36386. " lua-resty-lrucache\n"
  36387. " lua-resty-signal\n"
  36388. " lua-tablepool\n"
  36389. " lua-resty-shell))\n"
  36390. msgstr ""
  36391. #. type: item
  36392. #: guix-git/doc/guix.texi:24741
  36393. #, no-wrap
  36394. msgid "@code{lua-package-cpath} (default: @code{'()})"
  36395. msgstr ""
  36396. #. type: table
  36397. #: guix-git/doc/guix.texi:24744
  36398. 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:"
  36399. msgstr ""
  36400. #. type: lisp
  36401. #: guix-git/doc/guix.texi:24747
  36402. #, no-wrap
  36403. msgid "(lua-package-cpath (list lua-resty-signal))\n"
  36404. msgstr ""
  36405. #. type: item
  36406. #: guix-git/doc/guix.texi:24749
  36407. #, no-wrap
  36408. msgid "@code{global-directives} (default: @code{'((events . ()))})"
  36409. msgstr ""
  36410. #. type: table
  36411. #: guix-git/doc/guix.texi:24752
  36412. msgid "Association list of global directives for the top level of the nginx configuration. Values may themselves be association lists."
  36413. msgstr ""
  36414. #. type: lisp
  36415. #: guix-git/doc/guix.texi:24758
  36416. #, no-wrap
  36417. msgid ""
  36418. "(global-directives\n"
  36419. " `((worker_processes . 16)\n"
  36420. " (pcre_jit . on)\n"
  36421. " (events . ((worker_connections . 1024)))))\n"
  36422. msgstr ""
  36423. #. type: table
  36424. #: guix-git/doc/guix.texi:24763
  36425. msgid "Extra content for the @code{http} block. Should be string or a string valued G-expression."
  36426. msgstr ""
  36427. #. type: deftp
  36428. #: guix-git/doc/guix.texi:24767
  36429. #, no-wrap
  36430. msgid "{Data Type} nginx-server-configuration"
  36431. msgstr ""
  36432. #. type: deftp
  36433. #: guix-git/doc/guix.texi:24770
  36434. msgid "Data type representing the configuration of an nginx server block. This type has the following parameters:"
  36435. msgstr ""
  36436. #. type: item
  36437. #: guix-git/doc/guix.texi:24772
  36438. #, no-wrap
  36439. msgid "@code{listen} (default: @code{'(\"80\" \"443 ssl\")})"
  36440. msgstr ""
  36441. #. type: table
  36442. #: guix-git/doc/guix.texi:24777
  36443. 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:"
  36444. msgstr ""
  36445. #. type: lisp
  36446. #: guix-git/doc/guix.texi:24780
  36447. #, no-wrap
  36448. msgid "'(\"127.0.0.1:8000\" \"127.0.0.1\" \"8000\" \"*:8000\" \"localhost:8000\")\n"
  36449. msgstr ""
  36450. #. type: item
  36451. #: guix-git/doc/guix.texi:24782
  36452. #, no-wrap
  36453. msgid "@code{server-name} (default: @code{(list 'default)})"
  36454. msgstr ""
  36455. #. type: table
  36456. #: guix-git/doc/guix.texi:24785
  36457. msgid "A list of server names this server represents. @code{'default} represents the default server for connections matching no other server."
  36458. msgstr ""
  36459. #. type: item
  36460. #: guix-git/doc/guix.texi:24786
  36461. #, no-wrap
  36462. msgid "@code{root} (default: @code{\"/srv/http\"})"
  36463. msgstr ""
  36464. #. type: table
  36465. #: guix-git/doc/guix.texi:24788
  36466. msgid "Root of the website nginx will serve."
  36467. msgstr ""
  36468. #. type: item
  36469. #: guix-git/doc/guix.texi:24789
  36470. #, no-wrap
  36471. msgid "@code{locations} (default: @code{'()})"
  36472. msgstr ""
  36473. #. type: table
  36474. #: guix-git/doc/guix.texi:24793
  36475. msgid "A list of @dfn{nginx-location-configuration} or @dfn{nginx-named-location-configuration} records to use within this server block."
  36476. msgstr ""
  36477. #. type: item
  36478. #: guix-git/doc/guix.texi:24794
  36479. #, no-wrap
  36480. msgid "@code{index} (default: @code{(list \"index.html\")})"
  36481. msgstr ""
  36482. #. type: table
  36483. #: guix-git/doc/guix.texi:24797
  36484. 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."
  36485. msgstr ""
  36486. #. type: item
  36487. #: guix-git/doc/guix.texi:24798
  36488. #, no-wrap
  36489. msgid "@code{try-files} (default: @code{'()})"
  36490. msgstr ""
  36491. #. type: table
  36492. #: guix-git/doc/guix.texi:24801
  36493. 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."
  36494. msgstr ""
  36495. #. type: item
  36496. #: guix-git/doc/guix.texi:24802
  36497. #, no-wrap
  36498. msgid "@code{ssl-certificate} (default: @code{#f})"
  36499. msgstr ""
  36500. #. type: table
  36501. #: guix-git/doc/guix.texi:24805
  36502. 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."
  36503. msgstr ""
  36504. #. type: item
  36505. #: guix-git/doc/guix.texi:24806
  36506. #, no-wrap
  36507. msgid "@code{ssl-certificate-key} (default: @code{#f})"
  36508. msgstr ""
  36509. #. type: table
  36510. #: guix-git/doc/guix.texi:24809
  36511. 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."
  36512. msgstr ""
  36513. #. type: item
  36514. #: guix-git/doc/guix.texi:24810
  36515. #, no-wrap
  36516. msgid "@code{server-tokens?} (default: @code{#f})"
  36517. msgstr ""
  36518. #. type: table
  36519. #: guix-git/doc/guix.texi:24812
  36520. msgid "Whether the server should add its configuration to response."
  36521. msgstr ""
  36522. #. type: item
  36523. #: guix-git/doc/guix.texi:24813
  36524. #, no-wrap
  36525. msgid "@code{raw-content} (default: @code{'()})"
  36526. msgstr ""
  36527. #. type: table
  36528. #: guix-git/doc/guix.texi:24815
  36529. msgid "A list of raw lines added to the server block."
  36530. msgstr ""
  36531. #. type: deftp
  36532. #: guix-git/doc/guix.texi:24819
  36533. #, no-wrap
  36534. msgid "{Data Type} nginx-upstream-configuration"
  36535. msgstr ""
  36536. #. type: deftp
  36537. #: guix-git/doc/guix.texi:24822
  36538. msgid "Data type representing the configuration of an nginx @code{upstream} block. This type has the following parameters:"
  36539. msgstr ""
  36540. #. type: table
  36541. #: guix-git/doc/guix.texi:24826
  36542. msgid "Name for this group of servers."
  36543. msgstr ""
  36544. #. type: code{#1}
  36545. #: guix-git/doc/guix.texi:24827
  36546. #, no-wrap
  36547. msgid "servers"
  36548. msgstr ""
  36549. #. type: table
  36550. #: guix-git/doc/guix.texi:24834
  36551. 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."
  36552. msgstr ""
  36553. #. type: deftp
  36554. #: guix-git/doc/guix.texi:24838
  36555. #, no-wrap
  36556. msgid "{Data Type} nginx-location-configuration"
  36557. msgstr ""
  36558. #. type: deftp
  36559. #: guix-git/doc/guix.texi:24841
  36560. msgid "Data type representing the configuration of an nginx @code{location} block. This type has the following parameters:"
  36561. msgstr ""
  36562. #. type: table
  36563. #: guix-git/doc/guix.texi:24845
  36564. msgid "URI which this location block matches."
  36565. msgstr ""
  36566. #. type: anchor{#1}
  36567. #: guix-git/doc/guix.texi:24847
  36568. msgid "nginx-location-configuration body"
  36569. msgstr "nginx-location-configuration body"
  36570. #. type: code{#1}
  36571. #: guix-git/doc/guix.texi:24847 guix-git/doc/guix.texi:24868
  36572. #, no-wrap
  36573. msgid "body"
  36574. msgstr "corpo"
  36575. #. type: table
  36576. #: guix-git/doc/guix.texi:24854
  36577. 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;\")}."
  36578. msgstr ""
  36579. #. type: deftp
  36580. #: guix-git/doc/guix.texi:24858
  36581. #, no-wrap
  36582. msgid "{Data Type} nginx-named-location-configuration"
  36583. msgstr ""
  36584. #. type: deftp
  36585. #: guix-git/doc/guix.texi:24863
  36586. 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:"
  36587. msgstr ""
  36588. #. type: table
  36589. #: guix-git/doc/guix.texi:24867
  36590. msgid "Name to identify this location block."
  36591. msgstr ""
  36592. #. type: table
  36593. #: guix-git/doc/guix.texi:24873
  36594. 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."
  36595. msgstr ""
  36596. #. type: subsubheading
  36597. #: guix-git/doc/guix.texi:24877
  36598. #, no-wrap
  36599. msgid "Varnish Cache"
  36600. msgstr ""
  36601. #. type: cindex
  36602. #: guix-git/doc/guix.texi:24878
  36603. #, no-wrap
  36604. msgid "Varnish"
  36605. msgstr ""
  36606. #. type: Plain text
  36607. #: guix-git/doc/guix.texi:24883
  36608. 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."
  36609. msgstr ""
  36610. #. type: defvr
  36611. #: guix-git/doc/guix.texi:24884
  36612. #, no-wrap
  36613. msgid "{Scheme Variable} varnish-service-type"
  36614. msgstr ""
  36615. #. type: defvr
  36616. #: guix-git/doc/guix.texi:24886
  36617. msgid "Service type for the Varnish daemon."
  36618. msgstr ""
  36619. #. type: deftp
  36620. #: guix-git/doc/guix.texi:24888
  36621. #, no-wrap
  36622. msgid "{Data Type} varnish-configuration"
  36623. msgstr ""
  36624. #. type: deftp
  36625. #: guix-git/doc/guix.texi:24891
  36626. msgid "Data type representing the @code{varnish} service configuration. This type has the following parameters:"
  36627. msgstr ""
  36628. #. type: item
  36629. #: guix-git/doc/guix.texi:24893
  36630. #, no-wrap
  36631. msgid "@code{package} (default: @code{varnish})"
  36632. msgstr ""
  36633. #. type: table
  36634. #: guix-git/doc/guix.texi:24895
  36635. msgid "The Varnish package to use."
  36636. msgstr ""
  36637. #. type: item
  36638. #: guix-git/doc/guix.texi:24896
  36639. #, no-wrap
  36640. msgid "@code{name} (default: @code{\"default\"})"
  36641. msgstr ""
  36642. #. type: table
  36643. #: guix-git/doc/guix.texi:24901
  36644. 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."
  36645. msgstr ""
  36646. #. type: table
  36647. #: guix-git/doc/guix.texi:24904
  36648. msgid "Pass the @code{-n} argument to other Varnish programs to connect to the named instance, e.g.@: @command{varnishncsa -n default}."
  36649. msgstr ""
  36650. #. type: item
  36651. #: guix-git/doc/guix.texi:24905
  36652. #, no-wrap
  36653. msgid "@code{backend} (default: @code{\"localhost:8080\"})"
  36654. msgstr ""
  36655. #. type: table
  36656. #: guix-git/doc/guix.texi:24907
  36657. msgid "The backend to use. This option has no effect if @code{vcl} is set."
  36658. msgstr ""
  36659. #. type: item
  36660. #: guix-git/doc/guix.texi:24908
  36661. #, no-wrap
  36662. msgid "@code{vcl} (default: #f)"
  36663. msgstr ""
  36664. #. type: table
  36665. #: guix-git/doc/guix.texi:24913
  36666. 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."
  36667. msgstr ""
  36668. #. type: table
  36669. #: guix-git/doc/guix.texi:24917
  36670. msgid "For example, to mirror @url{https://www.gnu.org,www.gnu.org} with VCL you can do something along these lines:"
  36671. msgstr ""
  36672. #. type: lisp
  36673. #: guix-git/doc/guix.texi:24923
  36674. #, no-wrap
  36675. msgid ""
  36676. "(define %gnu-mirror\n"
  36677. " (plain-file \"gnu.vcl\"\n"
  36678. " \"vcl 4.1;\n"
  36679. "backend gnu @{ .host = \\\"www.gnu.org\\\"; @}\"))\n"
  36680. "\n"
  36681. msgstr ""
  36682. #. type: lisp
  36683. #: guix-git/doc/guix.texi:24931
  36684. #, no-wrap
  36685. msgid ""
  36686. "(operating-system\n"
  36687. " ;; @dots{}\n"
  36688. " (services (cons (service varnish-service-type\n"
  36689. " (varnish-configuration\n"
  36690. " (listen '(\":80\"))\n"
  36691. " (vcl %gnu-mirror)))\n"
  36692. " %base-services)))\n"
  36693. msgstr ""
  36694. #. type: table
  36695. #: guix-git/doc/guix.texi:24935
  36696. msgid "The configuration of an already running Varnish instance can be inspected and changed using the @command{varnishadm} program."
  36697. msgstr ""
  36698. #. type: table
  36699. #: guix-git/doc/guix.texi:24939
  36700. 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."
  36701. msgstr ""
  36702. #. type: item
  36703. #: guix-git/doc/guix.texi:24940
  36704. #, no-wrap
  36705. msgid "@code{listen} (default: @code{'(\"localhost:80\")})"
  36706. msgstr ""
  36707. #. type: table
  36708. #: guix-git/doc/guix.texi:24942
  36709. msgid "List of addresses Varnish will listen on."
  36710. msgstr ""
  36711. #. type: item
  36712. #: guix-git/doc/guix.texi:24943
  36713. #, no-wrap
  36714. msgid "@code{storage} (default: @code{'(\"malloc,128m\")})"
  36715. msgstr ""
  36716. #. type: table
  36717. #: guix-git/doc/guix.texi:24945
  36718. msgid "List of storage backends that will be available in VCL."
  36719. msgstr ""
  36720. #. type: item
  36721. #: guix-git/doc/guix.texi:24946
  36722. #, no-wrap
  36723. msgid "@code{parameters} (default: @code{'()})"
  36724. msgstr ""
  36725. #. type: table
  36726. #: guix-git/doc/guix.texi:24948
  36727. msgid "List of run-time parameters in the form @code{'((\"parameter\" . \"value\"))}."
  36728. msgstr ""
  36729. #. type: table
  36730. #: guix-git/doc/guix.texi:24951
  36731. msgid "Additional arguments to pass to the @command{varnishd} process."
  36732. msgstr ""
  36733. #. type: cindex
  36734. #: guix-git/doc/guix.texi:24955 guix-git/doc/guix.texi:24956
  36735. #, no-wrap
  36736. msgid "Patchwork"
  36737. msgstr ""
  36738. #. type: Plain text
  36739. #: guix-git/doc/guix.texi:24959
  36740. msgid "Patchwork is a patch tracking system. It can collect patches sent to a mailing list, and display them in a web interface."
  36741. msgstr ""
  36742. #. type: defvr
  36743. #: guix-git/doc/guix.texi:24960
  36744. #, no-wrap
  36745. msgid "{Scheme Variable} patchwork-service-type"
  36746. msgstr ""
  36747. #. type: defvr
  36748. #: guix-git/doc/guix.texi:24962
  36749. msgid "Service type for Patchwork."
  36750. msgstr ""
  36751. #. type: Plain text
  36752. #: guix-git/doc/guix.texi:24966
  36753. msgid "The following example is an example of a minimal service for Patchwork, for the @code{patchwork.example.com} domain."
  36754. msgstr ""
  36755. #. type: lisp
  36756. #: guix-git/doc/guix.texi:24986
  36757. #, no-wrap
  36758. msgid ""
  36759. "(service patchwork-service-type\n"
  36760. " (patchwork-configuration\n"
  36761. " (domain \"patchwork.example.com\")\n"
  36762. " (settings-module\n"
  36763. " (patchwork-settings-module\n"
  36764. " (allowed-hosts (list domain))\n"
  36765. " (default-from-email \"patchwork@@patchwork.example.com\")))\n"
  36766. " (getmail-retriever-config\n"
  36767. " (getmail-retriever-configuration\n"
  36768. " (type \"SimpleIMAPSSLRetriever\")\n"
  36769. " (server \"imap.example.com\")\n"
  36770. " (port 993)\n"
  36771. " (username \"patchwork\")\n"
  36772. " (password-command\n"
  36773. " (list (file-append coreutils \"/bin/cat\")\n"
  36774. " \"/etc/getmail-patchwork-imap-password\"))\n"
  36775. " (extra-parameters\n"
  36776. " '((mailboxes . (\"Patches\"))))))))\n"
  36777. "\n"
  36778. msgstr ""
  36779. #. type: Plain text
  36780. #: guix-git/doc/guix.texi:24992
  36781. msgid "There are three records for configuring the Patchwork service. The @code{<patchwork-configuration>} relates to the configuration for Patchwork within the HTTPD service."
  36782. msgstr ""
  36783. #. type: Plain text
  36784. #: guix-git/doc/guix.texi:24996
  36785. 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."
  36786. msgstr ""
  36787. #. type: Plain text
  36788. #: guix-git/doc/guix.texi:25000
  36789. msgid "For the @code{database-configuration} field within the @code{<patchwork-settings-module>}, the @code{<patchwork-database-configuration>} must be used."
  36790. msgstr ""
  36791. #. type: deftp
  36792. #: guix-git/doc/guix.texi:25001
  36793. #, no-wrap
  36794. msgid "{Data Type} patchwork-configuration"
  36795. msgstr ""
  36796. #. type: deftp
  36797. #: guix-git/doc/guix.texi:25004
  36798. msgid "Data type representing the Patchwork service configuration. This type has the following parameters:"
  36799. msgstr ""
  36800. #. type: item
  36801. #: guix-git/doc/guix.texi:25006
  36802. #, no-wrap
  36803. msgid "@code{patchwork} (default: @code{patchwork})"
  36804. msgstr ""
  36805. #. type: table
  36806. #: guix-git/doc/guix.texi:25008
  36807. msgid "The Patchwork package to use."
  36808. msgstr ""
  36809. #. type: code{#1}
  36810. #: guix-git/doc/guix.texi:25009
  36811. #, no-wrap
  36812. msgid "domain"
  36813. msgstr ""
  36814. #. type: table
  36815. #: guix-git/doc/guix.texi:25012
  36816. msgid "The domain to use for Patchwork, this is used in the HTTPD service virtual host."
  36817. msgstr ""
  36818. #. type: code{#1}
  36819. #: guix-git/doc/guix.texi:25013
  36820. #, no-wrap
  36821. msgid "settings-module"
  36822. msgstr ""
  36823. #. type: table
  36824. #: guix-git/doc/guix.texi:25019
  36825. 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."
  36826. msgstr ""
  36827. #. type: item
  36828. #: guix-git/doc/guix.texi:25020
  36829. #, no-wrap
  36830. msgid "@code{static-path} (default: @code{\"/static/\"})"
  36831. msgstr ""
  36832. #. type: table
  36833. #: guix-git/doc/guix.texi:25022
  36834. msgid "The path under which the HTTPD service should serve the static files."
  36835. msgstr ""
  36836. #. type: code{#1}
  36837. #: guix-git/doc/guix.texi:25023
  36838. #, no-wrap
  36839. msgid "getmail-retriever-config"
  36840. msgstr ""
  36841. #. type: table
  36842. #: guix-git/doc/guix.texi:25027
  36843. 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."
  36844. msgstr ""
  36845. #. type: deftp
  36846. #: guix-git/doc/guix.texi:25031
  36847. #, no-wrap
  36848. msgid "{Data Type} patchwork-settings-module"
  36849. msgstr ""
  36850. #. type: deftp
  36851. #: guix-git/doc/guix.texi:25036
  36852. 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:"
  36853. msgstr ""
  36854. #. type: item
  36855. #: guix-git/doc/guix.texi:25038
  36856. #, no-wrap
  36857. msgid "@code{database-configuration} (default: @code{(patchwork-database-configuration)})"
  36858. msgstr ""
  36859. #. type: table
  36860. #: guix-git/doc/guix.texi:25041
  36861. msgid "The database connection settings used for Patchwork. See the @code{<patchwork-database-configuration>} record type for more information."
  36862. msgstr ""
  36863. #. type: item
  36864. #: guix-git/doc/guix.texi:25042
  36865. #, no-wrap
  36866. msgid "@code{secret-key-file} (default: @code{\"/etc/patchwork/django-secret-key\"})"
  36867. msgstr ""
  36868. #. type: table
  36869. #: guix-git/doc/guix.texi:25045
  36870. msgid "Patchwork, as a Django web application uses a secret key for cryptographically signing values. This file should contain a unique unpredictable value."
  36871. msgstr ""
  36872. #. type: table
  36873. #: guix-git/doc/guix.texi:25048
  36874. msgid "If this file does not exist, it will be created and populated with a random value by the patchwork-setup shepherd service."
  36875. msgstr ""
  36876. #. type: table
  36877. #: guix-git/doc/guix.texi:25050
  36878. msgid "This setting relates to Django."
  36879. msgstr ""
  36880. #. type: code{#1}
  36881. #: guix-git/doc/guix.texi:25051
  36882. #, no-wrap
  36883. msgid "allowed-hosts"
  36884. msgstr ""
  36885. #. type: table
  36886. #: guix-git/doc/guix.texi:25054
  36887. msgid "A list of valid hosts for this Patchwork service. This should at least include the domain specified in the @code{<patchwork-configuration>} record."
  36888. msgstr ""
  36889. #. type: table
  36890. #: guix-git/doc/guix.texi:25056 guix-git/doc/guix.texi:25070
  36891. #: guix-git/doc/guix.texi:25076 guix-git/doc/guix.texi:25082
  36892. msgid "This is a Django setting."
  36893. msgstr ""
  36894. #. type: code{#1}
  36895. #: guix-git/doc/guix.texi:25057
  36896. #, no-wrap
  36897. msgid "default-from-email"
  36898. msgstr ""
  36899. #. type: table
  36900. #: guix-git/doc/guix.texi:25059
  36901. msgid "The email address from which Patchwork should send email by default."
  36902. msgstr ""
  36903. #. type: table
  36904. #: guix-git/doc/guix.texi:25061 guix-git/doc/guix.texi:25087
  36905. #: guix-git/doc/guix.texi:25092 guix-git/doc/guix.texi:25097
  36906. msgid "This is a Patchwork setting."
  36907. msgstr ""
  36908. #. type: item
  36909. #: guix-git/doc/guix.texi:25062
  36910. #, no-wrap
  36911. msgid "@code{static-url} (default: @code{#f})"
  36912. msgstr ""
  36913. #. type: table
  36914. #: guix-git/doc/guix.texi:25065
  36915. 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{/}."
  36916. msgstr ""
  36917. #. type: table
  36918. #: guix-git/doc/guix.texi:25068
  36919. msgid "If the default value is used, the @code{static-path} value from the @code{<patchwork-configuration>} record will be used."
  36920. msgstr ""
  36921. #. type: item
  36922. #: guix-git/doc/guix.texi:25071
  36923. #, no-wrap
  36924. msgid "@code{admins} (default: @code{'()})"
  36925. msgstr ""
  36926. #. type: table
  36927. #: guix-git/doc/guix.texi:25074
  36928. 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."
  36929. msgstr ""
  36930. #. type: table
  36931. #: guix-git/doc/guix.texi:25080
  36932. msgid "Whether to run Patchwork in debug mode. If set to @code{#t}, detailed error messages will be shown."
  36933. msgstr ""
  36934. #. type: item
  36935. #: guix-git/doc/guix.texi:25083
  36936. #, no-wrap
  36937. msgid "@code{enable-rest-api?} (default: @code{#t})"
  36938. msgstr ""
  36939. #. type: table
  36940. #: guix-git/doc/guix.texi:25085
  36941. msgid "Whether to enable the Patchwork REST API."
  36942. msgstr ""
  36943. #. type: item
  36944. #: guix-git/doc/guix.texi:25088
  36945. #, no-wrap
  36946. msgid "@code{enable-xmlrpc?} (default: @code{#t})"
  36947. msgstr ""
  36948. #. type: table
  36949. #: guix-git/doc/guix.texi:25090
  36950. msgid "Whether to enable the XML RPC API."
  36951. msgstr ""
  36952. #. type: item
  36953. #: guix-git/doc/guix.texi:25093
  36954. #, no-wrap
  36955. msgid "@code{force-https-links?} (default: @code{#t})"
  36956. msgstr ""
  36957. #. type: table
  36958. #: guix-git/doc/guix.texi:25095
  36959. msgid "Whether to use HTTPS links on Patchwork pages."
  36960. msgstr ""
  36961. #. type: table
  36962. #: guix-git/doc/guix.texi:25100
  36963. msgid "Extra code to place at the end of the Patchwork settings module."
  36964. msgstr ""
  36965. #. type: deftp
  36966. #: guix-git/doc/guix.texi:25104
  36967. #, no-wrap
  36968. msgid "{Data Type} patchwork-database-configuration"
  36969. msgstr ""
  36970. #. type: deftp
  36971. #: guix-git/doc/guix.texi:25106
  36972. msgid "Data type representing the database configuration for Patchwork."
  36973. msgstr ""
  36974. #. type: item
  36975. #: guix-git/doc/guix.texi:25108
  36976. #, no-wrap
  36977. msgid "@code{engine} (default: @code{\"django.db.backends.postgresql_psycopg2\"})"
  36978. msgstr ""
  36979. #. type: table
  36980. #: guix-git/doc/guix.texi:25110
  36981. msgid "The database engine to use."
  36982. msgstr ""
  36983. #. type: item
  36984. #: guix-git/doc/guix.texi:25111
  36985. #, no-wrap
  36986. msgid "@code{name} (default: @code{\"patchwork\"})"
  36987. msgstr ""
  36988. #. type: table
  36989. #: guix-git/doc/guix.texi:25113
  36990. msgid "The name of the database to use."
  36991. msgstr ""
  36992. #. type: table
  36993. #: guix-git/doc/guix.texi:25116
  36994. msgid "The user to connect to the database as."
  36995. msgstr ""
  36996. #. type: item
  36997. #: guix-git/doc/guix.texi:25117
  36998. #, no-wrap
  36999. msgid "@code{password} (default: @code{\"\"})"
  37000. msgstr ""
  37001. #. type: table
  37002. #: guix-git/doc/guix.texi:25119
  37003. msgid "The password to use when connecting to the database."
  37004. msgstr ""
  37005. #. type: item
  37006. #: guix-git/doc/guix.texi:25120
  37007. #, no-wrap
  37008. msgid "@code{host} (default: @code{\"\"})"
  37009. msgstr ""
  37010. #. type: table
  37011. #: guix-git/doc/guix.texi:25122
  37012. msgid "The host to make the database connection to."
  37013. msgstr ""
  37014. #. type: item
  37015. #: guix-git/doc/guix.texi:25123
  37016. #, no-wrap
  37017. msgid "@code{port} (default: @code{\"\"})"
  37018. msgstr ""
  37019. #. type: table
  37020. #: guix-git/doc/guix.texi:25125
  37021. msgid "The port on which to connect to the database."
  37022. msgstr ""
  37023. #. type: subsubheading
  37024. #: guix-git/doc/guix.texi:25129
  37025. #, no-wrap
  37026. msgid "Mumi"
  37027. msgstr ""
  37028. #. type: cindex
  37029. #: guix-git/doc/guix.texi:25131
  37030. #, no-wrap
  37031. msgid "Mumi, Debbugs Web interface"
  37032. msgstr ""
  37033. #. type: cindex
  37034. #: guix-git/doc/guix.texi:25132
  37035. #, no-wrap
  37036. msgid "Debbugs, Mumi Web interface"
  37037. msgstr ""
  37038. #. type: Plain text
  37039. #: guix-git/doc/guix.texi:25137
  37040. 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."
  37041. msgstr ""
  37042. #. type: defvr
  37043. #: guix-git/doc/guix.texi:25138
  37044. #, no-wrap
  37045. msgid "{Scheme Variable} mumi-service-type"
  37046. msgstr ""
  37047. #. type: defvr
  37048. #: guix-git/doc/guix.texi:25140
  37049. msgid "This is the service type for Mumi."
  37050. msgstr ""
  37051. #. type: deftp
  37052. #: guix-git/doc/guix.texi:25142
  37053. #, no-wrap
  37054. msgid "{Data Type} mumi-configuration"
  37055. msgstr ""
  37056. #. type: deftp
  37057. #: guix-git/doc/guix.texi:25145
  37058. msgid "Data type representing the Mumi service configuration. This type has the following fields:"
  37059. msgstr ""
  37060. #. type: item
  37061. #: guix-git/doc/guix.texi:25147
  37062. #, no-wrap
  37063. msgid "@code{mumi} (default: @code{mumi})"
  37064. msgstr ""
  37065. #. type: table
  37066. #: guix-git/doc/guix.texi:25149
  37067. msgid "The Mumi package to use."
  37068. msgstr ""
  37069. #. type: item
  37070. #: guix-git/doc/guix.texi:25150
  37071. #, no-wrap
  37072. msgid "@code{mailer?} (default: @code{#true})"
  37073. msgstr ""
  37074. #. type: table
  37075. #: guix-git/doc/guix.texi:25152
  37076. msgid "Whether to enable or disable the mailer component."
  37077. msgstr ""
  37078. #. type: code{#1}
  37079. #: guix-git/doc/guix.texi:25153
  37080. #, no-wrap
  37081. msgid "mumi-configuration-sender"
  37082. msgstr ""
  37083. #. type: table
  37084. #: guix-git/doc/guix.texi:25155
  37085. msgid "The email address used as the sender for comments."
  37086. msgstr ""
  37087. #. type: code{#1}
  37088. #: guix-git/doc/guix.texi:25156
  37089. #, no-wrap
  37090. msgid "mumi-configuration-smtp"
  37091. msgstr ""
  37092. #. type: table
  37093. #: guix-git/doc/guix.texi:25161
  37094. 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}."
  37095. msgstr ""
  37096. #. type: subsubheading
  37097. #: guix-git/doc/guix.texi:25166
  37098. #, no-wrap
  37099. msgid "FastCGI"
  37100. msgstr ""
  37101. #. type: cindex
  37102. #: guix-git/doc/guix.texi:25167
  37103. #, no-wrap
  37104. msgid "fastcgi"
  37105. msgstr ""
  37106. #. type: cindex
  37107. #: guix-git/doc/guix.texi:25168
  37108. #, no-wrap
  37109. msgid "fcgiwrap"
  37110. msgstr ""
  37111. #. type: Plain text
  37112. #: guix-git/doc/guix.texi:25175
  37113. 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."
  37114. msgstr ""
  37115. #. type: Plain text
  37116. #: guix-git/doc/guix.texi:25182
  37117. 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."
  37118. msgstr ""
  37119. #. type: defvr
  37120. #: guix-git/doc/guix.texi:25183
  37121. #, no-wrap
  37122. msgid "{Scheme Variable} fcgiwrap-service-type"
  37123. msgstr ""
  37124. #. type: defvr
  37125. #: guix-git/doc/guix.texi:25185
  37126. msgid "A service type for the @code{fcgiwrap} FastCGI proxy."
  37127. msgstr ""
  37128. #. type: deftp
  37129. #: guix-git/doc/guix.texi:25187
  37130. #, no-wrap
  37131. msgid "{Data Type} fcgiwrap-configuration"
  37132. msgstr ""
  37133. #. type: deftp
  37134. #: guix-git/doc/guix.texi:25190
  37135. msgid "Data type representing the configuration of the @code{fcgiwrap} service. This type has the following parameters:"
  37136. msgstr ""
  37137. #. type: item
  37138. #: guix-git/doc/guix.texi:25191
  37139. #, no-wrap
  37140. msgid "@code{package} (default: @code{fcgiwrap})"
  37141. msgstr ""
  37142. #. type: table
  37143. #: guix-git/doc/guix.texi:25193
  37144. msgid "The fcgiwrap package to use."
  37145. msgstr ""
  37146. #. type: item
  37147. #: guix-git/doc/guix.texi:25194
  37148. #, no-wrap
  37149. msgid "@code{socket} (default: @code{tcp:127.0.0.1:9000})"
  37150. msgstr ""
  37151. #. type: table
  37152. #: guix-git/doc/guix.texi:25200
  37153. 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}."
  37154. msgstr ""
  37155. #. type: item
  37156. #: guix-git/doc/guix.texi:25201
  37157. #, no-wrap
  37158. msgid "@code{user} (default: @code{fcgiwrap})"
  37159. msgstr ""
  37160. #. type: itemx
  37161. #: guix-git/doc/guix.texi:25202
  37162. #, no-wrap
  37163. msgid "@code{group} (default: @code{fcgiwrap})"
  37164. msgstr ""
  37165. #. type: table
  37166. #: guix-git/doc/guix.texi:25207
  37167. 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."
  37168. msgstr ""
  37169. #. type: table
  37170. #: guix-git/doc/guix.texi:25214
  37171. 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."
  37172. msgstr ""
  37173. #. type: cindex
  37174. #: guix-git/doc/guix.texi:25217
  37175. #, no-wrap
  37176. msgid "php-fpm"
  37177. msgstr ""
  37178. #. type: Plain text
  37179. #: guix-git/doc/guix.texi:25220
  37180. msgid "PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size."
  37181. msgstr ""
  37182. #. type: Plain text
  37183. #: guix-git/doc/guix.texi:25222
  37184. msgid "These features include:"
  37185. msgstr ""
  37186. #. type: item
  37187. #: guix-git/doc/guix.texi:25223
  37188. #, no-wrap
  37189. msgid "Adaptive process spawning"
  37190. msgstr ""
  37191. #. type: item
  37192. #: guix-git/doc/guix.texi:25224
  37193. #, no-wrap
  37194. msgid "Basic statistics (similar to Apache's mod_status)"
  37195. msgstr ""
  37196. #. type: item
  37197. #: guix-git/doc/guix.texi:25225
  37198. #, no-wrap
  37199. msgid "Advanced process management with graceful stop/start"
  37200. msgstr ""
  37201. #. type: item
  37202. #: guix-git/doc/guix.texi:25226
  37203. #, no-wrap
  37204. msgid "Ability to start workers with different uid/gid/chroot/environment"
  37205. msgstr ""
  37206. #. type: itemize
  37207. #: guix-git/doc/guix.texi:25228
  37208. msgid "and different php.ini (replaces safe_mode)"
  37209. msgstr ""
  37210. #. type: item
  37211. #: guix-git/doc/guix.texi:25228
  37212. #, no-wrap
  37213. msgid "Stdout & stderr logging"
  37214. msgstr ""
  37215. #. type: item
  37216. #: guix-git/doc/guix.texi:25229
  37217. #, no-wrap
  37218. msgid "Emergency restart in case of accidental opcode cache destruction"
  37219. msgstr ""
  37220. #. type: item
  37221. #: guix-git/doc/guix.texi:25230
  37222. #, no-wrap
  37223. msgid "Accelerated upload support"
  37224. msgstr ""
  37225. #. type: item
  37226. #: guix-git/doc/guix.texi:25231
  37227. #, no-wrap
  37228. msgid "Support for a \"slowlog\""
  37229. msgstr ""
  37230. #. type: item
  37231. #: guix-git/doc/guix.texi:25232
  37232. #, no-wrap
  37233. msgid "Enhancements to FastCGI, such as fastcgi_finish_request() -"
  37234. msgstr ""
  37235. #. type: itemize
  37236. #: guix-git/doc/guix.texi:25235
  37237. msgid "a special function to finish request & flush all data while continuing to do something time-consuming (video converting, stats processing, etc.)"
  37238. msgstr ""
  37239. #. type: Plain text
  37240. #: guix-git/doc/guix.texi:25237
  37241. msgid "...@: and much more."
  37242. msgstr "...@: e muito mais."
  37243. #. type: defvr
  37244. #: guix-git/doc/guix.texi:25238
  37245. #, no-wrap
  37246. msgid "{Scheme Variable} php-fpm-service-type"
  37247. msgstr ""
  37248. #. type: defvr
  37249. #: guix-git/doc/guix.texi:25240
  37250. msgid "A Service type for @code{php-fpm}."
  37251. msgstr ""
  37252. #. type: deftp
  37253. #: guix-git/doc/guix.texi:25242
  37254. #, no-wrap
  37255. msgid "{Data Type} php-fpm-configuration"
  37256. msgstr ""
  37257. #. type: deftp
  37258. #: guix-git/doc/guix.texi:25244
  37259. msgid "Data Type for php-fpm service configuration."
  37260. msgstr ""
  37261. #. type: item
  37262. #: guix-git/doc/guix.texi:25245
  37263. #, no-wrap
  37264. msgid "@code{php} (default: @code{php})"
  37265. msgstr ""
  37266. #. type: table
  37267. #: guix-git/doc/guix.texi:25247
  37268. msgid "The php package to use."
  37269. msgstr ""
  37270. #. type: item
  37271. #: guix-git/doc/guix.texi:25247
  37272. #, no-wrap
  37273. msgid "@code{socket} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.sock\")})"
  37274. msgstr ""
  37275. #. type: table
  37276. #: guix-git/doc/guix.texi:25249
  37277. msgid "The address on which to accept FastCGI requests. Valid syntaxes are:"
  37278. msgstr ""
  37279. #. type: code{#1}
  37280. #: guix-git/doc/guix.texi:25250
  37281. #, no-wrap
  37282. msgid "\"ip.add.re.ss:port\""
  37283. msgstr ""
  37284. #. type: table
  37285. #: guix-git/doc/guix.texi:25252
  37286. msgid "Listen on a TCP socket to a specific address on a specific port."
  37287. msgstr ""
  37288. #. type: code{#1}
  37289. #: guix-git/doc/guix.texi:25252
  37290. #, no-wrap
  37291. msgid "\"port\""
  37292. msgstr ""
  37293. #. type: table
  37294. #: guix-git/doc/guix.texi:25254
  37295. msgid "Listen on a TCP socket to all addresses on a specific port."
  37296. msgstr ""
  37297. #. type: code{#1}
  37298. #: guix-git/doc/guix.texi:25254
  37299. #, no-wrap
  37300. msgid "\"/path/to/unix/socket\""
  37301. msgstr ""
  37302. #. type: table
  37303. #: guix-git/doc/guix.texi:25256
  37304. msgid "Listen on a unix socket."
  37305. msgstr ""
  37306. #. type: item
  37307. #: guix-git/doc/guix.texi:25258
  37308. #, no-wrap
  37309. msgid "@code{user} (default: @code{php-fpm})"
  37310. msgstr ""
  37311. #. type: table
  37312. #: guix-git/doc/guix.texi:25260
  37313. msgid "User who will own the php worker processes."
  37314. msgstr ""
  37315. #. type: item
  37316. #: guix-git/doc/guix.texi:25260
  37317. #, no-wrap
  37318. msgid "@code{group} (default: @code{php-fpm})"
  37319. msgstr ""
  37320. #. type: table
  37321. #: guix-git/doc/guix.texi:25262
  37322. msgid "Group of the worker processes."
  37323. msgstr ""
  37324. #. type: item
  37325. #: guix-git/doc/guix.texi:25262
  37326. #, no-wrap
  37327. msgid "@code{socket-user} (default: @code{php-fpm})"
  37328. msgstr ""
  37329. #. type: table
  37330. #: guix-git/doc/guix.texi:25264
  37331. msgid "User who can speak to the php-fpm socket."
  37332. msgstr ""
  37333. #. type: item
  37334. #: guix-git/doc/guix.texi:25264
  37335. #, no-wrap
  37336. msgid "@code{socket-group} (default: @code{nginx})"
  37337. msgstr ""
  37338. #. type: table
  37339. #: guix-git/doc/guix.texi:25266
  37340. msgid "Group that can speak to the php-fpm socket."
  37341. msgstr ""
  37342. #. type: item
  37343. #: guix-git/doc/guix.texi:25266
  37344. #, no-wrap
  37345. msgid "@code{pid-file} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.pid\")})"
  37346. msgstr ""
  37347. #. type: table
  37348. #: guix-git/doc/guix.texi:25269
  37349. msgid "The process id of the php-fpm process is written to this file once the service has started."
  37350. msgstr ""
  37351. #. type: item
  37352. #: guix-git/doc/guix.texi:25269
  37353. #, no-wrap
  37354. msgid "@code{log-file} (default: @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.log\")})"
  37355. msgstr ""
  37356. #. type: table
  37357. #: guix-git/doc/guix.texi:25271
  37358. msgid "Log for the php-fpm master process."
  37359. msgstr ""
  37360. #. type: item
  37361. #: guix-git/doc/guix.texi:25271
  37362. #, no-wrap
  37363. msgid "@code{process-manager} (default: @code{(php-fpm-dynamic-process-manager-configuration)})"
  37364. msgstr ""
  37365. #. type: table
  37366. #: guix-git/doc/guix.texi:25274
  37367. msgid "Detailed settings for the php-fpm process manager. Must be one of:"
  37368. msgstr ""
  37369. #. type: code{#1}
  37370. #: guix-git/doc/guix.texi:25275
  37371. #, no-wrap
  37372. msgid "<php-fpm-dynamic-process-manager-configuration>"
  37373. msgstr ""
  37374. #. type: code{#1}
  37375. #: guix-git/doc/guix.texi:25276
  37376. #, no-wrap
  37377. msgid "<php-fpm-static-process-manager-configuration>"
  37378. msgstr ""
  37379. #. type: code{#1}
  37380. #: guix-git/doc/guix.texi:25277
  37381. #, no-wrap
  37382. msgid "<php-fpm-on-demand-process-manager-configuration>"
  37383. msgstr ""
  37384. #. type: item
  37385. #: guix-git/doc/guix.texi:25279
  37386. #, no-wrap
  37387. msgid "@code{display-errors} (default @code{#f})"
  37388. msgstr ""
  37389. #. type: table
  37390. #: guix-git/doc/guix.texi:25284
  37391. 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."
  37392. msgstr ""
  37393. #. type: item
  37394. #: guix-git/doc/guix.texi:25284
  37395. #, no-wrap
  37396. msgid "@code{timezone} (default @code{#f})"
  37397. msgstr ""
  37398. #. type: table
  37399. #: guix-git/doc/guix.texi:25286
  37400. msgid "Specifies @code{php_admin_value[date.timezone]} parameter."
  37401. msgstr ""
  37402. #. type: item
  37403. #: guix-git/doc/guix.texi:25286
  37404. #, no-wrap
  37405. msgid "@code{workers-logfile} (default @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.www.log\")})"
  37406. msgstr ""
  37407. #. type: table
  37408. #: guix-git/doc/guix.texi:25289
  37409. msgid "This file will log the @code{stderr} outputs of php worker processes. Can be set to @code{#f} to disable logging."
  37410. msgstr ""
  37411. #. type: item
  37412. #: guix-git/doc/guix.texi:25289
  37413. #, no-wrap
  37414. msgid "@code{file} (default @code{#f})"
  37415. msgstr "@code{file} (default @code{#f})"
  37416. #. type: table
  37417. #: guix-git/doc/guix.texi:25292
  37418. msgid "An optional override of the whole configuration. You can use the @code{mixed-text-file} function or an absolute filepath for it."
  37419. msgstr ""
  37420. #. type: item
  37421. #: guix-git/doc/guix.texi:25292
  37422. #, no-wrap
  37423. msgid "@code{php-ini-file} (default @code{#f})"
  37424. msgstr ""
  37425. #. type: table
  37426. #: guix-git/doc/guix.texi:25296
  37427. 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."
  37428. msgstr ""
  37429. #. type: table
  37430. #: guix-git/doc/guix.texi:25300
  37431. 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:"
  37432. msgstr ""
  37433. #. type: lisp
  37434. #: guix-git/doc/guix.texi:25305
  37435. #, no-wrap
  37436. msgid ""
  37437. "(define %local-php-ini\n"
  37438. " (plain-file \"php.ini\"\n"
  37439. " \"memory_limit = 2G\n"
  37440. "max_execution_time = 1800\"))\n"
  37441. "\n"
  37442. msgstr ""
  37443. #. type: lisp
  37444. #: guix-git/doc/guix.texi:25312
  37445. #, no-wrap
  37446. msgid ""
  37447. "(operating-system\n"
  37448. " ;; @dots{}\n"
  37449. " (services (cons (service php-fpm-service-type\n"
  37450. " (php-fpm-configuration\n"
  37451. " (php-ini-file %local-php-ini)))\n"
  37452. " %base-services)))\n"
  37453. msgstr ""
  37454. #. type: table
  37455. #: guix-git/doc/guix.texi:25317
  37456. 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."
  37457. msgstr ""
  37458. #. type: deftp
  37459. #: guix-git/doc/guix.texi:25320
  37460. #, no-wrap
  37461. msgid "{Data type} php-fpm-dynamic-process-manager-configuration"
  37462. msgstr ""
  37463. #. type: deftp
  37464. #: guix-git/doc/guix.texi:25324
  37465. 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 it's configured limits."
  37466. msgstr ""
  37467. #. type: item
  37468. #: guix-git/doc/guix.texi:25325 guix-git/doc/guix.texi:25341
  37469. #: guix-git/doc/guix.texi:25351
  37470. #, no-wrap
  37471. msgid "@code{max-children} (default: @code{5})"
  37472. msgstr ""
  37473. #. type: table
  37474. #: guix-git/doc/guix.texi:25327 guix-git/doc/guix.texi:25343
  37475. #: guix-git/doc/guix.texi:25353
  37476. msgid "Maximum of worker processes."
  37477. msgstr ""
  37478. #. type: item
  37479. #: guix-git/doc/guix.texi:25327
  37480. #, no-wrap
  37481. msgid "@code{start-servers} (default: @code{2})"
  37482. msgstr ""
  37483. #. type: table
  37484. #: guix-git/doc/guix.texi:25329
  37485. msgid "How many worker processes should be started on start-up."
  37486. msgstr ""
  37487. #. type: item
  37488. #: guix-git/doc/guix.texi:25329
  37489. #, no-wrap
  37490. msgid "@code{min-spare-servers} (default: @code{1})"
  37491. msgstr ""
  37492. #. type: table
  37493. #: guix-git/doc/guix.texi:25331
  37494. msgid "How many spare worker processes should be kept around at minimum."
  37495. msgstr ""
  37496. #. type: item
  37497. #: guix-git/doc/guix.texi:25331
  37498. #, no-wrap
  37499. msgid "@code{max-spare-servers} (default: @code{3})"
  37500. msgstr ""
  37501. #. type: table
  37502. #: guix-git/doc/guix.texi:25333
  37503. msgid "How many spare worker processes should be kept around at maximum."
  37504. msgstr ""
  37505. #. type: deftp
  37506. #: guix-git/doc/guix.texi:25336
  37507. #, no-wrap
  37508. msgid "{Data type} php-fpm-static-process-manager-configuration"
  37509. msgstr ""
  37510. #. type: deftp
  37511. #: guix-git/doc/guix.texi:25340
  37512. 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."
  37513. msgstr ""
  37514. #. type: deftp
  37515. #: guix-git/doc/guix.texi:25346
  37516. #, no-wrap
  37517. msgid "{Data type} php-fpm-on-demand-process-manager-configuration"
  37518. msgstr ""
  37519. #. type: deftp
  37520. #: guix-git/doc/guix.texi:25350
  37521. 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."
  37522. msgstr ""
  37523. #. type: item
  37524. #: guix-git/doc/guix.texi:25353
  37525. #, no-wrap
  37526. msgid "@code{process-idle-timeout} (default: @code{10})"
  37527. msgstr ""
  37528. #. type: table
  37529. #: guix-git/doc/guix.texi:25355
  37530. msgid "The time in seconds after which a process with no requests is killed."
  37531. msgstr ""
  37532. #. type: deffn
  37533. #: guix-git/doc/guix.texi:25359
  37534. #, no-wrap
  37535. msgid "{Scheme Procedure} nginx-php-location @"
  37536. msgstr ""
  37537. #. type: deffn
  37538. #: guix-git/doc/guix.texi:25365
  37539. 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}."
  37540. msgstr ""
  37541. #. type: Plain text
  37542. #: guix-git/doc/guix.texi:25368
  37543. msgid "A simple services setup for nginx with php can look like this:"
  37544. msgstr ""
  37545. #. type: lisp
  37546. #: guix-git/doc/guix.texi:25381
  37547. #, no-wrap
  37548. msgid ""
  37549. "(services (cons* (service dhcp-client-service-type)\n"
  37550. " (service php-fpm-service-type)\n"
  37551. " (service nginx-service-type\n"
  37552. " (nginx-server-configuration\n"
  37553. " (server-name '(\"example.com\"))\n"
  37554. " (root \"/srv/http/\")\n"
  37555. " (locations\n"
  37556. " (list (nginx-php-location)))\n"
  37557. " (listen '(\"80\"))\n"
  37558. " (ssl-certificate #f)\n"
  37559. " (ssl-certificate-key #f)))\n"
  37560. " %base-services))\n"
  37561. msgstr ""
  37562. #. type: cindex
  37563. #: guix-git/doc/guix.texi:25383
  37564. #, no-wrap
  37565. msgid "cat-avatar-generator"
  37566. msgstr ""
  37567. #. type: Plain text
  37568. #: guix-git/doc/guix.texi:25387
  37569. 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."
  37570. msgstr ""
  37571. #. type: deffn
  37572. #: guix-git/doc/guix.texi:25388
  37573. #, no-wrap
  37574. msgid "{Scheme Procedure} cat-avatar-generator-service @"
  37575. msgstr ""
  37576. #. type: deffn
  37577. #: guix-git/doc/guix.texi:25396
  37578. 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."
  37579. msgstr ""
  37580. #. type: Plain text
  37581. #: guix-git/doc/guix.texi:25399
  37582. msgid "A simple setup for cat-avatar-generator can look like this:"
  37583. msgstr ""
  37584. #. type: lisp
  37585. #: guix-git/doc/guix.texi:25406
  37586. #, no-wrap
  37587. msgid ""
  37588. "(services (cons* (cat-avatar-generator-service\n"
  37589. " #:configuration\n"
  37590. " (nginx-server-configuration\n"
  37591. " (server-name '(\"example.com\"))))\n"
  37592. " ...\n"
  37593. " %base-services))\n"
  37594. msgstr ""
  37595. #. type: subsubheading
  37596. #: guix-git/doc/guix.texi:25408
  37597. #, no-wrap
  37598. msgid "Hpcguix-web"
  37599. msgstr ""
  37600. #. type: cindex
  37601. #: guix-git/doc/guix.texi:25410
  37602. #, no-wrap
  37603. msgid "hpcguix-web"
  37604. msgstr ""
  37605. #. type: Plain text
  37606. #: guix-git/doc/guix.texi:25415
  37607. 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."
  37608. msgstr ""
  37609. #. type: defvr
  37610. #: guix-git/doc/guix.texi:25416
  37611. #, no-wrap
  37612. msgid "{Scheme Variable} hpcguix-web-service-type"
  37613. msgstr ""
  37614. #. type: defvr
  37615. #: guix-git/doc/guix.texi:25418
  37616. msgid "The service type for @code{hpcguix-web}."
  37617. msgstr ""
  37618. #. type: deftp
  37619. #: guix-git/doc/guix.texi:25420
  37620. #, no-wrap
  37621. msgid "{Data Type} hpcguix-web-configuration"
  37622. msgstr ""
  37623. #. type: deftp
  37624. #: guix-git/doc/guix.texi:25422
  37625. msgid "Data type for the hpcguix-web service configuration."
  37626. msgstr ""
  37627. #. type: code{#1}
  37628. #: guix-git/doc/guix.texi:25424
  37629. #, no-wrap
  37630. msgid "specs"
  37631. msgstr ""
  37632. #. type: table
  37633. #: guix-git/doc/guix.texi:25427
  37634. msgid "A gexp (@pxref{G-Expressions}) specifying the hpcguix-web service configuration. The main items available in this spec are:"
  37635. msgstr ""
  37636. #. type: item
  37637. #: guix-git/doc/guix.texi:25429
  37638. #, no-wrap
  37639. msgid "@code{title-prefix} (default: @code{\"hpcguix | \"})"
  37640. msgstr ""
  37641. #. type: table
  37642. #: guix-git/doc/guix.texi:25431
  37643. msgid "The page title prefix."
  37644. msgstr ""
  37645. #. type: item
  37646. #: guix-git/doc/guix.texi:25432
  37647. #, no-wrap
  37648. msgid "@code{guix-command} (default: @code{\"guix\"})"
  37649. msgstr ""
  37650. #. type: table
  37651. #: guix-git/doc/guix.texi:25434
  37652. msgid "The @command{guix} command."
  37653. msgstr ""
  37654. #. type: item
  37655. #: guix-git/doc/guix.texi:25435
  37656. #, no-wrap
  37657. msgid "@code{package-filter-proc} (default: @code{(const #t)})"
  37658. msgstr ""
  37659. #. type: table
  37660. #: guix-git/doc/guix.texi:25437
  37661. msgid "A procedure specifying how to filter packages that are displayed."
  37662. msgstr ""
  37663. #. type: item
  37664. #: guix-git/doc/guix.texi:25438
  37665. #, no-wrap
  37666. msgid "@code{package-page-extension-proc} (default: @code{(const '())})"
  37667. msgstr ""
  37668. #. type: table
  37669. #: guix-git/doc/guix.texi:25440
  37670. msgid "Extension package for @code{hpcguix-web}."
  37671. msgstr ""
  37672. #. type: item
  37673. #: guix-git/doc/guix.texi:25441
  37674. #, no-wrap
  37675. msgid "@code{menu} (default: @code{'()})"
  37676. msgstr ""
  37677. #. type: table
  37678. #: guix-git/doc/guix.texi:25443
  37679. msgid "Additional entry in page @code{menu}."
  37680. msgstr ""
  37681. #. type: item
  37682. #: guix-git/doc/guix.texi:25444
  37683. #, no-wrap
  37684. msgid "@code{channels} (default: @code{%default-channels})"
  37685. msgstr ""
  37686. #. type: table
  37687. #: guix-git/doc/guix.texi:25446
  37688. msgid "List of channels from which the package list is built (@pxref{Channels})."
  37689. msgstr ""
  37690. #. type: item
  37691. #: guix-git/doc/guix.texi:25447
  37692. #, no-wrap
  37693. msgid "@code{package-list-expiration} (default: @code{(* 12 3600)})"
  37694. msgstr ""
  37695. #. type: table
  37696. #: guix-git/doc/guix.texi:25450
  37697. msgid "The expiration time, in seconds, after which the package list is rebuilt from the latest instances of the given channels."
  37698. msgstr ""
  37699. #. type: table
  37700. #: guix-git/doc/guix.texi:25455
  37701. msgid "See the hpcguix-web repository for a @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, complete example}."
  37702. msgstr ""
  37703. #. type: item
  37704. #: guix-git/doc/guix.texi:25456
  37705. #, no-wrap
  37706. msgid "@code{package} (default: @code{hpcguix-web})"
  37707. msgstr ""
  37708. #. type: table
  37709. #: guix-git/doc/guix.texi:25458
  37710. msgid "The hpcguix-web package to use."
  37711. msgstr ""
  37712. #. type: Plain text
  37713. #: guix-git/doc/guix.texi:25462
  37714. msgid "A typical hpcguix-web service declaration looks like this:"
  37715. msgstr ""
  37716. #. type: lisp
  37717. #: guix-git/doc/guix.texi:25471
  37718. #, no-wrap
  37719. msgid ""
  37720. "(service hpcguix-web-service-type\n"
  37721. " (hpcguix-web-configuration\n"
  37722. " (specs\n"
  37723. " #~(define site-config\n"
  37724. " (hpcweb-configuration\n"
  37725. " (title-prefix \"Guix-HPC - \")\n"
  37726. " (menu '((\"/about\" \"ABOUT\"))))))))\n"
  37727. msgstr ""
  37728. #. type: quotation
  37729. #: guix-git/doc/guix.texi:25478
  37730. 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."
  37731. msgstr ""
  37732. #. type: quotation
  37733. #: guix-git/doc/guix.texi:25482
  37734. 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."
  37735. msgstr ""
  37736. #. type: cindex
  37737. #: guix-git/doc/guix.texi:25484 guix-git/doc/guix.texi:25486
  37738. #, no-wrap
  37739. msgid "gmnisrv"
  37740. msgstr ""
  37741. #. type: Plain text
  37742. #: guix-git/doc/guix.texi:25489
  37743. msgid "The @uref{https://git.sr.ht/~sircmpwn/gmnisrv, gmnisrv} program is a simple @uref{https://gemini.circumlunar.space/, Gemini} protocol server."
  37744. msgstr ""
  37745. #. type: deffn
  37746. #: guix-git/doc/guix.texi:25490
  37747. #, no-wrap
  37748. msgid "{Scheme Variable} gmnisrv-service-type"
  37749. msgstr ""
  37750. #. type: deffn
  37751. #: guix-git/doc/guix.texi:25493
  37752. msgid "This is the type of the gmnisrv service, whose value should be a @code{gmnisrv-configuration} object, as in this example:"
  37753. msgstr ""
  37754. #. type: lisp
  37755. #: guix-git/doc/guix.texi:25498
  37756. #, no-wrap
  37757. msgid ""
  37758. "(service gmnisrv-service-type\n"
  37759. " (gmnisrv-configuration\n"
  37760. " (config-file (local-file \"./my-gmnisrv.ini\"))))\n"
  37761. msgstr ""
  37762. #. type: deftp
  37763. #: guix-git/doc/guix.texi:25501
  37764. #, no-wrap
  37765. msgid "{Data Type} gmnisrv-configuration"
  37766. msgstr ""
  37767. #. type: deftp
  37768. #: guix-git/doc/guix.texi:25503
  37769. msgid "Data type representing the configuration of gmnisrv."
  37770. msgstr ""
  37771. #. type: item
  37772. #: guix-git/doc/guix.texi:25505
  37773. #, no-wrap
  37774. msgid "@code{package} (default: @var{gmnisrv})"
  37775. msgstr ""
  37776. #. type: table
  37777. #: guix-git/doc/guix.texi:25507
  37778. msgid "Package object of the gmnisrv server."
  37779. msgstr ""
  37780. #. type: item
  37781. #: guix-git/doc/guix.texi:25508
  37782. #, no-wrap
  37783. msgid "@code{config-file} (default: @code{%default-gmnisrv-config-file})"
  37784. msgstr ""
  37785. #. type: table
  37786. #: guix-git/doc/guix.texi:25514
  37787. 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}."
  37788. msgstr ""
  37789. #. type: subsubheading
  37790. #: guix-git/doc/guix.texi:25518
  37791. #, no-wrap
  37792. msgid "Agate"
  37793. msgstr ""
  37794. #. type: cindex
  37795. #: guix-git/doc/guix.texi:25520
  37796. #, no-wrap
  37797. msgid "agate"
  37798. msgstr ""
  37799. #. type: Plain text
  37800. #: guix-git/doc/guix.texi:25525
  37801. 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."
  37802. msgstr ""
  37803. #. type: deffn
  37804. #: guix-git/doc/guix.texi:25526
  37805. #, no-wrap
  37806. msgid "{Scheme Variable} agate-service-type"
  37807. msgstr ""
  37808. #. type: deffn
  37809. #: guix-git/doc/guix.texi:25529
  37810. msgid "This is the type of the agate service, whose value should be an @code{agate-service-type} object, as in this example:"
  37811. msgstr ""
  37812. #. type: lisp
  37813. #: guix-git/doc/guix.texi:25536
  37814. #, no-wrap
  37815. msgid ""
  37816. "(service agate-service-type\n"
  37817. "\t (agate-configuration\n"
  37818. "\t (content \"/srv/gemini\")\n"
  37819. "\t (cert \"/srv/cert.pem\")\n"
  37820. "\t (key \"/srv/key.rsa\")))\n"
  37821. msgstr ""
  37822. #. type: deffn
  37823. #: guix-git/doc/guix.texi:25541
  37824. 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."
  37825. msgstr ""
  37826. #. type: deffn
  37827. #: guix-git/doc/guix.texi:25544
  37828. msgid "To obtain a certificate and a key, you could, for example, use OpenSSL, running a command similar to the following example:"
  37829. msgstr ""
  37830. #. type: example
  37831. #: guix-git/doc/guix.texi:25548
  37832. #, no-wrap
  37833. msgid ""
  37834. "openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem \\\n"
  37835. " -days 3650 -nodes -subj \"/CN=example.com\"\n"
  37836. msgstr ""
  37837. #. type: deffn
  37838. #: guix-git/doc/guix.texi:25553
  37839. 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."
  37840. msgstr ""
  37841. #. type: deftp
  37842. #: guix-git/doc/guix.texi:25556
  37843. #, no-wrap
  37844. msgid "{Data Type} agate-configuration"
  37845. msgstr ""
  37846. #. type: deftp
  37847. #: guix-git/doc/guix.texi:25558
  37848. msgid "Data type representing the configuration of Agate."
  37849. msgstr ""
  37850. #. type: item
  37851. #: guix-git/doc/guix.texi:25560
  37852. #, no-wrap
  37853. msgid "@code{package} (default: @code{agate})"
  37854. msgstr ""
  37855. #. type: table
  37856. #: guix-git/doc/guix.texi:25562
  37857. msgid "The package object of the Agate server."
  37858. msgstr ""
  37859. #. type: item
  37860. #: guix-git/doc/guix.texi:25563
  37861. #, no-wrap
  37862. msgid "@code{content} (default: @file{\"/srv/gemini\"})"
  37863. msgstr ""
  37864. #. type: table
  37865. #: guix-git/doc/guix.texi:25565
  37866. msgid "The directory from which Agate will serve files."
  37867. msgstr ""
  37868. #. type: item
  37869. #: guix-git/doc/guix.texi:25566
  37870. #, no-wrap
  37871. msgid "@code{cert} (default: @code{#f})"
  37872. msgstr ""
  37873. #. type: table
  37874. #: guix-git/doc/guix.texi:25569
  37875. 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."
  37876. msgstr ""
  37877. #. type: item
  37878. #: guix-git/doc/guix.texi:25570 guix-git/doc/guix.texi:25998
  37879. #, no-wrap
  37880. msgid "@code{key} (default: @code{#f})"
  37881. msgstr "@code{key} (default: @code{#f})"
  37882. #. type: table
  37883. #: guix-git/doc/guix.texi:25573
  37884. 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."
  37885. msgstr ""
  37886. #. type: item
  37887. #: guix-git/doc/guix.texi:25574
  37888. #, no-wrap
  37889. msgid "@code{addr} (default: @code{'(\"0.0.0.0:1965\" \"[::]:1965\")})"
  37890. msgstr ""
  37891. #. type: table
  37892. #: guix-git/doc/guix.texi:25576
  37893. msgid "A list of the addresses to listen on."
  37894. msgstr ""
  37895. #. type: table
  37896. #: guix-git/doc/guix.texi:25579
  37897. msgid "The domain name of this Gemini server. Optional."
  37898. msgstr ""
  37899. #. type: item
  37900. #: guix-git/doc/guix.texi:25580
  37901. #, no-wrap
  37902. msgid "@code{lang} (default: @code{#f})"
  37903. msgstr ""
  37904. #. type: table
  37905. #: guix-git/doc/guix.texi:25582
  37906. msgid "RFC 4646 language code(s) for text/gemini documents. Optional."
  37907. msgstr ""
  37908. #. type: item
  37909. #: guix-git/doc/guix.texi:25583
  37910. #, no-wrap
  37911. msgid "@code{silent?} (default: @code{#f})"
  37912. msgstr ""
  37913. #. type: table
  37914. #: guix-git/doc/guix.texi:25585
  37915. msgid "Set to @code{#t} to disable logging output."
  37916. msgstr ""
  37917. #. type: item
  37918. #: guix-git/doc/guix.texi:25586
  37919. #, no-wrap
  37920. msgid "@code{serve-secret?} (default: @code{#f})"
  37921. msgstr ""
  37922. #. type: table
  37923. #: guix-git/doc/guix.texi:25589
  37924. msgid "Set to @code{#t} to serve secret files (files/directories starting with a dot)."
  37925. msgstr ""
  37926. #. type: item
  37927. #: guix-git/doc/guix.texi:25590
  37928. #, no-wrap
  37929. msgid "@code{log-ip?} (default: @code{#t})"
  37930. msgstr ""
  37931. #. type: table
  37932. #: guix-git/doc/guix.texi:25592
  37933. msgid "Whether or not to output IP addresses when logging."
  37934. msgstr ""
  37935. #. type: item
  37936. #: guix-git/doc/guix.texi:25593
  37937. #, no-wrap
  37938. msgid "@code{user} (default: @code{\"agate\"})"
  37939. msgstr ""
  37940. #. type: table
  37941. #: guix-git/doc/guix.texi:25595
  37942. msgid "Owner of the @code{agate} process."
  37943. msgstr ""
  37944. #. type: item
  37945. #: guix-git/doc/guix.texi:25596
  37946. #, no-wrap
  37947. msgid "@code{group} (default: @code{\"agate\"})"
  37948. msgstr ""
  37949. #. type: table
  37950. #: guix-git/doc/guix.texi:25598
  37951. msgid "Owner's group of the @code{agate} process."
  37952. msgstr ""
  37953. #. type: item
  37954. #: guix-git/doc/guix.texi:25599
  37955. #, no-wrap
  37956. msgid "@code{log-file} (default: @file{\"/var/log/agate.log\"})"
  37957. msgstr ""
  37958. #. type: table
  37959. #: guix-git/doc/guix.texi:25601
  37960. msgid "The file which should store the logging output of Agate."
  37961. msgstr ""
  37962. #. type: cindex
  37963. #: guix-git/doc/guix.texi:25608
  37964. #, no-wrap
  37965. msgid "Web"
  37966. msgstr ""
  37967. #. type: cindex
  37968. #: guix-git/doc/guix.texi:25609
  37969. #, no-wrap
  37970. msgid "HTTP, HTTPS"
  37971. msgstr ""
  37972. #. type: cindex
  37973. #: guix-git/doc/guix.texi:25610
  37974. #, no-wrap
  37975. msgid "Let's Encrypt"
  37976. msgstr ""
  37977. #. type: cindex
  37978. #: guix-git/doc/guix.texi:25611
  37979. #, no-wrap
  37980. msgid "TLS certificates"
  37981. msgstr ""
  37982. #. type: Plain text
  37983. #: guix-git/doc/guix.texi:25618
  37984. 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."
  37985. msgstr ""
  37986. #. type: Plain text
  37987. #: guix-git/doc/guix.texi:25630
  37988. 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."
  37989. msgstr ""
  37990. #. type: Plain text
  37991. #: guix-git/doc/guix.texi:25637
  37992. 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)."
  37993. msgstr ""
  37994. #. type: Plain text
  37995. #: guix-git/doc/guix.texi:25643
  37996. 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."
  37997. msgstr ""
  37998. #. type: Plain text
  37999. #: guix-git/doc/guix.texi:25647
  38000. 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}."
  38001. msgstr ""
  38002. #. type: defvr
  38003. #: guix-git/doc/guix.texi:25648
  38004. #, no-wrap
  38005. msgid "{Scheme Variable} certbot-service-type"
  38006. msgstr ""
  38007. #. type: defvr
  38008. #: guix-git/doc/guix.texi:25651
  38009. 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:"
  38010. msgstr ""
  38011. #. type: lisp
  38012. #: guix-git/doc/guix.texi:25658
  38013. #, no-wrap
  38014. msgid ""
  38015. "(define %nginx-deploy-hook\n"
  38016. " (program-file\n"
  38017. " \"nginx-deploy-hook\"\n"
  38018. " #~(let ((pid (call-with-input-file \"/var/run/nginx/pid\" read)))\n"
  38019. " (kill pid SIGHUP))))\n"
  38020. "\n"
  38021. msgstr ""
  38022. #. type: lisp
  38023. #: guix-git/doc/guix.texi:25669
  38024. #, no-wrap
  38025. msgid ""
  38026. "(service certbot-service-type\n"
  38027. " (certbot-configuration\n"
  38028. " (email \"foo@@example.net\")\n"
  38029. " (certificates\n"
  38030. " (list\n"
  38031. " (certificate-configuration\n"
  38032. " (domains '(\"example.net\" \"www.example.net\"))\n"
  38033. " (deploy-hook %nginx-deploy-hook))\n"
  38034. " (certificate-configuration\n"
  38035. " (domains '(\"bar.example.net\")))))))\n"
  38036. msgstr ""
  38037. #. type: defvr
  38038. #: guix-git/doc/guix.texi:25672
  38039. msgid "See below for details about @code{certbot-configuration}."
  38040. msgstr ""
  38041. #. type: deftp
  38042. #: guix-git/doc/guix.texi:25674
  38043. #, no-wrap
  38044. msgid "{Data Type} certbot-configuration"
  38045. msgstr ""
  38046. #. type: deftp
  38047. #: guix-git/doc/guix.texi:25677
  38048. msgid "Data type representing the configuration of the @code{certbot} service. This type has the following parameters:"
  38049. msgstr ""
  38050. #. type: item
  38051. #: guix-git/doc/guix.texi:25679
  38052. #, no-wrap
  38053. msgid "@code{package} (default: @code{certbot})"
  38054. msgstr ""
  38055. #. type: table
  38056. #: guix-git/doc/guix.texi:25681
  38057. msgid "The certbot package to use."
  38058. msgstr ""
  38059. #. type: item
  38060. #: guix-git/doc/guix.texi:25682
  38061. #, no-wrap
  38062. msgid "@code{webroot} (default: @code{/var/www})"
  38063. msgstr ""
  38064. #. type: table
  38065. #: guix-git/doc/guix.texi:25685
  38066. msgid "The directory from which to serve the Let's Encrypt challenge/response files."
  38067. msgstr ""
  38068. #. type: item
  38069. #: guix-git/doc/guix.texi:25686
  38070. #, no-wrap
  38071. msgid "@code{certificates} (default: @code{()})"
  38072. msgstr ""
  38073. #. type: table
  38074. #: guix-git/doc/guix.texi:25690
  38075. 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}."
  38076. msgstr ""
  38077. #. type: item
  38078. #: guix-git/doc/guix.texi:25691
  38079. #, no-wrap
  38080. msgid "@code{email} (default: @code{#f})"
  38081. msgstr ""
  38082. #. type: table
  38083. #: guix-git/doc/guix.texi:25695
  38084. 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."
  38085. msgstr ""
  38086. #. type: item
  38087. #: guix-git/doc/guix.texi:25696 guix-git/doc/guix.texi:27376
  38088. #, no-wrap
  38089. msgid "@code{server} (default: @code{#f})"
  38090. msgstr ""
  38091. #. type: table
  38092. #: guix-git/doc/guix.texi:25699
  38093. msgid "Optional URL of ACME server. Setting this overrides certbot's default, which is the Let's Encrypt server."
  38094. msgstr ""
  38095. #. type: item
  38096. #: guix-git/doc/guix.texi:25700
  38097. #, no-wrap
  38098. msgid "@code{rsa-key-size} (default: @code{2048})"
  38099. msgstr ""
  38100. #. type: table
  38101. #: guix-git/doc/guix.texi:25702
  38102. msgid "Size of the RSA key."
  38103. msgstr ""
  38104. #. type: item
  38105. #: guix-git/doc/guix.texi:25703
  38106. #, no-wrap
  38107. msgid "@code{default-location} (default: @i{see below})"
  38108. msgstr ""
  38109. #. type: table
  38110. #: guix-git/doc/guix.texi:25712
  38111. 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."
  38112. msgstr ""
  38113. #. type: table
  38114. #: guix-git/doc/guix.texi:25716
  38115. 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."
  38116. msgstr ""
  38117. #. type: table
  38118. #: guix-git/doc/guix.texi:25720
  38119. 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}."
  38120. msgstr ""
  38121. #. type: table
  38122. #: guix-git/doc/guix.texi:25722
  38123. msgid "Pass @code{#f} to not issue a default location."
  38124. msgstr ""
  38125. #. type: deftp
  38126. #: guix-git/doc/guix.texi:25725
  38127. #, no-wrap
  38128. msgid "{Data Type} certificate-configuration"
  38129. msgstr ""
  38130. #. type: deftp
  38131. #: guix-git/doc/guix.texi:25728
  38132. msgid "Data type representing the configuration of a certificate. This type has the following parameters:"
  38133. msgstr ""
  38134. #. type: item
  38135. #: guix-git/doc/guix.texi:25730
  38136. #, no-wrap
  38137. msgid "@code{name} (default: @i{see below})"
  38138. msgstr ""
  38139. #. type: table
  38140. #: guix-git/doc/guix.texi:25734
  38141. 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}."
  38142. msgstr ""
  38143. #. type: table
  38144. #: guix-git/doc/guix.texi:25736
  38145. msgid "Its default is the first provided domain."
  38146. msgstr ""
  38147. #. type: item
  38148. #: guix-git/doc/guix.texi:25737
  38149. #, no-wrap
  38150. msgid "@code{domains} (default: @code{()})"
  38151. msgstr ""
  38152. #. type: table
  38153. #: guix-git/doc/guix.texi:25740
  38154. msgid "The first domain provided will be the subject CN of the certificate, and all domains will be Subject Alternative Names on the certificate."
  38155. msgstr ""
  38156. #. type: item
  38157. #: guix-git/doc/guix.texi:25741
  38158. #, no-wrap
  38159. msgid "@code{challenge} (default: @code{#f})"
  38160. msgstr "@code{challenge} (default: @code{#f})"
  38161. #. type: table
  38162. #: guix-git/doc/guix.texi:25748
  38163. 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."
  38164. msgstr ""
  38165. #. type: item
  38166. #: guix-git/doc/guix.texi:25749
  38167. #, no-wrap
  38168. msgid "@code{authentication-hook} (default: @code{#f})"
  38169. msgstr "@code{authentication-hook} (default: @code{#f})"
  38170. #. type: table
  38171. #: guix-git/doc/guix.texi:25755
  38172. 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."
  38173. msgstr ""
  38174. #. type: item
  38175. #: guix-git/doc/guix.texi:25756
  38176. #, no-wrap
  38177. msgid "@code{cleanup-hook} (default: @code{#f})"
  38178. msgstr "@code{cleanup-hook} (default: @code{#f})"
  38179. #. type: table
  38180. #: guix-git/doc/guix.texi:25762
  38181. 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."
  38182. msgstr ""
  38183. #. type: item
  38184. #: guix-git/doc/guix.texi:25763
  38185. #, no-wrap
  38186. msgid "@code{deploy-hook} (default: @code{#f})"
  38187. msgstr ""
  38188. #. type: table
  38189. #: guix-git/doc/guix.texi:25771
  38190. 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\"}."
  38191. msgstr ""
  38192. #. type: Plain text
  38193. #: guix-git/doc/guix.texi:25778
  38194. 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}."
  38195. msgstr ""
  38196. #. type: cindex
  38197. #: guix-git/doc/guix.texi:25780
  38198. #, no-wrap
  38199. msgid "DNS (domain name system)"
  38200. msgstr ""
  38201. #. type: cindex
  38202. #: guix-git/doc/guix.texi:25781
  38203. #, no-wrap
  38204. msgid "domain name system (DNS)"
  38205. msgstr ""
  38206. #. type: Plain text
  38207. #: guix-git/doc/guix.texi:25789
  38208. 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}."
  38209. msgstr ""
  38210. #. type: subsubheading
  38211. #: guix-git/doc/guix.texi:25790
  38212. #, no-wrap
  38213. msgid "Knot Service"
  38214. msgstr ""
  38215. #. type: Plain text
  38216. #: guix-git/doc/guix.texi:25794
  38217. msgid "An example configuration of an authoritative server for two zones, one master and one slave, is:"
  38218. msgstr ""
  38219. #. type: lisp
  38220. #: guix-git/doc/guix.texi:25801
  38221. #, no-wrap
  38222. msgid ""
  38223. "(define-zone-entries example.org.zone\n"
  38224. ";; Name TTL Class Type Data\n"
  38225. " (\"@@\" \"\" \"IN\" \"A\" \"127.0.0.1\")\n"
  38226. " (\"@@\" \"\" \"IN\" \"NS\" \"ns\")\n"
  38227. " (\"ns\" \"\" \"IN\" \"A\" \"127.0.0.1\"))\n"
  38228. "\n"
  38229. msgstr ""
  38230. #. type: lisp
  38231. #: guix-git/doc/guix.texi:25808
  38232. #, no-wrap
  38233. msgid ""
  38234. "(define master-zone\n"
  38235. " (knot-zone-configuration\n"
  38236. " (domain \"example.org\")\n"
  38237. " (zone (zone-file\n"
  38238. " (origin \"example.org\")\n"
  38239. " (entries example.org.zone)))))\n"
  38240. "\n"
  38241. msgstr ""
  38242. #. type: lisp
  38243. #: guix-git/doc/guix.texi:25814
  38244. #, no-wrap
  38245. msgid ""
  38246. "(define slave-zone\n"
  38247. " (knot-zone-configuration\n"
  38248. " (domain \"plop.org\")\n"
  38249. " (dnssec-policy \"default\")\n"
  38250. " (master (list \"plop-master\"))))\n"
  38251. "\n"
  38252. msgstr ""
  38253. #. type: lisp
  38254. #: guix-git/doc/guix.texi:25819
  38255. #, no-wrap
  38256. msgid ""
  38257. "(define plop-master\n"
  38258. " (knot-remote-configuration\n"
  38259. " (id \"plop-master\")\n"
  38260. " (address (list \"208.76.58.171\"))))\n"
  38261. "\n"
  38262. msgstr ""
  38263. #. type: lisp
  38264. #: guix-git/doc/guix.texi:25828
  38265. #, no-wrap
  38266. msgid ""
  38267. "(operating-system\n"
  38268. " ;; ...\n"
  38269. " (services (cons* (service knot-service-type\n"
  38270. " (knot-configuration\n"
  38271. " (remotes (list plop-master))\n"
  38272. " (zones (list master-zone slave-zone))))\n"
  38273. " ;; ...\n"
  38274. " %base-services)))\n"
  38275. msgstr ""
  38276. #. type: deffn
  38277. #: guix-git/doc/guix.texi:25830
  38278. #, no-wrap
  38279. msgid "{Scheme Variable} knot-service-type"
  38280. msgstr ""
  38281. #. type: deffn
  38282. #: guix-git/doc/guix.texi:25832
  38283. msgid "This is the type for the Knot DNS server."
  38284. msgstr ""
  38285. #. type: deffn
  38286. #: guix-git/doc/guix.texi:25840
  38287. 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."
  38288. msgstr ""
  38289. #. type: deffn
  38290. #: guix-git/doc/guix.texi:25842
  38291. msgid "The following data types are used to configure the Knot DNS server:"
  38292. msgstr ""
  38293. #. type: deftp
  38294. #: guix-git/doc/guix.texi:25844
  38295. #, no-wrap
  38296. msgid "{Data Type} knot-key-configuration"
  38297. msgstr ""
  38298. #. type: deftp
  38299. #: guix-git/doc/guix.texi:25847
  38300. msgid "Data type representing a key. This type has the following parameters:"
  38301. msgstr ""
  38302. #. type: item
  38303. #: guix-git/doc/guix.texi:25849 guix-git/doc/guix.texi:25869
  38304. #: guix-git/doc/guix.texi:25984 guix-git/doc/guix.texi:26010
  38305. #: guix-git/doc/guix.texi:26045
  38306. #, no-wrap
  38307. msgid "@code{id} (default: @code{\"\"})"
  38308. msgstr ""
  38309. #. type: table
  38310. #: guix-git/doc/guix.texi:25852 guix-git/doc/guix.texi:25872
  38311. msgid "An identifier for other configuration fields to refer to this key. IDs must be unique and must not be empty."
  38312. msgstr ""
  38313. #. type: item
  38314. #: guix-git/doc/guix.texi:25853
  38315. #, no-wrap
  38316. msgid "@code{algorithm} (default: @code{#f})"
  38317. msgstr "@code{algorithm} (default: @code{#f})"
  38318. #. type: table
  38319. #: guix-git/doc/guix.texi:25857
  38320. 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}."
  38321. msgstr ""
  38322. #. type: item
  38323. #: guix-git/doc/guix.texi:25858
  38324. #, no-wrap
  38325. msgid "@code{secret} (default: @code{\"\"})"
  38326. msgstr ""
  38327. #. type: table
  38328. #: guix-git/doc/guix.texi:25860
  38329. msgid "The secret key itself."
  38330. msgstr ""
  38331. #. type: deftp
  38332. #: guix-git/doc/guix.texi:25864
  38333. #, no-wrap
  38334. msgid "{Data Type} knot-acl-configuration"
  38335. msgstr ""
  38336. #. type: deftp
  38337. #: guix-git/doc/guix.texi:25867
  38338. msgid "Data type representing an Access Control List (ACL) configuration. This type has the following parameters:"
  38339. msgstr ""
  38340. #. type: item
  38341. #: guix-git/doc/guix.texi:25873 guix-git/doc/guix.texi:25988
  38342. #, no-wrap
  38343. msgid "@code{address} (default: @code{'()})"
  38344. msgstr ""
  38345. #. type: table
  38346. #: guix-git/doc/guix.texi:25877
  38347. 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."
  38348. msgstr ""
  38349. #. type: item
  38350. #: guix-git/doc/guix.texi:25878
  38351. #, no-wrap
  38352. msgid "@code{key} (default: @code{'()})"
  38353. msgstr ""
  38354. #. type: table
  38355. #: guix-git/doc/guix.texi:25882
  38356. 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."
  38357. msgstr ""
  38358. #. type: item
  38359. #: guix-git/doc/guix.texi:25883
  38360. #, no-wrap
  38361. msgid "@code{action} (default: @code{'()})"
  38362. msgstr ""
  38363. #. type: table
  38364. #: guix-git/doc/guix.texi:25887
  38365. 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}."
  38366. msgstr ""
  38367. #. type: item
  38368. #: guix-git/doc/guix.texi:25888
  38369. #, no-wrap
  38370. msgid "@code{deny?} (default: @code{#f})"
  38371. msgstr "@code{deny?} (padrão: @code{#f})"
  38372. #. type: table
  38373. #: guix-git/doc/guix.texi:25891
  38374. msgid "When true, the ACL defines restrictions. Listed actions are forbidden. When false, listed actions are allowed."
  38375. msgstr ""
  38376. #. type: deftp
  38377. #: guix-git/doc/guix.texi:25895
  38378. #, no-wrap
  38379. msgid "{Data Type} zone-entry"
  38380. msgstr ""
  38381. #. type: deftp
  38382. #: guix-git/doc/guix.texi:25898
  38383. msgid "Data type representing a record entry in a zone file. This type has the following parameters:"
  38384. msgstr ""
  38385. #. type: item
  38386. #: guix-git/doc/guix.texi:25900
  38387. #, no-wrap
  38388. msgid "@code{name} (default: @code{\"@@\"})"
  38389. msgstr ""
  38390. #. type: table
  38391. #: guix-git/doc/guix.texi:25906
  38392. 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}."
  38393. msgstr ""
  38394. #. type: item
  38395. #: guix-git/doc/guix.texi:25907
  38396. #, no-wrap
  38397. msgid "@code{ttl} (default: @code{\"\"})"
  38398. msgstr ""
  38399. #. type: table
  38400. #: guix-git/doc/guix.texi:25909
  38401. msgid "The Time-To-Live (TTL) of this record. If not set, the default TTL is used."
  38402. msgstr ""
  38403. #. type: item
  38404. #: guix-git/doc/guix.texi:25910
  38405. #, no-wrap
  38406. msgid "@code{class} (default: @code{\"IN\"})"
  38407. msgstr ""
  38408. #. type: table
  38409. #: guix-git/doc/guix.texi:25913
  38410. msgid "The class of the record. Knot currently supports only @code{\"IN\"} and partially @code{\"CH\"}."
  38411. msgstr ""
  38412. #. type: item
  38413. #: guix-git/doc/guix.texi:25914
  38414. #, no-wrap
  38415. msgid "@code{type} (default: @code{\"A\"})"
  38416. msgstr ""
  38417. #. type: table
  38418. #: guix-git/doc/guix.texi:25918
  38419. 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."
  38420. msgstr ""
  38421. #. type: item
  38422. #: guix-git/doc/guix.texi:25919
  38423. #, no-wrap
  38424. msgid "@code{data} (default: @code{\"\"})"
  38425. msgstr ""
  38426. #. type: table
  38427. #: guix-git/doc/guix.texi:25923
  38428. 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."
  38429. msgstr ""
  38430. #. type: deftp
  38431. #: guix-git/doc/guix.texi:25927
  38432. #, no-wrap
  38433. msgid "{Data Type} zone-file"
  38434. msgstr ""
  38435. #. type: deftp
  38436. #: guix-git/doc/guix.texi:25930
  38437. msgid "Data type representing the content of a zone file. This type has the following parameters:"
  38438. msgstr ""
  38439. #. type: table
  38440. #: guix-git/doc/guix.texi:25939
  38441. 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}."
  38442. msgstr ""
  38443. #. type: item
  38444. #: guix-git/doc/guix.texi:25940
  38445. #, no-wrap
  38446. msgid "@code{origin} (default: @code{\"\"})"
  38447. msgstr ""
  38448. #. type: table
  38449. #: guix-git/doc/guix.texi:25942
  38450. msgid "The name of your zone. This parameter cannot be empty."
  38451. msgstr ""
  38452. #. type: item
  38453. #: guix-git/doc/guix.texi:25943
  38454. #, no-wrap
  38455. msgid "@code{ns} (default: @code{\"ns\"})"
  38456. msgstr ""
  38457. #. type: table
  38458. #: guix-git/doc/guix.texi:25948
  38459. 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."
  38460. msgstr ""
  38461. #. type: item
  38462. #: guix-git/doc/guix.texi:25949
  38463. #, no-wrap
  38464. msgid "@code{mail} (default: @code{\"hostmaster\"})"
  38465. msgstr ""
  38466. #. type: table
  38467. #: guix-git/doc/guix.texi:25952
  38468. msgid "An email address people can contact you at, as the owner of the zone. This is translated as @code{<mail>@@<origin>}."
  38469. msgstr ""
  38470. #. type: item
  38471. #: guix-git/doc/guix.texi:25953
  38472. #, no-wrap
  38473. msgid "@code{serial} (default: @code{1})"
  38474. msgstr ""
  38475. #. type: table
  38476. #: guix-git/doc/guix.texi:25957
  38477. 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."
  38478. msgstr ""
  38479. #. type: item
  38480. #: guix-git/doc/guix.texi:25958
  38481. #, no-wrap
  38482. msgid "@code{refresh} (default: @code{(* 2 24 3600)})"
  38483. msgstr ""
  38484. #. type: table
  38485. #: guix-git/doc/guix.texi:25962
  38486. 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)}."
  38487. msgstr ""
  38488. #. type: item
  38489. #: guix-git/doc/guix.texi:25963
  38490. #, no-wrap
  38491. msgid "@code{retry} (default: @code{(* 15 60)})"
  38492. msgstr ""
  38493. #. type: table
  38494. #: guix-git/doc/guix.texi:25966
  38495. msgid "The period after which a slave will retry to contact its master when it fails to do so a first time."
  38496. msgstr ""
  38497. #. type: item
  38498. #: guix-git/doc/guix.texi:25967
  38499. #, no-wrap
  38500. msgid "@code{expiry} (default: @code{(* 14 24 3600)})"
  38501. msgstr ""
  38502. #. type: table
  38503. #: guix-git/doc/guix.texi:25971
  38504. 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."
  38505. msgstr ""
  38506. #. type: item
  38507. #: guix-git/doc/guix.texi:25972
  38508. #, no-wrap
  38509. msgid "@code{nx} (default: @code{3600})"
  38510. msgstr ""
  38511. #. type: table
  38512. #: guix-git/doc/guix.texi:25975
  38513. msgid "Default TTL of inexistent records. This delay is usually short because you want your new domains to reach everyone quickly."
  38514. msgstr ""
  38515. #. type: deftp
  38516. #: guix-git/doc/guix.texi:25979
  38517. #, no-wrap
  38518. msgid "{Data Type} knot-remote-configuration"
  38519. msgstr ""
  38520. #. type: deftp
  38521. #: guix-git/doc/guix.texi:25982
  38522. msgid "Data type representing a remote configuration. This type has the following parameters:"
  38523. msgstr ""
  38524. #. type: table
  38525. #: guix-git/doc/guix.texi:25987
  38526. msgid "An identifier for other configuration fields to refer to this remote. IDs must be unique and must not be empty."
  38527. msgstr ""
  38528. #. type: table
  38529. #: guix-git/doc/guix.texi:25992
  38530. 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."
  38531. msgstr ""
  38532. #. type: item
  38533. #: guix-git/doc/guix.texi:25993
  38534. #, no-wrap
  38535. msgid "@code{via} (default: @code{'()})"
  38536. msgstr ""
  38537. #. type: table
  38538. #: guix-git/doc/guix.texi:25997
  38539. 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."
  38540. msgstr ""
  38541. #. type: table
  38542. #: guix-git/doc/guix.texi:26001
  38543. msgid "A reference to a key, that is a string containing the identifier of a key defined in a @code{knot-key-configuration} field."
  38544. msgstr ""
  38545. #. type: deftp
  38546. #: guix-git/doc/guix.texi:26005
  38547. #, no-wrap
  38548. msgid "{Data Type} knot-keystore-configuration"
  38549. msgstr ""
  38550. #. type: deftp
  38551. #: guix-git/doc/guix.texi:26008
  38552. msgid "Data type representing a keystore to hold dnssec keys. This type has the following parameters:"
  38553. msgstr ""
  38554. #. type: table
  38555. #: guix-git/doc/guix.texi:26012
  38556. msgid "The id of the keystore. It must not be empty."
  38557. msgstr ""
  38558. #. type: item
  38559. #: guix-git/doc/guix.texi:26013
  38560. #, no-wrap
  38561. msgid "@code{backend} (default: @code{'pem})"
  38562. msgstr ""
  38563. #. type: table
  38564. #: guix-git/doc/guix.texi:26015
  38565. msgid "The backend to store the keys in. Can be @code{'pem} or @code{'pkcs11}."
  38566. msgstr ""
  38567. #. type: item
  38568. #: guix-git/doc/guix.texi:26016
  38569. #, no-wrap
  38570. msgid "@code{config} (default: @code{\"/var/lib/knot/keys/keys\"})"
  38571. msgstr ""
  38572. #. type: table
  38573. #: guix-git/doc/guix.texi:26020
  38574. 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."
  38575. msgstr ""
  38576. #. type: deftp
  38577. #: guix-git/doc/guix.texi:26024
  38578. #, no-wrap
  38579. msgid "{Data Type} knot-policy-configuration"
  38580. msgstr ""
  38581. #. type: deftp
  38582. #: guix-git/doc/guix.texi:26028
  38583. 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."
  38584. msgstr ""
  38585. #. type: deftp
  38586. #: guix-git/doc/guix.texi:26035
  38587. 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."
  38588. msgstr ""
  38589. #. type: deftp
  38590. #: guix-git/doc/guix.texi:26041
  38591. 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."
  38592. msgstr ""
  38593. #. type: deftp
  38594. #: guix-git/doc/guix.texi:26043
  38595. msgid "This type has the following parameters:"
  38596. msgstr ""
  38597. #. type: table
  38598. #: guix-git/doc/guix.texi:26047
  38599. msgid "The id of the policy. It must not be empty."
  38600. msgstr ""
  38601. #. type: item
  38602. #: guix-git/doc/guix.texi:26048
  38603. #, no-wrap
  38604. msgid "@code{keystore} (default: @code{\"default\"})"
  38605. msgstr ""
  38606. #. type: table
  38607. #: guix-git/doc/guix.texi:26053
  38608. 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)."
  38609. msgstr ""
  38610. #. type: item
  38611. #: guix-git/doc/guix.texi:26054
  38612. #, no-wrap
  38613. msgid "@code{manual?} (default: @code{#f})"
  38614. msgstr "@code{manual?} (default: @code{#f})"
  38615. #. type: table
  38616. #: guix-git/doc/guix.texi:26056
  38617. msgid "Whether the key management is manual or automatic."
  38618. msgstr ""
  38619. #. type: item
  38620. #: guix-git/doc/guix.texi:26057
  38621. #, no-wrap
  38622. msgid "@code{single-type-signing?} (default: @code{#f})"
  38623. msgstr ""
  38624. #. type: table
  38625. #: guix-git/doc/guix.texi:26059
  38626. msgid "When @code{#t}, use the Single-Type Signing Scheme."
  38627. msgstr ""
  38628. #. type: item
  38629. #: guix-git/doc/guix.texi:26060
  38630. #, no-wrap
  38631. msgid "@code{algorithm} (default: @code{\"ecdsap256sha256\"})"
  38632. msgstr ""
  38633. #. type: table
  38634. #: guix-git/doc/guix.texi:26062
  38635. msgid "An algorithm of signing keys and issued signatures."
  38636. msgstr ""
  38637. #. type: item
  38638. #: guix-git/doc/guix.texi:26063
  38639. #, no-wrap
  38640. msgid "@code{ksk-size} (default: @code{256})"
  38641. msgstr ""
  38642. #. type: table
  38643. #: guix-git/doc/guix.texi:26066
  38644. msgid "The length of the KSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  38645. msgstr ""
  38646. #. type: item
  38647. #: guix-git/doc/guix.texi:26067
  38648. #, no-wrap
  38649. msgid "@code{zsk-size} (default: @code{256})"
  38650. msgstr ""
  38651. #. type: table
  38652. #: guix-git/doc/guix.texi:26070
  38653. msgid "The length of the ZSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  38654. msgstr ""
  38655. #. type: item
  38656. #: guix-git/doc/guix.texi:26071
  38657. #, no-wrap
  38658. msgid "@code{dnskey-ttl} (default: @code{'default})"
  38659. msgstr ""
  38660. #. type: table
  38661. #: guix-git/doc/guix.texi:26074
  38662. msgid "The TTL value for DNSKEY records added into zone apex. The special @code{'default} value means same as the zone SOA TTL."
  38663. msgstr ""
  38664. #. type: item
  38665. #: guix-git/doc/guix.texi:26075
  38666. #, no-wrap
  38667. msgid "@code{zsk-lifetime} (default: @code{(* 30 24 3600)})"
  38668. msgstr ""
  38669. #. type: table
  38670. #: guix-git/doc/guix.texi:26077
  38671. msgid "The period between ZSK publication and the next rollover initiation."
  38672. msgstr ""
  38673. #. type: item
  38674. #: guix-git/doc/guix.texi:26078
  38675. #, no-wrap
  38676. msgid "@code{propagation-delay} (default: @code{(* 24 3600)})"
  38677. msgstr ""
  38678. #. type: table
  38679. #: guix-git/doc/guix.texi:26081
  38680. 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."
  38681. msgstr ""
  38682. #. type: item
  38683. #: guix-git/doc/guix.texi:26082
  38684. #, no-wrap
  38685. msgid "@code{rrsig-lifetime} (default: @code{(* 14 24 3600)})"
  38686. msgstr ""
  38687. #. type: table
  38688. #: guix-git/doc/guix.texi:26084
  38689. msgid "A validity period of newly issued signatures."
  38690. msgstr ""
  38691. #. type: item
  38692. #: guix-git/doc/guix.texi:26085
  38693. #, no-wrap
  38694. msgid "@code{rrsig-refresh} (default: @code{(* 7 24 3600)})"
  38695. msgstr ""
  38696. #. type: table
  38697. #: guix-git/doc/guix.texi:26087
  38698. msgid "A period how long before a signature expiration the signature will be refreshed."
  38699. msgstr ""
  38700. #. type: item
  38701. #: guix-git/doc/guix.texi:26088
  38702. #, no-wrap
  38703. msgid "@code{nsec3?} (default: @code{#f})"
  38704. msgstr "@code{nsec3?} (padrão: @code{#f})"
  38705. #. type: table
  38706. #: guix-git/doc/guix.texi:26090
  38707. msgid "When @code{#t}, NSEC3 will be used instead of NSEC."
  38708. msgstr ""
  38709. #. type: item
  38710. #: guix-git/doc/guix.texi:26091
  38711. #, no-wrap
  38712. msgid "@code{nsec3-iterations} (default: @code{5})"
  38713. msgstr ""
  38714. #. type: table
  38715. #: guix-git/doc/guix.texi:26093
  38716. msgid "The number of additional times the hashing is performed."
  38717. msgstr ""
  38718. #. type: item
  38719. #: guix-git/doc/guix.texi:26094
  38720. #, no-wrap
  38721. msgid "@code{nsec3-salt-length} (default: @code{8})"
  38722. msgstr ""
  38723. #. type: table
  38724. #: guix-git/doc/guix.texi:26097
  38725. msgid "The length of a salt field in octets, which is appended to the original owner name before hashing."
  38726. msgstr ""
  38727. #. type: item
  38728. #: guix-git/doc/guix.texi:26098
  38729. #, no-wrap
  38730. msgid "@code{nsec3-salt-lifetime} (default: @code{(* 30 24 3600)})"
  38731. msgstr ""
  38732. #. type: table
  38733. #: guix-git/doc/guix.texi:26100
  38734. msgid "The validity period of newly issued salt field."
  38735. msgstr ""
  38736. #. type: deftp
  38737. #: guix-git/doc/guix.texi:26104
  38738. #, no-wrap
  38739. msgid "{Data Type} knot-zone-configuration"
  38740. msgstr ""
  38741. #. type: deftp
  38742. #: guix-git/doc/guix.texi:26107
  38743. msgid "Data type representing a zone served by Knot. This type has the following parameters:"
  38744. msgstr ""
  38745. #. type: item
  38746. #: guix-git/doc/guix.texi:26109
  38747. #, no-wrap
  38748. msgid "@code{domain} (default: @code{\"\"})"
  38749. msgstr ""
  38750. #. type: table
  38751. #: guix-git/doc/guix.texi:26111
  38752. msgid "The domain served by this configuration. It must not be empty."
  38753. msgstr ""
  38754. #. type: item
  38755. #: guix-git/doc/guix.texi:26112
  38756. #, no-wrap
  38757. msgid "@code{file} (default: @code{\"\"})"
  38758. msgstr ""
  38759. #. type: table
  38760. #: guix-git/doc/guix.texi:26115
  38761. 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."
  38762. msgstr ""
  38763. #. type: item
  38764. #: guix-git/doc/guix.texi:26116
  38765. #, no-wrap
  38766. msgid "@code{zone} (default: @code{(zone-file)})"
  38767. msgstr ""
  38768. #. type: table
  38769. #: guix-git/doc/guix.texi:26119
  38770. msgid "The content of the zone file. This parameter is ignored by slave zones. It must contain a zone-file record."
  38771. msgstr ""
  38772. #. type: item
  38773. #: guix-git/doc/guix.texi:26120
  38774. #, no-wrap
  38775. msgid "@code{master} (default: @code{'()})"
  38776. msgstr ""
  38777. #. type: table
  38778. #: guix-git/doc/guix.texi:26123
  38779. 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."
  38780. msgstr ""
  38781. #. type: item
  38782. #: guix-git/doc/guix.texi:26124
  38783. #, no-wrap
  38784. msgid "@code{ddns-master} (default: @code{#f})"
  38785. msgstr ""
  38786. #. type: table
  38787. #: guix-git/doc/guix.texi:26127
  38788. msgid "The main master. When empty, it defaults to the first master in the list of masters."
  38789. msgstr ""
  38790. #. type: item
  38791. #: guix-git/doc/guix.texi:26128
  38792. #, no-wrap
  38793. msgid "@code{notify} (default: @code{'()})"
  38794. msgstr ""
  38795. #. type: table
  38796. #: guix-git/doc/guix.texi:26130
  38797. msgid "A list of slave remote identifiers."
  38798. msgstr ""
  38799. #. type: item
  38800. #: guix-git/doc/guix.texi:26131
  38801. #, no-wrap
  38802. msgid "@code{acl} (default: @code{'()})"
  38803. msgstr ""
  38804. #. type: table
  38805. #: guix-git/doc/guix.texi:26133
  38806. msgid "A list of acl identifiers."
  38807. msgstr ""
  38808. #. type: item
  38809. #: guix-git/doc/guix.texi:26134
  38810. #, no-wrap
  38811. msgid "@code{semantic-checks?} (default: @code{#f})"
  38812. msgstr ""
  38813. #. type: table
  38814. #: guix-git/doc/guix.texi:26136
  38815. msgid "When set, this adds more semantic checks to the zone."
  38816. msgstr ""
  38817. #. type: item
  38818. #: guix-git/doc/guix.texi:26137
  38819. #, no-wrap
  38820. msgid "@code{disable-any?} (default: @code{#f})"
  38821. msgstr ""
  38822. #. type: table
  38823. #: guix-git/doc/guix.texi:26139
  38824. msgid "When set, this forbids queries of the ANY type."
  38825. msgstr ""
  38826. #. type: item
  38827. #: guix-git/doc/guix.texi:26140
  38828. #, no-wrap
  38829. msgid "@code{zonefile-sync} (default: @code{0})"
  38830. msgstr ""
  38831. #. type: table
  38832. #: guix-git/doc/guix.texi:26143
  38833. msgid "The delay between a modification in memory and on disk. 0 means immediate synchronization."
  38834. msgstr ""
  38835. #. type: item
  38836. #: guix-git/doc/guix.texi:26144
  38837. #, no-wrap
  38838. msgid "@code{zonefile-load} (default: @code{#f})"
  38839. msgstr "@code{zonefile-load} (default: @code{#f})"
  38840. #. type: table
  38841. #: guix-git/doc/guix.texi:26147
  38842. msgid "The way the zone file contents are applied during zone load. Possible values are:"
  38843. msgstr ""
  38844. #. type: item
  38845. #: guix-git/doc/guix.texi:26149
  38846. #, no-wrap
  38847. msgid "@code{#f} for using the default value from Knot,"
  38848. msgstr ""
  38849. #. type: item
  38850. #: guix-git/doc/guix.texi:26150
  38851. #, no-wrap
  38852. msgid "@code{'none} for not using the zone file at all,"
  38853. msgstr ""
  38854. #. type: item
  38855. #: guix-git/doc/guix.texi:26151
  38856. #, no-wrap
  38857. msgid "@code{'difference} for computing the difference between already available"
  38858. msgstr ""
  38859. #. type: itemize
  38860. #: guix-git/doc/guix.texi:26153
  38861. msgid "contents and zone contents and applying it to the current zone contents,"
  38862. msgstr ""
  38863. #. type: item
  38864. #: guix-git/doc/guix.texi:26153
  38865. #, no-wrap
  38866. msgid "@code{'difference-no-serial} for the same as @code{'difference}, but"
  38867. msgstr ""
  38868. #. type: itemize
  38869. #: guix-git/doc/guix.texi:26156
  38870. msgid "ignoring the SOA serial in the zone file, while the server takes care of it automatically."
  38871. msgstr ""
  38872. #. type: item
  38873. #: guix-git/doc/guix.texi:26156
  38874. #, no-wrap
  38875. msgid "@code{'whole} for loading zone contents from the zone file."
  38876. msgstr ""
  38877. #. type: item
  38878. #: guix-git/doc/guix.texi:26159
  38879. #, no-wrap
  38880. msgid "@code{journal-content} (default: @code{#f})"
  38881. msgstr ""
  38882. #. type: table
  38883. #: guix-git/doc/guix.texi:26164
  38884. 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."
  38885. msgstr ""
  38886. #. type: item
  38887. #: guix-git/doc/guix.texi:26165
  38888. #, no-wrap
  38889. msgid "@code{max-journal-usage} (default: @code{#f})"
  38890. msgstr "@code{max-journal-usage} (default: @code{#f})"
  38891. #. type: table
  38892. #: guix-git/doc/guix.texi:26168
  38893. msgid "The maximum size for the journal on disk. @code{#f} does not set this option, so the default value from Knot is used."
  38894. msgstr ""
  38895. #. type: item
  38896. #: guix-git/doc/guix.texi:26169
  38897. #, no-wrap
  38898. msgid "@code{max-journal-depth} (default: @code{#f})"
  38899. msgstr "@code{max-journal-depth} (default: @code{#f})"
  38900. #. type: table
  38901. #: guix-git/doc/guix.texi:26172
  38902. msgid "The maximum size of the history. @code{#f} does not set this option, so the default value from Knot is used."
  38903. msgstr ""
  38904. #. type: item
  38905. #: guix-git/doc/guix.texi:26173
  38906. #, no-wrap
  38907. msgid "@code{max-zone-size} (default: @code{#f})"
  38908. msgstr "@code{max-zone-size} (default: @code{#f})"
  38909. #. type: table
  38910. #: guix-git/doc/guix.texi:26177
  38911. 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."
  38912. msgstr ""
  38913. #. type: item
  38914. #: guix-git/doc/guix.texi:26178
  38915. #, no-wrap
  38916. msgid "@code{dnssec-policy} (default: @code{#f})"
  38917. msgstr "@code{dnssec-policy} (default: @code{#f})"
  38918. #. type: table
  38919. #: guix-git/doc/guix.texi:26182
  38920. 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."
  38921. msgstr ""
  38922. #. type: item
  38923. #: guix-git/doc/guix.texi:26183
  38924. #, no-wrap
  38925. msgid "@code{serial-policy} (default: @code{'increment})"
  38926. msgstr ""
  38927. #. type: table
  38928. #: guix-git/doc/guix.texi:26185
  38929. msgid "A policy between @code{'increment} and @code{'unixtime}."
  38930. msgstr ""
  38931. #. type: deftp
  38932. #: guix-git/doc/guix.texi:26189
  38933. #, no-wrap
  38934. msgid "{Data Type} knot-configuration"
  38935. msgstr ""
  38936. #. type: deftp
  38937. #: guix-git/doc/guix.texi:26192
  38938. msgid "Data type representing the Knot configuration. This type has the following parameters:"
  38939. msgstr ""
  38940. #. type: item
  38941. #: guix-git/doc/guix.texi:26194
  38942. #, no-wrap
  38943. msgid "@code{knot} (default: @code{knot})"
  38944. msgstr ""
  38945. #. type: table
  38946. #: guix-git/doc/guix.texi:26196
  38947. msgid "The Knot package."
  38948. msgstr ""
  38949. #. type: item
  38950. #: guix-git/doc/guix.texi:26197
  38951. #, no-wrap
  38952. msgid "@code{run-directory} (default: @code{\"/var/run/knot\"})"
  38953. msgstr ""
  38954. #. type: table
  38955. #: guix-git/doc/guix.texi:26199
  38956. msgid "The run directory. This directory will be used for pid file and sockets."
  38957. msgstr ""
  38958. #. type: item
  38959. #: guix-git/doc/guix.texi:26200
  38960. #, no-wrap
  38961. msgid "@code{includes} (default: @code{'()})"
  38962. msgstr ""
  38963. #. type: table
  38964. #: guix-git/doc/guix.texi:26203
  38965. msgid "A list of strings or file-like objects denoting other files that must be included at the top of the configuration file."
  38966. msgstr ""
  38967. #. type: cindex
  38968. #: guix-git/doc/guix.texi:26204
  38969. #, no-wrap
  38970. msgid "secrets, Knot service"
  38971. msgstr ""
  38972. #. type: table
  38973. #: guix-git/doc/guix.texi:26210
  38974. 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."
  38975. msgstr ""
  38976. #. type: table
  38977. #: guix-git/doc/guix.texi:26215
  38978. 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:"
  38979. msgstr ""
  38980. #. type: example
  38981. #: guix-git/doc/guix.texi:26219
  38982. #, no-wrap
  38983. msgid ""
  38984. "keymgr -t mysecret > /etc/knot/secrets.conf\n"
  38985. "chmod 600 /etc/knot/secrets.conf\n"
  38986. msgstr ""
  38987. #. type: table
  38988. #: guix-git/doc/guix.texi:26225
  38989. 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."
  38990. msgstr ""
  38991. #. type: table
  38992. #: guix-git/doc/guix.texi:26227
  38993. msgid "It can also be used to add configuration not supported by this interface."
  38994. msgstr ""
  38995. #. type: item
  38996. #: guix-git/doc/guix.texi:26228
  38997. #, no-wrap
  38998. msgid "@code{listen-v4} (default: @code{\"0.0.0.0\"})"
  38999. msgstr ""
  39000. #. type: table
  39001. #: guix-git/doc/guix.texi:26230 guix-git/doc/guix.texi:26233
  39002. msgid "An ip address on which to listen."
  39003. msgstr ""
  39004. #. type: item
  39005. #: guix-git/doc/guix.texi:26231
  39006. #, no-wrap
  39007. msgid "@code{listen-v6} (default: @code{\"::\"})"
  39008. msgstr ""
  39009. #. type: item
  39010. #: guix-git/doc/guix.texi:26234
  39011. #, no-wrap
  39012. msgid "@code{listen-port} (default: @code{53})"
  39013. msgstr ""
  39014. #. type: table
  39015. #: guix-git/doc/guix.texi:26236
  39016. msgid "A port on which to listen."
  39017. msgstr ""
  39018. #. type: item
  39019. #: guix-git/doc/guix.texi:26237
  39020. #, no-wrap
  39021. msgid "@code{keys} (default: @code{'()})"
  39022. msgstr ""
  39023. #. type: table
  39024. #: guix-git/doc/guix.texi:26239
  39025. msgid "The list of knot-key-configuration used by this configuration."
  39026. msgstr ""
  39027. #. type: item
  39028. #: guix-git/doc/guix.texi:26240
  39029. #, no-wrap
  39030. msgid "@code{acls} (default: @code{'()})"
  39031. msgstr ""
  39032. #. type: table
  39033. #: guix-git/doc/guix.texi:26242
  39034. msgid "The list of knot-acl-configuration used by this configuration."
  39035. msgstr ""
  39036. #. type: item
  39037. #: guix-git/doc/guix.texi:26243
  39038. #, no-wrap
  39039. msgid "@code{remotes} (default: @code{'()})"
  39040. msgstr ""
  39041. #. type: table
  39042. #: guix-git/doc/guix.texi:26245
  39043. msgid "The list of knot-remote-configuration used by this configuration."
  39044. msgstr ""
  39045. #. type: item
  39046. #: guix-git/doc/guix.texi:26246
  39047. #, no-wrap
  39048. msgid "@code{zones} (default: @code{'()})"
  39049. msgstr ""
  39050. #. type: table
  39051. #: guix-git/doc/guix.texi:26248
  39052. msgid "The list of knot-zone-configuration used by this configuration."
  39053. msgstr ""
  39054. #. type: subsubheading
  39055. #: guix-git/doc/guix.texi:26252
  39056. #, no-wrap
  39057. msgid "Knot Resolver Service"
  39058. msgstr ""
  39059. #. type: deffn
  39060. #: guix-git/doc/guix.texi:26254
  39061. #, no-wrap
  39062. msgid "{Scheme Variable} knot-resolver-service-type"
  39063. msgstr ""
  39064. #. type: deffn
  39065. #: guix-git/doc/guix.texi:26257
  39066. msgid "This is the type of the knot resolver service, whose value should be an @code{knot-resolver-configuration} object as in this example:"
  39067. msgstr ""
  39068. #. type: lisp
  39069. #: guix-git/doc/guix.texi:26267
  39070. #, no-wrap
  39071. msgid ""
  39072. "(service knot-resolver-service-type\n"
  39073. " (knot-resolver-configuration\n"
  39074. " (kresd-config-file (plain-file \"kresd.conf\" \"\n"
  39075. "net.listen('192.168.0.1', 5353)\n"
  39076. "user('knot-resolver', 'knot-resolver')\n"
  39077. "modules = @{ 'hints > iterate', 'stats', 'predict' @}\n"
  39078. "cache.size = 100 * MB\n"
  39079. "\"))))\n"
  39080. msgstr ""
  39081. #. type: deffn
  39082. #: guix-git/doc/guix.texi:26270
  39083. msgid "For more information, refer its @url{https://knot-resolver.readthedocs.org/en/stable/daemon.html#configuration, manual}."
  39084. msgstr ""
  39085. #. type: deftp
  39086. #: guix-git/doc/guix.texi:26272
  39087. #, no-wrap
  39088. msgid "{Data Type} knot-resolver-configuration"
  39089. msgstr ""
  39090. #. type: deftp
  39091. #: guix-git/doc/guix.texi:26274
  39092. msgid "Data type representing the configuration of knot-resolver."
  39093. msgstr ""
  39094. #. type: item
  39095. #: guix-git/doc/guix.texi:26276
  39096. #, no-wrap
  39097. msgid "@code{package} (default: @var{knot-resolver})"
  39098. msgstr ""
  39099. #. type: table
  39100. #: guix-git/doc/guix.texi:26278
  39101. msgid "Package object of the knot DNS resolver."
  39102. msgstr ""
  39103. #. type: item
  39104. #: guix-git/doc/guix.texi:26279
  39105. #, no-wrap
  39106. msgid "@code{kresd-config-file} (default: %kresd.conf)"
  39107. msgstr ""
  39108. #. type: table
  39109. #: guix-git/doc/guix.texi:26282
  39110. 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}."
  39111. msgstr ""
  39112. #. type: item
  39113. #: guix-git/doc/guix.texi:26283
  39114. #, no-wrap
  39115. msgid "@code{garbage-collection-interval} (default: 1000)"
  39116. msgstr ""
  39117. #. type: table
  39118. #: guix-git/doc/guix.texi:26285
  39119. msgid "Number of milliseconds for @code{kres-cache-gc} to periodically trim the cache."
  39120. msgstr ""
  39121. #. type: subsubheading
  39122. #: guix-git/doc/guix.texi:26290
  39123. #, no-wrap
  39124. msgid "Dnsmasq Service"
  39125. msgstr ""
  39126. #. type: deffn
  39127. #: guix-git/doc/guix.texi:26292
  39128. #, no-wrap
  39129. msgid "{Scheme Variable} dnsmasq-service-type"
  39130. msgstr ""
  39131. #. type: deffn
  39132. #: guix-git/doc/guix.texi:26295
  39133. msgid "This is the type of the dnsmasq service, whose value should be an @code{dnsmasq-configuration} object as in this example:"
  39134. msgstr ""
  39135. #. type: lisp
  39136. #: guix-git/doc/guix.texi:26301
  39137. #, no-wrap
  39138. msgid ""
  39139. "(service dnsmasq-service-type\n"
  39140. " (dnsmasq-configuration\n"
  39141. " (no-resolv? #t)\n"
  39142. " (servers '(\"192.168.1.1\"))))\n"
  39143. msgstr ""
  39144. #. type: deftp
  39145. #: guix-git/doc/guix.texi:26304
  39146. #, no-wrap
  39147. msgid "{Data Type} dnsmasq-configuration"
  39148. msgstr ""
  39149. #. type: deftp
  39150. #: guix-git/doc/guix.texi:26306
  39151. msgid "Data type representing the configuration of dnsmasq."
  39152. msgstr ""
  39153. #. type: item
  39154. #: guix-git/doc/guix.texi:26308
  39155. #, no-wrap
  39156. msgid "@code{package} (default: @var{dnsmasq})"
  39157. msgstr ""
  39158. #. type: table
  39159. #: guix-git/doc/guix.texi:26310
  39160. msgid "Package object of the dnsmasq server."
  39161. msgstr ""
  39162. #. type: item
  39163. #: guix-git/doc/guix.texi:26311
  39164. #, no-wrap
  39165. msgid "@code{no-hosts?} (default: @code{#f})"
  39166. msgstr "@code{no-hosts?} (padrão: @code{#f})"
  39167. #. type: table
  39168. #: guix-git/doc/guix.texi:26313
  39169. msgid "When true, don't read the hostnames in /etc/hosts."
  39170. msgstr ""
  39171. #. type: item
  39172. #: guix-git/doc/guix.texi:26314
  39173. #, no-wrap
  39174. msgid "@code{port} (default: @code{53})"
  39175. msgstr "@code{porta} (default: @code{53})"
  39176. #. type: table
  39177. #: guix-git/doc/guix.texi:26317
  39178. msgid "The port to listen on. Setting this to zero completely disables DNS responses, leaving only DHCP and/or TFTP functions."
  39179. msgstr ""
  39180. #. type: item
  39181. #: guix-git/doc/guix.texi:26318
  39182. #, no-wrap
  39183. msgid "@code{local-service?} (default: @code{#t})"
  39184. msgstr "@code{local-service?} (default: @code{#t})"
  39185. #. type: table
  39186. #: guix-git/doc/guix.texi:26321
  39187. 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."
  39188. msgstr ""
  39189. #. type: item
  39190. #: guix-git/doc/guix.texi:26322
  39191. #, no-wrap
  39192. msgid "@code{listen-addresses} (default: @code{'()})"
  39193. msgstr ""
  39194. #. type: table
  39195. #: guix-git/doc/guix.texi:26324
  39196. msgid "Listen on the given IP addresses."
  39197. msgstr ""
  39198. #. type: item
  39199. #: guix-git/doc/guix.texi:26325
  39200. #, no-wrap
  39201. msgid "@code{resolv-file} (default: @code{\"/etc/resolv.conf\"})"
  39202. msgstr ""
  39203. #. type: table
  39204. #: guix-git/doc/guix.texi:26327
  39205. msgid "The file to read the IP address of the upstream nameservers from."
  39206. msgstr ""
  39207. #. type: item
  39208. #: guix-git/doc/guix.texi:26328
  39209. #, no-wrap
  39210. msgid "@code{no-resolv?} (default: @code{#f})"
  39211. msgstr "@code{no-resolv?} (padrão: @code{#f})"
  39212. #. type: table
  39213. #: guix-git/doc/guix.texi:26330
  39214. msgid "When true, don't read @var{resolv-file}."
  39215. msgstr ""
  39216. #. type: item
  39217. #: guix-git/doc/guix.texi:26331
  39218. #, no-wrap
  39219. msgid "@code{servers} (default: @code{'()})"
  39220. msgstr ""
  39221. #. type: table
  39222. #: guix-git/doc/guix.texi:26333
  39223. msgid "Specify IP address of upstream servers directly."
  39224. msgstr ""
  39225. #. type: item
  39226. #: guix-git/doc/guix.texi:26334
  39227. #, no-wrap
  39228. msgid "@code{addresses} (default: @code{'()})"
  39229. msgstr ""
  39230. #. type: table
  39231. #: guix-git/doc/guix.texi:26338
  39232. 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."
  39233. msgstr ""
  39234. #. type: table
  39235. #: guix-git/doc/guix.texi:26340
  39236. msgid "This is useful for redirecting hosts locally, for example:"
  39237. msgstr ""
  39238. #. type: lisp
  39239. #: guix-git/doc/guix.texi:26349
  39240. #, no-wrap
  39241. msgid ""
  39242. "(service dnsmasq-service-type\n"
  39243. " (dnsmasq-configuration\n"
  39244. " (addresses\n"
  39245. " '(; Redirect to a local web-server.\n"
  39246. " \"/example.org/127.0.0.1\"\n"
  39247. " ; Redirect subdomain to a specific IP.\n"
  39248. " \"/subdomain.example.org/192.168.1.42\"))))\n"
  39249. msgstr ""
  39250. #. type: table
  39251. #: guix-git/doc/guix.texi:26352
  39252. msgid "Note that rules in @file{/etc/hosts} take precedence over this."
  39253. msgstr ""
  39254. #. type: item
  39255. #: guix-git/doc/guix.texi:26353
  39256. #, no-wrap
  39257. msgid "@code{cache-size} (default: @code{150})"
  39258. msgstr "@code{cache-size} (default: @code{150})"
  39259. #. type: table
  39260. #: guix-git/doc/guix.texi:26356
  39261. msgid "Set the size of dnsmasq's cache. Setting the cache size to zero disables caching."
  39262. msgstr ""
  39263. #. type: item
  39264. #: guix-git/doc/guix.texi:26357
  39265. #, no-wrap
  39266. msgid "@code{negative-cache?} (default: @code{#t})"
  39267. msgstr "@code{negative-cache?} (padrão: @code{#t})"
  39268. #. type: table
  39269. #: guix-git/doc/guix.texi:26359
  39270. msgid "When false, disable negative caching."
  39271. msgstr ""
  39272. #. type: item
  39273. #: guix-git/doc/guix.texi:26360
  39274. #, no-wrap
  39275. msgid "@code{tftp-enable?} (default: @code{#f})"
  39276. msgstr ""
  39277. #. type: table
  39278. #: guix-git/doc/guix.texi:26362
  39279. msgid "Whether to enable the built-in TFTP server."
  39280. msgstr ""
  39281. #. type: item
  39282. #: guix-git/doc/guix.texi:26363
  39283. #, no-wrap
  39284. msgid "@code{tftp-no-fail?} (default: @code{#f})"
  39285. msgstr ""
  39286. #. type: table
  39287. #: guix-git/doc/guix.texi:26365
  39288. msgid "If true, does not fail dnsmasq if the TFTP server could not start up."
  39289. msgstr ""
  39290. #. type: item
  39291. #: guix-git/doc/guix.texi:26366
  39292. #, no-wrap
  39293. msgid "@code{tftp-single-port?} (default: @code{#f})"
  39294. msgstr ""
  39295. #. type: table
  39296. #: guix-git/doc/guix.texi:26368
  39297. msgid "Whether to use only one single port for TFTP."
  39298. msgstr ""
  39299. #. type: item
  39300. #: guix-git/doc/guix.texi:26369
  39301. #, no-wrap
  39302. msgid "@code{tftp-secure?} (default: @code{#f})"
  39303. msgstr ""
  39304. #. type: table
  39305. #: guix-git/doc/guix.texi:26371
  39306. msgid "If true, only files owned by the user running the dnsmasq process are accessible."
  39307. msgstr ""
  39308. #. type: table
  39309. #: guix-git/doc/guix.texi:26375
  39310. 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."
  39311. msgstr ""
  39312. #. type: item
  39313. #: guix-git/doc/guix.texi:26376
  39314. #, no-wrap
  39315. msgid "@code{tftp-max} (default: @code{#f})"
  39316. msgstr ""
  39317. #. type: table
  39318. #: guix-git/doc/guix.texi:26378
  39319. msgid "If set, sets the maximal number of concurrent connections allowed."
  39320. msgstr ""
  39321. #. type: item
  39322. #: guix-git/doc/guix.texi:26379
  39323. #, no-wrap
  39324. msgid "@code{tftp-mtu} (default: @code{#f})"
  39325. msgstr ""
  39326. #. type: table
  39327. #: guix-git/doc/guix.texi:26381
  39328. msgid "If set, sets the MTU for TFTP packets to that value."
  39329. msgstr ""
  39330. #. type: item
  39331. #: guix-git/doc/guix.texi:26382
  39332. #, no-wrap
  39333. msgid "@code{tftp-no-blocksize?} (default: @code{#f})"
  39334. msgstr ""
  39335. #. type: table
  39336. #: guix-git/doc/guix.texi:26384
  39337. msgid "If true, stops the TFTP server from negotiating the blocksize with a client."
  39338. msgstr ""
  39339. #. type: item
  39340. #: guix-git/doc/guix.texi:26385
  39341. #, no-wrap
  39342. msgid "@code{tftp-lowercase?} (default: @code{#f})"
  39343. msgstr ""
  39344. #. type: table
  39345. #: guix-git/doc/guix.texi:26387
  39346. msgid "Whether to convert all filenames in TFTP requests to lowercase."
  39347. msgstr ""
  39348. #. type: item
  39349. #: guix-git/doc/guix.texi:26388
  39350. #, no-wrap
  39351. msgid "@code{tftp-port-range} (default: @code{#f})"
  39352. msgstr ""
  39353. #. type: table
  39354. #: guix-git/doc/guix.texi:26391
  39355. msgid "If set, fixes the dynamical ports (one per client) to the given range (@code{\"<start>,<end>\"})."
  39356. msgstr ""
  39357. #. type: item
  39358. #: guix-git/doc/guix.texi:26392
  39359. #, no-wrap
  39360. msgid "@code{tftp-root} (default: @code{/var/empty,lo})"
  39361. msgstr ""
  39362. #. type: table
  39363. #: guix-git/doc/guix.texi:26399
  39364. 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."
  39365. msgstr ""
  39366. #. type: item
  39367. #: guix-git/doc/guix.texi:26400
  39368. #, no-wrap
  39369. msgid "@code{tftp-unique-root} (default: @code{#f})"
  39370. msgstr ""
  39371. #. type: table
  39372. #: guix-git/doc/guix.texi:26405
  39373. 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)."
  39374. msgstr ""
  39375. #. type: table
  39376. #: guix-git/doc/guix.texi:26414
  39377. 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."
  39378. msgstr ""
  39379. #. type: subsubheading
  39380. #: guix-git/doc/guix.texi:26418
  39381. #, no-wrap
  39382. msgid "ddclient Service"
  39383. msgstr ""
  39384. #. type: cindex
  39385. #: guix-git/doc/guix.texi:26420
  39386. #, no-wrap
  39387. msgid "ddclient"
  39388. msgstr ""
  39389. #. type: Plain text
  39390. #: guix-git/doc/guix.texi:26424
  39391. 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}."
  39392. msgstr ""
  39393. #. type: Plain text
  39394. #: guix-git/doc/guix.texi:26427
  39395. msgid "The following example show instantiates the service with its default configuration:"
  39396. msgstr ""
  39397. #. type: lisp
  39398. #: guix-git/doc/guix.texi:26430
  39399. #, no-wrap
  39400. msgid "(service ddclient-service-type)\n"
  39401. msgstr ""
  39402. #. type: Plain text
  39403. #: guix-git/doc/guix.texi:26439
  39404. 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."
  39405. msgstr ""
  39406. #. type: Plain text
  39407. #: guix-git/doc/guix.texi:26443
  39408. msgid "Available @code{ddclient-configuration} fields are:"
  39409. msgstr ""
  39410. #. type: deftypevr
  39411. #: guix-git/doc/guix.texi:26444
  39412. #, no-wrap
  39413. msgid "{@code{ddclient-configuration} parameter} package ddclient"
  39414. msgstr ""
  39415. #. type: deftypevr
  39416. #: guix-git/doc/guix.texi:26446
  39417. msgid "The ddclient package."
  39418. msgstr ""
  39419. #. type: deftypevr
  39420. #: guix-git/doc/guix.texi:26449
  39421. #, no-wrap
  39422. msgid "{@code{ddclient-configuration} parameter} integer daemon"
  39423. msgstr ""
  39424. #. type: deftypevr
  39425. #: guix-git/doc/guix.texi:26451
  39426. msgid "The period after which ddclient will retry to check IP and domain name."
  39427. msgstr ""
  39428. #. type: deftypevr
  39429. #: guix-git/doc/guix.texi:26456
  39430. #, no-wrap
  39431. msgid "{@code{ddclient-configuration} parameter} boolean syslog"
  39432. msgstr ""
  39433. #. type: deftypevr
  39434. #: guix-git/doc/guix.texi:26458
  39435. msgid "Use syslog for the output."
  39436. msgstr ""
  39437. #. type: deftypevr
  39438. #: guix-git/doc/guix.texi:26463
  39439. #, no-wrap
  39440. msgid "{@code{ddclient-configuration} parameter} string mail"
  39441. msgstr ""
  39442. #. type: deftypevr
  39443. #: guix-git/doc/guix.texi:26465
  39444. msgid "Mail to user."
  39445. msgstr ""
  39446. #. type: deftypevr
  39447. #: guix-git/doc/guix.texi:26467 guix-git/doc/guix.texi:26474
  39448. #: guix-git/doc/guix.texi:28211
  39449. msgid "Defaults to @samp{\"root\"}."
  39450. msgstr ""
  39451. #. type: deftypevr
  39452. #: guix-git/doc/guix.texi:26470
  39453. #, no-wrap
  39454. msgid "{@code{ddclient-configuration} parameter} string mail-failure"
  39455. msgstr ""
  39456. #. type: deftypevr
  39457. #: guix-git/doc/guix.texi:26472
  39458. msgid "Mail failed update to user."
  39459. msgstr ""
  39460. #. type: deftypevr
  39461. #: guix-git/doc/guix.texi:26477
  39462. #, no-wrap
  39463. msgid "{@code{ddclient-configuration} parameter} string pid"
  39464. msgstr ""
  39465. #. type: deftypevr
  39466. #: guix-git/doc/guix.texi:26479
  39467. msgid "The ddclient PID file."
  39468. msgstr ""
  39469. #. type: deftypevr
  39470. #: guix-git/doc/guix.texi:26481
  39471. msgid "Defaults to @samp{\"/var/run/ddclient/ddclient.pid\"}."
  39472. msgstr ""
  39473. #. type: deftypevr
  39474. #: guix-git/doc/guix.texi:26484
  39475. #, no-wrap
  39476. msgid "{@code{ddclient-configuration} parameter} boolean ssl"
  39477. msgstr ""
  39478. #. type: deftypevr
  39479. #: guix-git/doc/guix.texi:26486
  39480. msgid "Enable SSL support."
  39481. msgstr ""
  39482. #. type: deftypevr
  39483. #: guix-git/doc/guix.texi:26491
  39484. #, no-wrap
  39485. msgid "{@code{ddclient-configuration} parameter} string user"
  39486. msgstr ""
  39487. #. type: deftypevr
  39488. #: guix-git/doc/guix.texi:26494
  39489. msgid "Specifies the user name or ID that is used when running ddclient program."
  39490. msgstr ""
  39491. #. type: deftypevr
  39492. #: guix-git/doc/guix.texi:26496 guix-git/doc/guix.texi:26503
  39493. msgid "Defaults to @samp{\"ddclient\"}."
  39494. msgstr ""
  39495. #. type: deftypevr
  39496. #: guix-git/doc/guix.texi:26499
  39497. #, no-wrap
  39498. msgid "{@code{ddclient-configuration} parameter} string group"
  39499. msgstr ""
  39500. #. type: deftypevr
  39501. #: guix-git/doc/guix.texi:26501
  39502. msgid "Group of the user who will run the ddclient program."
  39503. msgstr ""
  39504. #. type: deftypevr
  39505. #: guix-git/doc/guix.texi:26506
  39506. #, no-wrap
  39507. msgid "{@code{ddclient-configuration} parameter} string secret-file"
  39508. msgstr ""
  39509. #. type: deftypevr
  39510. #: guix-git/doc/guix.texi:26510
  39511. 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."
  39512. msgstr ""
  39513. #. type: deftypevr
  39514. #: guix-git/doc/guix.texi:26512
  39515. msgid "Defaults to @samp{\"/etc/ddclient/secrets.conf\"}."
  39516. msgstr ""
  39517. #. type: deftypevr
  39518. #: guix-git/doc/guix.texi:26515
  39519. #, no-wrap
  39520. msgid "{@code{ddclient-configuration} parameter} list extra-options"
  39521. msgstr ""
  39522. #. type: deftypevr
  39523. #: guix-git/doc/guix.texi:26517
  39524. msgid "Extra options will be appended to @file{ddclient.conf} file."
  39525. msgstr ""
  39526. #. type: cindex
  39527. #: guix-git/doc/guix.texi:26528
  39528. #, no-wrap
  39529. msgid "VPN (virtual private network)"
  39530. msgstr ""
  39531. #. type: cindex
  39532. #: guix-git/doc/guix.texi:26529
  39533. #, no-wrap
  39534. msgid "virtual private network (VPN)"
  39535. msgstr ""
  39536. #. type: Plain text
  39537. #: guix-git/doc/guix.texi:26533
  39538. msgid "The @code{(gnu services vpn)} module provides services related to @dfn{virtual private networks} (VPNs)."
  39539. msgstr ""
  39540. #. type: subsubheading
  39541. #: guix-git/doc/guix.texi:26534
  39542. #, no-wrap
  39543. msgid "OpenVPN"
  39544. msgstr ""
  39545. #. type: Plain text
  39546. #: guix-git/doc/guix.texi:26538
  39547. 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@."
  39548. msgstr ""
  39549. #. type: deffn
  39550. #: guix-git/doc/guix.texi:26539
  39551. #, no-wrap
  39552. msgid "{Scheme Procedure} openvpn-client-service @"
  39553. msgstr ""
  39554. #. type: deffn
  39555. #: guix-git/doc/guix.texi:26541
  39556. msgid "[#:config (openvpn-client-configuration)]"
  39557. msgstr ""
  39558. #. type: deffn
  39559. #: guix-git/doc/guix.texi:26543
  39560. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a client."
  39561. msgstr ""
  39562. #. type: deffn
  39563. #: guix-git/doc/guix.texi:26545
  39564. #, no-wrap
  39565. msgid "{Scheme Procedure} openvpn-server-service @"
  39566. msgstr ""
  39567. #. type: deffn
  39568. #: guix-git/doc/guix.texi:26547
  39569. msgid "[#:config (openvpn-server-configuration)]"
  39570. msgstr ""
  39571. #. type: deffn
  39572. #: guix-git/doc/guix.texi:26549
  39573. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a server."
  39574. msgstr ""
  39575. #. type: deffn
  39576. #: guix-git/doc/guix.texi:26551
  39577. msgid "Both can be run simultaneously."
  39578. msgstr ""
  39579. #. type: Plain text
  39580. #: guix-git/doc/guix.texi:26556
  39581. msgid "Available @code{openvpn-client-configuration} fields are:"
  39582. msgstr ""
  39583. #. type: deftypevr
  39584. #: guix-git/doc/guix.texi:26557
  39585. #, no-wrap
  39586. msgid "{@code{openvpn-client-configuration} parameter} package openvpn"
  39587. msgstr ""
  39588. #. type: deftypevr
  39589. #: guix-git/doc/guix.texi:26559 guix-git/doc/guix.texi:26714
  39590. msgid "The OpenVPN package."
  39591. msgstr ""
  39592. #. type: deftypevr
  39593. #: guix-git/doc/guix.texi:26562
  39594. #, no-wrap
  39595. msgid "{@code{openvpn-client-configuration} parameter} string pid-file"
  39596. msgstr ""
  39597. #. type: deftypevr
  39598. #: guix-git/doc/guix.texi:26564 guix-git/doc/guix.texi:26719
  39599. msgid "The OpenVPN pid file."
  39600. msgstr ""
  39601. #. type: deftypevr
  39602. #: guix-git/doc/guix.texi:26566 guix-git/doc/guix.texi:26721
  39603. msgid "Defaults to @samp{\"/var/run/openvpn/openvpn.pid\"}."
  39604. msgstr ""
  39605. #. type: deftypevr
  39606. #: guix-git/doc/guix.texi:26569
  39607. #, no-wrap
  39608. msgid "{@code{openvpn-client-configuration} parameter} proto proto"
  39609. msgstr ""
  39610. #. type: deftypevr
  39611. #: guix-git/doc/guix.texi:26572 guix-git/doc/guix.texi:26727
  39612. msgid "The protocol (UDP or TCP) used to open a channel between clients and servers."
  39613. msgstr ""
  39614. #. type: deftypevr
  39615. #: guix-git/doc/guix.texi:26574 guix-git/doc/guix.texi:26729
  39616. msgid "Defaults to @samp{udp}."
  39617. msgstr ""
  39618. #. type: deftypevr
  39619. #: guix-git/doc/guix.texi:26577
  39620. #, no-wrap
  39621. msgid "{@code{openvpn-client-configuration} parameter} dev dev"
  39622. msgstr ""
  39623. #. type: deftypevr
  39624. #: guix-git/doc/guix.texi:26579 guix-git/doc/guix.texi:26734
  39625. msgid "The device type used to represent the VPN connection."
  39626. msgstr ""
  39627. #. type: deftypevr
  39628. #: guix-git/doc/guix.texi:26581 guix-git/doc/guix.texi:26736
  39629. msgid "Defaults to @samp{tun}."
  39630. msgstr ""
  39631. #. type: Plain text
  39632. #: guix-git/doc/guix.texi:26587 guix-git/doc/guix.texi:26742
  39633. 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}."
  39634. msgstr ""
  39635. #. type: deftypevr
  39636. #: guix-git/doc/guix.texi:26588
  39637. #, no-wrap
  39638. msgid "{@code{openvpn-client-configuration} parameter} maybe-string ca"
  39639. msgstr ""
  39640. #. type: deftypevr
  39641. #: guix-git/doc/guix.texi:26590 guix-git/doc/guix.texi:26745
  39642. msgid "The certificate authority to check connections against."
  39643. msgstr ""
  39644. #. type: deftypevr
  39645. #: guix-git/doc/guix.texi:26592 guix-git/doc/guix.texi:26747
  39646. msgid "Defaults to @samp{\"/etc/openvpn/ca.crt\"}."
  39647. msgstr ""
  39648. #. type: deftypevr
  39649. #: guix-git/doc/guix.texi:26595
  39650. #, no-wrap
  39651. msgid "{@code{openvpn-client-configuration} parameter} maybe-string cert"
  39652. msgstr ""
  39653. #. type: deftypevr
  39654. #: guix-git/doc/guix.texi:26598 guix-git/doc/guix.texi:26753
  39655. msgid "The certificate of the machine the daemon is running on. It should be signed by the authority given in @code{ca}."
  39656. msgstr ""
  39657. #. type: deftypevr
  39658. #: guix-git/doc/guix.texi:26600 guix-git/doc/guix.texi:26755
  39659. msgid "Defaults to @samp{\"/etc/openvpn/client.crt\"}."
  39660. msgstr ""
  39661. #. type: deftypevr
  39662. #: guix-git/doc/guix.texi:26603
  39663. #, no-wrap
  39664. msgid "{@code{openvpn-client-configuration} parameter} maybe-string key"
  39665. msgstr ""
  39666. #. type: deftypevr
  39667. #: guix-git/doc/guix.texi:26606 guix-git/doc/guix.texi:26761
  39668. msgid "The key of the machine the daemon is running on. It must be the key whose certificate is @code{cert}."
  39669. msgstr ""
  39670. #. type: deftypevr
  39671. #: guix-git/doc/guix.texi:26608 guix-git/doc/guix.texi:26763
  39672. msgid "Defaults to @samp{\"/etc/openvpn/client.key\"}."
  39673. msgstr ""
  39674. #. type: deftypevr
  39675. #: guix-git/doc/guix.texi:26611
  39676. #, no-wrap
  39677. msgid "{@code{openvpn-client-configuration} parameter} boolean comp-lzo?"
  39678. msgstr ""
  39679. #. type: deftypevr
  39680. #: guix-git/doc/guix.texi:26613 guix-git/doc/guix.texi:26768
  39681. msgid "Whether to use the lzo compression algorithm."
  39682. msgstr ""
  39683. #. type: deftypevr
  39684. #: guix-git/doc/guix.texi:26618
  39685. #, no-wrap
  39686. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-key?"
  39687. msgstr ""
  39688. #. type: deftypevr
  39689. #: guix-git/doc/guix.texi:26620 guix-git/doc/guix.texi:26775
  39690. msgid "Don't re-read key files across SIGUSR1 or --ping-restart."
  39691. msgstr ""
  39692. #. type: deftypevr
  39693. #: guix-git/doc/guix.texi:26625
  39694. #, no-wrap
  39695. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-tun?"
  39696. msgstr ""
  39697. #. type: deftypevr
  39698. #: guix-git/doc/guix.texi:26628 guix-git/doc/guix.texi:26783
  39699. msgid "Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 or --ping-restart restarts."
  39700. msgstr ""
  39701. #. type: deftypevr
  39702. #: guix-git/doc/guix.texi:26633
  39703. #, no-wrap
  39704. msgid "{@code{openvpn-client-configuration} parameter} boolean fast-io?"
  39705. msgstr ""
  39706. #. type: deftypevr
  39707. #: guix-git/doc/guix.texi:26636 guix-git/doc/guix.texi:26791
  39708. msgid "(Experimental) Optimize TUN/TAP/UDP I/O writes by avoiding a call to poll/epoll/select prior to the write operation."
  39709. msgstr ""
  39710. #. type: deftypevr
  39711. #: guix-git/doc/guix.texi:26640
  39712. #, no-wrap
  39713. msgid "{@code{openvpn-client-configuration} parameter} number verbosity"
  39714. msgstr ""
  39715. #. type: deftypevr
  39716. #: guix-git/doc/guix.texi:26642 guix-git/doc/guix.texi:26797
  39717. msgid "Verbosity level."
  39718. msgstr ""
  39719. #. type: deftypevr
  39720. #: guix-git/doc/guix.texi:26644 guix-git/doc/guix.texi:26799
  39721. #: guix-git/doc/guix.texi:28479 guix-git/doc/guix.texi:28703
  39722. msgid "Defaults to @samp{3}."
  39723. msgstr ""
  39724. #. type: deftypevr
  39725. #: guix-git/doc/guix.texi:26647
  39726. #, no-wrap
  39727. msgid "{@code{openvpn-client-configuration} parameter} tls-auth-client tls-auth"
  39728. msgstr ""
  39729. #. type: deftypevr
  39730. #: guix-git/doc/guix.texi:26650 guix-git/doc/guix.texi:26805
  39731. msgid "Add an additional layer of HMAC authentication on top of the TLS control channel to protect against DoS attacks."
  39732. msgstr ""
  39733. #. type: deftypevr
  39734. #: guix-git/doc/guix.texi:26655
  39735. #, no-wrap
  39736. msgid "{@code{openvpn-client-configuration} parameter} maybe-string auth-user-pass"
  39737. msgstr ""
  39738. #. type: deftypevr
  39739. #: guix-git/doc/guix.texi:26659
  39740. 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."
  39741. msgstr ""
  39742. #. type: deftypevr
  39743. #: guix-git/doc/guix.texi:26661
  39744. msgid "Defaults to @samp{'disabled}."
  39745. msgstr ""
  39746. #. type: deftypevr
  39747. #: guix-git/doc/guix.texi:26663
  39748. #, no-wrap
  39749. msgid "{@code{openvpn-client-configuration} parameter} key-usage verify-key-usage?"
  39750. msgstr ""
  39751. #. type: deftypevr
  39752. #: guix-git/doc/guix.texi:26665
  39753. msgid "Whether to check the server certificate has server usage extension."
  39754. msgstr ""
  39755. #. type: deftypevr
  39756. #: guix-git/doc/guix.texi:26670
  39757. #, no-wrap
  39758. msgid "{@code{openvpn-client-configuration} parameter} bind bind?"
  39759. msgstr ""
  39760. #. type: deftypevr
  39761. #: guix-git/doc/guix.texi:26672
  39762. msgid "Bind to a specific local port number."
  39763. msgstr ""
  39764. #. type: deftypevr
  39765. #: guix-git/doc/guix.texi:26677
  39766. #, no-wrap
  39767. msgid "{@code{openvpn-client-configuration} parameter} resolv-retry resolv-retry?"
  39768. msgstr ""
  39769. #. type: deftypevr
  39770. #: guix-git/doc/guix.texi:26679
  39771. msgid "Retry resolving server address."
  39772. msgstr ""
  39773. #. type: deftypevr
  39774. #: guix-git/doc/guix.texi:26684
  39775. #, no-wrap
  39776. msgid "{@code{openvpn-client-configuration} parameter} openvpn-remote-list remote"
  39777. msgstr ""
  39778. #. type: deftypevr
  39779. #: guix-git/doc/guix.texi:26686
  39780. msgid "A list of remote servers to connect to."
  39781. msgstr ""
  39782. #. type: deftypevr
  39783. #: guix-git/doc/guix.texi:26690
  39784. msgid "Available @code{openvpn-remote-configuration} fields are:"
  39785. msgstr ""
  39786. #. type: deftypevr
  39787. #: guix-git/doc/guix.texi:26691
  39788. #, no-wrap
  39789. msgid "{@code{openvpn-remote-configuration} parameter} string name"
  39790. msgstr ""
  39791. #. type: deftypevr
  39792. #: guix-git/doc/guix.texi:26693
  39793. msgid "Server name."
  39794. msgstr ""
  39795. #. type: deftypevr
  39796. #: guix-git/doc/guix.texi:26695
  39797. msgid "Defaults to @samp{\"my-server\"}."
  39798. msgstr ""
  39799. #. type: deftypevr
  39800. #: guix-git/doc/guix.texi:26698
  39801. #, no-wrap
  39802. msgid "{@code{openvpn-remote-configuration} parameter} number port"
  39803. msgstr ""
  39804. #. type: deftypevr
  39805. #: guix-git/doc/guix.texi:26700
  39806. msgid "Port number the server listens to."
  39807. msgstr ""
  39808. #. type: deftypevr
  39809. #: guix-git/doc/guix.texi:26702 guix-git/doc/guix.texi:26814
  39810. msgid "Defaults to @samp{1194}."
  39811. msgstr ""
  39812. #. type: Plain text
  39813. #: guix-git/doc/guix.texi:26711
  39814. msgid "Available @code{openvpn-server-configuration} fields are:"
  39815. msgstr ""
  39816. #. type: deftypevr
  39817. #: guix-git/doc/guix.texi:26712
  39818. #, no-wrap
  39819. msgid "{@code{openvpn-server-configuration} parameter} package openvpn"
  39820. msgstr ""
  39821. #. type: deftypevr
  39822. #: guix-git/doc/guix.texi:26717
  39823. #, no-wrap
  39824. msgid "{@code{openvpn-server-configuration} parameter} string pid-file"
  39825. msgstr ""
  39826. #. type: deftypevr
  39827. #: guix-git/doc/guix.texi:26724
  39828. #, no-wrap
  39829. msgid "{@code{openvpn-server-configuration} parameter} proto proto"
  39830. msgstr ""
  39831. #. type: deftypevr
  39832. #: guix-git/doc/guix.texi:26732
  39833. #, no-wrap
  39834. msgid "{@code{openvpn-server-configuration} parameter} dev dev"
  39835. msgstr ""
  39836. #. type: deftypevr
  39837. #: guix-git/doc/guix.texi:26743
  39838. #, no-wrap
  39839. msgid "{@code{openvpn-server-configuration} parameter} maybe-string ca"
  39840. msgstr ""
  39841. #. type: deftypevr
  39842. #: guix-git/doc/guix.texi:26750
  39843. #, no-wrap
  39844. msgid "{@code{openvpn-server-configuration} parameter} maybe-string cert"
  39845. msgstr ""
  39846. #. type: deftypevr
  39847. #: guix-git/doc/guix.texi:26758
  39848. #, no-wrap
  39849. msgid "{@code{openvpn-server-configuration} parameter} maybe-string key"
  39850. msgstr ""
  39851. #. type: deftypevr
  39852. #: guix-git/doc/guix.texi:26766
  39853. #, no-wrap
  39854. msgid "{@code{openvpn-server-configuration} parameter} boolean comp-lzo?"
  39855. msgstr ""
  39856. #. type: deftypevr
  39857. #: guix-git/doc/guix.texi:26773
  39858. #, no-wrap
  39859. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-key?"
  39860. msgstr ""
  39861. #. type: deftypevr
  39862. #: guix-git/doc/guix.texi:26780
  39863. #, no-wrap
  39864. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-tun?"
  39865. msgstr ""
  39866. #. type: deftypevr
  39867. #: guix-git/doc/guix.texi:26788
  39868. #, no-wrap
  39869. msgid "{@code{openvpn-server-configuration} parameter} boolean fast-io?"
  39870. msgstr ""
  39871. #. type: deftypevr
  39872. #: guix-git/doc/guix.texi:26795
  39873. #, no-wrap
  39874. msgid "{@code{openvpn-server-configuration} parameter} number verbosity"
  39875. msgstr ""
  39876. #. type: deftypevr
  39877. #: guix-git/doc/guix.texi:26802
  39878. #, no-wrap
  39879. msgid "{@code{openvpn-server-configuration} parameter} tls-auth-server tls-auth"
  39880. msgstr ""
  39881. #. type: deftypevr
  39882. #: guix-git/doc/guix.texi:26810
  39883. #, no-wrap
  39884. msgid "{@code{openvpn-server-configuration} parameter} number port"
  39885. msgstr ""
  39886. #. type: deftypevr
  39887. #: guix-git/doc/guix.texi:26812
  39888. msgid "Specifies the port number on which the server listens."
  39889. msgstr ""
  39890. #. type: deftypevr
  39891. #: guix-git/doc/guix.texi:26817
  39892. #, no-wrap
  39893. msgid "{@code{openvpn-server-configuration} parameter} ip-mask server"
  39894. msgstr ""
  39895. #. type: deftypevr
  39896. #: guix-git/doc/guix.texi:26819
  39897. msgid "An ip and mask specifying the subnet inside the virtual network."
  39898. msgstr ""
  39899. #. type: deftypevr
  39900. #: guix-git/doc/guix.texi:26821
  39901. msgid "Defaults to @samp{\"10.8.0.0 255.255.255.0\"}."
  39902. msgstr ""
  39903. #. type: deftypevr
  39904. #: guix-git/doc/guix.texi:26824
  39905. #, no-wrap
  39906. msgid "{@code{openvpn-server-configuration} parameter} cidr6 server-ipv6"
  39907. msgstr ""
  39908. #. type: deftypevr
  39909. #: guix-git/doc/guix.texi:26826
  39910. msgid "A CIDR notation specifying the IPv6 subnet inside the virtual network."
  39911. msgstr ""
  39912. #. type: deftypevr
  39913. #: guix-git/doc/guix.texi:26831
  39914. #, no-wrap
  39915. msgid "{@code{openvpn-server-configuration} parameter} string dh"
  39916. msgstr ""
  39917. #. type: deftypevr
  39918. #: guix-git/doc/guix.texi:26833
  39919. msgid "The Diffie-Hellman parameters file."
  39920. msgstr ""
  39921. #. type: deftypevr
  39922. #: guix-git/doc/guix.texi:26835
  39923. msgid "Defaults to @samp{\"/etc/openvpn/dh2048.pem\"}."
  39924. msgstr ""
  39925. #. type: deftypevr
  39926. #: guix-git/doc/guix.texi:26838
  39927. #, no-wrap
  39928. msgid "{@code{openvpn-server-configuration} parameter} string ifconfig-pool-persist"
  39929. msgstr ""
  39930. #. type: deftypevr
  39931. #: guix-git/doc/guix.texi:26840
  39932. msgid "The file that records client IPs."
  39933. msgstr ""
  39934. #. type: deftypevr
  39935. #: guix-git/doc/guix.texi:26842
  39936. msgid "Defaults to @samp{\"/etc/openvpn/ipp.txt\"}."
  39937. msgstr ""
  39938. #. type: deftypevr
  39939. #: guix-git/doc/guix.texi:26845
  39940. #, no-wrap
  39941. msgid "{@code{openvpn-server-configuration} parameter} gateway redirect-gateway?"
  39942. msgstr ""
  39943. #. type: deftypevr
  39944. #: guix-git/doc/guix.texi:26847
  39945. msgid "When true, the server will act as a gateway for its clients."
  39946. msgstr ""
  39947. #. type: deftypevr
  39948. #: guix-git/doc/guix.texi:26852
  39949. #, no-wrap
  39950. msgid "{@code{openvpn-server-configuration} parameter} boolean client-to-client?"
  39951. msgstr ""
  39952. #. type: deftypevr
  39953. #: guix-git/doc/guix.texi:26854
  39954. msgid "When true, clients are allowed to talk to each other inside the VPN."
  39955. msgstr ""
  39956. #. type: deftypevr
  39957. #: guix-git/doc/guix.texi:26859
  39958. #, no-wrap
  39959. msgid "{@code{openvpn-server-configuration} parameter} keepalive keepalive"
  39960. msgstr ""
  39961. #. type: deftypevr
  39962. #: guix-git/doc/guix.texi:26865
  39963. 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."
  39964. msgstr ""
  39965. #. type: deftypevr
  39966. #: guix-git/doc/guix.texi:26868
  39967. #, no-wrap
  39968. msgid "{@code{openvpn-server-configuration} parameter} number max-clients"
  39969. msgstr ""
  39970. #. type: deftypevr
  39971. #: guix-git/doc/guix.texi:26870
  39972. msgid "The maximum number of clients."
  39973. msgstr ""
  39974. #. type: deftypevr
  39975. #: guix-git/doc/guix.texi:26875
  39976. #, no-wrap
  39977. msgid "{@code{openvpn-server-configuration} parameter} string status"
  39978. msgstr ""
  39979. #. type: deftypevr
  39980. #: guix-git/doc/guix.texi:26878
  39981. msgid "The status file. This file shows a small report on current connection. It is truncated and rewritten every minute."
  39982. msgstr ""
  39983. #. type: deftypevr
  39984. #: guix-git/doc/guix.texi:26880
  39985. msgid "Defaults to @samp{\"/var/run/openvpn/status\"}."
  39986. msgstr ""
  39987. #. type: deftypevr
  39988. #: guix-git/doc/guix.texi:26883
  39989. #, no-wrap
  39990. msgid "{@code{openvpn-server-configuration} parameter} openvpn-ccd-list client-config-dir"
  39991. msgstr ""
  39992. #. type: deftypevr
  39993. #: guix-git/doc/guix.texi:26885
  39994. msgid "The list of configuration for some clients."
  39995. msgstr ""
  39996. #. type: deftypevr
  39997. #: guix-git/doc/guix.texi:26889
  39998. msgid "Available @code{openvpn-ccd-configuration} fields are:"
  39999. msgstr ""
  40000. #. type: deftypevr
  40001. #: guix-git/doc/guix.texi:26890
  40002. #, no-wrap
  40003. msgid "{@code{openvpn-ccd-configuration} parameter} string name"
  40004. msgstr ""
  40005. #. type: deftypevr
  40006. #: guix-git/doc/guix.texi:26892
  40007. msgid "Client name."
  40008. msgstr ""
  40009. #. type: deftypevr
  40010. #: guix-git/doc/guix.texi:26894
  40011. msgid "Defaults to @samp{\"client\"}."
  40012. msgstr ""
  40013. #. type: deftypevr
  40014. #: guix-git/doc/guix.texi:26897
  40015. #, no-wrap
  40016. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask iroute"
  40017. msgstr ""
  40018. #. type: deftypevr
  40019. #: guix-git/doc/guix.texi:26899
  40020. msgid "Client own network"
  40021. msgstr ""
  40022. #. type: deftypevr
  40023. #: guix-git/doc/guix.texi:26904
  40024. #, no-wrap
  40025. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask ifconfig-push"
  40026. msgstr ""
  40027. #. type: deftypevr
  40028. #: guix-git/doc/guix.texi:26906
  40029. msgid "Client VPN IP."
  40030. msgstr ""
  40031. #. type: subsubheading
  40032. #: guix-git/doc/guix.texi:26916
  40033. #, no-wrap
  40034. msgid "Wireguard"
  40035. msgstr ""
  40036. #. type: defvr
  40037. #: guix-git/doc/guix.texi:26918
  40038. #, no-wrap
  40039. msgid "{Scheme Variable} wireguard-service-type"
  40040. msgstr ""
  40041. #. type: defvr
  40042. #: guix-git/doc/guix.texi:26921
  40043. msgid "A service type for a Wireguard tunnel interface. Its value must be a @code{wireguard-configuration} record as in this example:"
  40044. msgstr ""
  40045. #. type: lisp
  40046. #: guix-git/doc/guix.texi:26932
  40047. #, no-wrap
  40048. msgid ""
  40049. "(service wireguard-service-type\n"
  40050. " (wireguard-configuration\n"
  40051. " (peers\n"
  40052. " (list\n"
  40053. " (wireguard-peer\n"
  40054. " (name \"my-peer\")\n"
  40055. " (endpoint \"my.wireguard.com:51820\")\n"
  40056. " (public-key \"hzpKg9X1yqu1axN6iJp0mWf6BZGo8m1wteKwtTmDGF4=\")\n"
  40057. " (allowed-ips '(\"10.0.0.2/32\")))))))\n"
  40058. msgstr ""
  40059. #. type: deftp
  40060. #: guix-git/doc/guix.texi:26936
  40061. #, no-wrap
  40062. msgid "{Data Type} wireguard-configuration"
  40063. msgstr ""
  40064. #. type: deftp
  40065. #: guix-git/doc/guix.texi:26938
  40066. msgid "Data type representing the configuration of the Wireguard service."
  40067. msgstr ""
  40068. #. type: code{#1}
  40069. #: guix-git/doc/guix.texi:26940
  40070. #, no-wrap
  40071. msgid "wireguard"
  40072. msgstr ""
  40073. #. type: table
  40074. #: guix-git/doc/guix.texi:26942
  40075. msgid "The wireguard package to use for this service."
  40076. msgstr ""
  40077. #. type: item
  40078. #: guix-git/doc/guix.texi:26943
  40079. #, no-wrap
  40080. msgid "@code{interface} (default: @code{\"wg0\"})"
  40081. msgstr ""
  40082. #. type: table
  40083. #: guix-git/doc/guix.texi:26945
  40084. msgid "The interface name for the VPN."
  40085. msgstr ""
  40086. #. type: item
  40087. #: guix-git/doc/guix.texi:26946
  40088. #, no-wrap
  40089. msgid "@code{addresses} (default: @code{'(\"10.0.0.1/32\")})"
  40090. msgstr ""
  40091. #. type: table
  40092. #: guix-git/doc/guix.texi:26948
  40093. msgid "The IP addresses to be assigned to the above interface."
  40094. msgstr ""
  40095. #. type: item
  40096. #: guix-git/doc/guix.texi:26949
  40097. #, no-wrap
  40098. msgid "@code{private-key} (default: @code{\"/etc/wireguard/private.key\"})"
  40099. msgstr ""
  40100. #. type: table
  40101. #: guix-git/doc/guix.texi:26952
  40102. msgid "The private key file for the interface. It is automatically generated if the file does not exist."
  40103. msgstr ""
  40104. #. type: item
  40105. #: guix-git/doc/guix.texi:26953
  40106. #, no-wrap
  40107. msgid "@code{peers} (default: @code{'()})"
  40108. msgstr ""
  40109. #. type: table
  40110. #: guix-git/doc/guix.texi:26956
  40111. msgid "The authorized peers on this interface. This is a list of @var{wireguard-peer} records."
  40112. msgstr ""
  40113. #. type: deftp
  40114. #: guix-git/doc/guix.texi:26960
  40115. #, no-wrap
  40116. msgid "{Data Type} wireguard-peer"
  40117. msgstr ""
  40118. #. type: deftp
  40119. #: guix-git/doc/guix.texi:26962
  40120. msgid "Data type representing a Wireguard peer attached to a given interface."
  40121. msgstr ""
  40122. #. type: table
  40123. #: guix-git/doc/guix.texi:26966
  40124. msgid "The peer name."
  40125. msgstr ""
  40126. #. type: item
  40127. #: guix-git/doc/guix.texi:26967
  40128. #, no-wrap
  40129. msgid "@code{endpoint} (default: @code{#f})"
  40130. msgstr ""
  40131. #. type: table
  40132. #: guix-git/doc/guix.texi:26970
  40133. msgid "The optional endpoint for the peer, such as @code{\"demo.wireguard.com:51820\"}."
  40134. msgstr ""
  40135. #. type: itemx
  40136. #: guix-git/doc/guix.texi:26971 guix-git/doc/guix.texi:27355
  40137. #: guix-git/doc/guix.texi:27389 guix-git/doc/guix.texi:32191
  40138. #, no-wrap
  40139. msgid "public-key"
  40140. msgstr ""
  40141. #. type: table
  40142. #: guix-git/doc/guix.texi:26973
  40143. msgid "The peer public-key represented as a base64 string."
  40144. msgstr ""
  40145. #. type: code{#1}
  40146. #: guix-git/doc/guix.texi:26974
  40147. #, no-wrap
  40148. msgid "allowed-ips"
  40149. msgstr ""
  40150. #. type: table
  40151. #: guix-git/doc/guix.texi:26977
  40152. 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."
  40153. msgstr ""
  40154. #. type: cindex
  40155. #: guix-git/doc/guix.texi:26983
  40156. #, no-wrap
  40157. msgid "NFS"
  40158. msgstr "NFS"
  40159. #. type: Plain text
  40160. #: guix-git/doc/guix.texi:26988
  40161. 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)."
  40162. msgstr ""
  40163. #. type: Plain text
  40164. #: guix-git/doc/guix.texi:26992
  40165. 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}."
  40166. msgstr ""
  40167. #. type: subsubheading
  40168. #: guix-git/doc/guix.texi:26993
  40169. #, no-wrap
  40170. msgid "NFS Service"
  40171. msgstr ""
  40172. #. type: cindex
  40173. #: guix-git/doc/guix.texi:26994
  40174. #, no-wrap
  40175. msgid "NFS, server"
  40176. msgstr ""
  40177. #. type: Plain text
  40178. #: guix-git/doc/guix.texi:26999
  40179. 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."
  40180. msgstr ""
  40181. #. type: defvr
  40182. #: guix-git/doc/guix.texi:27000
  40183. #, no-wrap
  40184. msgid "{Scheme Variable} nfs-service-type"
  40185. msgstr ""
  40186. #. type: defvr
  40187. #: guix-git/doc/guix.texi:27002
  40188. msgid "A service type for a complete NFS server."
  40189. msgstr ""
  40190. #. type: deftp
  40191. #: guix-git/doc/guix.texi:27004
  40192. #, no-wrap
  40193. msgid "{Data Type} nfs-configuration"
  40194. msgstr ""
  40195. #. type: deftp
  40196. #: guix-git/doc/guix.texi:27007
  40197. msgid "This data type represents the configuration of the NFS service and all of its subsystems."
  40198. msgstr ""
  40199. #. type: deftp
  40200. #: guix-git/doc/guix.texi:27009
  40201. msgid "It has the following parameters:"
  40202. msgstr ""
  40203. #. type: item
  40204. #: guix-git/doc/guix.texi:27010 guix-git/doc/guix.texi:27135
  40205. #: guix-git/doc/guix.texi:27160
  40206. #, no-wrap
  40207. msgid "@code{nfs-utils} (default: @code{nfs-utils})"
  40208. msgstr ""
  40209. #. type: table
  40210. #: guix-git/doc/guix.texi:27012
  40211. msgid "The nfs-utils package to use."
  40212. msgstr ""
  40213. #. type: item
  40214. #: guix-git/doc/guix.texi:27013
  40215. #, no-wrap
  40216. msgid "@code{nfs-versions} (default: @code{'(\"4.2\" \"4.1\" \"4.0\")})"
  40217. msgstr ""
  40218. #. type: table
  40219. #: guix-git/doc/guix.texi:27016
  40220. 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."
  40221. msgstr ""
  40222. #. type: item
  40223. #: guix-git/doc/guix.texi:27017
  40224. #, no-wrap
  40225. msgid "@code{exports} (default: @code{'()})"
  40226. msgstr ""
  40227. #. type: table
  40228. #: guix-git/doc/guix.texi:27022
  40229. 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:"
  40230. msgstr ""
  40231. #. type: lisp
  40232. #: guix-git/doc/guix.texi:27028
  40233. #, no-wrap
  40234. msgid ""
  40235. "(nfs-configuration\n"
  40236. " (exports\n"
  40237. " '((\"/export\"\n"
  40238. " \"*(ro,insecure,no_subtree_check,crossmnt,fsid=0)\"))))\n"
  40239. msgstr ""
  40240. #. type: item
  40241. #: guix-git/doc/guix.texi:27030
  40242. #, no-wrap
  40243. msgid "@code{rpcmountd-port} (default: @code{#f})"
  40244. msgstr ""
  40245. #. type: table
  40246. #: guix-git/doc/guix.texi:27032
  40247. msgid "The network port that the @command{rpc.mountd} daemon should use."
  40248. msgstr ""
  40249. #. type: item
  40250. #: guix-git/doc/guix.texi:27033
  40251. #, no-wrap
  40252. msgid "@code{rpcstatd-port} (default: @code{#f})"
  40253. msgstr ""
  40254. #. type: table
  40255. #: guix-git/doc/guix.texi:27035
  40256. msgid "The network port that the @command{rpc.statd} daemon should use."
  40257. msgstr ""
  40258. #. type: item
  40259. #: guix-git/doc/guix.texi:27036 guix-git/doc/guix.texi:27084
  40260. #, no-wrap
  40261. msgid "@code{rpcbind} (default: @code{rpcbind})"
  40262. msgstr ""
  40263. #. type: table
  40264. #: guix-git/doc/guix.texi:27038 guix-git/doc/guix.texi:27086
  40265. msgid "The rpcbind package to use."
  40266. msgstr ""
  40267. #. type: item
  40268. #: guix-git/doc/guix.texi:27039
  40269. #, no-wrap
  40270. msgid "@code{idmap-domain} (default: @code{\"localdomain\"})"
  40271. msgstr ""
  40272. #. type: table
  40273. #: guix-git/doc/guix.texi:27041
  40274. msgid "The local NFSv4 domain name."
  40275. msgstr ""
  40276. #. type: item
  40277. #: guix-git/doc/guix.texi:27042
  40278. #, no-wrap
  40279. msgid "@code{nfsd-port} (default: @code{2049})"
  40280. msgstr ""
  40281. #. type: table
  40282. #: guix-git/doc/guix.texi:27044
  40283. msgid "The network port that the @command{nfsd} daemon should use."
  40284. msgstr ""
  40285. #. type: item
  40286. #: guix-git/doc/guix.texi:27045
  40287. #, no-wrap
  40288. msgid "@code{nfsd-threads} (default: @code{8})"
  40289. msgstr ""
  40290. #. type: table
  40291. #: guix-git/doc/guix.texi:27047
  40292. msgid "The number of threads used by the @command{nfsd} daemon."
  40293. msgstr ""
  40294. #. type: item
  40295. #: guix-git/doc/guix.texi:27048
  40296. #, no-wrap
  40297. msgid "@code{nfsd-tcp?} (default: @code{#t})"
  40298. msgstr ""
  40299. #. type: table
  40300. #: guix-git/doc/guix.texi:27050
  40301. msgid "Whether the @command{nfsd} daemon should listen on a TCP socket."
  40302. msgstr ""
  40303. #. type: item
  40304. #: guix-git/doc/guix.texi:27051
  40305. #, no-wrap
  40306. msgid "@code{nfsd-udp?} (default: @code{#f})"
  40307. msgstr ""
  40308. #. type: table
  40309. #: guix-git/doc/guix.texi:27053
  40310. msgid "Whether the @command{nfsd} daemon should listen on a UDP socket."
  40311. msgstr ""
  40312. #. type: item
  40313. #: guix-git/doc/guix.texi:27054 guix-git/doc/guix.texi:27138
  40314. #: guix-git/doc/guix.texi:27163
  40315. #, no-wrap
  40316. msgid "@code{pipefs-directory} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  40317. msgstr ""
  40318. #. type: table
  40319. #: guix-git/doc/guix.texi:27056 guix-git/doc/guix.texi:27140
  40320. #: guix-git/doc/guix.texi:27165
  40321. msgid "The directory where the pipefs file system is mounted."
  40322. msgstr ""
  40323. #. type: item
  40324. #: guix-git/doc/guix.texi:27057
  40325. #, no-wrap
  40326. msgid "@code{debug} (default: @code{'()\"})"
  40327. msgstr ""
  40328. #. type: table
  40329. #: guix-git/doc/guix.texi:27061
  40330. 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}."
  40331. msgstr ""
  40332. #. type: Plain text
  40333. #: guix-git/doc/guix.texi:27066
  40334. 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."
  40335. msgstr ""
  40336. #. type: subsubheading
  40337. #: guix-git/doc/guix.texi:27067
  40338. #, no-wrap
  40339. msgid "RPC Bind Service"
  40340. msgstr ""
  40341. #. type: cindex
  40342. #: guix-git/doc/guix.texi:27068
  40343. #, no-wrap
  40344. msgid "rpcbind"
  40345. msgstr ""
  40346. #. type: Plain text
  40347. #: guix-git/doc/guix.texi:27074
  40348. 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."
  40349. msgstr ""
  40350. #. type: defvr
  40351. #: guix-git/doc/guix.texi:27075
  40352. #, no-wrap
  40353. msgid "{Scheme Variable} rpcbind-service-type"
  40354. msgstr ""
  40355. #. type: defvr
  40356. #: guix-git/doc/guix.texi:27077
  40357. msgid "A service type for the RPC portmapper daemon."
  40358. msgstr ""
  40359. #. type: deftp
  40360. #: guix-git/doc/guix.texi:27080
  40361. #, no-wrap
  40362. msgid "{Data Type} rpcbind-configuration"
  40363. msgstr ""
  40364. #. type: deftp
  40365. #: guix-git/doc/guix.texi:27083
  40366. msgid "Data type representing the configuration of the RPC Bind Service. This type has the following parameters:"
  40367. msgstr ""
  40368. #. type: item
  40369. #: guix-git/doc/guix.texi:27087
  40370. #, no-wrap
  40371. msgid "@code{warm-start?} (default: @code{#t})"
  40372. msgstr ""
  40373. #. type: table
  40374. #: guix-git/doc/guix.texi:27091
  40375. 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."
  40376. msgstr ""
  40377. #. type: subsubheading
  40378. #: guix-git/doc/guix.texi:27095
  40379. #, no-wrap
  40380. msgid "Pipefs Pseudo File System"
  40381. msgstr ""
  40382. #. type: cindex
  40383. #: guix-git/doc/guix.texi:27096
  40384. #, no-wrap
  40385. msgid "pipefs"
  40386. msgstr ""
  40387. #. type: cindex
  40388. #: guix-git/doc/guix.texi:27097
  40389. #, no-wrap
  40390. msgid "rpc_pipefs"
  40391. msgstr ""
  40392. #. type: Plain text
  40393. #: guix-git/doc/guix.texi:27101
  40394. msgid "The pipefs file system is used to transfer NFS related data between the kernel and user space programs."
  40395. msgstr ""
  40396. #. type: defvr
  40397. #: guix-git/doc/guix.texi:27102
  40398. #, no-wrap
  40399. msgid "{Scheme Variable} pipefs-service-type"
  40400. msgstr ""
  40401. #. type: defvr
  40402. #: guix-git/doc/guix.texi:27104
  40403. msgid "A service type for the pipefs pseudo file system."
  40404. msgstr ""
  40405. #. type: deftp
  40406. #: guix-git/doc/guix.texi:27106
  40407. #, no-wrap
  40408. msgid "{Data Type} pipefs-configuration"
  40409. msgstr ""
  40410. #. type: deftp
  40411. #: guix-git/doc/guix.texi:27109
  40412. msgid "Data type representing the configuration of the pipefs pseudo file system service. This type has the following parameters:"
  40413. msgstr ""
  40414. #. type: item
  40415. #: guix-git/doc/guix.texi:27110
  40416. #, no-wrap
  40417. msgid "@code{mount-point} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  40418. msgstr ""
  40419. #. type: table
  40420. #: guix-git/doc/guix.texi:27112
  40421. msgid "The directory to which the file system is to be attached."
  40422. msgstr ""
  40423. #. type: subsubheading
  40424. #: guix-git/doc/guix.texi:27116
  40425. #, no-wrap
  40426. msgid "GSS Daemon Service"
  40427. msgstr ""
  40428. #. type: cindex
  40429. #: guix-git/doc/guix.texi:27117
  40430. #, no-wrap
  40431. msgid "GSSD"
  40432. msgstr ""
  40433. #. type: cindex
  40434. #: guix-git/doc/guix.texi:27118
  40435. #, no-wrap
  40436. msgid "GSS"
  40437. msgstr ""
  40438. #. type: cindex
  40439. #: guix-git/doc/guix.texi:27119
  40440. #, no-wrap
  40441. msgid "global security system"
  40442. msgstr ""
  40443. #. type: Plain text
  40444. #: guix-git/doc/guix.texi:27126
  40445. 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})."
  40446. msgstr ""
  40447. #. type: defvr
  40448. #: guix-git/doc/guix.texi:27127
  40449. #, no-wrap
  40450. msgid "{Scheme Variable} gss-service-type"
  40451. msgstr ""
  40452. #. type: defvr
  40453. #: guix-git/doc/guix.texi:27129
  40454. msgid "A service type for the Global Security System (GSS) daemon."
  40455. msgstr ""
  40456. #. type: deftp
  40457. #: guix-git/doc/guix.texi:27131
  40458. #, no-wrap
  40459. msgid "{Data Type} gss-configuration"
  40460. msgstr ""
  40461. #. type: deftp
  40462. #: guix-git/doc/guix.texi:27134
  40463. msgid "Data type representing the configuration of the GSS daemon service. This type has the following parameters:"
  40464. msgstr ""
  40465. #. type: table
  40466. #: guix-git/doc/guix.texi:27137
  40467. msgid "The package in which the @command{rpc.gssd} command is to be found."
  40468. msgstr ""
  40469. #. type: subsubheading
  40470. #: guix-git/doc/guix.texi:27145
  40471. #, no-wrap
  40472. msgid "IDMAP Daemon Service"
  40473. msgstr ""
  40474. #. type: cindex
  40475. #: guix-git/doc/guix.texi:27146
  40476. #, no-wrap
  40477. msgid "idmapd"
  40478. msgstr ""
  40479. #. type: cindex
  40480. #: guix-git/doc/guix.texi:27147
  40481. #, no-wrap
  40482. msgid "name mapper"
  40483. msgstr ""
  40484. #. type: Plain text
  40485. #: guix-git/doc/guix.texi:27151
  40486. 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."
  40487. msgstr ""
  40488. #. type: defvr
  40489. #: guix-git/doc/guix.texi:27152
  40490. #, no-wrap
  40491. msgid "{Scheme Variable} idmap-service-type"
  40492. msgstr ""
  40493. #. type: defvr
  40494. #: guix-git/doc/guix.texi:27154
  40495. msgid "A service type for the Identity Mapper (IDMAP) daemon."
  40496. msgstr ""
  40497. #. type: deftp
  40498. #: guix-git/doc/guix.texi:27156
  40499. #, no-wrap
  40500. msgid "{Data Type} idmap-configuration"
  40501. msgstr ""
  40502. #. type: deftp
  40503. #: guix-git/doc/guix.texi:27159
  40504. msgid "Data type representing the configuration of the IDMAP daemon service. This type has the following parameters:"
  40505. msgstr ""
  40506. #. type: table
  40507. #: guix-git/doc/guix.texi:27162
  40508. msgid "The package in which the @command{rpc.idmapd} command is to be found."
  40509. msgstr ""
  40510. #. type: item
  40511. #: guix-git/doc/guix.texi:27166
  40512. #, no-wrap
  40513. msgid "@code{domain} (default: @code{#f})"
  40514. msgstr "@code{domain} (default: @code{#f})"
  40515. #. type: table
  40516. #: guix-git/doc/guix.texi:27170
  40517. 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."
  40518. msgstr ""
  40519. #. type: item
  40520. #: guix-git/doc/guix.texi:27171
  40521. #, no-wrap
  40522. msgid "@code{verbosity} (default: @code{0})"
  40523. msgstr ""
  40524. #. type: table
  40525. #: guix-git/doc/guix.texi:27173
  40526. msgid "The verbosity level of the daemon."
  40527. msgstr ""
  40528. #. type: Plain text
  40529. #: guix-git/doc/guix.texi:27184
  40530. 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})."
  40531. msgstr ""
  40532. #. type: Plain text
  40533. #: guix-git/doc/guix.texi:27186
  40534. msgid "The @code{(gnu services cuirass)} module provides the following service."
  40535. msgstr ""
  40536. #. type: defvr
  40537. #: guix-git/doc/guix.texi:27187
  40538. #, no-wrap
  40539. msgid "{Scheme Procedure} cuirass-service-type"
  40540. msgstr ""
  40541. #. type: defvr
  40542. #: guix-git/doc/guix.texi:27190
  40543. msgid "The type of the Cuirass service. Its value must be a @code{cuirass-configuration} object, as described below."
  40544. msgstr ""
  40545. #. type: Plain text
  40546. #: guix-git/doc/guix.texi:27195
  40547. 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."
  40548. msgstr ""
  40549. #. type: lisp
  40550. #: guix-git/doc/guix.texi:27206
  40551. #, no-wrap
  40552. msgid ""
  40553. "(define %cuirass-specs\n"
  40554. " #~(list (specification\n"
  40555. " (name \"my-channel\")\n"
  40556. " (build '(channels my-channel))\n"
  40557. " (channels\n"
  40558. " (cons (channel\n"
  40559. " (name 'my-channel)\n"
  40560. " (url \"https://my-channel.git\"))\n"
  40561. " %default-channels)))))\n"
  40562. "\n"
  40563. msgstr ""
  40564. #. type: lisp
  40565. #: guix-git/doc/guix.texi:27210 guix-git/doc/guix.texi:27224
  40566. #, no-wrap
  40567. msgid ""
  40568. "(service cuirass-service-type\n"
  40569. " (cuirass-configuration\n"
  40570. " (specifications %cuirass-specs)))\n"
  40571. msgstr ""
  40572. #. type: Plain text
  40573. #: guix-git/doc/guix.texi:27214
  40574. msgid "To build the @code{linux-libre} package defined by the default Guix channel, one can use the following configuration."
  40575. msgstr ""
  40576. #. type: lisp
  40577. #: guix-git/doc/guix.texi:27220
  40578. #, no-wrap
  40579. msgid ""
  40580. "(define %cuirass-specs\n"
  40581. " #~(list (specification\n"
  40582. " (name \"my-linux\")\n"
  40583. " (build '(packages \"linux-libre\")))))\n"
  40584. "\n"
  40585. msgstr ""
  40586. #. type: Plain text
  40587. #: guix-git/doc/guix.texi:27229
  40588. msgid "The other configuration possibilities, as well as the specification record itself are described in the Cuirass manual (@pxref{Specifications,,, cuirass, Cuirass})."
  40589. msgstr ""
  40590. #. type: Plain text
  40591. #: guix-git/doc/guix.texi:27233
  40592. 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."
  40593. msgstr ""
  40594. #. type: deftp
  40595. #: guix-git/doc/guix.texi:27234
  40596. #, no-wrap
  40597. msgid "{Data Type} cuirass-configuration"
  40598. msgstr ""
  40599. #. type: deftp
  40600. #: guix-git/doc/guix.texi:27236
  40601. msgid "Data type representing the configuration of Cuirass."
  40602. msgstr ""
  40603. #. type: item
  40604. #: guix-git/doc/guix.texi:27238 guix-git/doc/guix.texi:27370
  40605. #, no-wrap
  40606. msgid "@code{cuirass} (default: @code{cuirass})"
  40607. msgstr ""
  40608. #. type: table
  40609. #: guix-git/doc/guix.texi:27240 guix-git/doc/guix.texi:27372
  40610. msgid "The Cuirass package to use."
  40611. msgstr ""
  40612. #. type: item
  40613. #: guix-git/doc/guix.texi:27241
  40614. #, no-wrap
  40615. msgid "@code{log-file} (default: @code{\"/var/log/cuirass.log\"})"
  40616. msgstr ""
  40617. #. type: table
  40618. #: guix-git/doc/guix.texi:27243 guix-git/doc/guix.texi:27347
  40619. #: guix-git/doc/guix.texi:27385
  40620. msgid "Location of the log file."
  40621. msgstr ""
  40622. #. type: item
  40623. #: guix-git/doc/guix.texi:27244
  40624. #, no-wrap
  40625. msgid "@code{web-log-file} (default: @code{\"/var/log/cuirass-web.log\"})"
  40626. msgstr ""
  40627. #. type: table
  40628. #: guix-git/doc/guix.texi:27246
  40629. msgid "Location of the log file used by the web interface."
  40630. msgstr ""
  40631. #. type: item
  40632. #: guix-git/doc/guix.texi:27247
  40633. #, no-wrap
  40634. msgid "@code{cache-directory} (default: @code{\"/var/cache/cuirass\"})"
  40635. msgstr ""
  40636. #. type: table
  40637. #: guix-git/doc/guix.texi:27249
  40638. msgid "Location of the repository cache."
  40639. msgstr ""
  40640. #. type: item
  40641. #: guix-git/doc/guix.texi:27250
  40642. #, no-wrap
  40643. msgid "@code{user} (default: @code{\"cuirass\"})"
  40644. msgstr ""
  40645. #. type: table
  40646. #: guix-git/doc/guix.texi:27252
  40647. msgid "Owner of the @code{cuirass} process."
  40648. msgstr ""
  40649. #. type: item
  40650. #: guix-git/doc/guix.texi:27253
  40651. #, no-wrap
  40652. msgid "@code{group} (default: @code{\"cuirass\"})"
  40653. msgstr ""
  40654. #. type: table
  40655. #: guix-git/doc/guix.texi:27255
  40656. msgid "Owner's group of the @code{cuirass} process."
  40657. msgstr ""
  40658. #. type: item
  40659. #: guix-git/doc/guix.texi:27256
  40660. #, no-wrap
  40661. msgid "@code{interval} (default: @code{60})"
  40662. msgstr ""
  40663. #. type: table
  40664. #: guix-git/doc/guix.texi:27259
  40665. msgid "Number of seconds between the poll of the repositories followed by the Cuirass jobs."
  40666. msgstr ""
  40667. #. type: item
  40668. #: guix-git/doc/guix.texi:27260
  40669. #, fuzzy, no-wrap
  40670. #| msgid "@code{term} (default: @code{#f})"
  40671. msgid "@code{parameters} (default: @code{#f})"
  40672. msgstr "@code{term} (default: @code{#f})"
  40673. #. type: table
  40674. #: guix-git/doc/guix.texi:27263
  40675. msgid "Read parameters from the given @var{parameters} file. The supported parameters are described here (@pxref{Parameters,,, cuirass, Cuirass})."
  40676. msgstr ""
  40677. #. type: item
  40678. #: guix-git/doc/guix.texi:27264
  40679. #, fuzzy, no-wrap
  40680. #| msgid "@code{remote?} (default: @code{#f})"
  40681. msgid "@code{remote-server} (default: @code{#f})"
  40682. msgstr "@code{remote?} (padrão: @code{#f})"
  40683. #. type: table
  40684. #: guix-git/doc/guix.texi:27267
  40685. msgid "A @code{cuirass-remote-server-configuration} record to use the build remote mechanism or @code{#f} to use the default build mechanism."
  40686. msgstr ""
  40687. #. type: item
  40688. #: guix-git/doc/guix.texi:27268
  40689. #, no-wrap
  40690. msgid "@code{database} (default: @code{\"dbname=cuirass host=/var/run/postgresql\"})"
  40691. msgstr ""
  40692. #. type: table
  40693. #: guix-git/doc/guix.texi:27273
  40694. 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\"}."
  40695. msgstr ""
  40696. #. type: item
  40697. #: guix-git/doc/guix.texi:27274
  40698. #, no-wrap
  40699. msgid "@code{port} (default: @code{8081})"
  40700. msgstr "@code{porta} (default: @code{8081})"
  40701. #. type: table
  40702. #: guix-git/doc/guix.texi:27276
  40703. msgid "Port number used by the HTTP server."
  40704. msgstr ""
  40705. #. type: table
  40706. #: guix-git/doc/guix.texi:27280
  40707. msgid "Listen on the network interface for @var{host}. The default is to accept connections from localhost."
  40708. msgstr ""
  40709. #. type: item
  40710. #: guix-git/doc/guix.texi:27281
  40711. #, no-wrap
  40712. msgid "@code{specifications} (default: @code{#~'()})"
  40713. msgstr ""
  40714. #. type: table
  40715. #: guix-git/doc/guix.texi:27285
  40716. 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})."
  40717. msgstr ""
  40718. #. type: item
  40719. #: guix-git/doc/guix.texi:27286
  40720. #, no-wrap
  40721. msgid "@code{use-substitutes?} (default: @code{#f})"
  40722. msgstr ""
  40723. #. type: table
  40724. #: guix-git/doc/guix.texi:27289
  40725. msgid "This allows using substitutes to avoid building every dependencies of a job from source."
  40726. msgstr ""
  40727. #. type: item
  40728. #: guix-git/doc/guix.texi:27290 guix-git/doc/guix.texi:34160
  40729. #, no-wrap
  40730. msgid "@code{one-shot?} (default: @code{#f})"
  40731. msgstr ""
  40732. #. type: table
  40733. #: guix-git/doc/guix.texi:27292
  40734. msgid "Only evaluate specifications and build derivations once."
  40735. msgstr ""
  40736. #. type: item
  40737. #: guix-git/doc/guix.texi:27293
  40738. #, no-wrap
  40739. msgid "@code{fallback?} (default: @code{#f})"
  40740. msgstr "@code{fallback?} (padrão: @code{#f})"
  40741. #. type: table
  40742. #: guix-git/doc/guix.texi:27296
  40743. msgid "When substituting a pre-built binary fails, fall back to building packages locally."
  40744. msgstr ""
  40745. #. type: table
  40746. #: guix-git/doc/guix.texi:27299
  40747. msgid "Extra options to pass when running the Cuirass processes."
  40748. msgstr ""
  40749. #. type: cindex
  40750. #: guix-git/doc/guix.texi:27303
  40751. #, fuzzy, no-wrap
  40752. #| msgid "reproducible builds"
  40753. msgid "remote build"
  40754. msgstr "compilações reproduzíveis"
  40755. #. type: subsubheading
  40756. #: guix-git/doc/guix.texi:27304
  40757. #, no-wrap
  40758. msgid "Cuirass remote building"
  40759. msgstr ""
  40760. #. type: Plain text
  40761. #: guix-git/doc/guix.texi:27307
  40762. msgid "Cuirass supports two mechanisms to build derivations."
  40763. msgstr ""
  40764. #. type: item
  40765. #: guix-git/doc/guix.texi:27309
  40766. #, fuzzy, no-wrap
  40767. #| msgid "Running the build daemon."
  40768. msgid "Using the local Guix daemon."
  40769. msgstr "Executando o daemon de compilação."
  40770. #. type: itemize
  40771. #: guix-git/doc/guix.texi:27313
  40772. 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."
  40773. msgstr ""
  40774. #. type: item
  40775. #: guix-git/doc/guix.texi:27314
  40776. #, fuzzy, no-wrap
  40777. #| msgid "Preparing the isolated build environment."
  40778. msgid "Using the remote build mechanism."
  40779. msgstr "Preparando o ambiente de compilação isolado."
  40780. #. type: itemize
  40781. #: guix-git/doc/guix.texi:27318
  40782. 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."
  40783. msgstr ""
  40784. #. type: Plain text
  40785. #: guix-git/doc/guix.texi:27325
  40786. 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."
  40787. msgstr ""
  40788. #. type: Plain text
  40789. #: guix-git/doc/guix.texi:27330
  40790. 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."
  40791. msgstr ""
  40792. #. type: deftp
  40793. #: guix-git/doc/guix.texi:27331
  40794. #, no-wrap
  40795. msgid "{Data Type} cuirass-remote-server-configuration"
  40796. msgstr ""
  40797. #. type: deftp
  40798. #: guix-git/doc/guix.texi:27333
  40799. msgid "Data type representing the configuration of the Cuirass remote-server."
  40800. msgstr ""
  40801. #. type: item
  40802. #: guix-git/doc/guix.texi:27335
  40803. #, fuzzy, no-wrap
  40804. #| msgid "@code{port} (default: @code{53})"
  40805. msgid "@code{backend-port} (default: @code{5555})"
  40806. msgstr "@code{porta} (default: @code{53})"
  40807. #. type: table
  40808. #: guix-git/doc/guix.texi:27338
  40809. msgid "The TCP port for communicating with @code{remote-worker} processes using ZMQ. It defaults to @code{5555}."
  40810. msgstr ""
  40811. #. type: item
  40812. #: guix-git/doc/guix.texi:27339
  40813. #, fuzzy, no-wrap
  40814. #| msgid "@code{port} (default: @code{53})"
  40815. msgid "@code{log-port} (default: @code{5556})"
  40816. msgstr "@code{porta} (default: @code{53})"
  40817. #. type: table
  40818. #: guix-git/doc/guix.texi:27341
  40819. msgid "The TCP port of the log server. It defaults to @code{5556}."
  40820. msgstr ""
  40821. #. type: item
  40822. #: guix-git/doc/guix.texi:27342
  40823. #, fuzzy, no-wrap
  40824. #| msgid "@code{publish?} (default: @code{#t})"
  40825. msgid "@code{publish-port} (default: @code{5557})"
  40826. msgstr "@code{publish?} (padrão: @code{#t})"
  40827. #. type: table
  40828. #: guix-git/doc/guix.texi:27344
  40829. msgid "The TCP port of the publish server. It defaults to @code{5557}."
  40830. msgstr ""
  40831. #. type: item
  40832. #: guix-git/doc/guix.texi:27345
  40833. #, fuzzy, no-wrap
  40834. #| msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})"
  40835. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-server.log\"})"
  40836. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  40837. #. type: item
  40838. #: guix-git/doc/guix.texi:27348
  40839. #, fuzzy, no-wrap
  40840. #| msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})"
  40841. msgid "@code{cache} (default: @code{\"/var/cache/cuirass/remote\"})"
  40842. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  40843. #. type: table
  40844. #: guix-git/doc/guix.texi:27350
  40845. msgid "Use @var{cache} directory to cache build log files."
  40846. msgstr ""
  40847. #. type: item
  40848. #: guix-git/doc/guix.texi:27351
  40849. #, fuzzy, no-wrap
  40850. #| msgid "@code{term} (default: @code{#f})"
  40851. msgid "@code{trigger-url} (default: @code{#f})"
  40852. msgstr "@code{term} (default: @code{#f})"
  40853. #. type: table
  40854. #: guix-git/doc/guix.texi:27354
  40855. msgid "Once a substitute is successfully fetched, trigger substitute baking at @var{trigger-url}."
  40856. msgstr ""
  40857. #. type: code{#1}
  40858. #: guix-git/doc/guix.texi:27356 guix-git/doc/guix.texi:27390
  40859. #, no-wrap
  40860. msgid "private-key"
  40861. msgstr ""
  40862. #. type: Plain text
  40863. #: guix-git/doc/guix.texi:27365
  40864. 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."
  40865. msgstr ""
  40866. #. type: deftp
  40867. #: guix-git/doc/guix.texi:27366
  40868. #, no-wrap
  40869. msgid "{Data Type} cuirass-remote-worker-configuration"
  40870. msgstr ""
  40871. #. type: deftp
  40872. #: guix-git/doc/guix.texi:27368
  40873. msgid "Data type representing the configuration of the Cuirass remote-worker."
  40874. msgstr ""
  40875. #. type: item
  40876. #: guix-git/doc/guix.texi:27373
  40877. #, fuzzy, no-wrap
  40878. #| msgid "@code{workers} (default: @code{#f})"
  40879. msgid "@code{workers} (default: @code{1})"
  40880. msgstr "@code{workers} (default: @code{#f})"
  40881. #. type: table
  40882. #: guix-git/doc/guix.texi:27375
  40883. msgid "Start @var{workers} parallel workers."
  40884. msgstr ""
  40885. #. type: table
  40886. #: guix-git/doc/guix.texi:27379
  40887. msgid "Do not use Avahi discovery and connect to the given @code{server} IP address instead."
  40888. msgstr ""
  40889. #. type: item
  40890. #: guix-git/doc/guix.texi:27380
  40891. #, no-wrap
  40892. msgid "@code{systems} (default: @code{(list (%current-system))})"
  40893. msgstr ""
  40894. #. type: table
  40895. #: guix-git/doc/guix.texi:27382
  40896. msgid "Only request builds for the given @var{systems}."
  40897. msgstr ""
  40898. #. type: item
  40899. #: guix-git/doc/guix.texi:27383
  40900. #, fuzzy, no-wrap
  40901. #| msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})"
  40902. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-worker.log\"})"
  40903. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  40904. #. type: item
  40905. #: guix-git/doc/guix.texi:27386
  40906. #, fuzzy, no-wrap
  40907. #| msgid "@code{publish?} (default: @code{#t})"
  40908. msgid "@code{publish-port} (default: @code{5558})"
  40909. msgstr "@code{publish?} (padrão: @code{#t})"
  40910. #. type: table
  40911. #: guix-git/doc/guix.texi:27388
  40912. msgid "The TCP port of the publish server. It defaults to @code{5558}."
  40913. msgstr ""
  40914. #. type: subsubheading
  40915. #: guix-git/doc/guix.texi:27397
  40916. #, no-wrap
  40917. msgid "Laminar"
  40918. msgstr ""
  40919. #. type: Plain text
  40920. #: guix-git/doc/guix.texi:27402
  40921. 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."
  40922. msgstr ""
  40923. #. type: Plain text
  40924. #: guix-git/doc/guix.texi:27405
  40925. msgid "Laminar encourages the use of existing tools such as bash and cron instead of reinventing them."
  40926. msgstr ""
  40927. #. type: defvr
  40928. #: guix-git/doc/guix.texi:27406
  40929. #, no-wrap
  40930. msgid "{Scheme Procedure} laminar-service-type"
  40931. msgstr ""
  40932. #. type: defvr
  40933. #: guix-git/doc/guix.texi:27409
  40934. msgid "The type of the Laminar service. Its value must be a @code{laminar-configuration} object, as described below."
  40935. msgstr ""
  40936. #. type: defvr
  40937. #: guix-git/doc/guix.texi:27413
  40938. 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."
  40939. msgstr ""
  40940. #. type: lisp
  40941. #: guix-git/doc/guix.texi:27416
  40942. #, no-wrap
  40943. msgid "(service laminar-service-type)\n"
  40944. msgstr ""
  40945. #. type: deftp
  40946. #: guix-git/doc/guix.texi:27419
  40947. #, fuzzy, no-wrap
  40948. #| msgid "{Data Type} build-machine"
  40949. msgid "{Data Type} laminar-configuration"
  40950. msgstr "build-machine {Data Type}"
  40951. #. type: deftp
  40952. #: guix-git/doc/guix.texi:27421
  40953. #, fuzzy
  40954. #| msgid "Manage the operating system configuration."
  40955. msgid "Data type representing the configuration of Laminar."
  40956. msgstr "Gerencie a configuração do sistema operacional."
  40957. #. type: item
  40958. #: guix-git/doc/guix.texi:27423
  40959. #, fuzzy, no-wrap
  40960. #| msgid "@code{tmpdir} (default: @code{#f})"
  40961. msgid "@code{laminar} (default: @code{laminar})"
  40962. msgstr "@code{tmpdir} (default: @code{#f})"
  40963. #. type: table
  40964. #: guix-git/doc/guix.texi:27425
  40965. #, fuzzy
  40966. #| msgid "The GPM package to use."
  40967. msgid "The Laminar package to use."
  40968. msgstr "O pacote GPM a ser usado."
  40969. #. type: item
  40970. #: guix-git/doc/guix.texi:27426
  40971. #, fuzzy, no-wrap
  40972. #| msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})"
  40973. msgid "@code{home-directory} (default: @code{\"/var/lib/laminar\"})"
  40974. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  40975. #. type: table
  40976. #: guix-git/doc/guix.texi:27428
  40977. msgid "The directory for job configurations and run directories."
  40978. msgstr ""
  40979. #. type: item
  40980. #: guix-git/doc/guix.texi:27429
  40981. #, fuzzy, no-wrap
  40982. #| msgid "@code{port} (default: @code{\"6600\"})"
  40983. msgid "@code{bind-http} (default: @code{\"*:8080\"})"
  40984. msgstr "@code{porta} (default: @code{\"6600\"})"
  40985. #. type: table
  40986. #: guix-git/doc/guix.texi:27432
  40987. msgid "The interface/port or unix socket on which laminard should listen for incoming connections to the web frontend."
  40988. msgstr ""
  40989. #. type: item
  40990. #: guix-git/doc/guix.texi:27433
  40991. #, fuzzy, no-wrap
  40992. #| msgid "@code{tor} (default: @code{tor})"
  40993. msgid "@code{bind-rpc} (default: @code{\"unix-abstract:laminar\"})"
  40994. msgstr "@code{tor} (default: @code{tor})"
  40995. #. type: table
  40996. #: guix-git/doc/guix.texi:27436
  40997. msgid "The interface/port or unix socket on which laminard should listen for incoming commands such as build triggers."
  40998. msgstr ""
  40999. #. type: item
  41000. #: guix-git/doc/guix.texi:27437
  41001. #, fuzzy, no-wrap
  41002. #| msgid "@code{ttl} (default: @code{#f})"
  41003. msgid "@code{title} (default: @code{\"Laminar\"})"
  41004. msgstr "@code{ttl} (default: @code{#f})"
  41005. #. type: table
  41006. #: guix-git/doc/guix.texi:27439
  41007. msgid "The page title to show in the web frontend."
  41008. msgstr ""
  41009. #. type: item
  41010. #: guix-git/doc/guix.texi:27440
  41011. #, fuzzy, no-wrap
  41012. #| msgid "@code{workers} (default: @code{#f})"
  41013. msgid "@code{keep-rundirs} (default: @code{0})"
  41014. msgstr "@code{workers} (default: @code{#f})"
  41015. #. type: table
  41016. #: guix-git/doc/guix.texi:27444
  41017. 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."
  41018. msgstr ""
  41019. #. type: item
  41020. #: guix-git/doc/guix.texi:27445
  41021. #, fuzzy, no-wrap
  41022. #| msgid "@code{term} (default: @code{#f})"
  41023. msgid "@code{archive-url} (default: @code{#f})"
  41024. msgstr "@code{term} (default: @code{#f})"
  41025. #. type: table
  41026. #: guix-git/doc/guix.texi:27448
  41027. msgid "The web frontend served by laminard will use this URL to form links to artefacts archived jobs."
  41028. msgstr ""
  41029. #. type: item
  41030. #: guix-git/doc/guix.texi:27449
  41031. #, fuzzy, no-wrap
  41032. #| msgid "@code{users} (default: @code{#f})"
  41033. msgid "@code{base-url} (default: @code{#f})"
  41034. msgstr "@code{users} (default: @code{#f})"
  41035. #. type: table
  41036. #: guix-git/doc/guix.texi:27451
  41037. msgid "Base URL to use for links to laminar itself."
  41038. msgstr ""
  41039. #. type: cindex
  41040. #: guix-git/doc/guix.texi:27458
  41041. #, no-wrap
  41042. msgid "tlp"
  41043. msgstr ""
  41044. #. type: cindex
  41045. #: guix-git/doc/guix.texi:27459
  41046. #, no-wrap
  41047. msgid "power management with TLP"
  41048. msgstr ""
  41049. #. type: subsubheading
  41050. #: guix-git/doc/guix.texi:27460
  41051. #, no-wrap
  41052. msgid "TLP daemon"
  41053. msgstr ""
  41054. #. type: Plain text
  41055. #: guix-git/doc/guix.texi:27464
  41056. msgid "The @code{(gnu services pm)} module provides a Guix service definition for the Linux power management tool TLP."
  41057. msgstr ""
  41058. #. type: Plain text
  41059. #: guix-git/doc/guix.texi:27470
  41060. 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}."
  41061. msgstr ""
  41062. #. type: deffn
  41063. #: guix-git/doc/guix.texi:27471
  41064. #, no-wrap
  41065. msgid "{Scheme Variable} tlp-service-type"
  41066. msgstr ""
  41067. #. type: deffn
  41068. #: guix-git/doc/guix.texi:27475
  41069. 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}:"
  41070. msgstr ""
  41071. #. type: lisp
  41072. #: guix-git/doc/guix.texi:27480
  41073. #, no-wrap
  41074. msgid ""
  41075. "(service tlp-service-type\n"
  41076. " (tlp-configuration\n"
  41077. " (cpu-scaling-governor-on-ac (list \"performance\"))\n"
  41078. " (sched-powersave-on-bat? #t)))\n"
  41079. msgstr ""
  41080. #. type: Plain text
  41081. #: guix-git/doc/guix.texi:27488
  41082. 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}."
  41083. msgstr ""
  41084. #. type: Plain text
  41085. #: guix-git/doc/guix.texi:27498
  41086. msgid "Available @code{tlp-configuration} fields are:"
  41087. msgstr ""
  41088. #. type: deftypevr
  41089. #: guix-git/doc/guix.texi:27499
  41090. #, no-wrap
  41091. msgid "{@code{tlp-configuration} parameter} package tlp"
  41092. msgstr ""
  41093. #. type: deftypevr
  41094. #: guix-git/doc/guix.texi:27501
  41095. msgid "The TLP package."
  41096. msgstr ""
  41097. #. type: deftypevr
  41098. #: guix-git/doc/guix.texi:27504
  41099. #, no-wrap
  41100. msgid "{@code{tlp-configuration} parameter} boolean tlp-enable?"
  41101. msgstr ""
  41102. #. type: deftypevr
  41103. #: guix-git/doc/guix.texi:27506
  41104. msgid "Set to true if you wish to enable TLP."
  41105. msgstr ""
  41106. #. type: deftypevr
  41107. #: guix-git/doc/guix.texi:27511
  41108. #, no-wrap
  41109. msgid "{@code{tlp-configuration} parameter} string tlp-default-mode"
  41110. msgstr ""
  41111. #. type: deftypevr
  41112. #: guix-git/doc/guix.texi:27514
  41113. msgid "Default mode when no power supply can be detected. Alternatives are AC and BAT."
  41114. msgstr ""
  41115. #. type: deftypevr
  41116. #: guix-git/doc/guix.texi:27516
  41117. msgid "Defaults to @samp{\"AC\"}."
  41118. msgstr ""
  41119. #. type: deftypevr
  41120. #: guix-git/doc/guix.texi:27519
  41121. #, no-wrap
  41122. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-ac"
  41123. msgstr ""
  41124. #. type: deftypevr
  41125. #: guix-git/doc/guix.texi:27522
  41126. msgid "Number of seconds Linux kernel has to wait after the disk goes idle, before syncing on AC."
  41127. msgstr ""
  41128. #. type: deftypevr
  41129. #: guix-git/doc/guix.texi:27527
  41130. #, no-wrap
  41131. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-bat"
  41132. msgstr ""
  41133. #. type: deftypevr
  41134. #: guix-git/doc/guix.texi:27529
  41135. msgid "Same as @code{disk-idle-ac} but on BAT mode."
  41136. msgstr ""
  41137. #. type: deftypevr
  41138. #: guix-git/doc/guix.texi:27531
  41139. msgid "Defaults to @samp{2}."
  41140. msgstr ""
  41141. #. type: deftypevr
  41142. #: guix-git/doc/guix.texi:27534
  41143. #, no-wrap
  41144. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-ac"
  41145. msgstr ""
  41146. #. type: deftypevr
  41147. #: guix-git/doc/guix.texi:27536
  41148. msgid "Dirty pages flushing periodicity, expressed in seconds."
  41149. msgstr ""
  41150. #. type: deftypevr
  41151. #: guix-git/doc/guix.texi:27538 guix-git/doc/guix.texi:27761
  41152. #: guix-git/doc/guix.texi:29975 guix-git/doc/guix.texi:29983
  41153. msgid "Defaults to @samp{15}."
  41154. msgstr ""
  41155. #. type: deftypevr
  41156. #: guix-git/doc/guix.texi:27541
  41157. #, no-wrap
  41158. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-bat"
  41159. msgstr ""
  41160. #. type: deftypevr
  41161. #: guix-git/doc/guix.texi:27543
  41162. msgid "Same as @code{max-lost-work-secs-on-ac} but on BAT mode."
  41163. msgstr ""
  41164. #. type: deftypevr
  41165. #: guix-git/doc/guix.texi:27545
  41166. msgid "Defaults to @samp{60}."
  41167. msgstr ""
  41168. #. type: deftypevr
  41169. #: guix-git/doc/guix.texi:27548
  41170. #, no-wrap
  41171. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-ac"
  41172. msgstr ""
  41173. #. type: deftypevr
  41174. #: guix-git/doc/guix.texi:27552
  41175. 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."
  41176. msgstr ""
  41177. #. type: deftypevr
  41178. #: guix-git/doc/guix.texi:27557
  41179. #, no-wrap
  41180. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-bat"
  41181. msgstr ""
  41182. #. type: deftypevr
  41183. #: guix-git/doc/guix.texi:27559
  41184. msgid "Same as @code{cpu-scaling-governor-on-ac} but on BAT mode."
  41185. msgstr ""
  41186. #. type: deftypevr
  41187. #: guix-git/doc/guix.texi:27564
  41188. #, no-wrap
  41189. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-ac"
  41190. msgstr ""
  41191. #. type: deftypevr
  41192. #: guix-git/doc/guix.texi:27566
  41193. msgid "Set the min available frequency for the scaling governor on AC."
  41194. msgstr ""
  41195. #. type: deftypevr
  41196. #: guix-git/doc/guix.texi:27571
  41197. #, no-wrap
  41198. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-ac"
  41199. msgstr ""
  41200. #. type: deftypevr
  41201. #: guix-git/doc/guix.texi:27573
  41202. msgid "Set the max available frequency for the scaling governor on AC."
  41203. msgstr ""
  41204. #. type: deftypevr
  41205. #: guix-git/doc/guix.texi:27578
  41206. #, no-wrap
  41207. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-bat"
  41208. msgstr ""
  41209. #. type: deftypevr
  41210. #: guix-git/doc/guix.texi:27580
  41211. msgid "Set the min available frequency for the scaling governor on BAT."
  41212. msgstr ""
  41213. #. type: deftypevr
  41214. #: guix-git/doc/guix.texi:27585
  41215. #, no-wrap
  41216. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-bat"
  41217. msgstr ""
  41218. #. type: deftypevr
  41219. #: guix-git/doc/guix.texi:27587
  41220. msgid "Set the max available frequency for the scaling governor on BAT."
  41221. msgstr ""
  41222. #. type: deftypevr
  41223. #: guix-git/doc/guix.texi:27592
  41224. #, no-wrap
  41225. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-ac"
  41226. msgstr ""
  41227. #. type: deftypevr
  41228. #: guix-git/doc/guix.texi:27595
  41229. 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."
  41230. msgstr ""
  41231. #. type: deftypevr
  41232. #: guix-git/doc/guix.texi:27600
  41233. #, no-wrap
  41234. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-ac"
  41235. msgstr ""
  41236. #. type: deftypevr
  41237. #: guix-git/doc/guix.texi:27603
  41238. 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."
  41239. msgstr ""
  41240. #. type: deftypevr
  41241. #: guix-git/doc/guix.texi:27608
  41242. #, no-wrap
  41243. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-bat"
  41244. msgstr ""
  41245. #. type: deftypevr
  41246. #: guix-git/doc/guix.texi:27610
  41247. msgid "Same as @code{cpu-min-perf-on-ac} on BAT mode."
  41248. msgstr ""
  41249. #. type: deftypevr
  41250. #: guix-git/doc/guix.texi:27615
  41251. #, no-wrap
  41252. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-bat"
  41253. msgstr ""
  41254. #. type: deftypevr
  41255. #: guix-git/doc/guix.texi:27617
  41256. msgid "Same as @code{cpu-max-perf-on-ac} on BAT mode."
  41257. msgstr ""
  41258. #. type: deftypevr
  41259. #: guix-git/doc/guix.texi:27622
  41260. #, no-wrap
  41261. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-ac?"
  41262. msgstr ""
  41263. #. type: deftypevr
  41264. #: guix-git/doc/guix.texi:27624
  41265. msgid "Enable CPU turbo boost feature on AC mode."
  41266. msgstr ""
  41267. #. type: deftypevr
  41268. #: guix-git/doc/guix.texi:27629
  41269. #, no-wrap
  41270. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-bat?"
  41271. msgstr ""
  41272. #. type: deftypevr
  41273. #: guix-git/doc/guix.texi:27631
  41274. msgid "Same as @code{cpu-boost-on-ac?} on BAT mode."
  41275. msgstr ""
  41276. #. type: deftypevr
  41277. #: guix-git/doc/guix.texi:27636
  41278. #, no-wrap
  41279. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-ac?"
  41280. msgstr ""
  41281. #. type: deftypevr
  41282. #: guix-git/doc/guix.texi:27639
  41283. msgid "Allow Linux kernel to minimize the number of CPU cores/hyper-threads used under light load conditions."
  41284. msgstr ""
  41285. #. type: deftypevr
  41286. #: guix-git/doc/guix.texi:27644
  41287. #, no-wrap
  41288. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-bat?"
  41289. msgstr ""
  41290. #. type: deftypevr
  41291. #: guix-git/doc/guix.texi:27646
  41292. msgid "Same as @code{sched-powersave-on-ac?} but on BAT mode."
  41293. msgstr ""
  41294. #. type: deftypevr
  41295. #: guix-git/doc/guix.texi:27651
  41296. #, no-wrap
  41297. msgid "{@code{tlp-configuration} parameter} boolean nmi-watchdog?"
  41298. msgstr ""
  41299. #. type: deftypevr
  41300. #: guix-git/doc/guix.texi:27653
  41301. msgid "Enable Linux kernel NMI watchdog."
  41302. msgstr ""
  41303. #. type: deftypevr
  41304. #: guix-git/doc/guix.texi:27658
  41305. #, no-wrap
  41306. msgid "{@code{tlp-configuration} parameter} maybe-string phc-controls"
  41307. msgstr ""
  41308. #. type: deftypevr
  41309. #: guix-git/doc/guix.texi:27661
  41310. 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\"}."
  41311. msgstr ""
  41312. #. type: deftypevr
  41313. #: guix-git/doc/guix.texi:27666
  41314. #, no-wrap
  41315. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-ac"
  41316. msgstr ""
  41317. #. type: deftypevr
  41318. #: guix-git/doc/guix.texi:27669
  41319. msgid "Set CPU performance versus energy saving policy on AC@. Alternatives are performance, normal, powersave."
  41320. msgstr ""
  41321. #. type: deftypevr
  41322. #: guix-git/doc/guix.texi:27671 guix-git/doc/guix.texi:27769
  41323. #: guix-git/doc/guix.texi:27799
  41324. msgid "Defaults to @samp{\"performance\"}."
  41325. msgstr ""
  41326. #. type: deftypevr
  41327. #: guix-git/doc/guix.texi:27674
  41328. #, no-wrap
  41329. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-bat"
  41330. msgstr ""
  41331. #. type: deftypevr
  41332. #: guix-git/doc/guix.texi:27676
  41333. msgid "Same as @code{energy-perf-policy-ac} but on BAT mode."
  41334. msgstr ""
  41335. #. type: deftypevr
  41336. #: guix-git/doc/guix.texi:27678 guix-git/doc/guix.texi:27776
  41337. msgid "Defaults to @samp{\"powersave\"}."
  41338. msgstr ""
  41339. #. type: deftypevr
  41340. #: guix-git/doc/guix.texi:27681
  41341. #, no-wrap
  41342. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disks-devices"
  41343. msgstr ""
  41344. #. type: deftypevr
  41345. #: guix-git/doc/guix.texi:27683
  41346. msgid "Hard disk devices."
  41347. msgstr ""
  41348. #. type: deftypevr
  41349. #: guix-git/doc/guix.texi:27686
  41350. #, no-wrap
  41351. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-ac"
  41352. msgstr ""
  41353. #. type: deftypevr
  41354. #: guix-git/doc/guix.texi:27688
  41355. msgid "Hard disk advanced power management level."
  41356. msgstr ""
  41357. #. type: deftypevr
  41358. #: guix-git/doc/guix.texi:27691
  41359. #, no-wrap
  41360. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-bat"
  41361. msgstr ""
  41362. #. type: deftypevr
  41363. #: guix-git/doc/guix.texi:27693
  41364. msgid "Same as @code{disk-apm-bat} but on BAT mode."
  41365. msgstr ""
  41366. #. type: deftypevr
  41367. #: guix-git/doc/guix.texi:27696
  41368. #, no-wrap
  41369. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-ac"
  41370. msgstr ""
  41371. #. type: deftypevr
  41372. #: guix-git/doc/guix.texi:27699
  41373. msgid "Hard disk spin down timeout. One value has to be specified for each declared hard disk."
  41374. msgstr ""
  41375. #. type: deftypevr
  41376. #: guix-git/doc/guix.texi:27704
  41377. #, no-wrap
  41378. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-bat"
  41379. msgstr ""
  41380. #. type: deftypevr
  41381. #: guix-git/doc/guix.texi:27706
  41382. msgid "Same as @code{disk-spindown-timeout-on-ac} but on BAT mode."
  41383. msgstr ""
  41384. #. type: deftypevr
  41385. #: guix-git/doc/guix.texi:27711
  41386. #, no-wrap
  41387. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-iosched"
  41388. msgstr ""
  41389. #. type: deftypevr
  41390. #: guix-git/doc/guix.texi:27715
  41391. 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."
  41392. msgstr ""
  41393. #. type: deftypevr
  41394. #: guix-git/doc/guix.texi:27720
  41395. #, no-wrap
  41396. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-ac"
  41397. msgstr ""
  41398. #. type: deftypevr
  41399. #: guix-git/doc/guix.texi:27723
  41400. msgid "SATA aggressive link power management (ALPM) level. Alternatives are min_power, medium_power, max_performance."
  41401. msgstr ""
  41402. #. type: deftypevr
  41403. #: guix-git/doc/guix.texi:27725
  41404. msgid "Defaults to @samp{\"max_performance\"}."
  41405. msgstr ""
  41406. #. type: deftypevr
  41407. #: guix-git/doc/guix.texi:27728
  41408. #, no-wrap
  41409. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-bat"
  41410. msgstr ""
  41411. #. type: deftypevr
  41412. #: guix-git/doc/guix.texi:27730
  41413. msgid "Same as @code{sata-linkpwr-ac} but on BAT mode."
  41414. msgstr ""
  41415. #. type: deftypevr
  41416. #: guix-git/doc/guix.texi:27732
  41417. msgid "Defaults to @samp{\"min_power\"}."
  41418. msgstr ""
  41419. #. type: deftypevr
  41420. #: guix-git/doc/guix.texi:27735
  41421. #, no-wrap
  41422. msgid "{@code{tlp-configuration} parameter} maybe-string sata-linkpwr-blacklist"
  41423. msgstr ""
  41424. #. type: deftypevr
  41425. #: guix-git/doc/guix.texi:27737
  41426. msgid "Exclude specified SATA host devices for link power management."
  41427. msgstr ""
  41428. #. type: deftypevr
  41429. #: guix-git/doc/guix.texi:27742
  41430. #, no-wrap
  41431. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-ac?"
  41432. msgstr ""
  41433. #. type: deftypevr
  41434. #: guix-git/doc/guix.texi:27745
  41435. msgid "Enable Runtime Power Management for AHCI controller and disks on AC mode."
  41436. msgstr ""
  41437. #. type: deftypevr
  41438. #: guix-git/doc/guix.texi:27750
  41439. #, no-wrap
  41440. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-bat?"
  41441. msgstr ""
  41442. #. type: deftypevr
  41443. #: guix-git/doc/guix.texi:27752
  41444. msgid "Same as @code{ahci-runtime-pm-on-ac} on BAT mode."
  41445. msgstr ""
  41446. #. type: deftypevr
  41447. #: guix-git/doc/guix.texi:27757
  41448. #, no-wrap
  41449. msgid "{@code{tlp-configuration} parameter} non-negative-integer ahci-runtime-pm-timeout"
  41450. msgstr ""
  41451. #. type: deftypevr
  41452. #: guix-git/doc/guix.texi:27759
  41453. msgid "Seconds of inactivity before disk is suspended."
  41454. msgstr ""
  41455. #. type: deftypevr
  41456. #: guix-git/doc/guix.texi:27764
  41457. #, no-wrap
  41458. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-ac"
  41459. msgstr ""
  41460. #. type: deftypevr
  41461. #: guix-git/doc/guix.texi:27767
  41462. msgid "PCI Express Active State Power Management level. Alternatives are default, performance, powersave."
  41463. msgstr ""
  41464. #. type: deftypevr
  41465. #: guix-git/doc/guix.texi:27772
  41466. #, no-wrap
  41467. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-bat"
  41468. msgstr ""
  41469. #. type: deftypevr
  41470. #: guix-git/doc/guix.texi:27774
  41471. msgid "Same as @code{pcie-aspm-ac} but on BAT mode."
  41472. msgstr ""
  41473. #. type: deftypevr
  41474. #: guix-git/doc/guix.texi:27779
  41475. #, no-wrap
  41476. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-ac"
  41477. msgstr ""
  41478. #. type: deftypevr
  41479. #: guix-git/doc/guix.texi:27782
  41480. msgid "Radeon graphics clock speed level. Alternatives are low, mid, high, auto, default."
  41481. msgstr ""
  41482. #. type: deftypevr
  41483. #: guix-git/doc/guix.texi:27784
  41484. msgid "Defaults to @samp{\"high\"}."
  41485. msgstr ""
  41486. #. type: deftypevr
  41487. #: guix-git/doc/guix.texi:27787
  41488. #, no-wrap
  41489. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-bat"
  41490. msgstr ""
  41491. #. type: deftypevr
  41492. #: guix-git/doc/guix.texi:27789
  41493. msgid "Same as @code{radeon-power-ac} but on BAT mode."
  41494. msgstr ""
  41495. #. type: deftypevr
  41496. #: guix-git/doc/guix.texi:27791
  41497. msgid "Defaults to @samp{\"low\"}."
  41498. msgstr ""
  41499. #. type: deftypevr
  41500. #: guix-git/doc/guix.texi:27794
  41501. #, no-wrap
  41502. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-ac"
  41503. msgstr ""
  41504. #. type: deftypevr
  41505. #: guix-git/doc/guix.texi:27797
  41506. msgid "Radeon dynamic power management method (DPM). Alternatives are battery, performance."
  41507. msgstr ""
  41508. #. type: deftypevr
  41509. #: guix-git/doc/guix.texi:27802
  41510. #, no-wrap
  41511. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-bat"
  41512. msgstr ""
  41513. #. type: deftypevr
  41514. #: guix-git/doc/guix.texi:27804
  41515. msgid "Same as @code{radeon-dpm-state-ac} but on BAT mode."
  41516. msgstr ""
  41517. #. type: deftypevr
  41518. #: guix-git/doc/guix.texi:27806
  41519. msgid "Defaults to @samp{\"battery\"}."
  41520. msgstr ""
  41521. #. type: deftypevr
  41522. #: guix-git/doc/guix.texi:27809
  41523. #, no-wrap
  41524. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-ac"
  41525. msgstr ""
  41526. #. type: deftypevr
  41527. #: guix-git/doc/guix.texi:27811
  41528. msgid "Radeon DPM performance level. Alternatives are auto, low, high."
  41529. msgstr ""
  41530. #. type: deftypevr
  41531. #: guix-git/doc/guix.texi:27813 guix-git/doc/guix.texi:27820
  41532. #: guix-git/doc/guix.texi:27894
  41533. msgid "Defaults to @samp{\"auto\"}."
  41534. msgstr ""
  41535. #. type: deftypevr
  41536. #: guix-git/doc/guix.texi:27816
  41537. #, no-wrap
  41538. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-bat"
  41539. msgstr ""
  41540. #. type: deftypevr
  41541. #: guix-git/doc/guix.texi:27818
  41542. msgid "Same as @code{radeon-dpm-perf-ac} but on BAT mode."
  41543. msgstr ""
  41544. #. type: deftypevr
  41545. #: guix-git/doc/guix.texi:27823
  41546. #, no-wrap
  41547. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-ac?"
  41548. msgstr ""
  41549. #. type: deftypevr
  41550. #: guix-git/doc/guix.texi:27825
  41551. msgid "Wifi power saving mode."
  41552. msgstr ""
  41553. #. type: deftypevr
  41554. #: guix-git/doc/guix.texi:27830
  41555. #, no-wrap
  41556. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-bat?"
  41557. msgstr ""
  41558. #. type: deftypevr
  41559. #: guix-git/doc/guix.texi:27832
  41560. msgid "Same as @code{wifi-power-ac?} but on BAT mode."
  41561. msgstr ""
  41562. #. type: deftypevr
  41563. #: guix-git/doc/guix.texi:27837
  41564. #, no-wrap
  41565. msgid "{@code{tlp-configuration} parameter} y-n-boolean wol-disable?"
  41566. msgstr ""
  41567. #. type: deftypevr
  41568. #: guix-git/doc/guix.texi:27839
  41569. msgid "Disable wake on LAN."
  41570. msgstr ""
  41571. #. type: deftypevr
  41572. #: guix-git/doc/guix.texi:27844
  41573. #, no-wrap
  41574. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-ac"
  41575. msgstr ""
  41576. #. type: deftypevr
  41577. #: guix-git/doc/guix.texi:27847
  41578. msgid "Timeout duration in seconds before activating audio power saving on Intel HDA and AC97 devices. A value of 0 disables power saving."
  41579. msgstr ""
  41580. #. type: deftypevr
  41581. #: guix-git/doc/guix.texi:27852
  41582. #, no-wrap
  41583. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-bat"
  41584. msgstr ""
  41585. #. type: deftypevr
  41586. #: guix-git/doc/guix.texi:27854
  41587. msgid "Same as @code{sound-powersave-ac} but on BAT mode."
  41588. msgstr ""
  41589. #. type: deftypevr
  41590. #: guix-git/doc/guix.texi:27859
  41591. #, no-wrap
  41592. msgid "{@code{tlp-configuration} parameter} y-n-boolean sound-power-save-controller?"
  41593. msgstr ""
  41594. #. type: deftypevr
  41595. #: guix-git/doc/guix.texi:27861
  41596. msgid "Disable controller in powersaving mode on Intel HDA devices."
  41597. msgstr ""
  41598. #. type: deftypevr
  41599. #: guix-git/doc/guix.texi:27866
  41600. #, no-wrap
  41601. msgid "{@code{tlp-configuration} parameter} boolean bay-poweroff-on-bat?"
  41602. msgstr ""
  41603. #. type: deftypevr
  41604. #: guix-git/doc/guix.texi:27870
  41605. 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."
  41606. msgstr ""
  41607. #. type: deftypevr
  41608. #: guix-git/doc/guix.texi:27875
  41609. #, no-wrap
  41610. msgid "{@code{tlp-configuration} parameter} string bay-device"
  41611. msgstr ""
  41612. #. type: deftypevr
  41613. #: guix-git/doc/guix.texi:27877
  41614. msgid "Name of the optical drive device to power off."
  41615. msgstr ""
  41616. #. type: deftypevr
  41617. #: guix-git/doc/guix.texi:27879
  41618. msgid "Defaults to @samp{\"sr0\"}."
  41619. msgstr ""
  41620. #. type: deftypevr
  41621. #: guix-git/doc/guix.texi:27882
  41622. #, no-wrap
  41623. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-ac"
  41624. msgstr ""
  41625. #. type: deftypevr
  41626. #: guix-git/doc/guix.texi:27885
  41627. msgid "Runtime Power Management for PCI(e) bus devices. Alternatives are on and auto."
  41628. msgstr ""
  41629. #. type: deftypevr
  41630. #: guix-git/doc/guix.texi:27887
  41631. msgid "Defaults to @samp{\"on\"}."
  41632. msgstr ""
  41633. #. type: deftypevr
  41634. #: guix-git/doc/guix.texi:27890
  41635. #, no-wrap
  41636. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-bat"
  41637. msgstr ""
  41638. #. type: deftypevr
  41639. #: guix-git/doc/guix.texi:27892
  41640. msgid "Same as @code{runtime-pm-ac} but on BAT mode."
  41641. msgstr ""
  41642. #. type: deftypevr
  41643. #: guix-git/doc/guix.texi:27897
  41644. #, no-wrap
  41645. msgid "{@code{tlp-configuration} parameter} boolean runtime-pm-all?"
  41646. msgstr ""
  41647. #. type: deftypevr
  41648. #: guix-git/doc/guix.texi:27900
  41649. msgid "Runtime Power Management for all PCI(e) bus devices, except blacklisted ones."
  41650. msgstr ""
  41651. #. type: deftypevr
  41652. #: guix-git/doc/guix.texi:27905
  41653. #, no-wrap
  41654. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list runtime-pm-blacklist"
  41655. msgstr ""
  41656. #. type: deftypevr
  41657. #: guix-git/doc/guix.texi:27907
  41658. msgid "Exclude specified PCI(e) device addresses from Runtime Power Management."
  41659. msgstr ""
  41660. #. type: deftypevr
  41661. #: guix-git/doc/guix.texi:27912
  41662. #, no-wrap
  41663. msgid "{@code{tlp-configuration} parameter} space-separated-string-list runtime-pm-driver-blacklist"
  41664. msgstr ""
  41665. #. type: deftypevr
  41666. #: guix-git/doc/guix.texi:27915
  41667. msgid "Exclude PCI(e) devices assigned to the specified drivers from Runtime Power Management."
  41668. msgstr ""
  41669. #. type: deftypevr
  41670. #: guix-git/doc/guix.texi:27918
  41671. #, no-wrap
  41672. msgid "{@code{tlp-configuration} parameter} boolean usb-autosuspend?"
  41673. msgstr ""
  41674. #. type: deftypevr
  41675. #: guix-git/doc/guix.texi:27920
  41676. msgid "Enable USB autosuspend feature."
  41677. msgstr ""
  41678. #. type: deftypevr
  41679. #: guix-git/doc/guix.texi:27925
  41680. #, no-wrap
  41681. msgid "{@code{tlp-configuration} parameter} maybe-string usb-blacklist"
  41682. msgstr ""
  41683. #. type: deftypevr
  41684. #: guix-git/doc/guix.texi:27927
  41685. msgid "Exclude specified devices from USB autosuspend."
  41686. msgstr ""
  41687. #. type: deftypevr
  41688. #: guix-git/doc/guix.texi:27932
  41689. #, no-wrap
  41690. msgid "{@code{tlp-configuration} parameter} boolean usb-blacklist-wwan?"
  41691. msgstr ""
  41692. #. type: deftypevr
  41693. #: guix-git/doc/guix.texi:27934
  41694. msgid "Exclude WWAN devices from USB autosuspend."
  41695. msgstr ""
  41696. #. type: deftypevr
  41697. #: guix-git/doc/guix.texi:27939
  41698. #, no-wrap
  41699. msgid "{@code{tlp-configuration} parameter} maybe-string usb-whitelist"
  41700. msgstr ""
  41701. #. type: deftypevr
  41702. #: guix-git/doc/guix.texi:27942
  41703. msgid "Include specified devices into USB autosuspend, even if they are already excluded by the driver or via @code{usb-blacklist-wwan?}."
  41704. msgstr ""
  41705. #. type: deftypevr
  41706. #: guix-git/doc/guix.texi:27947
  41707. #, no-wrap
  41708. msgid "{@code{tlp-configuration} parameter} maybe-boolean usb-autosuspend-disable-on-shutdown?"
  41709. msgstr ""
  41710. #. type: deftypevr
  41711. #: guix-git/doc/guix.texi:27949
  41712. msgid "Enable USB autosuspend before shutdown."
  41713. msgstr ""
  41714. #. type: deftypevr
  41715. #: guix-git/doc/guix.texi:27954
  41716. #, no-wrap
  41717. msgid "{@code{tlp-configuration} parameter} boolean restore-device-state-on-startup?"
  41718. msgstr ""
  41719. #. type: deftypevr
  41720. #: guix-git/doc/guix.texi:27957
  41721. msgid "Restore radio device state (bluetooth, wifi, wwan) from previous shutdown on system startup."
  41722. msgstr ""
  41723. #. type: cindex
  41724. #: guix-git/doc/guix.texi:27962
  41725. #, no-wrap
  41726. msgid "thermald"
  41727. msgstr ""
  41728. #. type: cindex
  41729. #: guix-git/doc/guix.texi:27963
  41730. #, no-wrap
  41731. msgid "CPU frequency scaling with thermald"
  41732. msgstr ""
  41733. #. type: subsubheading
  41734. #: guix-git/doc/guix.texi:27964
  41735. #, no-wrap
  41736. msgid "Thermald daemon"
  41737. msgstr ""
  41738. #. type: Plain text
  41739. #: guix-git/doc/guix.texi:27968
  41740. msgid "The @code{(gnu services pm)} module provides an interface to thermald, a CPU frequency scaling service which helps prevent overheating."
  41741. msgstr ""
  41742. #. type: defvr
  41743. #: guix-git/doc/guix.texi:27969
  41744. #, no-wrap
  41745. msgid "{Scheme Variable} thermald-service-type"
  41746. msgstr ""
  41747. #. type: defvr
  41748. #: guix-git/doc/guix.texi:27974
  41749. 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."
  41750. msgstr ""
  41751. #. type: deftp
  41752. #: guix-git/doc/guix.texi:27976
  41753. #, no-wrap
  41754. msgid "{Data Type} thermald-configuration"
  41755. msgstr ""
  41756. #. type: deftp
  41757. #: guix-git/doc/guix.texi:27978
  41758. msgid "Data type representing the configuration of @code{thermald-service-type}."
  41759. msgstr ""
  41760. #. type: item
  41761. #: guix-git/doc/guix.texi:27980
  41762. #, no-wrap
  41763. msgid "@code{ignore-cpuid-check?} (default: @code{#f})"
  41764. msgstr ""
  41765. #. type: table
  41766. #: guix-git/doc/guix.texi:27982
  41767. msgid "Ignore cpuid check for supported CPU models."
  41768. msgstr ""
  41769. #. type: item
  41770. #: guix-git/doc/guix.texi:27983
  41771. #, no-wrap
  41772. msgid "@code{thermald} (default: @var{thermald})"
  41773. msgstr ""
  41774. #. type: table
  41775. #: guix-git/doc/guix.texi:27985
  41776. msgid "Package object of thermald."
  41777. msgstr ""
  41778. #. type: Plain text
  41779. #: guix-git/doc/guix.texi:27994
  41780. msgid "The @code{(gnu services audio)} module provides a service to start MPD (the Music Player Daemon)."
  41781. msgstr ""
  41782. #. type: cindex
  41783. #: guix-git/doc/guix.texi:27995
  41784. #, no-wrap
  41785. msgid "mpd"
  41786. msgstr ""
  41787. #. type: subsubheading
  41788. #: guix-git/doc/guix.texi:27996
  41789. #, no-wrap
  41790. msgid "Music Player Daemon"
  41791. msgstr ""
  41792. #. type: Plain text
  41793. #: guix-git/doc/guix.texi:28001
  41794. 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."
  41795. msgstr ""
  41796. #. type: Plain text
  41797. #: guix-git/doc/guix.texi:28004
  41798. msgid "The following example shows how one might run @code{mpd} as user @code{\"bob\"} on port @code{6666}. It uses pulseaudio for output."
  41799. msgstr ""
  41800. #. type: lisp
  41801. #: guix-git/doc/guix.texi:28010
  41802. #, no-wrap
  41803. msgid ""
  41804. "(service mpd-service-type\n"
  41805. " (mpd-configuration\n"
  41806. " (user \"bob\")\n"
  41807. " (port \"6666\")))\n"
  41808. msgstr ""
  41809. #. type: defvr
  41810. #: guix-git/doc/guix.texi:28012
  41811. #, no-wrap
  41812. msgid "{Scheme Variable} mpd-service-type"
  41813. msgstr ""
  41814. #. type: defvr
  41815. #: guix-git/doc/guix.texi:28014
  41816. msgid "The service type for @command{mpd}"
  41817. msgstr ""
  41818. #. type: deftp
  41819. #: guix-git/doc/guix.texi:28016
  41820. #, no-wrap
  41821. msgid "{Data Type} mpd-configuration"
  41822. msgstr ""
  41823. #. type: deftp
  41824. #: guix-git/doc/guix.texi:28018
  41825. msgid "Data type representing the configuration of @command{mpd}."
  41826. msgstr ""
  41827. #. type: item
  41828. #: guix-git/doc/guix.texi:28020
  41829. #, no-wrap
  41830. msgid "@code{user} (default: @code{\"mpd\"})"
  41831. msgstr ""
  41832. #. type: table
  41833. #: guix-git/doc/guix.texi:28022
  41834. msgid "The user to run mpd as."
  41835. msgstr ""
  41836. #. type: item
  41837. #: guix-git/doc/guix.texi:28023
  41838. #, no-wrap
  41839. msgid "@code{music-dir} (default: @code{\"~/Music\"})"
  41840. msgstr ""
  41841. #. type: table
  41842. #: guix-git/doc/guix.texi:28025
  41843. msgid "The directory to scan for music files."
  41844. msgstr ""
  41845. #. type: item
  41846. #: guix-git/doc/guix.texi:28026
  41847. #, no-wrap
  41848. msgid "@code{playlist-dir} (default: @code{\"~/.mpd/playlists\"})"
  41849. msgstr ""
  41850. #. type: table
  41851. #: guix-git/doc/guix.texi:28028
  41852. msgid "The directory to store playlists."
  41853. msgstr ""
  41854. #. type: item
  41855. #: guix-git/doc/guix.texi:28029
  41856. #, no-wrap
  41857. msgid "@code{db-file} (default: @code{\"~/.mpd/tag_cache\"})"
  41858. msgstr ""
  41859. #. type: table
  41860. #: guix-git/doc/guix.texi:28031
  41861. msgid "The location of the music database."
  41862. msgstr ""
  41863. #. type: item
  41864. #: guix-git/doc/guix.texi:28032
  41865. #, no-wrap
  41866. msgid "@code{state-file} (default: @code{\"~/.mpd/state\"})"
  41867. msgstr ""
  41868. #. type: table
  41869. #: guix-git/doc/guix.texi:28034
  41870. msgid "The location of the file that stores current MPD's state."
  41871. msgstr ""
  41872. #. type: item
  41873. #: guix-git/doc/guix.texi:28035
  41874. #, no-wrap
  41875. msgid "@code{sticker-file} (default: @code{\"~/.mpd/sticker.sql\"})"
  41876. msgstr ""
  41877. #. type: table
  41878. #: guix-git/doc/guix.texi:28037
  41879. msgid "The location of the sticker database."
  41880. msgstr ""
  41881. #. type: item
  41882. #: guix-git/doc/guix.texi:28038
  41883. #, no-wrap
  41884. msgid "@code{port} (default: @code{\"6600\"})"
  41885. msgstr "@code{porta} (default: @code{\"6600\"})"
  41886. #. type: table
  41887. #: guix-git/doc/guix.texi:28040
  41888. msgid "The port to run mpd on."
  41889. msgstr ""
  41890. #. type: item
  41891. #: guix-git/doc/guix.texi:28041
  41892. #, no-wrap
  41893. msgid "@code{address} (default: @code{\"any\"})"
  41894. msgstr ""
  41895. #. type: table
  41896. #: guix-git/doc/guix.texi:28044
  41897. msgid "The address that mpd will bind to. To use a Unix domain socket, an absolute path can be specified here."
  41898. msgstr ""
  41899. #. type: item
  41900. #: guix-git/doc/guix.texi:28045
  41901. #, no-wrap
  41902. msgid "@code{outputs} (default: @code{\"(list (mpd-output))\"})"
  41903. msgstr ""
  41904. #. type: table
  41905. #: guix-git/doc/guix.texi:28047
  41906. msgid "The audio outputs that MPD can use. By default this is a single output using pulseaudio."
  41907. msgstr ""
  41908. #. type: deftp
  41909. #: guix-git/doc/guix.texi:28051
  41910. #, no-wrap
  41911. msgid "{Data Type} mpd-output"
  41912. msgstr ""
  41913. #. type: deftp
  41914. #: guix-git/doc/guix.texi:28053
  41915. msgid "Data type representing an @command{mpd} audio output."
  41916. msgstr ""
  41917. #. type: item
  41918. #: guix-git/doc/guix.texi:28055
  41919. #, no-wrap
  41920. msgid "@code{name} (default: @code{\"MPD\"})"
  41921. msgstr ""
  41922. #. type: table
  41923. #: guix-git/doc/guix.texi:28057
  41924. msgid "The name of the audio output."
  41925. msgstr ""
  41926. #. type: item
  41927. #: guix-git/doc/guix.texi:28058
  41928. #, no-wrap
  41929. msgid "@code{type} (default: @code{\"pulse\"})"
  41930. msgstr ""
  41931. #. type: table
  41932. #: guix-git/doc/guix.texi:28060
  41933. msgid "The type of audio output."
  41934. msgstr ""
  41935. #. type: item
  41936. #: guix-git/doc/guix.texi:28061
  41937. #, no-wrap
  41938. msgid "@code{enabled?} (default: @code{#t})"
  41939. msgstr ""
  41940. #. type: table
  41941. #: guix-git/doc/guix.texi:28066
  41942. 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."
  41943. msgstr ""
  41944. #. type: item
  41945. #: guix-git/doc/guix.texi:28067
  41946. #, no-wrap
  41947. msgid "@code{tags?} (default: @code{#t})"
  41948. msgstr ""
  41949. #. type: table
  41950. #: guix-git/doc/guix.texi:28071
  41951. 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."
  41952. msgstr ""
  41953. #. type: item
  41954. #: guix-git/doc/guix.texi:28072
  41955. #, no-wrap
  41956. msgid "@code{always-on?} (default: @code{#f})"
  41957. msgstr ""
  41958. #. type: table
  41959. #: guix-git/doc/guix.texi:28076
  41960. 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."
  41961. msgstr ""
  41962. #. type: code{#1}
  41963. #: guix-git/doc/guix.texi:28077
  41964. #, no-wrap
  41965. msgid "mixer-type"
  41966. msgstr ""
  41967. #. type: table
  41968. #: guix-git/doc/guix.texi:28083
  41969. 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})."
  41970. msgstr ""
  41971. #. type: table
  41972. #: guix-git/doc/guix.texi:28087
  41973. msgid "An association list of option symbols to string values to be appended to the audio output configuration."
  41974. msgstr ""
  41975. #. type: Plain text
  41976. #: guix-git/doc/guix.texi:28093
  41977. msgid "The following example shows a configuration of @code{mpd} that provides an HTTP audio streaming output."
  41978. msgstr ""
  41979. #. type: lisp
  41980. #: guix-git/doc/guix.texi:28105
  41981. #, no-wrap
  41982. msgid ""
  41983. "(service mpd-service-type\n"
  41984. " (mpd-configuration\n"
  41985. " (outputs\n"
  41986. " (list (mpd-output\n"
  41987. " (name \"streaming\")\n"
  41988. " (type \"httpd\")\n"
  41989. " (mixer-type 'null)\n"
  41990. " (extra-options\n"
  41991. " `((encoder . \"vorbis\")\n"
  41992. " (port . \"8080\"))))))))\n"
  41993. msgstr ""
  41994. #. type: Plain text
  41995. #: guix-git/doc/guix.texi:28114
  41996. msgid "The @code{(gnu services virtualization)} module provides services for the libvirt and virtlog daemons, as well as other virtualization-related services."
  41997. msgstr ""
  41998. #. type: subsubheading
  41999. #: guix-git/doc/guix.texi:28115
  42000. #, no-wrap
  42001. msgid "Libvirt daemon"
  42002. msgstr ""
  42003. #. type: Plain text
  42004. #: guix-git/doc/guix.texi:28120
  42005. 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."
  42006. msgstr ""
  42007. #. type: deffn
  42008. #: guix-git/doc/guix.texi:28121
  42009. #, no-wrap
  42010. msgid "{Scheme Variable} libvirt-service-type"
  42011. msgstr ""
  42012. #. type: deffn
  42013. #: guix-git/doc/guix.texi:28124
  42014. msgid "This is the type of the @uref{https://libvirt.org, libvirt daemon}. Its value must be a @code{libvirt-configuration}."
  42015. msgstr ""
  42016. #. type: lisp
  42017. #: guix-git/doc/guix.texi:28130
  42018. #, no-wrap
  42019. msgid ""
  42020. "(service libvirt-service-type\n"
  42021. " (libvirt-configuration\n"
  42022. " (unix-sock-group \"libvirt\")\n"
  42023. " (tls-port \"16555\")))\n"
  42024. msgstr ""
  42025. #. type: Plain text
  42026. #: guix-git/doc/guix.texi:28135
  42027. msgid "Available @code{libvirt-configuration} fields are:"
  42028. msgstr ""
  42029. #. type: deftypevr
  42030. #: guix-git/doc/guix.texi:28136
  42031. #, no-wrap
  42032. msgid "{@code{libvirt-configuration} parameter} package libvirt"
  42033. msgstr ""
  42034. #. type: deftypevr
  42035. #: guix-git/doc/guix.texi:28138
  42036. msgid "Libvirt package."
  42037. msgstr ""
  42038. #. type: deftypevr
  42039. #: guix-git/doc/guix.texi:28141
  42040. #, no-wrap
  42041. msgid "{@code{libvirt-configuration} parameter} boolean listen-tls?"
  42042. msgstr ""
  42043. #. type: deftypevr
  42044. #: guix-git/doc/guix.texi:28144
  42045. msgid "Flag listening for secure TLS connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  42046. msgstr ""
  42047. #. type: deftypevr
  42048. #: guix-git/doc/guix.texi:28147
  42049. msgid "It is necessary to setup a CA and issue server certificates before using this capability."
  42050. msgstr ""
  42051. #. type: deftypevr
  42052. #: guix-git/doc/guix.texi:28152
  42053. #, no-wrap
  42054. msgid "{@code{libvirt-configuration} parameter} boolean listen-tcp?"
  42055. msgstr ""
  42056. #. type: deftypevr
  42057. #: guix-git/doc/guix.texi:28155
  42058. msgid "Listen for unencrypted TCP connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  42059. msgstr ""
  42060. #. type: deftypevr
  42061. #: guix-git/doc/guix.texi:28159
  42062. 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)."
  42063. msgstr ""
  42064. #. type: deftypevr
  42065. #: guix-git/doc/guix.texi:28164
  42066. #, no-wrap
  42067. msgid "{@code{libvirt-configuration} parameter} string tls-port"
  42068. msgstr ""
  42069. #. type: deftypevr
  42070. #: guix-git/doc/guix.texi:28167
  42071. msgid "Port for accepting secure TLS connections. This can be a port number, or service name."
  42072. msgstr ""
  42073. #. type: deftypevr
  42074. #: guix-git/doc/guix.texi:28169
  42075. msgid "Defaults to @samp{\"16514\"}."
  42076. msgstr ""
  42077. #. type: deftypevr
  42078. #: guix-git/doc/guix.texi:28172
  42079. #, no-wrap
  42080. msgid "{@code{libvirt-configuration} parameter} string tcp-port"
  42081. msgstr ""
  42082. #. type: deftypevr
  42083. #: guix-git/doc/guix.texi:28175
  42084. msgid "Port for accepting insecure TCP connections. This can be a port number, or service name."
  42085. msgstr ""
  42086. #. type: deftypevr
  42087. #: guix-git/doc/guix.texi:28177
  42088. msgid "Defaults to @samp{\"16509\"}."
  42089. msgstr ""
  42090. #. type: deftypevr
  42091. #: guix-git/doc/guix.texi:28180
  42092. #, no-wrap
  42093. msgid "{@code{libvirt-configuration} parameter} string listen-addr"
  42094. msgstr ""
  42095. #. type: deftypevr
  42096. #: guix-git/doc/guix.texi:28182
  42097. msgid "IP address or hostname used for client connections."
  42098. msgstr ""
  42099. #. type: deftypevr
  42100. #: guix-git/doc/guix.texi:28187
  42101. #, no-wrap
  42102. msgid "{@code{libvirt-configuration} parameter} boolean mdns-adv?"
  42103. msgstr ""
  42104. #. type: deftypevr
  42105. #: guix-git/doc/guix.texi:28189
  42106. msgid "Flag toggling mDNS advertisement of the libvirt service."
  42107. msgstr ""
  42108. #. type: deftypevr
  42109. #: guix-git/doc/guix.texi:28192
  42110. msgid "Alternatively can disable for all services on a host by stopping the Avahi daemon."
  42111. msgstr ""
  42112. #. type: deftypevr
  42113. #: guix-git/doc/guix.texi:28197
  42114. #, no-wrap
  42115. msgid "{@code{libvirt-configuration} parameter} string mdns-name"
  42116. msgstr ""
  42117. #. type: deftypevr
  42118. #: guix-git/doc/guix.texi:28200
  42119. msgid "Default mDNS advertisement name. This must be unique on the immediate broadcast network."
  42120. msgstr ""
  42121. #. type: deftypevr
  42122. #: guix-git/doc/guix.texi:28202
  42123. msgid "Defaults to @samp{\"Virtualization Host <hostname>\"}."
  42124. msgstr ""
  42125. #. type: deftypevr
  42126. #: guix-git/doc/guix.texi:28205
  42127. #, no-wrap
  42128. msgid "{@code{libvirt-configuration} parameter} string unix-sock-group"
  42129. msgstr ""
  42130. #. type: deftypevr
  42131. #: guix-git/doc/guix.texi:28209
  42132. msgid "UNIX domain socket group ownership. This can be used to allow a 'trusted' set of users access to management capabilities without becoming root."
  42133. msgstr ""
  42134. #. type: deftypevr
  42135. #: guix-git/doc/guix.texi:28214
  42136. #, no-wrap
  42137. msgid "{@code{libvirt-configuration} parameter} string unix-sock-ro-perms"
  42138. msgstr ""
  42139. #. type: deftypevr
  42140. #: guix-git/doc/guix.texi:28217
  42141. msgid "UNIX socket permissions for the R/O socket. This is used for monitoring VM status only."
  42142. msgstr ""
  42143. #. type: deftypevr
  42144. #: guix-git/doc/guix.texi:28219 guix-git/doc/guix.texi:28237
  42145. msgid "Defaults to @samp{\"0777\"}."
  42146. msgstr ""
  42147. #. type: deftypevr
  42148. #: guix-git/doc/guix.texi:28222
  42149. #, no-wrap
  42150. msgid "{@code{libvirt-configuration} parameter} string unix-sock-rw-perms"
  42151. msgstr ""
  42152. #. type: deftypevr
  42153. #: guix-git/doc/guix.texi:28226
  42154. 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)"
  42155. msgstr ""
  42156. #. type: deftypevr
  42157. #: guix-git/doc/guix.texi:28228
  42158. msgid "Defaults to @samp{\"0770\"}."
  42159. msgstr ""
  42160. #. type: deftypevr
  42161. #: guix-git/doc/guix.texi:28231
  42162. #, no-wrap
  42163. msgid "{@code{libvirt-configuration} parameter} string unix-sock-admin-perms"
  42164. msgstr ""
  42165. #. type: deftypevr
  42166. #: guix-git/doc/guix.texi:28235
  42167. 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."
  42168. msgstr ""
  42169. #. type: deftypevr
  42170. #: guix-git/doc/guix.texi:28240
  42171. #, no-wrap
  42172. msgid "{@code{libvirt-configuration} parameter} string unix-sock-dir"
  42173. msgstr ""
  42174. #. type: deftypevr
  42175. #: guix-git/doc/guix.texi:28242
  42176. msgid "The directory in which sockets will be found/created."
  42177. msgstr ""
  42178. #. type: deftypevr
  42179. #: guix-git/doc/guix.texi:28244
  42180. msgid "Defaults to @samp{\"/var/run/libvirt\"}."
  42181. msgstr ""
  42182. #. type: deftypevr
  42183. #: guix-git/doc/guix.texi:28247
  42184. #, no-wrap
  42185. msgid "{@code{libvirt-configuration} parameter} string auth-unix-ro"
  42186. msgstr ""
  42187. #. type: deftypevr
  42188. #: guix-git/doc/guix.texi:28250
  42189. msgid "Authentication scheme for UNIX read-only sockets. By default socket permissions allow anyone to connect"
  42190. msgstr ""
  42191. #. type: deftypevr
  42192. #: guix-git/doc/guix.texi:28252 guix-git/doc/guix.texi:28261
  42193. msgid "Defaults to @samp{\"polkit\"}."
  42194. msgstr ""
  42195. #. type: deftypevr
  42196. #: guix-git/doc/guix.texi:28255
  42197. #, no-wrap
  42198. msgid "{@code{libvirt-configuration} parameter} string auth-unix-rw"
  42199. msgstr ""
  42200. #. type: deftypevr
  42201. #: guix-git/doc/guix.texi:28259
  42202. 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."
  42203. msgstr ""
  42204. #. type: deftypevr
  42205. #: guix-git/doc/guix.texi:28264
  42206. #, no-wrap
  42207. msgid "{@code{libvirt-configuration} parameter} string auth-tcp"
  42208. msgstr ""
  42209. #. type: deftypevr
  42210. #: guix-git/doc/guix.texi:28268
  42211. 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."
  42212. msgstr ""
  42213. #. type: deftypevr
  42214. #: guix-git/doc/guix.texi:28270
  42215. msgid "Defaults to @samp{\"sasl\"}."
  42216. msgstr ""
  42217. #. type: deftypevr
  42218. #: guix-git/doc/guix.texi:28273
  42219. #, no-wrap
  42220. msgid "{@code{libvirt-configuration} parameter} string auth-tls"
  42221. msgstr ""
  42222. #. type: deftypevr
  42223. #: guix-git/doc/guix.texi:28277
  42224. msgid "Authentication scheme for TLS sockets. TLS sockets already have encryption provided by the TLS layer, and limited authentication is done by certificates."
  42225. msgstr ""
  42226. #. type: deftypevr
  42227. #: guix-git/doc/guix.texi:28280
  42228. msgid "It is possible to make use of any SASL authentication mechanism as well, by using 'sasl' for this option"
  42229. msgstr ""
  42230. #. type: deftypevr
  42231. #: guix-git/doc/guix.texi:28282
  42232. msgid "Defaults to @samp{\"none\"}."
  42233. msgstr ""
  42234. #. type: deftypevr
  42235. #: guix-git/doc/guix.texi:28285
  42236. #, no-wrap
  42237. msgid "{@code{libvirt-configuration} parameter} optional-list access-drivers"
  42238. msgstr ""
  42239. #. type: deftypevr
  42240. #: guix-git/doc/guix.texi:28287
  42241. msgid "API access control scheme."
  42242. msgstr ""
  42243. #. type: deftypevr
  42244. #: guix-git/doc/guix.texi:28290
  42245. msgid "By default an authenticated user is allowed access to all APIs. Access drivers can place restrictions on this."
  42246. msgstr ""
  42247. #. type: deftypevr
  42248. #: guix-git/doc/guix.texi:28295
  42249. #, no-wrap
  42250. msgid "{@code{libvirt-configuration} parameter} string key-file"
  42251. msgstr ""
  42252. #. type: deftypevr
  42253. #: guix-git/doc/guix.texi:28298
  42254. msgid "Server key file path. If set to an empty string, then no private key is loaded."
  42255. msgstr ""
  42256. #. type: deftypevr
  42257. #: guix-git/doc/guix.texi:28303
  42258. #, no-wrap
  42259. msgid "{@code{libvirt-configuration} parameter} string cert-file"
  42260. msgstr ""
  42261. #. type: deftypevr
  42262. #: guix-git/doc/guix.texi:28306
  42263. msgid "Server key file path. If set to an empty string, then no certificate is loaded."
  42264. msgstr ""
  42265. #. type: deftypevr
  42266. #: guix-git/doc/guix.texi:28311
  42267. #, no-wrap
  42268. msgid "{@code{libvirt-configuration} parameter} string ca-file"
  42269. msgstr ""
  42270. #. type: deftypevr
  42271. #: guix-git/doc/guix.texi:28314
  42272. msgid "Server key file path. If set to an empty string, then no CA certificate is loaded."
  42273. msgstr ""
  42274. #. type: deftypevr
  42275. #: guix-git/doc/guix.texi:28319
  42276. #, no-wrap
  42277. msgid "{@code{libvirt-configuration} parameter} string crl-file"
  42278. msgstr ""
  42279. #. type: deftypevr
  42280. #: guix-git/doc/guix.texi:28322
  42281. msgid "Certificate revocation list path. If set to an empty string, then no CRL is loaded."
  42282. msgstr ""
  42283. #. type: deftypevr
  42284. #: guix-git/doc/guix.texi:28327
  42285. #, no-wrap
  42286. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-sanity-cert"
  42287. msgstr ""
  42288. #. type: deftypevr
  42289. #: guix-git/doc/guix.texi:28329
  42290. msgid "Disable verification of our own server certificates."
  42291. msgstr ""
  42292. #. type: deftypevr
  42293. #: guix-git/doc/guix.texi:28332
  42294. msgid "When libvirtd starts it performs some sanity checks against its own certificates."
  42295. msgstr ""
  42296. #. type: deftypevr
  42297. #: guix-git/doc/guix.texi:28337
  42298. #, no-wrap
  42299. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-verify-cert"
  42300. msgstr ""
  42301. #. type: deftypevr
  42302. #: guix-git/doc/guix.texi:28339
  42303. msgid "Disable verification of client certificates."
  42304. msgstr ""
  42305. #. type: deftypevr
  42306. #: guix-git/doc/guix.texi:28343
  42307. msgid "Client certificate verification is the primary authentication mechanism. Any client which does not present a certificate signed by the CA will be rejected."
  42308. msgstr ""
  42309. #. type: deftypevr
  42310. #: guix-git/doc/guix.texi:28348
  42311. #, no-wrap
  42312. msgid "{@code{libvirt-configuration} parameter} optional-list tls-allowed-dn-list"
  42313. msgstr ""
  42314. #. type: deftypevr
  42315. #: guix-git/doc/guix.texi:28350
  42316. msgid "Whitelist of allowed x509 Distinguished Name."
  42317. msgstr ""
  42318. #. type: deftypevr
  42319. #: guix-git/doc/guix.texi:28355
  42320. #, no-wrap
  42321. msgid "{@code{libvirt-configuration} parameter} optional-list sasl-allowed-usernames"
  42322. msgstr ""
  42323. #. type: deftypevr
  42324. #: guix-git/doc/guix.texi:28358
  42325. msgid "Whitelist of allowed SASL usernames. The format for username depends on the SASL authentication mechanism."
  42326. msgstr ""
  42327. #. type: deftypevr
  42328. #: guix-git/doc/guix.texi:28363
  42329. #, no-wrap
  42330. msgid "{@code{libvirt-configuration} parameter} string tls-priority"
  42331. msgstr ""
  42332. #. type: deftypevr
  42333. #: guix-git/doc/guix.texi:28367
  42334. 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."
  42335. msgstr ""
  42336. #. type: deftypevr
  42337. #: guix-git/doc/guix.texi:28369
  42338. msgid "Defaults to @samp{\"NORMAL\"}."
  42339. msgstr ""
  42340. #. type: deftypevr
  42341. #: guix-git/doc/guix.texi:28372
  42342. #, no-wrap
  42343. msgid "{@code{libvirt-configuration} parameter} integer max-clients"
  42344. msgstr ""
  42345. #. type: deftypevr
  42346. #: guix-git/doc/guix.texi:28375 guix-git/doc/guix.texi:28799
  42347. msgid "Maximum number of concurrent client connections to allow over all sockets combined."
  42348. msgstr ""
  42349. #. type: deftypevr
  42350. #: guix-git/doc/guix.texi:28377
  42351. msgid "Defaults to @samp{5000}."
  42352. msgstr ""
  42353. #. type: deftypevr
  42354. #: guix-git/doc/guix.texi:28380
  42355. #, no-wrap
  42356. msgid "{@code{libvirt-configuration} parameter} integer max-queued-clients"
  42357. msgstr ""
  42358. #. type: deftypevr
  42359. #: guix-git/doc/guix.texi:28384
  42360. 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."
  42361. msgstr ""
  42362. #. type: deftypevr
  42363. #: guix-git/doc/guix.texi:28389
  42364. #, no-wrap
  42365. msgid "{@code{libvirt-configuration} parameter} integer max-anonymous-clients"
  42366. msgstr ""
  42367. #. type: deftypevr
  42368. #: guix-git/doc/guix.texi:28392
  42369. msgid "Maximum length of queue of accepted but not yet authenticated clients. Set this to zero to turn this feature off"
  42370. msgstr ""
  42371. #. type: deftypevr
  42372. #: guix-git/doc/guix.texi:28394 guix-git/doc/guix.texi:28412
  42373. #: guix-git/doc/guix.texi:28428
  42374. msgid "Defaults to @samp{20}."
  42375. msgstr ""
  42376. #. type: deftypevr
  42377. #: guix-git/doc/guix.texi:28397
  42378. #, no-wrap
  42379. msgid "{@code{libvirt-configuration} parameter} integer min-workers"
  42380. msgstr ""
  42381. #. type: deftypevr
  42382. #: guix-git/doc/guix.texi:28399
  42383. msgid "Number of workers to start up initially."
  42384. msgstr ""
  42385. #. type: deftypevr
  42386. #: guix-git/doc/guix.texi:28404
  42387. #, no-wrap
  42388. msgid "{@code{libvirt-configuration} parameter} integer max-workers"
  42389. msgstr ""
  42390. #. type: deftypevr
  42391. #: guix-git/doc/guix.texi:28406
  42392. msgid "Maximum number of worker threads."
  42393. msgstr ""
  42394. #. type: deftypevr
  42395. #: guix-git/doc/guix.texi:28410
  42396. 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."
  42397. msgstr ""
  42398. #. type: deftypevr
  42399. #: guix-git/doc/guix.texi:28415
  42400. #, no-wrap
  42401. msgid "{@code{libvirt-configuration} parameter} integer prio-workers"
  42402. msgstr ""
  42403. #. type: deftypevr
  42404. #: guix-git/doc/guix.texi:28419
  42405. 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."
  42406. msgstr ""
  42407. #. type: deftypevr
  42408. #: guix-git/doc/guix.texi:28424
  42409. #, no-wrap
  42410. msgid "{@code{libvirt-configuration} parameter} integer max-requests"
  42411. msgstr ""
  42412. #. type: deftypevr
  42413. #: guix-git/doc/guix.texi:28426
  42414. msgid "Total global limit on concurrent RPC calls."
  42415. msgstr ""
  42416. #. type: deftypevr
  42417. #: guix-git/doc/guix.texi:28431
  42418. #, no-wrap
  42419. msgid "{@code{libvirt-configuration} parameter} integer max-client-requests"
  42420. msgstr ""
  42421. #. type: deftypevr
  42422. #: guix-git/doc/guix.texi:28435
  42423. 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."
  42424. msgstr ""
  42425. #. type: deftypevr
  42426. #: guix-git/doc/guix.texi:28440
  42427. #, no-wrap
  42428. msgid "{@code{libvirt-configuration} parameter} integer admin-min-workers"
  42429. msgstr ""
  42430. #. type: deftypevr
  42431. #: guix-git/doc/guix.texi:28442
  42432. msgid "Same as @code{min-workers} but for the admin interface."
  42433. msgstr ""
  42434. #. type: deftypevr
  42435. #: guix-git/doc/guix.texi:28447
  42436. #, no-wrap
  42437. msgid "{@code{libvirt-configuration} parameter} integer admin-max-workers"
  42438. msgstr ""
  42439. #. type: deftypevr
  42440. #: guix-git/doc/guix.texi:28449
  42441. msgid "Same as @code{max-workers} but for the admin interface."
  42442. msgstr ""
  42443. #. type: deftypevr
  42444. #: guix-git/doc/guix.texi:28454
  42445. #, no-wrap
  42446. msgid "{@code{libvirt-configuration} parameter} integer admin-max-clients"
  42447. msgstr ""
  42448. #. type: deftypevr
  42449. #: guix-git/doc/guix.texi:28456
  42450. msgid "Same as @code{max-clients} but for the admin interface."
  42451. msgstr ""
  42452. #. type: deftypevr
  42453. #: guix-git/doc/guix.texi:28461
  42454. #, no-wrap
  42455. msgid "{@code{libvirt-configuration} parameter} integer admin-max-queued-clients"
  42456. msgstr ""
  42457. #. type: deftypevr
  42458. #: guix-git/doc/guix.texi:28463
  42459. msgid "Same as @code{max-queued-clients} but for the admin interface."
  42460. msgstr ""
  42461. #. type: deftypevr
  42462. #: guix-git/doc/guix.texi:28468
  42463. #, no-wrap
  42464. msgid "{@code{libvirt-configuration} parameter} integer admin-max-client-requests"
  42465. msgstr ""
  42466. #. type: deftypevr
  42467. #: guix-git/doc/guix.texi:28470
  42468. msgid "Same as @code{max-client-requests} but for the admin interface."
  42469. msgstr ""
  42470. #. type: deftypevr
  42471. #: guix-git/doc/guix.texi:28475
  42472. #, no-wrap
  42473. msgid "{@code{libvirt-configuration} parameter} integer log-level"
  42474. msgstr ""
  42475. #. type: deftypevr
  42476. #: guix-git/doc/guix.texi:28477 guix-git/doc/guix.texi:28701
  42477. msgid "Logging level. 4 errors, 3 warnings, 2 information, 1 debug."
  42478. msgstr ""
  42479. #. type: deftypevr
  42480. #: guix-git/doc/guix.texi:28482
  42481. #, no-wrap
  42482. msgid "{@code{libvirt-configuration} parameter} string log-filters"
  42483. msgstr ""
  42484. #. type: deftypevr
  42485. #: guix-git/doc/guix.texi:28484 guix-git/doc/guix.texi:28708
  42486. msgid "Logging filters."
  42487. msgstr ""
  42488. #. type: deftypevr
  42489. #: guix-git/doc/guix.texi:28487
  42490. msgid "A filter allows to select a different logging level for a given category of logs. The format for a filter is one of:"
  42491. msgstr ""
  42492. #. type: itemize
  42493. #: guix-git/doc/guix.texi:28491 guix-git/doc/guix.texi:28715
  42494. msgid "x:name"
  42495. msgstr ""
  42496. #. type: itemize
  42497. #: guix-git/doc/guix.texi:28494 guix-git/doc/guix.texi:28718
  42498. msgid "x:+name"
  42499. msgstr ""
  42500. #. type: deftypevr
  42501. #: guix-git/doc/guix.texi:28505
  42502. 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:"
  42503. msgstr ""
  42504. #. type: itemize
  42505. #: guix-git/doc/guix.texi:28509 guix-git/doc/guix.texi:28554
  42506. #: guix-git/doc/guix.texi:28732 guix-git/doc/guix.texi:28777
  42507. msgid "1: DEBUG"
  42508. msgstr ""
  42509. #. type: itemize
  42510. #: guix-git/doc/guix.texi:28512 guix-git/doc/guix.texi:28557
  42511. #: guix-git/doc/guix.texi:28735 guix-git/doc/guix.texi:28780
  42512. msgid "2: INFO"
  42513. msgstr ""
  42514. #. type: itemize
  42515. #: guix-git/doc/guix.texi:28515 guix-git/doc/guix.texi:28560
  42516. #: guix-git/doc/guix.texi:28738 guix-git/doc/guix.texi:28783
  42517. msgid "3: WARNING"
  42518. msgstr ""
  42519. #. type: itemize
  42520. #: guix-git/doc/guix.texi:28518 guix-git/doc/guix.texi:28563
  42521. #: guix-git/doc/guix.texi:28741 guix-git/doc/guix.texi:28786
  42522. msgid "4: ERROR"
  42523. msgstr ""
  42524. #. type: deftypevr
  42525. #: guix-git/doc/guix.texi:28523 guix-git/doc/guix.texi:28746
  42526. msgid "Multiple filters can be defined in a single filters statement, they just need to be separated by spaces."
  42527. msgstr ""
  42528. #. type: deftypevr
  42529. #: guix-git/doc/guix.texi:28525 guix-git/doc/guix.texi:28748
  42530. msgid "Defaults to @samp{\"3:remote 4:event\"}."
  42531. msgstr ""
  42532. #. type: deftypevr
  42533. #: guix-git/doc/guix.texi:28528
  42534. #, no-wrap
  42535. msgid "{@code{libvirt-configuration} parameter} string log-outputs"
  42536. msgstr ""
  42537. #. type: deftypevr
  42538. #: guix-git/doc/guix.texi:28530 guix-git/doc/guix.texi:28753
  42539. msgid "Logging outputs."
  42540. msgstr ""
  42541. #. type: deftypevr
  42542. #: guix-git/doc/guix.texi:28533
  42543. msgid "An output is one of the places to save logging information. The format for an output can be:"
  42544. msgstr ""
  42545. #. type: item
  42546. #: guix-git/doc/guix.texi:28535 guix-git/doc/guix.texi:28758
  42547. #, no-wrap
  42548. msgid "x:stderr"
  42549. msgstr ""
  42550. #. type: table
  42551. #: guix-git/doc/guix.texi:28537 guix-git/doc/guix.texi:28760
  42552. msgid "output goes to stderr"
  42553. msgstr ""
  42554. #. type: item
  42555. #: guix-git/doc/guix.texi:28538 guix-git/doc/guix.texi:28761
  42556. #, no-wrap
  42557. msgid "x:syslog:name"
  42558. msgstr ""
  42559. #. type: table
  42560. #: guix-git/doc/guix.texi:28540 guix-git/doc/guix.texi:28763
  42561. msgid "use syslog for the output and use the given name as the ident"
  42562. msgstr ""
  42563. #. type: item
  42564. #: guix-git/doc/guix.texi:28541 guix-git/doc/guix.texi:28764
  42565. #, no-wrap
  42566. msgid "x:file:file_path"
  42567. msgstr ""
  42568. #. type: table
  42569. #: guix-git/doc/guix.texi:28543 guix-git/doc/guix.texi:28766
  42570. msgid "output to a file, with the given filepath"
  42571. msgstr "saída para um arquivo, com o caminho de arquivo dado"
  42572. #. type: item
  42573. #: guix-git/doc/guix.texi:28544 guix-git/doc/guix.texi:28767
  42574. #, no-wrap
  42575. msgid "x:journald"
  42576. msgstr ""
  42577. #. type: table
  42578. #: guix-git/doc/guix.texi:28546 guix-git/doc/guix.texi:28769
  42579. msgid "output to journald logging system"
  42580. msgstr ""
  42581. #. type: deftypevr
  42582. #: guix-git/doc/guix.texi:28550 guix-git/doc/guix.texi:28773
  42583. msgid "In all case the x prefix is the minimal level, acting as a filter"
  42584. msgstr ""
  42585. #. type: deftypevr
  42586. #: guix-git/doc/guix.texi:28568 guix-git/doc/guix.texi:28791
  42587. msgid "Multiple outputs can be defined, they just need to be separated by spaces."
  42588. msgstr ""
  42589. #. type: deftypevr
  42590. #: guix-git/doc/guix.texi:28570 guix-git/doc/guix.texi:28793
  42591. msgid "Defaults to @samp{\"3:stderr\"}."
  42592. msgstr ""
  42593. #. type: deftypevr
  42594. #: guix-git/doc/guix.texi:28573
  42595. #, no-wrap
  42596. msgid "{@code{libvirt-configuration} parameter} integer audit-level"
  42597. msgstr ""
  42598. #. type: deftypevr
  42599. #: guix-git/doc/guix.texi:28575
  42600. msgid "Allows usage of the auditing subsystem to be altered"
  42601. msgstr ""
  42602. #. type: itemize
  42603. #: guix-git/doc/guix.texi:28579
  42604. msgid "0: disable all auditing"
  42605. msgstr ""
  42606. #. type: itemize
  42607. #: guix-git/doc/guix.texi:28582
  42608. msgid "1: enable auditing, only if enabled on host"
  42609. msgstr ""
  42610. #. type: itemize
  42611. #: guix-git/doc/guix.texi:28585
  42612. msgid "2: enable auditing, and exit if disabled on host."
  42613. msgstr ""
  42614. #. type: deftypevr
  42615. #: guix-git/doc/guix.texi:28592
  42616. #, no-wrap
  42617. msgid "{@code{libvirt-configuration} parameter} boolean audit-logging"
  42618. msgstr ""
  42619. #. type: deftypevr
  42620. #: guix-git/doc/guix.texi:28594
  42621. msgid "Send audit messages via libvirt logging infrastructure."
  42622. msgstr ""
  42623. #. type: deftypevr
  42624. #: guix-git/doc/guix.texi:28599
  42625. #, no-wrap
  42626. msgid "{@code{libvirt-configuration} parameter} optional-string host-uuid"
  42627. msgstr ""
  42628. #. type: deftypevr
  42629. #: guix-git/doc/guix.texi:28601
  42630. msgid "Host UUID@. UUID must not have all digits be the same."
  42631. msgstr ""
  42632. #. type: deftypevr
  42633. #: guix-git/doc/guix.texi:28606
  42634. #, no-wrap
  42635. msgid "{@code{libvirt-configuration} parameter} string host-uuid-source"
  42636. msgstr ""
  42637. #. type: deftypevr
  42638. #: guix-git/doc/guix.texi:28608
  42639. msgid "Source to read host UUID."
  42640. msgstr ""
  42641. #. type: itemize
  42642. #: guix-git/doc/guix.texi:28612
  42643. msgid "@code{smbios}: fetch the UUID from @code{dmidecode -s system-uuid}"
  42644. msgstr ""
  42645. #. type: itemize
  42646. #: guix-git/doc/guix.texi:28615
  42647. msgid "@code{machine-id}: fetch the UUID from @code{/etc/machine-id}"
  42648. msgstr ""
  42649. #. type: deftypevr
  42650. #: guix-git/doc/guix.texi:28620
  42651. msgid "If @code{dmidecode} does not provide a valid UUID a temporary UUID will be generated."
  42652. msgstr ""
  42653. #. type: deftypevr
  42654. #: guix-git/doc/guix.texi:28622
  42655. msgid "Defaults to @samp{\"smbios\"}."
  42656. msgstr ""
  42657. #. type: deftypevr
  42658. #: guix-git/doc/guix.texi:28625
  42659. #, no-wrap
  42660. msgid "{@code{libvirt-configuration} parameter} integer keepalive-interval"
  42661. msgstr ""
  42662. #. type: deftypevr
  42663. #: guix-git/doc/guix.texi:28630
  42664. 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."
  42665. msgstr ""
  42666. #. type: deftypevr
  42667. #: guix-git/doc/guix.texi:28635
  42668. #, no-wrap
  42669. msgid "{@code{libvirt-configuration} parameter} integer keepalive-count"
  42670. msgstr ""
  42671. #. type: deftypevr
  42672. #: guix-git/doc/guix.texi:28639
  42673. 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."
  42674. msgstr ""
  42675. #. type: deftypevr
  42676. #: guix-git/doc/guix.texi:28646
  42677. 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."
  42678. msgstr ""
  42679. #. type: deftypevr
  42680. #: guix-git/doc/guix.texi:28651
  42681. #, no-wrap
  42682. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-interval"
  42683. msgstr ""
  42684. #. type: deftypevr
  42685. #: guix-git/doc/guix.texi:28653 guix-git/doc/guix.texi:28660
  42686. msgid "Same as above but for admin interface."
  42687. msgstr ""
  42688. #. type: deftypevr
  42689. #: guix-git/doc/guix.texi:28658
  42690. #, no-wrap
  42691. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-count"
  42692. msgstr ""
  42693. #. type: deftypevr
  42694. #: guix-git/doc/guix.texi:28665
  42695. #, no-wrap
  42696. msgid "{@code{libvirt-configuration} parameter} integer ovs-timeout"
  42697. msgstr ""
  42698. #. type: deftypevr
  42699. #: guix-git/doc/guix.texi:28667
  42700. msgid "Timeout for Open vSwitch calls."
  42701. msgstr ""
  42702. #. type: deftypevr
  42703. #: guix-git/doc/guix.texi:28671
  42704. 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."
  42705. msgstr ""
  42706. #. type: subsubheading
  42707. #: guix-git/doc/guix.texi:28678
  42708. #, no-wrap
  42709. msgid "Virtlog daemon"
  42710. msgstr ""
  42711. #. type: Plain text
  42712. #: guix-git/doc/guix.texi:28681
  42713. msgid "The virtlogd service is a server side daemon component of libvirt that is used to manage logs from virtual machine consoles."
  42714. msgstr ""
  42715. #. type: Plain text
  42716. #: guix-git/doc/guix.texi:28687
  42717. 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."
  42718. msgstr ""
  42719. #. type: deffn
  42720. #: guix-git/doc/guix.texi:28688
  42721. #, no-wrap
  42722. msgid "{Scheme Variable} virtlog-service-type"
  42723. msgstr ""
  42724. #. type: deffn
  42725. #: guix-git/doc/guix.texi:28691
  42726. msgid "This is the type of the virtlog daemon. Its value must be a @code{virtlog-configuration}."
  42727. msgstr ""
  42728. #. type: lisp
  42729. #: guix-git/doc/guix.texi:28696
  42730. #, no-wrap
  42731. msgid ""
  42732. "(service virtlog-service-type\n"
  42733. " (virtlog-configuration\n"
  42734. " (max-clients 1000)))\n"
  42735. msgstr ""
  42736. #. type: deftypevr
  42737. #: guix-git/doc/guix.texi:28699
  42738. #, no-wrap
  42739. msgid "{@code{virtlog-configuration} parameter} integer log-level"
  42740. msgstr ""
  42741. #. type: deftypevr
  42742. #: guix-git/doc/guix.texi:28706
  42743. #, no-wrap
  42744. msgid "{@code{virtlog-configuration} parameter} string log-filters"
  42745. msgstr ""
  42746. #. type: deftypevr
  42747. #: guix-git/doc/guix.texi:28711
  42748. msgid "A filter allows to select a different logging level for a given category of logs The format for a filter is one of:"
  42749. msgstr ""
  42750. #. type: deftypevr
  42751. #: guix-git/doc/guix.texi:28728
  42752. 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:"
  42753. msgstr ""
  42754. #. type: deftypevr
  42755. #: guix-git/doc/guix.texi:28751
  42756. #, no-wrap
  42757. msgid "{@code{virtlog-configuration} parameter} string log-outputs"
  42758. msgstr ""
  42759. #. type: deftypevr
  42760. #: guix-git/doc/guix.texi:28756
  42761. msgid "An output is one of the places to save logging information The format for an output can be:"
  42762. msgstr ""
  42763. #. type: deftypevr
  42764. #: guix-git/doc/guix.texi:28796
  42765. #, no-wrap
  42766. msgid "{@code{virtlog-configuration} parameter} integer max-clients"
  42767. msgstr ""
  42768. #. type: deftypevr
  42769. #: guix-git/doc/guix.texi:28801
  42770. msgid "Defaults to @samp{1024}."
  42771. msgstr ""
  42772. #. type: deftypevr
  42773. #: guix-git/doc/guix.texi:28804
  42774. #, no-wrap
  42775. msgid "{@code{virtlog-configuration} parameter} integer max-size"
  42776. msgstr ""
  42777. #. type: deftypevr
  42778. #: guix-git/doc/guix.texi:28806
  42779. msgid "Maximum file size before rolling over."
  42780. msgstr ""
  42781. #. type: deftypevr
  42782. #: guix-git/doc/guix.texi:28808
  42783. msgid "Defaults to @samp{2MB}"
  42784. msgstr ""
  42785. #. type: deftypevr
  42786. #: guix-git/doc/guix.texi:28811
  42787. #, no-wrap
  42788. msgid "{@code{virtlog-configuration} parameter} integer max-backups"
  42789. msgstr ""
  42790. #. type: deftypevr
  42791. #: guix-git/doc/guix.texi:28813
  42792. msgid "Maximum number of backup files to keep."
  42793. msgstr ""
  42794. #. type: deftypevr
  42795. #: guix-git/doc/guix.texi:28815
  42796. msgid "Defaults to @samp{3}"
  42797. msgstr ""
  42798. #. type: anchor{#1}
  42799. #: guix-git/doc/guix.texi:28819
  42800. msgid "transparent-emulation-qemu"
  42801. msgstr ""
  42802. #. type: subsubheading
  42803. #: guix-git/doc/guix.texi:28819
  42804. #, no-wrap
  42805. msgid "Transparent Emulation with QEMU"
  42806. msgstr ""
  42807. #. type: cindex
  42808. #: guix-git/doc/guix.texi:28821
  42809. #, no-wrap
  42810. msgid "emulation"
  42811. msgstr ""
  42812. #. type: code{#1}
  42813. #: guix-git/doc/guix.texi:28822
  42814. #, no-wrap
  42815. msgid "binfmt_misc"
  42816. msgstr ""
  42817. #. type: Plain text
  42818. #: guix-git/doc/guix.texi:28830
  42819. 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."
  42820. msgstr ""
  42821. #. type: defvr
  42822. #: guix-git/doc/guix.texi:28831
  42823. #, no-wrap
  42824. msgid "{Scheme Variable} qemu-binfmt-service-type"
  42825. msgstr ""
  42826. #. type: defvr
  42827. #: guix-git/doc/guix.texi:28836
  42828. 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:"
  42829. msgstr ""
  42830. #. type: lisp
  42831. #: guix-git/doc/guix.texi:28841
  42832. #, no-wrap
  42833. msgid ""
  42834. "(service qemu-binfmt-service-type\n"
  42835. " (qemu-binfmt-configuration\n"
  42836. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  42837. msgstr ""
  42838. #. type: defvr
  42839. #: guix-git/doc/guix.texi:28847
  42840. 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})."
  42841. msgstr ""
  42842. #. type: deftp
  42843. #: guix-git/doc/guix.texi:28849
  42844. #, no-wrap
  42845. msgid "{Data Type} qemu-binfmt-configuration"
  42846. msgstr ""
  42847. #. type: deftp
  42848. #: guix-git/doc/guix.texi:28851
  42849. msgid "This is the configuration for the @code{qemu-binfmt} service."
  42850. msgstr ""
  42851. #. type: item
  42852. #: guix-git/doc/guix.texi:28853
  42853. #, no-wrap
  42854. msgid "@code{platforms} (default: @code{'()})"
  42855. msgstr ""
  42856. #. type: table
  42857. #: guix-git/doc/guix.texi:28856
  42858. msgid "The list of emulated QEMU platforms. Each item must be a @dfn{platform object} as returned by @code{lookup-qemu-platforms} (see below)."
  42859. msgstr ""
  42860. #. type: table
  42861. #: guix-git/doc/guix.texi:28859
  42862. msgid "For example, let's suppose you're on an x86_64 machine and you have this service:"
  42863. msgstr ""
  42864. #. type: lisp
  42865. #: guix-git/doc/guix.texi:28864
  42866. #, no-wrap
  42867. msgid ""
  42868. "(service qemu-binfmt-service-type\n"
  42869. " (qemu-binfmt-configuration\n"
  42870. " (platforms (lookup-qemu-platforms \"arm\"))))\n"
  42871. msgstr ""
  42872. #. type: table
  42873. #: guix-git/doc/guix.texi:28867
  42874. msgid "You can run:"
  42875. msgstr ""
  42876. #. type: example
  42877. #: guix-git/doc/guix.texi:28870
  42878. #, no-wrap
  42879. msgid "guix build -s armhf-linux inkscape\n"
  42880. msgstr ""
  42881. #. type: table
  42882. #: guix-git/doc/guix.texi:28877
  42883. 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!"
  42884. msgstr ""
  42885. #. type: item
  42886. #: guix-git/doc/guix.texi:28878
  42887. #, no-wrap
  42888. msgid "@code{qemu} (default: @code{qemu})"
  42889. msgstr ""
  42890. #. type: table
  42891. #: guix-git/doc/guix.texi:28880 guix-git/doc/guix.texi:28974
  42892. msgid "The QEMU package to use."
  42893. msgstr ""
  42894. #. type: deffn
  42895. #: guix-git/doc/guix.texi:28883
  42896. #, no-wrap
  42897. msgid "{Scheme Procedure} lookup-qemu-platforms @var{platforms}@dots{}"
  42898. msgstr ""
  42899. #. type: deffn
  42900. #: guix-git/doc/guix.texi:28888
  42901. 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."
  42902. msgstr ""
  42903. #. type: deffn
  42904. #: guix-git/doc/guix.texi:28890
  42905. #, no-wrap
  42906. msgid "{Scheme Procedure} qemu-platform? @var{obj}"
  42907. msgstr ""
  42908. #. type: deffn
  42909. #: guix-git/doc/guix.texi:28892
  42910. msgid "Return true if @var{obj} is a platform object."
  42911. msgstr ""
  42912. #. type: deffn
  42913. #: guix-git/doc/guix.texi:28894
  42914. #, no-wrap
  42915. msgid "{Scheme Procedure} qemu-platform-name @var{platform}"
  42916. msgstr ""
  42917. #. type: deffn
  42918. #: guix-git/doc/guix.texi:28896
  42919. msgid "Return the name of @var{platform}---a string such as @code{\"arm\"}."
  42920. msgstr ""
  42921. #. type: subsubheading
  42922. #: guix-git/doc/guix.texi:28899
  42923. #, no-wrap
  42924. msgid "The Hurd in a Virtual Machine"
  42925. msgstr ""
  42926. #. type: cindex
  42927. #: guix-git/doc/guix.texi:28902
  42928. #, no-wrap
  42929. msgid "the Hurd"
  42930. msgstr ""
  42931. #. type: cindex
  42932. #: guix-git/doc/guix.texi:28903
  42933. #, no-wrap
  42934. msgid "childhurd"
  42935. msgstr ""
  42936. #. type: Plain text
  42937. #: guix-git/doc/guix.texi:28911
  42938. 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:"
  42939. msgstr ""
  42940. #. type: example
  42941. #: guix-git/doc/guix.texi:28915
  42942. #, no-wrap
  42943. msgid ""
  42944. "herd start hurd-vm\n"
  42945. "herd stop childhurd\n"
  42946. msgstr ""
  42947. #. type: Plain text
  42948. #: guix-git/doc/guix.texi:28919
  42949. msgid "When the service is running, you can view its console by connecting to it with a VNC client, for example with:"
  42950. msgstr ""
  42951. #. type: example
  42952. #: guix-git/doc/guix.texi:28923
  42953. #, no-wrap
  42954. msgid ""
  42955. "guix environment --ad-hoc tigervnc-client -- \\\n"
  42956. " vncviewer localhost:5900\n"
  42957. msgstr ""
  42958. #. type: Plain text
  42959. #: guix-git/doc/guix.texi:28929
  42960. 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:"
  42961. msgstr ""
  42962. #. type: example
  42963. #: guix-git/doc/guix.texi:28932
  42964. #, no-wrap
  42965. msgid "ssh root@@localhost -p 10022\n"
  42966. msgstr ""
  42967. #. type: Plain text
  42968. #: guix-git/doc/guix.texi:28941
  42969. 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."
  42970. msgstr ""
  42971. #. type: defvr
  42972. #: guix-git/doc/guix.texi:28942
  42973. #, no-wrap
  42974. msgid "{Scheme Variable} hurd-vm-service-type"
  42975. msgstr ""
  42976. #. type: defvr
  42977. #: guix-git/doc/guix.texi:28948
  42978. 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."
  42979. msgstr ""
  42980. #. type: lisp
  42981. #: guix-git/doc/guix.texi:28956
  42982. #, no-wrap
  42983. msgid ""
  42984. "(service hurd-vm-service-type\n"
  42985. " (hurd-vm-configuration\n"
  42986. " (disk-size (* 5000 (expt 2 20))) ;5G\n"
  42987. " (memory-size 1024))) ;1024MiB\n"
  42988. msgstr ""
  42989. #. type: defvr
  42990. #: guix-git/doc/guix.texi:28960
  42991. msgid "would create a disk image big enough to build GNU@tie{}Hello, with some extra memory."
  42992. msgstr ""
  42993. #. type: deftp
  42994. #: guix-git/doc/guix.texi:28962
  42995. #, no-wrap
  42996. msgid "{Data Type} hurd-vm-configuration"
  42997. msgstr ""
  42998. #. type: deftp
  42999. #: guix-git/doc/guix.texi:28965
  43000. msgid "The data type representing the configuration for @code{hurd-vm-service-type}."
  43001. msgstr ""
  43002. #. type: item
  43003. #: guix-git/doc/guix.texi:28967
  43004. #, no-wrap
  43005. msgid "@code{os} (default: @var{%hurd-vm-operating-system})"
  43006. msgstr ""
  43007. #. type: table
  43008. #: guix-git/doc/guix.texi:28971
  43009. 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}})."
  43010. msgstr ""
  43011. #. type: item
  43012. #: guix-git/doc/guix.texi:28972
  43013. #, no-wrap
  43014. msgid "@code{qemu} (default: @code{qemu-minimal})"
  43015. msgstr ""
  43016. #. type: item
  43017. #: guix-git/doc/guix.texi:28975
  43018. #, no-wrap
  43019. msgid "@code{image} (default: @var{hurd-vm-disk-image})"
  43020. msgstr ""
  43021. #. type: table
  43022. #: guix-git/doc/guix.texi:28978
  43023. msgid "The procedure used to build the disk-image built from this configuration."
  43024. msgstr ""
  43025. #. type: item
  43026. #: guix-git/doc/guix.texi:28979
  43027. #, no-wrap
  43028. msgid "@code{disk-size} (default: @code{'guess})"
  43029. msgstr ""
  43030. #. type: table
  43031. #: guix-git/doc/guix.texi:28981
  43032. msgid "The size of the disk image."
  43033. msgstr ""
  43034. #. type: item
  43035. #: guix-git/doc/guix.texi:28982
  43036. #, no-wrap
  43037. msgid "@code{memory-size} (default: @code{512})"
  43038. msgstr ""
  43039. #. type: table
  43040. #: guix-git/doc/guix.texi:28984
  43041. msgid "The memory size of the Virtual Machine in mebibytes."
  43042. msgstr ""
  43043. #. type: item
  43044. #: guix-git/doc/guix.texi:28985
  43045. #, no-wrap
  43046. msgid "@code{options} (default: @code{'(\"--snapshot\")})"
  43047. msgstr ""
  43048. #. type: table
  43049. #: guix-git/doc/guix.texi:28987
  43050. msgid "The extra options for running QEMU."
  43051. msgstr ""
  43052. #. type: table
  43053. #: guix-git/doc/guix.texi:28992
  43054. 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}."
  43055. msgstr ""
  43056. #. type: item
  43057. #: guix-git/doc/guix.texi:28993
  43058. #, no-wrap
  43059. msgid "@code{net-options} (default: @var{hurd-vm-net-options})"
  43060. msgstr ""
  43061. #. type: table
  43062. #: guix-git/doc/guix.texi:28995
  43063. msgid "The procedure used to produce the list of QEMU networking options."
  43064. msgstr ""
  43065. #. type: table
  43066. #: guix-git/doc/guix.texi:28997
  43067. msgid "By default, it produces"
  43068. msgstr ""
  43069. #. type: lisp
  43070. #: guix-git/doc/guix.texi:29004
  43071. #, no-wrap
  43072. msgid ""
  43073. "'(\"--device\" \"rtl8139,netdev=net0\"\n"
  43074. " \"--netdev\" \"user,id=net0\\\n"
  43075. " ,hostfwd=tcp:127.0.0.1:@var{secrets-port}-:1004\\\n"
  43076. " ,hostfwd=tcp:127.0.0.1:@var{ssh-port}-:2222\\\n"
  43077. " ,hostfwd=tcp:127.0.0.1:@var{vnc-port}-:5900\")\n"
  43078. msgstr ""
  43079. #. type: table
  43080. #: guix-git/doc/guix.texi:29007
  43081. msgid "with forwarded ports:"
  43082. msgstr ""
  43083. #. type: example
  43084. #: guix-git/doc/guix.texi:29012
  43085. #, no-wrap
  43086. msgid ""
  43087. "@var{secrets-port}: @code{(+ 11004 (* 1000 @var{ID}))}\n"
  43088. "@var{ssh-port}: @code{(+ 10022 (* 1000 @var{ID}))}\n"
  43089. "@var{vnc-port}: @code{(+ 15900 (* 1000 @var{ID}))}\n"
  43090. msgstr ""
  43091. #. type: item
  43092. #: guix-git/doc/guix.texi:29014
  43093. #, no-wrap
  43094. msgid "@code{secret-root} (default: @file{/etc/childhurd})"
  43095. msgstr ""
  43096. #. type: table
  43097. #: guix-git/doc/guix.texi:29019
  43098. 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."
  43099. msgstr ""
  43100. #. type: table
  43101. #: guix-git/doc/guix.texi:29023
  43102. 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."
  43103. msgstr ""
  43104. #. type: table
  43105. #: guix-git/doc/guix.texi:29026
  43106. msgid "By default, the service automatically populates @file{/etc/childhurd} with the following non-volatile secrets, unless they already exist:"
  43107. msgstr ""
  43108. #. type: example
  43109. #: guix-git/doc/guix.texi:29035
  43110. #, no-wrap
  43111. msgid ""
  43112. "/etc/childhurd/etc/guix/acl\n"
  43113. "/etc/childhurd/etc/guix/signing-key.pub\n"
  43114. "/etc/childhurd/etc/guix/signing-key.sec\n"
  43115. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key\n"
  43116. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key\n"
  43117. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key.pub\n"
  43118. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key.pub\n"
  43119. msgstr ""
  43120. #. type: table
  43121. #: guix-git/doc/guix.texi:29039
  43122. msgid "These files are automatically sent to the guest Hurd VM when it boots, including permissions."
  43123. msgstr ""
  43124. #. type: cindex
  43125. #: guix-git/doc/guix.texi:29040
  43126. #, no-wrap
  43127. msgid "childhurd, offloading"
  43128. msgstr ""
  43129. #. type: cindex
  43130. #: guix-git/doc/guix.texi:29041
  43131. #, no-wrap
  43132. msgid "Hurd, offloading"
  43133. msgstr ""
  43134. #. type: table
  43135. #: guix-git/doc/guix.texi:29045
  43136. 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:"
  43137. msgstr ""
  43138. #. type: enumerate
  43139. #: guix-git/doc/guix.texi:29050
  43140. 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:"
  43141. msgstr ""
  43142. #. type: example
  43143. #: guix-git/doc/guix.texi:29054
  43144. #, no-wrap
  43145. msgid ""
  43146. "guix archive --authorize < \\\n"
  43147. " /etc/childhurd/etc/guix/signing-key.pub\n"
  43148. msgstr ""
  43149. #. type: enumerate
  43150. #: guix-git/doc/guix.texi:29059
  43151. msgid "Adding the childhurd to @file{/etc/guix/machines.scm} (@pxref{Daemon Offload Setup})."
  43152. msgstr ""
  43153. #. type: table
  43154. #: guix-git/doc/guix.texi:29063
  43155. msgid "We're working towards making that happen automatically---get in touch with us at @email{guix-devel@@gnu.org} to discuss it!"
  43156. msgstr ""
  43157. #. type: Plain text
  43158. #: guix-git/doc/guix.texi:29070
  43159. 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:"
  43160. msgstr ""
  43161. #. type: lisp
  43162. #: guix-git/doc/guix.texi:29076
  43163. #, no-wrap
  43164. msgid ""
  43165. "(service hurd-vm-service-type\n"
  43166. " (hurd-vm-configuration\n"
  43167. " (image (const \"/out/of/store/writable/hurd.img\"))\n"
  43168. " (options '())))\n"
  43169. msgstr ""
  43170. #. type: subsubheading
  43171. #: guix-git/doc/guix.texi:29078
  43172. #, no-wrap
  43173. msgid "Ganeti"
  43174. msgstr ""
  43175. #. type: cindex
  43176. #: guix-git/doc/guix.texi:29080
  43177. #, no-wrap
  43178. msgid "ganeti"
  43179. msgstr ""
  43180. #. type: quotation
  43181. #: guix-git/doc/guix.texi:29087
  43182. 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}."
  43183. msgstr ""
  43184. #. type: Plain text
  43185. #: guix-git/doc/guix.texi:29097
  43186. 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)."
  43187. msgstr ""
  43188. #. type: Plain text
  43189. #: guix-git/doc/guix.texi:29102
  43190. 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}:"
  43191. msgstr ""
  43192. #. type: lisp
  43193. #: guix-git/doc/guix.texi:29112
  43194. #, no-wrap
  43195. msgid ""
  43196. "(use-package-modules virtualization)\n"
  43197. "(use-service-modules base ganeti networking ssh)\n"
  43198. "(operating-system\n"
  43199. " ;; @dots{}\n"
  43200. " (host-name \"node1\")\n"
  43201. " (hosts-file (plain-file \"hosts\" (format #f \"\n"
  43202. "127.0.0.1 localhost\n"
  43203. "::1 localhost\n"
  43204. "\n"
  43205. msgstr ""
  43206. #. type: lisp
  43207. #: guix-git/doc/guix.texi:29117
  43208. #, no-wrap
  43209. msgid ""
  43210. "192.168.1.200 ganeti.example.com\n"
  43211. "192.168.1.201 node1.example.com node1\n"
  43212. "192.168.1.202 node2.example.com node2\n"
  43213. "\")))\n"
  43214. "\n"
  43215. msgstr ""
  43216. #. type: lisp
  43217. #: guix-git/doc/guix.texi:29131
  43218. #, no-wrap
  43219. msgid ""
  43220. " ;; Install QEMU so we can use KVM-based instances, and LVM, DRBD and Ceph\n"
  43221. " ;; in order to use the \"plain\", \"drbd\" and \"rbd\" storage backends.\n"
  43222. " (packages (append (map specification->package\n"
  43223. " '(\"qemu\" \"lvm2\" \"drbd-utils\" \"ceph\"\n"
  43224. " ;; Add the debootstrap and guix OS providers.\n"
  43225. " \"ganeti-instance-guix\" \"ganeti-instance-debootstrap\"))\n"
  43226. " %base-packages))\n"
  43227. " (services\n"
  43228. " (append (list (static-networking-service \"eth0\" \"192.168.1.201\"\n"
  43229. " #:netmask \"255.255.255.0\"\n"
  43230. " #:gateway \"192.168.1.254\"\n"
  43231. " #:name-servers '(\"192.168.1.252\"\n"
  43232. " \"192.168.1.253\"))\n"
  43233. "\n"
  43234. msgstr ""
  43235. #. type: lisp
  43236. #: guix-git/doc/guix.texi:29136
  43237. #, no-wrap
  43238. msgid ""
  43239. " ;; Ganeti uses SSH to communicate between nodes.\n"
  43240. " (service openssh-service-type\n"
  43241. " (openssh-configuration\n"
  43242. " (permit-root-login 'without-password)))\n"
  43243. "\n"
  43244. msgstr ""
  43245. #. type: lisp
  43246. #: guix-git/doc/guix.texi:29146
  43247. #, no-wrap
  43248. msgid ""
  43249. " (service ganeti-service-type\n"
  43250. " (ganeti-configuration\n"
  43251. " ;; This list specifies allowed file system paths\n"
  43252. " ;; for storing virtual machine images.\n"
  43253. " (file-storage-paths '(\"/srv/ganeti/file-storage\"))\n"
  43254. " ;; This variable configures a single \"variant\" for\n"
  43255. " ;; both Debootstrap and Guix that works with KVM.\n"
  43256. " (os %default-ganeti-os))))\n"
  43257. " %base-services)))\n"
  43258. msgstr ""
  43259. #. type: Plain text
  43260. #: guix-git/doc/guix.texi:29154
  43261. 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."
  43262. msgstr ""
  43263. #. type: defvr
  43264. #: guix-git/doc/guix.texi:29155
  43265. #, no-wrap
  43266. msgid "{Scheme Variable} ganeti-service-type"
  43267. msgstr ""
  43268. #. type: defvr
  43269. #: guix-git/doc/guix.texi:29158
  43270. msgid "This is a service type that includes all the various services that Ganeti nodes should run."
  43271. msgstr ""
  43272. #. type: defvr
  43273. #: guix-git/doc/guix.texi:29163
  43274. 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."
  43275. msgstr ""
  43276. #. type: deftp
  43277. #: guix-git/doc/guix.texi:29165
  43278. #, no-wrap
  43279. msgid "{Data Type} ganeti-configuration"
  43280. msgstr ""
  43281. #. type: deftp
  43282. #: guix-git/doc/guix.texi:29167
  43283. msgid "The @code{ganeti} service takes the following configuration options:"
  43284. msgstr ""
  43285. #. type: item
  43286. #: guix-git/doc/guix.texi:29169 guix-git/doc/guix.texi:29397
  43287. #: guix-git/doc/guix.texi:29447 guix-git/doc/guix.texi:29477
  43288. #: guix-git/doc/guix.texi:29504 guix-git/doc/guix.texi:29536
  43289. #: guix-git/doc/guix.texi:29589 guix-git/doc/guix.texi:29609
  43290. #: guix-git/doc/guix.texi:29635 guix-git/doc/guix.texi:29668
  43291. #: guix-git/doc/guix.texi:29708
  43292. #, no-wrap
  43293. msgid "@code{ganeti} (default: @code{ganeti})"
  43294. msgstr ""
  43295. #. type: table
  43296. #: guix-git/doc/guix.texi:29174
  43297. 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)."
  43298. msgstr ""
  43299. #. type: item
  43300. #: guix-git/doc/guix.texi:29175
  43301. #, no-wrap
  43302. msgid "@code{noded-configuration} (default: @code{(ganeti-noded-configuration)})"
  43303. msgstr ""
  43304. #. type: itemx
  43305. #: guix-git/doc/guix.texi:29176
  43306. #, no-wrap
  43307. msgid "@code{confd-configuration} (default: @code{(ganeti-confd-configuration)})"
  43308. msgstr ""
  43309. #. type: itemx
  43310. #: guix-git/doc/guix.texi:29177
  43311. #, no-wrap
  43312. msgid "@code{wconfd-configuration} (default: @code{(ganeti-wconfd-configuration)})"
  43313. msgstr ""
  43314. #. type: itemx
  43315. #: guix-git/doc/guix.texi:29178
  43316. #, no-wrap
  43317. msgid "@code{luxid-configuration} (default: @code{(ganeti-luxid-configuration)})"
  43318. msgstr ""
  43319. #. type: itemx
  43320. #: guix-git/doc/guix.texi:29179
  43321. #, no-wrap
  43322. msgid "@code{rapi-configuration} (default: @code{(ganeti-rapi-configuration)})"
  43323. msgstr ""
  43324. #. type: itemx
  43325. #: guix-git/doc/guix.texi:29180
  43326. #, no-wrap
  43327. msgid "@code{kvmd-configuration} (default: @code{(ganeti-kvmd-configuration)})"
  43328. msgstr ""
  43329. #. type: itemx
  43330. #: guix-git/doc/guix.texi:29181
  43331. #, no-wrap
  43332. msgid "@code{mond-configuration} (default: @code{(ganeti-mond-configuration)})"
  43333. msgstr ""
  43334. #. type: itemx
  43335. #: guix-git/doc/guix.texi:29182
  43336. #, no-wrap
  43337. msgid "@code{metad-configuration} (default: @code{(ganeti-metad-configuration)})"
  43338. msgstr ""
  43339. #. type: itemx
  43340. #: guix-git/doc/guix.texi:29183
  43341. #, no-wrap
  43342. msgid "@code{watcher-configuration} (default: @code{(ganeti-watcher-configuration)})"
  43343. msgstr ""
  43344. #. type: itemx
  43345. #: guix-git/doc/guix.texi:29184
  43346. #, no-wrap
  43347. msgid "@code{cleaner-configuration} (default: @code{(ganeti-cleaner-configuration)})"
  43348. msgstr ""
  43349. #. type: table
  43350. #: guix-git/doc/guix.texi:29189
  43351. 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:"
  43352. msgstr ""
  43353. #. type: lisp
  43354. #: guix-git/doc/guix.texi:29199
  43355. #, no-wrap
  43356. msgid ""
  43357. "(service ganeti-service-type\n"
  43358. " (ganeti-configuration\n"
  43359. " (rapi-configuration\n"
  43360. " (ganeti-rapi-configuration\n"
  43361. " (interface \"eth1\"))))\n"
  43362. " (watcher-configuration\n"
  43363. " (ganeti-watcher-configuration\n"
  43364. " (rapi-ip \"10.0.0.1\"))))\n"
  43365. msgstr ""
  43366. #. type: item
  43367. #: guix-git/doc/guix.texi:29201
  43368. #, no-wrap
  43369. msgid "@code{file-storage-paths} (default: @code{'()})"
  43370. msgstr ""
  43371. #. type: table
  43372. #: guix-git/doc/guix.texi:29203
  43373. msgid "List of allowed directories for file storage backend."
  43374. msgstr ""
  43375. #. type: item
  43376. #: guix-git/doc/guix.texi:29204
  43377. #, no-wrap
  43378. msgid "@code{os} (default: @code{%default-ganeti-os})"
  43379. msgstr ""
  43380. #. type: table
  43381. #: guix-git/doc/guix.texi:29206
  43382. msgid "List of @code{<ganeti-os>} records."
  43383. msgstr ""
  43384. #. type: deftp
  43385. #: guix-git/doc/guix.texi:29210
  43386. msgid "In essence @code{ganeti-service-type} is shorthand for declaring each service individually:"
  43387. msgstr ""
  43388. #. type: lisp
  43389. #: guix-git/doc/guix.texi:29221
  43390. #, no-wrap
  43391. msgid ""
  43392. "(service ganeti-noded-service-type)\n"
  43393. "(service ganeti-confd-service-type)\n"
  43394. "(service ganeti-wconfd-service-type)\n"
  43395. "(service ganeti-luxid-service-type)\n"
  43396. "(service ganeti-kvmd-service-type)\n"
  43397. "(service ganeti-mond-service-type)\n"
  43398. "(service ganeti-metad-service-type)\n"
  43399. "(service ganeti-watcher-service-type)\n"
  43400. "(service ganeti-cleaner-service-type)\n"
  43401. msgstr ""
  43402. #. type: deftp
  43403. #: guix-git/doc/guix.texi:29225
  43404. msgid "Plus a service extension for @code{etc-service-type} that configures the file storage backend and OS variants."
  43405. msgstr ""
  43406. #. type: deftp
  43407. #: guix-git/doc/guix.texi:29228
  43408. #, no-wrap
  43409. msgid "{Data Type} ganeti-os"
  43410. msgstr ""
  43411. #. type: deftp
  43412. #: guix-git/doc/guix.texi:29231
  43413. msgid "This data type is suitable for passing to the @code{os} parameter of @code{ganeti-configuration}. It takes the following parameters:"
  43414. msgstr ""
  43415. #. type: table
  43416. #: guix-git/doc/guix.texi:29237
  43417. 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}."
  43418. msgstr ""
  43419. #. type: code{#1}
  43420. #: guix-git/doc/guix.texi:29238
  43421. #, no-wrap
  43422. msgid "extension"
  43423. msgstr ""
  43424. #. type: table
  43425. #: guix-git/doc/guix.texi:29241
  43426. msgid "The file extension for variants of this OS type. For example @file{.conf} or @file{.scm}."
  43427. msgstr ""
  43428. #. type: item
  43429. #: guix-git/doc/guix.texi:29242
  43430. #, no-wrap
  43431. msgid "@code{variants} (default: @code{'()})"
  43432. msgstr ""
  43433. #. type: table
  43434. #: guix-git/doc/guix.texi:29244
  43435. msgid "List of @code{ganeti-os-variant} objects for this OS."
  43436. msgstr ""
  43437. #. type: deftp
  43438. #: guix-git/doc/guix.texi:29248
  43439. #, no-wrap
  43440. msgid "{Data Type} ganeti-os-variant"
  43441. msgstr ""
  43442. #. type: deftp
  43443. #: guix-git/doc/guix.texi:29251
  43444. msgid "This is the data type for a Ganeti OS variant. It takes the following parameters:"
  43445. msgstr ""
  43446. #. type: table
  43447. #: guix-git/doc/guix.texi:29255
  43448. msgid "The name of this variant."
  43449. msgstr ""
  43450. #. type: code{#1}
  43451. #: guix-git/doc/guix.texi:29256
  43452. #, no-wrap
  43453. msgid "configuration"
  43454. msgstr ""
  43455. #. type: table
  43456. #: guix-git/doc/guix.texi:29258
  43457. msgid "A configuration file for this variant."
  43458. msgstr ""
  43459. #. type: defvr
  43460. #: guix-git/doc/guix.texi:29261
  43461. #, no-wrap
  43462. msgid "{Scheme Variable} %default-debootstrap-hooks"
  43463. msgstr ""
  43464. #. type: defvr
  43465. #: guix-git/doc/guix.texi:29263
  43466. msgid "This variable contains hooks to configure networking and the GRUB bootloader."
  43467. msgstr ""
  43468. #. type: defvr
  43469. #: guix-git/doc/guix.texi:29265
  43470. #, no-wrap
  43471. msgid "{Scheme Variable} %default-debootstrap-extra-pkgs"
  43472. msgstr ""
  43473. #. type: defvr
  43474. #: guix-git/doc/guix.texi:29267
  43475. msgid "This variable contains a list of packages suitable for a fully-virtualized guest."
  43476. msgstr ""
  43477. #. type: deftp
  43478. #: guix-git/doc/guix.texi:29269
  43479. #, no-wrap
  43480. msgid "{Data Type} debootstrap-configuration"
  43481. msgstr ""
  43482. #. type: deftp
  43483. #: guix-git/doc/guix.texi:29272
  43484. msgid "This data type creates configuration files suitable for the debootstrap OS provider."
  43485. msgstr ""
  43486. #. type: item
  43487. #: guix-git/doc/guix.texi:29274
  43488. #, no-wrap
  43489. msgid "@code{hooks} (default: @code{%default-debootstrap-hooks})"
  43490. msgstr ""
  43491. #. type: table
  43492. #: guix-git/doc/guix.texi:29278
  43493. 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:"
  43494. msgstr ""
  43495. #. type: lisp
  43496. #: guix-git/doc/guix.texi:29281
  43497. #, no-wrap
  43498. msgid "`((99-hello-world . ,(plain-file \"#!/bin/sh\\necho Hello, World\")))\n"
  43499. msgstr ""
  43500. #. type: table
  43501. #: guix-git/doc/guix.texi:29286
  43502. 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."
  43503. msgstr ""
  43504. #. type: item
  43505. #: guix-git/doc/guix.texi:29286
  43506. #, no-wrap
  43507. msgid "@code{proxy} (default: @code{#f})"
  43508. msgstr ""
  43509. #. type: table
  43510. #: guix-git/doc/guix.texi:29288
  43511. msgid "Optional HTTP proxy to use."
  43512. msgstr ""
  43513. #. type: item
  43514. #: guix-git/doc/guix.texi:29288
  43515. #, no-wrap
  43516. msgid "@code{mirror} (default: @code{#f})"
  43517. msgstr ""
  43518. #. type: table
  43519. #: guix-git/doc/guix.texi:29291
  43520. msgid "The Debian mirror. Typically something like @code{http://ftp.no.debian.org/debian}. The default varies depending on the distribution."
  43521. msgstr ""
  43522. #. type: item
  43523. #: guix-git/doc/guix.texi:29291
  43524. #, no-wrap
  43525. msgid "@code{arch} (default: @code{#f})"
  43526. msgstr ""
  43527. #. type: table
  43528. #: guix-git/doc/guix.texi:29294
  43529. 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."
  43530. msgstr ""
  43531. #. type: item
  43532. #: guix-git/doc/guix.texi:29294
  43533. #, no-wrap
  43534. msgid "@code{suite} (default: @code{\"stable\"})"
  43535. msgstr ""
  43536. #. type: table
  43537. #: guix-git/doc/guix.texi:29297
  43538. 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."
  43539. msgstr ""
  43540. #. type: item
  43541. #: guix-git/doc/guix.texi:29297
  43542. #, no-wrap
  43543. msgid "@code{extra-pkgs} (default: @code{%default-debootstrap-extra-pkgs})"
  43544. msgstr ""
  43545. #. type: table
  43546. #: guix-git/doc/guix.texi:29300
  43547. msgid "List of extra packages that will get installed by dpkg in addition to the minimal system."
  43548. msgstr ""
  43549. #. type: item
  43550. #: guix-git/doc/guix.texi:29300
  43551. #, no-wrap
  43552. msgid "@code{components} (default: @code{#f})"
  43553. msgstr ""
  43554. #. type: table
  43555. #: guix-git/doc/guix.texi:29303
  43556. msgid "When set, must be a list of Debian repository ``components''. For example @code{'(\"main\" \"contrib\")}."
  43557. msgstr ""
  43558. #. type: item
  43559. #: guix-git/doc/guix.texi:29303
  43560. #, no-wrap
  43561. msgid "@code{generate-cache?} (default: @code{#t})"
  43562. msgstr ""
  43563. #. type: table
  43564. #: guix-git/doc/guix.texi:29305
  43565. msgid "Whether to automatically cache the generated debootstrap archive."
  43566. msgstr ""
  43567. #. type: item
  43568. #: guix-git/doc/guix.texi:29305
  43569. #, no-wrap
  43570. msgid "@code{clean-cache} (default: @code{14})"
  43571. msgstr ""
  43572. #. type: table
  43573. #: guix-git/doc/guix.texi:29308
  43574. msgid "Discard the cache after this amount of days. Use @code{#f} to never clear the cache."
  43575. msgstr ""
  43576. #. type: item
  43577. #: guix-git/doc/guix.texi:29308
  43578. #, no-wrap
  43579. msgid "@code{partition-style} (default: @code{'msdos})"
  43580. msgstr ""
  43581. #. type: table
  43582. #: guix-git/doc/guix.texi:29311
  43583. msgid "The type of partition to create. When set, it must be one of @code{'msdos}, @code{'none} or a string."
  43584. msgstr ""
  43585. #. type: item
  43586. #: guix-git/doc/guix.texi:29311
  43587. #, no-wrap
  43588. msgid "@code{partition-alignment} (default: @code{2048})"
  43589. msgstr ""
  43590. #. type: table
  43591. #: guix-git/doc/guix.texi:29313
  43592. msgid "Alignment of the partition in sectors."
  43593. msgstr ""
  43594. #. type: deffn
  43595. #: guix-git/doc/guix.texi:29316
  43596. #, no-wrap
  43597. msgid "{Scheme Procedure} debootstrap-variant @var{name} @var{configuration}"
  43598. msgstr ""
  43599. #. type: deffn
  43600. #: guix-git/doc/guix.texi:29319
  43601. 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."
  43602. msgstr ""
  43603. #. type: deffn
  43604. #: guix-git/doc/guix.texi:29321
  43605. #, no-wrap
  43606. msgid "{Scheme Procedure} debootstrap-os @var{variants}@dots{}"
  43607. msgstr ""
  43608. #. type: deffn
  43609. #: guix-git/doc/guix.texi:29324
  43610. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants created with @code{debootstrap-variant}."
  43611. msgstr ""
  43612. #. type: deffn
  43613. #: guix-git/doc/guix.texi:29326
  43614. #, no-wrap
  43615. msgid "{Scheme Procedure} guix-variant @var{name} @var{configuration}"
  43616. msgstr ""
  43617. #. type: deffn
  43618. #: guix-git/doc/guix.texi:29331
  43619. 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."
  43620. msgstr ""
  43621. #. type: deffn
  43622. #: guix-git/doc/guix.texi:29333
  43623. #, no-wrap
  43624. msgid "{Scheme Procedure} guix-os @var{variants}@dots{}"
  43625. msgstr ""
  43626. #. type: deffn
  43627. #: guix-git/doc/guix.texi:29336
  43628. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants produced by @code{guix-variant}."
  43629. msgstr ""
  43630. #. type: defvr
  43631. #: guix-git/doc/guix.texi:29338
  43632. #, no-wrap
  43633. msgid "{Scheme Variable} %default-debootstrap-variants"
  43634. msgstr ""
  43635. #. type: defvr
  43636. #: guix-git/doc/guix.texi:29342
  43637. 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:"
  43638. msgstr ""
  43639. #. type: lisp
  43640. #: guix-git/doc/guix.texi:29347
  43641. #, no-wrap
  43642. msgid ""
  43643. "(list (debootstrap-variant\n"
  43644. " \"default\"\n"
  43645. " (debootstrap-configuration)))\n"
  43646. msgstr ""
  43647. #. type: defvr
  43648. #: guix-git/doc/guix.texi:29350
  43649. #, no-wrap
  43650. msgid "{Scheme Variable} %default-guix-variants"
  43651. msgstr ""
  43652. #. type: defvr
  43653. #: guix-git/doc/guix.texi:29354
  43654. 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."
  43655. msgstr ""
  43656. #. type: lisp
  43657. #: guix-git/doc/guix.texi:29360
  43658. #, no-wrap
  43659. msgid ""
  43660. "(list (guix-variant\n"
  43661. " \"default\"\n"
  43662. " (file-append ganeti-instance-guix\n"
  43663. " \"/share/doc/ganeti-instance-guix/examples/dynamic.scm\")))\n"
  43664. msgstr ""
  43665. #. type: Plain text
  43666. #: guix-git/doc/guix.texi:29366
  43667. 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:"
  43668. msgstr ""
  43669. #. type: lisp
  43670. #: guix-git/doc/guix.texi:29375
  43671. #, no-wrap
  43672. msgid ""
  43673. "(ganeti-os\n"
  43674. " (name \"custom\")\n"
  43675. " (extension \".conf\")\n"
  43676. " (variants\n"
  43677. " (list (ganeti-os-variant\n"
  43678. " (name \"foo\")\n"
  43679. " (configuration (plain-file \"bar\" \"this is fine\"))))))\n"
  43680. msgstr ""
  43681. #. type: Plain text
  43682. #: guix-git/doc/guix.texi:29380
  43683. 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}."
  43684. msgstr ""
  43685. #. type: Plain text
  43686. #: guix-git/doc/guix.texi:29383
  43687. 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}."
  43688. msgstr ""
  43689. #. type: Plain text
  43690. #: guix-git/doc/guix.texi:29386
  43691. msgid "The rest of this section documents the various services that are included by @code{ganeti-service-type}."
  43692. msgstr ""
  43693. #. type: defvr
  43694. #: guix-git/doc/guix.texi:29387
  43695. #, no-wrap
  43696. msgid "{Scheme Variable} ganeti-noded-service-type"
  43697. msgstr ""
  43698. #. type: defvr
  43699. #: guix-git/doc/guix.texi:29391
  43700. 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."
  43701. msgstr ""
  43702. #. type: deftp
  43703. #: guix-git/doc/guix.texi:29393
  43704. #, no-wrap
  43705. msgid "{Data Type} ganeti-noded-configuration"
  43706. msgstr ""
  43707. #. type: deftp
  43708. #: guix-git/doc/guix.texi:29395
  43709. msgid "This is the configuration for the @code{ganeti-noded} service."
  43710. msgstr ""
  43711. #. type: table
  43712. #: guix-git/doc/guix.texi:29399 guix-git/doc/guix.texi:29449
  43713. #: guix-git/doc/guix.texi:29479 guix-git/doc/guix.texi:29506
  43714. #: guix-git/doc/guix.texi:29538 guix-git/doc/guix.texi:29591
  43715. #: guix-git/doc/guix.texi:29611 guix-git/doc/guix.texi:29637
  43716. #: guix-git/doc/guix.texi:29670
  43717. msgid "The @code{ganeti} package to use for this service."
  43718. msgstr ""
  43719. #. type: item
  43720. #: guix-git/doc/guix.texi:29400
  43721. #, no-wrap
  43722. msgid "@code{port} (default: @code{1811})"
  43723. msgstr ""
  43724. #. type: table
  43725. #: guix-git/doc/guix.texi:29402
  43726. msgid "The TCP port on which the node daemon listens for network requests."
  43727. msgstr ""
  43728. #. type: item
  43729. #: guix-git/doc/guix.texi:29403 guix-git/doc/guix.texi:29453
  43730. #: guix-git/doc/guix.texi:29545 guix-git/doc/guix.texi:29615
  43731. #, no-wrap
  43732. msgid "@code{address} (default: @code{\"0.0.0.0\"})"
  43733. msgstr ""
  43734. #. type: table
  43735. #: guix-git/doc/guix.texi:29406
  43736. msgid "The network address that the daemon will bind to. The default address means bind to all available addresses."
  43737. msgstr ""
  43738. #. type: table
  43739. #: guix-git/doc/guix.texi:29410
  43740. msgid "When this is set, it must be a specific network interface (e.g.@: @code{eth0}) that the daemon will bind to."
  43741. msgstr ""
  43742. #. type: item
  43743. #: guix-git/doc/guix.texi:29411 guix-git/doc/guix.texi:29553
  43744. #, no-wrap
  43745. msgid "@code{max-clients} (default: @code{20})"
  43746. msgstr ""
  43747. #. type: table
  43748. #: guix-git/doc/guix.texi:29415
  43749. 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."
  43750. msgstr ""
  43751. #. type: item
  43752. #: guix-git/doc/guix.texi:29416 guix-git/doc/guix.texi:29558
  43753. #, no-wrap
  43754. msgid "@code{ssl?} (default: @code{#t})"
  43755. msgstr ""
  43756. #. type: table
  43757. #: guix-git/doc/guix.texi:29420
  43758. 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}."
  43759. msgstr ""
  43760. #. type: item
  43761. #: guix-git/doc/guix.texi:29421 guix-git/doc/guix.texi:29561
  43762. #, no-wrap
  43763. msgid "@code{ssl-key} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  43764. msgstr ""
  43765. #. type: table
  43766. #: guix-git/doc/guix.texi:29423 guix-git/doc/guix.texi:29563
  43767. msgid "This can be used to provide a specific encryption key for TLS communications."
  43768. msgstr ""
  43769. #. type: item
  43770. #: guix-git/doc/guix.texi:29424 guix-git/doc/guix.texi:29564
  43771. #, no-wrap
  43772. msgid "@code{ssl-cert} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  43773. msgstr ""
  43774. #. type: table
  43775. #: guix-git/doc/guix.texi:29426 guix-git/doc/guix.texi:29566
  43776. msgid "This can be used to provide a specific certificate for TLS communications."
  43777. msgstr ""
  43778. #. type: table
  43779. #: guix-git/doc/guix.texi:29430 guix-git/doc/guix.texi:29570
  43780. 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."
  43781. msgstr ""
  43782. #. type: defvr
  43783. #: guix-git/doc/guix.texi:29434
  43784. #, no-wrap
  43785. msgid "{Scheme Variable} ganeti-confd-service-type"
  43786. msgstr ""
  43787. #. type: defvr
  43788. #: guix-git/doc/guix.texi:29440
  43789. 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."
  43790. msgstr ""
  43791. #. type: deftp
  43792. #: guix-git/doc/guix.texi:29443
  43793. #, no-wrap
  43794. msgid "{Data Type} ganeti-confd-configuration"
  43795. msgstr ""
  43796. #. type: deftp
  43797. #: guix-git/doc/guix.texi:29445
  43798. msgid "This is the configuration for the @code{ganeti-confd} service."
  43799. msgstr ""
  43800. #. type: item
  43801. #: guix-git/doc/guix.texi:29450
  43802. #, no-wrap
  43803. msgid "@code{port} (default: @code{1814})"
  43804. msgstr ""
  43805. #. type: table
  43806. #: guix-git/doc/guix.texi:29452
  43807. msgid "The UDP port on which to listen for network requests."
  43808. msgstr ""
  43809. #. type: table
  43810. #: guix-git/doc/guix.texi:29455
  43811. msgid "Network address that the daemon will bind to."
  43812. msgstr ""
  43813. #. type: table
  43814. #: guix-git/doc/guix.texi:29458 guix-git/doc/guix.texi:29487
  43815. #: guix-git/doc/guix.texi:29514 guix-git/doc/guix.texi:29594
  43816. #: guix-git/doc/guix.texi:29621 guix-git/doc/guix.texi:29647
  43817. msgid "When true, the daemon performs additional logging for debugging purposes."
  43818. msgstr ""
  43819. #. type: defvr
  43820. #: guix-git/doc/guix.texi:29462
  43821. #, no-wrap
  43822. msgid "{Scheme Variable} ganeti-wconfd-service-type"
  43823. msgstr ""
  43824. #. type: defvr
  43825. #: guix-git/doc/guix.texi:29468
  43826. 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."
  43827. msgstr ""
  43828. #. type: defvr
  43829. #: guix-git/doc/guix.texi:29471
  43830. msgid "The value of this service must be a @code{ganeti-wconfd-configuration} object."
  43831. msgstr ""
  43832. #. type: deftp
  43833. #: guix-git/doc/guix.texi:29473
  43834. #, no-wrap
  43835. msgid "{Data Type} ganeti-wconfd-configuration"
  43836. msgstr ""
  43837. #. type: deftp
  43838. #: guix-git/doc/guix.texi:29475 guix-git/doc/guix.texi:29502
  43839. msgid "This is the configuration for the @code{ganeti-wconfd} service."
  43840. msgstr ""
  43841. #. type: item
  43842. #: guix-git/doc/guix.texi:29480 guix-git/doc/guix.texi:29507
  43843. #, no-wrap
  43844. msgid "@code{no-voting?} (default: @code{#f})"
  43845. msgstr ""
  43846. #. type: table
  43847. #: guix-git/doc/guix.texi:29484
  43848. 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)."
  43849. msgstr ""
  43850. #. type: defvr
  43851. #: guix-git/doc/guix.texi:29491
  43852. #, no-wrap
  43853. msgid "{Scheme Variable} ganeti-luxid-service-type"
  43854. msgstr ""
  43855. #. type: defvr
  43856. #: guix-git/doc/guix.texi:29496
  43857. 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."
  43858. msgstr ""
  43859. #. type: defvr
  43860. #: guix-git/doc/guix.texi:29498
  43861. msgid "It takes a @code{ganeti-luxid-configuration} object."
  43862. msgstr ""
  43863. #. type: deftp
  43864. #: guix-git/doc/guix.texi:29500
  43865. #, no-wrap
  43866. msgid "{Data Type} ganeti-luxid-configuration"
  43867. msgstr ""
  43868. #. type: table
  43869. #: guix-git/doc/guix.texi:29511
  43870. 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)."
  43871. msgstr ""
  43872. #. type: defvr
  43873. #: guix-git/doc/guix.texi:29518
  43874. #, no-wrap
  43875. msgid "{Scheme Variable} ganeti-rapi-service-type"
  43876. msgstr ""
  43877. #. type: defvr
  43878. #: guix-git/doc/guix.texi:29522
  43879. 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."
  43880. msgstr ""
  43881. #. type: defvr
  43882. #: guix-git/doc/guix.texi:29528
  43883. 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."
  43884. msgstr ""
  43885. #. type: defvr
  43886. #: guix-git/doc/guix.texi:29530
  43887. msgid "The value of this service must be a @code{ganeti-rapi-configuration} object."
  43888. msgstr ""
  43889. #. type: deftp
  43890. #: guix-git/doc/guix.texi:29532
  43891. #, no-wrap
  43892. msgid "{Data Type} ganeti-rapi-configuration"
  43893. msgstr ""
  43894. #. type: deftp
  43895. #: guix-git/doc/guix.texi:29534
  43896. msgid "This is the configuration for the @code{ganeti-rapi} service."
  43897. msgstr ""
  43898. #. type: item
  43899. #: guix-git/doc/guix.texi:29539
  43900. #, no-wrap
  43901. msgid "@code{require-authentication?} (default: @code{#f})"
  43902. msgstr ""
  43903. #. type: table
  43904. #: guix-git/doc/guix.texi:29541
  43905. msgid "Whether to require authentication even for read-only operations."
  43906. msgstr ""
  43907. #. type: item
  43908. #: guix-git/doc/guix.texi:29542
  43909. #, no-wrap
  43910. msgid "@code{port} (default: @code{5080})"
  43911. msgstr ""
  43912. #. type: table
  43913. #: guix-git/doc/guix.texi:29544
  43914. msgid "The TCP port on which to listen to API requests."
  43915. msgstr ""
  43916. #. type: table
  43917. #: guix-git/doc/guix.texi:29548
  43918. msgid "The network address that the service will bind to. By default it listens on all configured addresses."
  43919. msgstr ""
  43920. #. type: table
  43921. #: guix-git/doc/guix.texi:29552
  43922. msgid "When set, it must specify a specific network interface such as @code{eth0} that the daemon will bind to."
  43923. msgstr ""
  43924. #. type: table
  43925. #: guix-git/doc/guix.texi:29557
  43926. msgid "The maximum number of simultaneous client requests to handle. Further connections are allowed, but no responses are sent until enough connections have closed."
  43927. msgstr ""
  43928. #. type: table
  43929. #: guix-git/doc/guix.texi:29560
  43930. msgid "Whether to use SSL/TLS encryption on the RAPI port."
  43931. msgstr ""
  43932. #. type: defvr
  43933. #: guix-git/doc/guix.texi:29574
  43934. #, no-wrap
  43935. msgid "{Scheme Variable} ganeti-kvmd-service-type"
  43936. msgstr ""
  43937. #. type: defvr
  43938. #: guix-git/doc/guix.texi:29582
  43939. 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."
  43940. msgstr ""
  43941. #. type: defvr
  43942. #: guix-git/doc/guix.texi:29584
  43943. msgid "It takes a @code{ganeti-kvmd-configuration} object."
  43944. msgstr ""
  43945. #. type: deftp
  43946. #: guix-git/doc/guix.texi:29586
  43947. #, no-wrap
  43948. msgid "{Data Type} ganeti-kvmd-configuration"
  43949. msgstr ""
  43950. #. type: defvr
  43951. #: guix-git/doc/guix.texi:29598
  43952. #, no-wrap
  43953. msgid "{Scheme Variable} ganeti-mond-service-type"
  43954. msgstr ""
  43955. #. type: defvr
  43956. #: guix-git/doc/guix.texi:29602
  43957. 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."
  43958. msgstr ""
  43959. #. type: defvr
  43960. #: guix-git/doc/guix.texi:29604
  43961. msgid "It takes a @code{ganeti-mond-configuration} object."
  43962. msgstr ""
  43963. #. type: deftp
  43964. #: guix-git/doc/guix.texi:29606
  43965. #, no-wrap
  43966. msgid "{Data Type} ganeti-mond-configuration"
  43967. msgstr ""
  43968. #. type: item
  43969. #: guix-git/doc/guix.texi:29612
  43970. #, no-wrap
  43971. msgid "@code{port} (default: @code{1815})"
  43972. msgstr ""
  43973. #. type: table
  43974. #: guix-git/doc/guix.texi:29614 guix-git/doc/guix.texi:29640
  43975. msgid "The port on which the daemon will listen."
  43976. msgstr ""
  43977. #. type: table
  43978. #: guix-git/doc/guix.texi:29618
  43979. msgid "The network address that the daemon will bind to. By default it binds to all available interfaces."
  43980. msgstr ""
  43981. #. type: defvr
  43982. #: guix-git/doc/guix.texi:29625
  43983. #, no-wrap
  43984. msgid "{Scheme Variable} ganeti-metad-service-type"
  43985. msgstr ""
  43986. #. type: defvr
  43987. #: guix-git/doc/guix.texi:29628
  43988. msgid "@command{ganeti-metad} is an optional daemon that can be used to provide information about the cluster to instances or OS install scripts."
  43989. msgstr ""
  43990. #. type: defvr
  43991. #: guix-git/doc/guix.texi:29630
  43992. msgid "It takes a @code{ganeti-metad-configuration} object."
  43993. msgstr ""
  43994. #. type: deftp
  43995. #: guix-git/doc/guix.texi:29632
  43996. #, no-wrap
  43997. msgid "{Data Type} ganeti-metad-configuration"
  43998. msgstr ""
  43999. #. type: item
  44000. #: guix-git/doc/guix.texi:29641
  44001. #, no-wrap
  44002. msgid "@code{address} (default: @code{#f})"
  44003. msgstr ""
  44004. #. type: table
  44005. #: guix-git/doc/guix.texi:29644
  44006. msgid "If set, the daemon will bind to this address only. If left unset, the behavior depends on the cluster configuration."
  44007. msgstr ""
  44008. #. type: defvr
  44009. #: guix-git/doc/guix.texi:29651
  44010. #, no-wrap
  44011. msgid "{Scheme Variable} ganeti-watcher-service-type"
  44012. msgstr ""
  44013. #. type: defvr
  44014. #: guix-git/doc/guix.texi:29659
  44015. 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."
  44016. msgstr ""
  44017. #. type: defvr
  44018. #: guix-git/doc/guix.texi:29661
  44019. msgid "It can be paused on all nodes with @command{gnt-cluster watcher pause}."
  44020. msgstr ""
  44021. #. type: defvr
  44022. #: guix-git/doc/guix.texi:29663
  44023. msgid "The service takes a @code{ganeti-watcher-configuration} object."
  44024. msgstr ""
  44025. #. type: deftp
  44026. #: guix-git/doc/guix.texi:29665
  44027. #, no-wrap
  44028. msgid "{Data Type} ganeti-watcher-configuration"
  44029. msgstr ""
  44030. #. type: item
  44031. #: guix-git/doc/guix.texi:29671
  44032. #, no-wrap
  44033. msgid "@code{schedule} (default: @code{'(next-second-from (next-minute (range 0 60 5)))})"
  44034. msgstr ""
  44035. #. type: table
  44036. #: guix-git/doc/guix.texi:29673
  44037. msgid "How often to run the script. The default is every five minutes."
  44038. msgstr ""
  44039. #. type: item
  44040. #: guix-git/doc/guix.texi:29674
  44041. #, no-wrap
  44042. msgid "@code{rapi-ip} (default: @code{#f})"
  44043. msgstr ""
  44044. #. type: table
  44045. #: guix-git/doc/guix.texi:29677
  44046. 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."
  44047. msgstr ""
  44048. #. type: item
  44049. #: guix-git/doc/guix.texi:29678
  44050. #, no-wrap
  44051. msgid "@code{job-age} (default: @code{(* 6 3600)})"
  44052. msgstr ""
  44053. #. type: table
  44054. #: guix-git/doc/guix.texi:29681
  44055. msgid "Archive cluster jobs older than this age, specified in seconds. The default is 6 hours. This keeps @command{gnt-job list} manageable."
  44056. msgstr ""
  44057. #. type: item
  44058. #: guix-git/doc/guix.texi:29682
  44059. #, no-wrap
  44060. msgid "@code{verify-disks?} (default: @code{#t})"
  44061. msgstr ""
  44062. #. type: table
  44063. #: guix-git/doc/guix.texi:29686
  44064. 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."
  44065. msgstr ""
  44066. #. type: table
  44067. #: guix-git/doc/guix.texi:29689
  44068. msgid "When @code{#t}, the script performs additional logging for debugging purposes."
  44069. msgstr ""
  44070. #. type: defvr
  44071. #: guix-git/doc/guix.texi:29693
  44072. #, no-wrap
  44073. msgid "{Scheme Variable} ganeti-cleaner-service-type"
  44074. msgstr ""
  44075. #. type: defvr
  44076. #: guix-git/doc/guix.texi:29701
  44077. 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."
  44078. msgstr ""
  44079. #. type: defvr
  44080. #: guix-git/doc/guix.texi:29703
  44081. msgid "It takes a @code{ganeti-cleaner-configuration} object."
  44082. msgstr ""
  44083. #. type: deftp
  44084. #: guix-git/doc/guix.texi:29705
  44085. #, no-wrap
  44086. msgid "{Data Type} ganeti-cleaner-configuration"
  44087. msgstr ""
  44088. #. type: table
  44089. #: guix-git/doc/guix.texi:29710
  44090. msgid "The @code{ganeti} package to use for the @command{gnt-cleaner} command."
  44091. msgstr ""
  44092. #. type: item
  44093. #: guix-git/doc/guix.texi:29711
  44094. #, no-wrap
  44095. msgid "@code{master-schedule} (default: @code{\"45 1 * * *\"})"
  44096. msgstr ""
  44097. #. type: table
  44098. #: guix-git/doc/guix.texi:29714
  44099. msgid "How often to run the master cleaning job. The default is once per day, at 01:45:00."
  44100. msgstr ""
  44101. #. type: item
  44102. #: guix-git/doc/guix.texi:29715
  44103. #, no-wrap
  44104. msgid "@code{node-schedule} (default: @code{\"45 2 * * *\"})"
  44105. msgstr ""
  44106. #. type: table
  44107. #: guix-git/doc/guix.texi:29718
  44108. msgid "How often to run the node cleaning job. The default is once per day, at 02:45:00."
  44109. msgstr ""
  44110. #. type: Plain text
  44111. #: guix-git/doc/guix.texi:29732
  44112. 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}."
  44113. msgstr ""
  44114. #. type: deffn
  44115. #: guix-git/doc/guix.texi:29733
  44116. #, no-wrap
  44117. msgid "{Scheme Procedure} git-daemon-service [#:config (git-daemon-configuration)]"
  44118. msgstr ""
  44119. #. type: deffn
  44120. #: guix-git/doc/guix.texi:29737
  44121. msgid "Return a service that runs @command{git daemon}, a simple TCP server to expose repositories over the Git protocol for anonymous access."
  44122. msgstr ""
  44123. #. type: deffn
  44124. #: guix-git/doc/guix.texi:29743
  44125. 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}."
  44126. msgstr ""
  44127. #. type: deftp
  44128. #: guix-git/doc/guix.texi:29746
  44129. #, no-wrap
  44130. msgid "{Data Type} git-daemon-configuration"
  44131. msgstr ""
  44132. #. type: deftp
  44133. #: guix-git/doc/guix.texi:29748
  44134. msgid "Data type representing the configuration for @code{git-daemon-service}."
  44135. msgstr ""
  44136. #. type: item
  44137. #: guix-git/doc/guix.texi:29750
  44138. #, no-wrap
  44139. msgid "@code{package} (default: @code{git})"
  44140. msgstr ""
  44141. #. type: table
  44142. #: guix-git/doc/guix.texi:29752 guix-git/doc/guix.texi:29812
  44143. msgid "Package object of the Git distributed version control system."
  44144. msgstr ""
  44145. #. type: item
  44146. #: guix-git/doc/guix.texi:29753 guix-git/doc/guix.texi:29816
  44147. #, no-wrap
  44148. msgid "@code{export-all?} (default: @code{#f})"
  44149. msgstr ""
  44150. #. type: table
  44151. #: guix-git/doc/guix.texi:29756
  44152. msgid "Whether to allow access for all Git repositories, even if they do not have the @file{git-daemon-export-ok} file."
  44153. msgstr ""
  44154. #. type: item
  44155. #: guix-git/doc/guix.texi:29757
  44156. #, no-wrap
  44157. msgid "@code{base-path} (default: @file{/srv/git})"
  44158. msgstr ""
  44159. #. type: table
  44160. #: guix-git/doc/guix.texi:29763
  44161. 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}."
  44162. msgstr ""
  44163. #. type: item
  44164. #: guix-git/doc/guix.texi:29764
  44165. #, no-wrap
  44166. msgid "@code{user-path} (default: @code{#f})"
  44167. msgstr ""
  44168. #. type: table
  44169. #: guix-git/doc/guix.texi:29772
  44170. 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}."
  44171. msgstr ""
  44172. #. type: item
  44173. #: guix-git/doc/guix.texi:29773
  44174. #, no-wrap
  44175. msgid "@code{listen} (default: @code{'()})"
  44176. msgstr ""
  44177. #. type: table
  44178. #: guix-git/doc/guix.texi:29776
  44179. msgid "Whether to listen on specific IP addresses or hostnames, defaults to all."
  44180. msgstr ""
  44181. #. type: item
  44182. #: guix-git/doc/guix.texi:29777
  44183. #, no-wrap
  44184. msgid "@code{port} (default: @code{#f})"
  44185. msgstr ""
  44186. #. type: table
  44187. #: guix-git/doc/guix.texi:29779
  44188. msgid "Whether to listen on an alternative port, which defaults to 9418."
  44189. msgstr ""
  44190. #. type: item
  44191. #: guix-git/doc/guix.texi:29780
  44192. #, no-wrap
  44193. msgid "@code{whitelist} (default: @code{'()})"
  44194. msgstr ""
  44195. #. type: table
  44196. #: guix-git/doc/guix.texi:29782
  44197. msgid "If not empty, only allow access to this list of directories."
  44198. msgstr ""
  44199. #. type: table
  44200. #: guix-git/doc/guix.texi:29786
  44201. msgid "Extra options will be passed to @command{git daemon}, please run @command{man git-daemon} for more information."
  44202. msgstr ""
  44203. #. type: Plain text
  44204. #: guix-git/doc/guix.texi:29800
  44205. 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."
  44206. msgstr ""
  44207. #. type: Plain text
  44208. #: guix-git/doc/guix.texi:29803
  44209. msgid "Guix has a separate configuration data type for serving Git repositories over HTTP."
  44210. msgstr ""
  44211. #. type: deftp
  44212. #: guix-git/doc/guix.texi:29804
  44213. #, no-wrap
  44214. msgid "{Data Type} git-http-configuration"
  44215. msgstr ""
  44216. #. type: deftp
  44217. #: guix-git/doc/guix.texi:29808
  44218. 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}."
  44219. msgstr ""
  44220. #. type: item
  44221. #: guix-git/doc/guix.texi:29810
  44222. #, no-wrap
  44223. msgid "@code{package} (default: @var{git})"
  44224. msgstr ""
  44225. #. type: item
  44226. #: guix-git/doc/guix.texi:29813
  44227. #, no-wrap
  44228. msgid "@code{git-root} (default: @file{/srv/git})"
  44229. msgstr ""
  44230. #. type: table
  44231. #: guix-git/doc/guix.texi:29815
  44232. msgid "Directory containing the Git repositories to expose to the world."
  44233. msgstr ""
  44234. #. type: table
  44235. #: guix-git/doc/guix.texi:29819
  44236. 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."
  44237. msgstr ""
  44238. #. type: item
  44239. #: guix-git/doc/guix.texi:29820
  44240. #, no-wrap
  44241. msgid "@code{uri-path} (default: @samp{/git/})"
  44242. msgstr ""
  44243. #. type: table
  44244. #: guix-git/doc/guix.texi:29825
  44245. 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."
  44246. msgstr ""
  44247. #. type: item
  44248. #: guix-git/doc/guix.texi:29826
  44249. #, no-wrap
  44250. msgid "@code{fcgiwrap-socket} (default: @code{127.0.0.1:9000})"
  44251. msgstr ""
  44252. #. type: table
  44253. #: guix-git/doc/guix.texi:29829
  44254. msgid "The socket on which the @code{fcgiwrap} daemon is listening. @xref{Web Services}."
  44255. msgstr ""
  44256. #. type: Plain text
  44257. #: guix-git/doc/guix.texi:29836
  44258. 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."
  44259. msgstr ""
  44260. #. type: deffn
  44261. #: guix-git/doc/guix.texi:29837
  44262. #, no-wrap
  44263. msgid "{Scheme Procedure} git-http-nginx-location-configuration @"
  44264. msgstr ""
  44265. #. type: deffn
  44266. #: guix-git/doc/guix.texi:29842
  44267. 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:"
  44268. msgstr ""
  44269. #. type: lisp
  44270. #: guix-git/doc/guix.texi:29859
  44271. #, no-wrap
  44272. msgid ""
  44273. "(service nginx-service-type\n"
  44274. " (nginx-configuration\n"
  44275. " (server-blocks\n"
  44276. " (list\n"
  44277. " (nginx-server-configuration\n"
  44278. " (listen '(\"443 ssl\"))\n"
  44279. " (server-name \"git.my-host.org\")\n"
  44280. " (ssl-certificate\n"
  44281. " \"/etc/letsencrypt/live/git.my-host.org/fullchain.pem\")\n"
  44282. " (ssl-certificate-key\n"
  44283. " \"/etc/letsencrypt/live/git.my-host.org/privkey.pem\")\n"
  44284. " (locations\n"
  44285. " (list\n"
  44286. " (git-http-nginx-location-configuration\n"
  44287. " (git-http-configuration (uri-path \"/\"))))))))))\n"
  44288. msgstr ""
  44289. #. type: deffn
  44290. #: guix-git/doc/guix.texi:29866
  44291. 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}."
  44292. msgstr ""
  44293. #. type: subsubheading
  44294. #: guix-git/doc/guix.texi:29868
  44295. #, no-wrap
  44296. msgid "Cgit Service"
  44297. msgstr ""
  44298. #. type: cindex
  44299. #: guix-git/doc/guix.texi:29870
  44300. #, no-wrap
  44301. msgid "Cgit service"
  44302. msgstr ""
  44303. #. type: cindex
  44304. #: guix-git/doc/guix.texi:29871
  44305. #, no-wrap
  44306. msgid "Git, web interface"
  44307. msgstr ""
  44308. #. type: Plain text
  44309. #: guix-git/doc/guix.texi:29874
  44310. msgid "@uref{https://git.zx2c4.com/cgit/, Cgit} is a web frontend for Git repositories written in C."
  44311. msgstr ""
  44312. #. type: Plain text
  44313. #: guix-git/doc/guix.texi:29877
  44314. msgid "The following example will configure the service with default values. By default, Cgit can be accessed on port 80 (@code{http://localhost:80})."
  44315. msgstr ""
  44316. #. type: lisp
  44317. #: guix-git/doc/guix.texi:29880
  44318. #, no-wrap
  44319. msgid "(service cgit-service-type)\n"
  44320. msgstr ""
  44321. #. type: Plain text
  44322. #: guix-git/doc/guix.texi:29884
  44323. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a string."
  44324. msgstr ""
  44325. #. type: Plain text
  44326. #: guix-git/doc/guix.texi:29888
  44327. msgid "Available @code{cgit-configuration} fields are:"
  44328. msgstr ""
  44329. #. type: deftypevr
  44330. #: guix-git/doc/guix.texi:29889
  44331. #, no-wrap
  44332. msgid "{@code{cgit-configuration} parameter} package package"
  44333. msgstr ""
  44334. #. type: deftypevr
  44335. #: guix-git/doc/guix.texi:29891
  44336. msgid "The CGIT package."
  44337. msgstr ""
  44338. #. type: deftypevr
  44339. #: guix-git/doc/guix.texi:29894
  44340. #, no-wrap
  44341. msgid "{@code{cgit-configuration} parameter} nginx-server-configuration-list nginx"
  44342. msgstr ""
  44343. #. type: deftypevr
  44344. #: guix-git/doc/guix.texi:29899
  44345. #, no-wrap
  44346. msgid "{@code{cgit-configuration} parameter} file-object about-filter"
  44347. msgstr ""
  44348. #. type: deftypevr
  44349. #: guix-git/doc/guix.texi:29902
  44350. msgid "Specifies a command which will be invoked to format the content of about pages (both top-level and for each repository)."
  44351. msgstr ""
  44352. #. type: deftypevr
  44353. #: guix-git/doc/guix.texi:29907
  44354. #, no-wrap
  44355. msgid "{@code{cgit-configuration} parameter} string agefile"
  44356. msgstr ""
  44357. #. type: deftypevr
  44358. #: guix-git/doc/guix.texi:29910
  44359. 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."
  44360. msgstr ""
  44361. #. type: deftypevr
  44362. #: guix-git/doc/guix.texi:29915
  44363. #, no-wrap
  44364. msgid "{@code{cgit-configuration} parameter} file-object auth-filter"
  44365. msgstr ""
  44366. #. type: deftypevr
  44367. #: guix-git/doc/guix.texi:29918
  44368. msgid "Specifies a command that will be invoked for authenticating repository access."
  44369. msgstr ""
  44370. #. type: deftypevr
  44371. #: guix-git/doc/guix.texi:29923
  44372. #, no-wrap
  44373. msgid "{@code{cgit-configuration} parameter} string branch-sort"
  44374. msgstr ""
  44375. #. type: deftypevr
  44376. #: guix-git/doc/guix.texi:29926
  44377. 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."
  44378. msgstr ""
  44379. #. type: deftypevr
  44380. #: guix-git/doc/guix.texi:29928
  44381. msgid "Defaults to @samp{\"name\"}."
  44382. msgstr ""
  44383. #. type: deftypevr
  44384. #: guix-git/doc/guix.texi:29931
  44385. #, no-wrap
  44386. msgid "{@code{cgit-configuration} parameter} string cache-root"
  44387. msgstr ""
  44388. #. type: deftypevr
  44389. #: guix-git/doc/guix.texi:29933
  44390. msgid "Path used to store the cgit cache entries."
  44391. msgstr ""
  44392. #. type: deftypevr
  44393. #: guix-git/doc/guix.texi:29935
  44394. msgid "Defaults to @samp{\"/var/cache/cgit\"}."
  44395. msgstr ""
  44396. #. type: deftypevr
  44397. #: guix-git/doc/guix.texi:29938
  44398. #, no-wrap
  44399. msgid "{@code{cgit-configuration} parameter} integer cache-static-ttl"
  44400. msgstr ""
  44401. #. type: deftypevr
  44402. #: guix-git/doc/guix.texi:29941
  44403. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed with a fixed SHA1."
  44404. msgstr ""
  44405. #. type: deftypevr
  44406. #: guix-git/doc/guix.texi:29943 guix-git/doc/guix.texi:30386
  44407. msgid "Defaults to @samp{-1}."
  44408. msgstr ""
  44409. #. type: deftypevr
  44410. #: guix-git/doc/guix.texi:29946
  44411. #, no-wrap
  44412. msgid "{@code{cgit-configuration} parameter} integer cache-dynamic-ttl"
  44413. msgstr ""
  44414. #. type: deftypevr
  44415. #: guix-git/doc/guix.texi:29949
  44416. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed without a fixed SHA1."
  44417. msgstr ""
  44418. #. type: deftypevr
  44419. #: guix-git/doc/guix.texi:29954
  44420. #, no-wrap
  44421. msgid "{@code{cgit-configuration} parameter} integer cache-repo-ttl"
  44422. msgstr ""
  44423. #. type: deftypevr
  44424. #: guix-git/doc/guix.texi:29957
  44425. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository summary page."
  44426. msgstr ""
  44427. #. type: deftypevr
  44428. #: guix-git/doc/guix.texi:29962
  44429. #, no-wrap
  44430. msgid "{@code{cgit-configuration} parameter} integer cache-root-ttl"
  44431. msgstr ""
  44432. #. type: deftypevr
  44433. #: guix-git/doc/guix.texi:29965
  44434. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository index page."
  44435. msgstr ""
  44436. #. type: deftypevr
  44437. #: guix-git/doc/guix.texi:29970
  44438. #, no-wrap
  44439. msgid "{@code{cgit-configuration} parameter} integer cache-scanrc-ttl"
  44440. msgstr ""
  44441. #. type: deftypevr
  44442. #: guix-git/doc/guix.texi:29973
  44443. msgid "Number which specifies the time-to-live, in minutes, for the result of scanning a path for Git repositories."
  44444. msgstr ""
  44445. #. type: deftypevr
  44446. #: guix-git/doc/guix.texi:29978
  44447. #, no-wrap
  44448. msgid "{@code{cgit-configuration} parameter} integer cache-about-ttl"
  44449. msgstr ""
  44450. #. type: deftypevr
  44451. #: guix-git/doc/guix.texi:29981
  44452. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository about page."
  44453. msgstr ""
  44454. #. type: deftypevr
  44455. #: guix-git/doc/guix.texi:29986
  44456. #, no-wrap
  44457. msgid "{@code{cgit-configuration} parameter} integer cache-snapshot-ttl"
  44458. msgstr ""
  44459. #. type: deftypevr
  44460. #: guix-git/doc/guix.texi:29989
  44461. msgid "Number which specifies the time-to-live, in minutes, for the cached version of snapshots."
  44462. msgstr ""
  44463. #. type: deftypevr
  44464. #: guix-git/doc/guix.texi:29994
  44465. #, no-wrap
  44466. msgid "{@code{cgit-configuration} parameter} integer cache-size"
  44467. msgstr ""
  44468. #. type: deftypevr
  44469. #: guix-git/doc/guix.texi:29997
  44470. msgid "The maximum number of entries in the cgit cache. When set to @samp{0}, caching is disabled."
  44471. msgstr ""
  44472. #. type: deftypevr
  44473. #: guix-git/doc/guix.texi:30002
  44474. #, no-wrap
  44475. msgid "{@code{cgit-configuration} parameter} boolean case-sensitive-sort?"
  44476. msgstr ""
  44477. #. type: deftypevr
  44478. #: guix-git/doc/guix.texi:30004
  44479. msgid "Sort items in the repo list case sensitively."
  44480. msgstr ""
  44481. #. type: deftypevr
  44482. #: guix-git/doc/guix.texi:30009
  44483. #, no-wrap
  44484. msgid "{@code{cgit-configuration} parameter} list clone-prefix"
  44485. msgstr ""
  44486. #. type: deftypevr
  44487. #: guix-git/doc/guix.texi:30012
  44488. msgid "List of common prefixes which, when combined with a repository URL, generates valid clone URLs for the repository."
  44489. msgstr ""
  44490. #. type: deftypevr
  44491. #: guix-git/doc/guix.texi:30017
  44492. #, no-wrap
  44493. msgid "{@code{cgit-configuration} parameter} list clone-url"
  44494. msgstr ""
  44495. #. type: deftypevr
  44496. #: guix-git/doc/guix.texi:30019
  44497. msgid "List of @code{clone-url} templates."
  44498. msgstr ""
  44499. #. type: deftypevr
  44500. #: guix-git/doc/guix.texi:30024
  44501. #, no-wrap
  44502. msgid "{@code{cgit-configuration} parameter} file-object commit-filter"
  44503. msgstr ""
  44504. #. type: deftypevr
  44505. #: guix-git/doc/guix.texi:30026
  44506. msgid "Command which will be invoked to format commit messages."
  44507. msgstr ""
  44508. #. type: deftypevr
  44509. #: guix-git/doc/guix.texi:30031
  44510. #, no-wrap
  44511. msgid "{@code{cgit-configuration} parameter} string commit-sort"
  44512. msgstr ""
  44513. #. type: deftypevr
  44514. #: guix-git/doc/guix.texi:30035 guix-git/doc/guix.texi:30593
  44515. 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."
  44516. msgstr ""
  44517. #. type: deftypevr
  44518. #: guix-git/doc/guix.texi:30037
  44519. msgid "Defaults to @samp{\"git log\"}."
  44520. msgstr ""
  44521. #. type: deftypevr
  44522. #: guix-git/doc/guix.texi:30040
  44523. #, no-wrap
  44524. msgid "{@code{cgit-configuration} parameter} file-object css"
  44525. msgstr ""
  44526. #. type: deftypevr
  44527. #: guix-git/doc/guix.texi:30042
  44528. msgid "URL which specifies the css document to include in all cgit pages."
  44529. msgstr ""
  44530. #. type: deftypevr
  44531. #: guix-git/doc/guix.texi:30044
  44532. msgid "Defaults to @samp{\"/share/cgit/cgit.css\"}."
  44533. msgstr ""
  44534. #. type: deftypevr
  44535. #: guix-git/doc/guix.texi:30047
  44536. #, no-wrap
  44537. msgid "{@code{cgit-configuration} parameter} file-object email-filter"
  44538. msgstr ""
  44539. #. type: deftypevr
  44540. #: guix-git/doc/guix.texi:30051
  44541. 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."
  44542. msgstr ""
  44543. #. type: deftypevr
  44544. #: guix-git/doc/guix.texi:30056
  44545. #, no-wrap
  44546. msgid "{@code{cgit-configuration} parameter} boolean embedded?"
  44547. msgstr ""
  44548. #. type: deftypevr
  44549. #: guix-git/doc/guix.texi:30059
  44550. msgid "Flag which, when set to @samp{#t}, will make cgit generate a HTML fragment suitable for embedding in other HTML pages."
  44551. msgstr ""
  44552. #. type: deftypevr
  44553. #: guix-git/doc/guix.texi:30064
  44554. #, no-wrap
  44555. msgid "{@code{cgit-configuration} parameter} boolean enable-commit-graph?"
  44556. msgstr ""
  44557. #. type: deftypevr
  44558. #: guix-git/doc/guix.texi:30068
  44559. 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."
  44560. msgstr ""
  44561. #. type: deftypevr
  44562. #: guix-git/doc/guix.texi:30073
  44563. #, no-wrap
  44564. msgid "{@code{cgit-configuration} parameter} boolean enable-filter-overrides?"
  44565. msgstr ""
  44566. #. type: deftypevr
  44567. #: guix-git/doc/guix.texi:30076
  44568. msgid "Flag which, when set to @samp{#t}, allows all filter settings to be overridden in repository-specific cgitrc files."
  44569. msgstr ""
  44570. #. type: deftypevr
  44571. #: guix-git/doc/guix.texi:30081
  44572. #, no-wrap
  44573. msgid "{@code{cgit-configuration} parameter} boolean enable-follow-links?"
  44574. msgstr ""
  44575. #. type: deftypevr
  44576. #: guix-git/doc/guix.texi:30084
  44577. msgid "Flag which, when set to @samp{#t}, allows users to follow a file in the log view."
  44578. msgstr ""
  44579. #. type: deftypevr
  44580. #: guix-git/doc/guix.texi:30089
  44581. #, no-wrap
  44582. msgid "{@code{cgit-configuration} parameter} boolean enable-http-clone?"
  44583. msgstr ""
  44584. #. type: deftypevr
  44585. #: guix-git/doc/guix.texi:30092
  44586. msgid "If set to @samp{#t}, cgit will act as an dumb HTTP endpoint for Git clones."
  44587. msgstr ""
  44588. #. type: deftypevr
  44589. #: guix-git/doc/guix.texi:30097
  44590. #, no-wrap
  44591. msgid "{@code{cgit-configuration} parameter} boolean enable-index-links?"
  44592. msgstr ""
  44593. #. type: deftypevr
  44594. #: guix-git/doc/guix.texi:30100
  44595. msgid "Flag which, when set to @samp{#t}, will make cgit generate extra links \"summary\", \"commit\", \"tree\" for each repo in the repository index."
  44596. msgstr ""
  44597. #. type: deftypevr
  44598. #: guix-git/doc/guix.texi:30105
  44599. #, no-wrap
  44600. msgid "{@code{cgit-configuration} parameter} boolean enable-index-owner?"
  44601. msgstr ""
  44602. #. type: deftypevr
  44603. #: guix-git/doc/guix.texi:30108
  44604. msgid "Flag which, when set to @samp{#t}, will make cgit display the owner of each repo in the repository index."
  44605. msgstr ""
  44606. #. type: deftypevr
  44607. #: guix-git/doc/guix.texi:30113
  44608. #, no-wrap
  44609. msgid "{@code{cgit-configuration} parameter} boolean enable-log-filecount?"
  44610. msgstr ""
  44611. #. type: deftypevr
  44612. #: guix-git/doc/guix.texi:30116
  44613. 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."
  44614. msgstr ""
  44615. #. type: deftypevr
  44616. #: guix-git/doc/guix.texi:30121
  44617. #, no-wrap
  44618. msgid "{@code{cgit-configuration} parameter} boolean enable-log-linecount?"
  44619. msgstr ""
  44620. #. type: deftypevr
  44621. #: guix-git/doc/guix.texi:30124
  44622. 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."
  44623. msgstr ""
  44624. #. type: deftypevr
  44625. #: guix-git/doc/guix.texi:30129
  44626. #, no-wrap
  44627. msgid "{@code{cgit-configuration} parameter} boolean enable-remote-branches?"
  44628. msgstr ""
  44629. #. type: deftypevr
  44630. #: guix-git/doc/guix.texi:30132 guix-git/doc/guix.texi:30656
  44631. msgid "Flag which, when set to @code{#t}, will make cgit display remote branches in the summary and refs views."
  44632. msgstr ""
  44633. #. type: deftypevr
  44634. #: guix-git/doc/guix.texi:30137
  44635. #, no-wrap
  44636. msgid "{@code{cgit-configuration} parameter} boolean enable-subject-links?"
  44637. msgstr ""
  44638. #. type: deftypevr
  44639. #: guix-git/doc/guix.texi:30141
  44640. 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."
  44641. msgstr ""
  44642. #. type: deftypevr
  44643. #: guix-git/doc/guix.texi:30146
  44644. #, no-wrap
  44645. msgid "{@code{cgit-configuration} parameter} boolean enable-html-serving?"
  44646. msgstr ""
  44647. #. type: deftypevr
  44648. #: guix-git/doc/guix.texi:30150
  44649. 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."
  44650. msgstr ""
  44651. #. type: deftypevr
  44652. #: guix-git/doc/guix.texi:30155
  44653. #, no-wrap
  44654. msgid "{@code{cgit-configuration} parameter} boolean enable-tree-linenumbers?"
  44655. msgstr ""
  44656. #. type: deftypevr
  44657. #: guix-git/doc/guix.texi:30158
  44658. msgid "Flag which, when set to @samp{#t}, will make cgit generate linenumber links for plaintext blobs printed in the tree view."
  44659. msgstr ""
  44660. #. type: deftypevr
  44661. #: guix-git/doc/guix.texi:30163
  44662. #, no-wrap
  44663. msgid "{@code{cgit-configuration} parameter} boolean enable-git-config?"
  44664. msgstr ""
  44665. #. type: deftypevr
  44666. #: guix-git/doc/guix.texi:30166
  44667. msgid "Flag which, when set to @samp{#f}, will allow cgit to use Git config to set any repo specific settings."
  44668. msgstr ""
  44669. #. type: deftypevr
  44670. #: guix-git/doc/guix.texi:30171
  44671. #, no-wrap
  44672. msgid "{@code{cgit-configuration} parameter} file-object favicon"
  44673. msgstr ""
  44674. #. type: deftypevr
  44675. #: guix-git/doc/guix.texi:30173
  44676. msgid "URL used as link to a shortcut icon for cgit."
  44677. msgstr ""
  44678. #. type: deftypevr
  44679. #: guix-git/doc/guix.texi:30175
  44680. msgid "Defaults to @samp{\"/favicon.ico\"}."
  44681. msgstr ""
  44682. #. type: deftypevr
  44683. #: guix-git/doc/guix.texi:30178
  44684. #, no-wrap
  44685. msgid "{@code{cgit-configuration} parameter} string footer"
  44686. msgstr ""
  44687. #. type: deftypevr
  44688. #: guix-git/doc/guix.texi:30182
  44689. 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)."
  44690. msgstr ""
  44691. #. type: deftypevr
  44692. #: guix-git/doc/guix.texi:30187
  44693. #, no-wrap
  44694. msgid "{@code{cgit-configuration} parameter} string head-include"
  44695. msgstr ""
  44696. #. type: deftypevr
  44697. #: guix-git/doc/guix.texi:30190
  44698. msgid "The content of the file specified with this option will be included verbatim in the HTML HEAD section on all pages."
  44699. msgstr ""
  44700. #. type: deftypevr
  44701. #: guix-git/doc/guix.texi:30195
  44702. #, no-wrap
  44703. msgid "{@code{cgit-configuration} parameter} string header"
  44704. msgstr ""
  44705. #. type: deftypevr
  44706. #: guix-git/doc/guix.texi:30198
  44707. msgid "The content of the file specified with this option will be included verbatim at the top of all pages."
  44708. msgstr ""
  44709. #. type: deftypevr
  44710. #: guix-git/doc/guix.texi:30203
  44711. #, no-wrap
  44712. msgid "{@code{cgit-configuration} parameter} file-object include"
  44713. msgstr ""
  44714. #. type: deftypevr
  44715. #: guix-git/doc/guix.texi:30206
  44716. msgid "Name of a configfile to include before the rest of the current config- file is parsed."
  44717. msgstr ""
  44718. #. type: deftypevr
  44719. #: guix-git/doc/guix.texi:30211
  44720. #, no-wrap
  44721. msgid "{@code{cgit-configuration} parameter} string index-header"
  44722. msgstr ""
  44723. #. type: deftypevr
  44724. #: guix-git/doc/guix.texi:30214
  44725. msgid "The content of the file specified with this option will be included verbatim above the repository index."
  44726. msgstr ""
  44727. #. type: deftypevr
  44728. #: guix-git/doc/guix.texi:30219
  44729. #, no-wrap
  44730. msgid "{@code{cgit-configuration} parameter} string index-info"
  44731. msgstr ""
  44732. #. type: deftypevr
  44733. #: guix-git/doc/guix.texi:30222
  44734. msgid "The content of the file specified with this option will be included verbatim below the heading on the repository index page."
  44735. msgstr ""
  44736. #. type: deftypevr
  44737. #: guix-git/doc/guix.texi:30227
  44738. #, no-wrap
  44739. msgid "{@code{cgit-configuration} parameter} boolean local-time?"
  44740. msgstr ""
  44741. #. type: deftypevr
  44742. #: guix-git/doc/guix.texi:30230
  44743. msgid "Flag which, if set to @samp{#t}, makes cgit print commit and tag times in the servers timezone."
  44744. msgstr ""
  44745. #. type: deftypevr
  44746. #: guix-git/doc/guix.texi:30235
  44747. #, no-wrap
  44748. msgid "{@code{cgit-configuration} parameter} file-object logo"
  44749. msgstr ""
  44750. #. type: deftypevr
  44751. #: guix-git/doc/guix.texi:30238
  44752. msgid "URL which specifies the source of an image which will be used as a logo on all cgit pages."
  44753. msgstr ""
  44754. #. type: deftypevr
  44755. #: guix-git/doc/guix.texi:30240
  44756. msgid "Defaults to @samp{\"/share/cgit/cgit.png\"}."
  44757. msgstr ""
  44758. #. type: deftypevr
  44759. #: guix-git/doc/guix.texi:30243
  44760. #, no-wrap
  44761. msgid "{@code{cgit-configuration} parameter} string logo-link"
  44762. msgstr ""
  44763. #. type: deftypevr
  44764. #: guix-git/doc/guix.texi:30245 guix-git/doc/guix.texi:30702
  44765. msgid "URL loaded when clicking on the cgit logo image."
  44766. msgstr ""
  44767. #. type: deftypevr
  44768. #: guix-git/doc/guix.texi:30250
  44769. #, no-wrap
  44770. msgid "{@code{cgit-configuration} parameter} file-object owner-filter"
  44771. msgstr ""
  44772. #. type: deftypevr
  44773. #: guix-git/doc/guix.texi:30253
  44774. msgid "Command which will be invoked to format the Owner column of the main page."
  44775. msgstr ""
  44776. #. type: deftypevr
  44777. #: guix-git/doc/guix.texi:30258
  44778. #, no-wrap
  44779. msgid "{@code{cgit-configuration} parameter} integer max-atom-items"
  44780. msgstr ""
  44781. #. type: deftypevr
  44782. #: guix-git/doc/guix.texi:30260
  44783. msgid "Number of items to display in atom feeds view."
  44784. msgstr ""
  44785. #. type: deftypevr
  44786. #: guix-git/doc/guix.texi:30265
  44787. #, no-wrap
  44788. msgid "{@code{cgit-configuration} parameter} integer max-commit-count"
  44789. msgstr ""
  44790. #. type: deftypevr
  44791. #: guix-git/doc/guix.texi:30267
  44792. msgid "Number of entries to list per page in \"log\" view."
  44793. msgstr ""
  44794. #. type: deftypevr
  44795. #: guix-git/doc/guix.texi:30272
  44796. #, no-wrap
  44797. msgid "{@code{cgit-configuration} parameter} integer max-message-length"
  44798. msgstr ""
  44799. #. type: deftypevr
  44800. #: guix-git/doc/guix.texi:30274
  44801. msgid "Number of commit message characters to display in \"log\" view."
  44802. msgstr ""
  44803. #. type: deftypevr
  44804. #: guix-git/doc/guix.texi:30276 guix-git/doc/guix.texi:30292
  44805. msgid "Defaults to @samp{80}."
  44806. msgstr ""
  44807. #. type: deftypevr
  44808. #: guix-git/doc/guix.texi:30279
  44809. #, no-wrap
  44810. msgid "{@code{cgit-configuration} parameter} integer max-repo-count"
  44811. msgstr ""
  44812. #. type: deftypevr
  44813. #: guix-git/doc/guix.texi:30282
  44814. msgid "Specifies the number of entries to list per page on the repository index page."
  44815. msgstr ""
  44816. #. type: deftypevr
  44817. #: guix-git/doc/guix.texi:30287
  44818. #, no-wrap
  44819. msgid "{@code{cgit-configuration} parameter} integer max-repodesc-length"
  44820. msgstr ""
  44821. #. type: deftypevr
  44822. #: guix-git/doc/guix.texi:30290
  44823. msgid "Specifies the maximum number of repo description characters to display on the repository index page."
  44824. msgstr ""
  44825. #. type: deftypevr
  44826. #: guix-git/doc/guix.texi:30295
  44827. #, no-wrap
  44828. msgid "{@code{cgit-configuration} parameter} integer max-blob-size"
  44829. msgstr ""
  44830. #. type: deftypevr
  44831. #: guix-git/doc/guix.texi:30297
  44832. msgid "Specifies the maximum size of a blob to display HTML for in KBytes."
  44833. msgstr ""
  44834. #. type: deftypevr
  44835. #: guix-git/doc/guix.texi:30302
  44836. #, no-wrap
  44837. msgid "{@code{cgit-configuration} parameter} string max-stats"
  44838. msgstr ""
  44839. #. type: deftypevr
  44840. #: guix-git/doc/guix.texi:30305
  44841. msgid "Maximum statistics period. Valid values are @samp{week},@samp{month}, @samp{quarter} and @samp{year}."
  44842. msgstr ""
  44843. #. type: deftypevr
  44844. #: guix-git/doc/guix.texi:30310
  44845. #, no-wrap
  44846. msgid "{@code{cgit-configuration} parameter} mimetype-alist mimetype"
  44847. msgstr ""
  44848. #. type: deftypevr
  44849. #: guix-git/doc/guix.texi:30312
  44850. msgid "Mimetype for the specified filename extension."
  44851. msgstr ""
  44852. #. type: deftypevr
  44853. #: guix-git/doc/guix.texi:30316
  44854. 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\"))}."
  44855. msgstr ""
  44856. #. type: deftypevr
  44857. #: guix-git/doc/guix.texi:30319
  44858. #, no-wrap
  44859. msgid "{@code{cgit-configuration} parameter} file-object mimetype-file"
  44860. msgstr ""
  44861. #. type: deftypevr
  44862. #: guix-git/doc/guix.texi:30321
  44863. msgid "Specifies the file to use for automatic mimetype lookup."
  44864. msgstr ""
  44865. #. type: deftypevr
  44866. #: guix-git/doc/guix.texi:30326
  44867. #, no-wrap
  44868. msgid "{@code{cgit-configuration} parameter} string module-link"
  44869. msgstr ""
  44870. #. type: deftypevr
  44871. #: guix-git/doc/guix.texi:30329
  44872. msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing."
  44873. msgstr ""
  44874. #. type: deftypevr
  44875. #: guix-git/doc/guix.texi:30334
  44876. #, no-wrap
  44877. msgid "{@code{cgit-configuration} parameter} boolean nocache?"
  44878. msgstr ""
  44879. #. type: deftypevr
  44880. #: guix-git/doc/guix.texi:30336
  44881. msgid "If set to the value @samp{#t} caching will be disabled."
  44882. msgstr ""
  44883. #. type: deftypevr
  44884. #: guix-git/doc/guix.texi:30341
  44885. #, no-wrap
  44886. msgid "{@code{cgit-configuration} parameter} boolean noplainemail?"
  44887. msgstr ""
  44888. #. type: deftypevr
  44889. #: guix-git/doc/guix.texi:30344
  44890. msgid "If set to @samp{#t} showing full author email addresses will be disabled."
  44891. msgstr ""
  44892. #. type: deftypevr
  44893. #: guix-git/doc/guix.texi:30349
  44894. #, no-wrap
  44895. msgid "{@code{cgit-configuration} parameter} boolean noheader?"
  44896. msgstr ""
  44897. #. type: deftypevr
  44898. #: guix-git/doc/guix.texi:30352
  44899. msgid "Flag which, when set to @samp{#t}, will make cgit omit the standard header on all pages."
  44900. msgstr ""
  44901. #. type: deftypevr
  44902. #: guix-git/doc/guix.texi:30357
  44903. #, no-wrap
  44904. msgid "{@code{cgit-configuration} parameter} project-list project-list"
  44905. msgstr ""
  44906. #. type: deftypevr
  44907. #: guix-git/doc/guix.texi:30361
  44908. 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."
  44909. msgstr ""
  44910. #. type: deftypevr
  44911. #: guix-git/doc/guix.texi:30366
  44912. #, no-wrap
  44913. msgid "{@code{cgit-configuration} parameter} file-object readme"
  44914. msgstr ""
  44915. #. type: deftypevr
  44916. #: guix-git/doc/guix.texi:30368
  44917. msgid "Text which will be used as default value for @code{cgit-repo-readme}."
  44918. msgstr ""
  44919. #. type: deftypevr
  44920. #: guix-git/doc/guix.texi:30373
  44921. #, no-wrap
  44922. msgid "{@code{cgit-configuration} parameter} boolean remove-suffix?"
  44923. msgstr ""
  44924. #. type: deftypevr
  44925. #: guix-git/doc/guix.texi:30377
  44926. 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."
  44927. msgstr ""
  44928. #. type: deftypevr
  44929. #: guix-git/doc/guix.texi:30382
  44930. #, no-wrap
  44931. msgid "{@code{cgit-configuration} parameter} integer renamelimit"
  44932. msgstr ""
  44933. #. type: deftypevr
  44934. #: guix-git/doc/guix.texi:30384
  44935. msgid "Maximum number of files to consider when detecting renames."
  44936. msgstr ""
  44937. #. type: deftypevr
  44938. #: guix-git/doc/guix.texi:30389
  44939. #, no-wrap
  44940. msgid "{@code{cgit-configuration} parameter} string repository-sort"
  44941. msgstr ""
  44942. #. type: deftypevr
  44943. #: guix-git/doc/guix.texi:30391
  44944. msgid "The way in which repositories in each section are sorted."
  44945. msgstr ""
  44946. #. type: deftypevr
  44947. #: guix-git/doc/guix.texi:30396
  44948. #, no-wrap
  44949. msgid "{@code{cgit-configuration} parameter} robots-list robots"
  44950. msgstr ""
  44951. #. type: deftypevr
  44952. #: guix-git/doc/guix.texi:30398
  44953. msgid "Text used as content for the @code{robots} meta-tag."
  44954. msgstr ""
  44955. #. type: deftypevr
  44956. #: guix-git/doc/guix.texi:30400
  44957. msgid "Defaults to @samp{(\"noindex\" \"nofollow\")}."
  44958. msgstr ""
  44959. #. type: deftypevr
  44960. #: guix-git/doc/guix.texi:30403
  44961. #, no-wrap
  44962. msgid "{@code{cgit-configuration} parameter} string root-desc"
  44963. msgstr ""
  44964. #. type: deftypevr
  44965. #: guix-git/doc/guix.texi:30405
  44966. msgid "Text printed below the heading on the repository index page."
  44967. msgstr ""
  44968. #. type: deftypevr
  44969. #: guix-git/doc/guix.texi:30407
  44970. msgid "Defaults to @samp{\"a fast webinterface for the git dscm\"}."
  44971. msgstr ""
  44972. #. type: deftypevr
  44973. #: guix-git/doc/guix.texi:30410
  44974. #, no-wrap
  44975. msgid "{@code{cgit-configuration} parameter} string root-readme"
  44976. msgstr ""
  44977. #. type: deftypevr
  44978. #: guix-git/doc/guix.texi:30413
  44979. msgid "The content of the file specified with this option will be included verbatim below the ``about'' link on the repository index page."
  44980. msgstr ""
  44981. #. type: deftypevr
  44982. #: guix-git/doc/guix.texi:30418
  44983. #, no-wrap
  44984. msgid "{@code{cgit-configuration} parameter} string root-title"
  44985. msgstr ""
  44986. #. type: deftypevr
  44987. #: guix-git/doc/guix.texi:30420
  44988. msgid "Text printed as heading on the repository index page."
  44989. msgstr ""
  44990. #. type: deftypevr
  44991. #: guix-git/doc/guix.texi:30425
  44992. #, no-wrap
  44993. msgid "{@code{cgit-configuration} parameter} boolean scan-hidden-path"
  44994. msgstr ""
  44995. #. type: deftypevr
  44996. #: guix-git/doc/guix.texi:30431
  44997. 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."
  44998. msgstr ""
  44999. #. type: deftypevr
  45000. #: guix-git/doc/guix.texi:30436
  45001. #, no-wrap
  45002. msgid "{@code{cgit-configuration} parameter} list snapshots"
  45003. msgstr ""
  45004. #. type: deftypevr
  45005. #: guix-git/doc/guix.texi:30439
  45006. msgid "Text which specifies the default set of snapshot formats that cgit generates links for."
  45007. msgstr ""
  45008. #. type: deftypevr
  45009. #: guix-git/doc/guix.texi:30444
  45010. #, no-wrap
  45011. msgid "{@code{cgit-configuration} parameter} repository-directory repository-directory"
  45012. msgstr ""
  45013. #. type: deftypevr
  45014. #: guix-git/doc/guix.texi:30447
  45015. msgid "Name of the directory to scan for repositories (represents @code{scan-path})."
  45016. msgstr ""
  45017. #. type: deftypevr
  45018. #: guix-git/doc/guix.texi:30449
  45019. msgid "Defaults to @samp{\"/srv/git\"}."
  45020. msgstr ""
  45021. #. type: deftypevr
  45022. #: guix-git/doc/guix.texi:30452
  45023. #, no-wrap
  45024. msgid "{@code{cgit-configuration} parameter} string section"
  45025. msgstr ""
  45026. #. type: deftypevr
  45027. #: guix-git/doc/guix.texi:30455 guix-git/doc/guix.texi:30771
  45028. msgid "The name of the current repository section - all repositories defined after this option will inherit the current section name."
  45029. msgstr ""
  45030. #. type: deftypevr
  45031. #: guix-git/doc/guix.texi:30460
  45032. #, no-wrap
  45033. msgid "{@code{cgit-configuration} parameter} string section-sort"
  45034. msgstr ""
  45035. #. type: deftypevr
  45036. #: guix-git/doc/guix.texi:30463
  45037. msgid "Flag which, when set to @samp{1}, will sort the sections on the repository listing by name."
  45038. msgstr ""
  45039. #. type: deftypevr
  45040. #: guix-git/doc/guix.texi:30468
  45041. #, no-wrap
  45042. msgid "{@code{cgit-configuration} parameter} integer section-from-path"
  45043. msgstr ""
  45044. #. type: deftypevr
  45045. #: guix-git/doc/guix.texi:30471
  45046. 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."
  45047. msgstr ""
  45048. #. type: deftypevr
  45049. #: guix-git/doc/guix.texi:30476
  45050. #, no-wrap
  45051. msgid "{@code{cgit-configuration} parameter} boolean side-by-side-diffs?"
  45052. msgstr ""
  45053. #. type: deftypevr
  45054. #: guix-git/doc/guix.texi:30479
  45055. msgid "If set to @samp{#t} shows side-by-side diffs instead of unidiffs per default."
  45056. msgstr ""
  45057. #. type: deftypevr
  45058. #: guix-git/doc/guix.texi:30484
  45059. #, no-wrap
  45060. msgid "{@code{cgit-configuration} parameter} file-object source-filter"
  45061. msgstr ""
  45062. #. type: deftypevr
  45063. #: guix-git/doc/guix.texi:30487
  45064. msgid "Specifies a command which will be invoked to format plaintext blobs in the tree view."
  45065. msgstr ""
  45066. #. type: deftypevr
  45067. #: guix-git/doc/guix.texi:30492
  45068. #, no-wrap
  45069. msgid "{@code{cgit-configuration} parameter} integer summary-branches"
  45070. msgstr ""
  45071. #. type: deftypevr
  45072. #: guix-git/doc/guix.texi:30495
  45073. msgid "Specifies the number of branches to display in the repository ``summary'' view."
  45074. msgstr ""
  45075. #. type: deftypevr
  45076. #: guix-git/doc/guix.texi:30500
  45077. #, no-wrap
  45078. msgid "{@code{cgit-configuration} parameter} integer summary-log"
  45079. msgstr ""
  45080. #. type: deftypevr
  45081. #: guix-git/doc/guix.texi:30503
  45082. msgid "Specifies the number of log entries to display in the repository ``summary'' view."
  45083. msgstr ""
  45084. #. type: deftypevr
  45085. #: guix-git/doc/guix.texi:30508
  45086. #, no-wrap
  45087. msgid "{@code{cgit-configuration} parameter} integer summary-tags"
  45088. msgstr ""
  45089. #. type: deftypevr
  45090. #: guix-git/doc/guix.texi:30511
  45091. msgid "Specifies the number of tags to display in the repository ``summary'' view."
  45092. msgstr ""
  45093. #. type: deftypevr
  45094. #: guix-git/doc/guix.texi:30516
  45095. #, no-wrap
  45096. msgid "{@code{cgit-configuration} parameter} string strict-export"
  45097. msgstr ""
  45098. #. type: deftypevr
  45099. #: guix-git/doc/guix.texi:30519
  45100. msgid "Filename which, if specified, needs to be present within the repository for cgit to allow access to that repository."
  45101. msgstr ""
  45102. #. type: deftypevr
  45103. #: guix-git/doc/guix.texi:30524
  45104. #, no-wrap
  45105. msgid "{@code{cgit-configuration} parameter} string virtual-root"
  45106. msgstr ""
  45107. #. type: deftypevr
  45108. #: guix-git/doc/guix.texi:30526
  45109. msgid "URL which, if specified, will be used as root for all cgit links."
  45110. msgstr ""
  45111. #. type: deftypevr
  45112. #: guix-git/doc/guix.texi:30528
  45113. msgid "Defaults to @samp{\"/\"}."
  45114. msgstr ""
  45115. #. type: deftypevr
  45116. #: guix-git/doc/guix.texi:30531
  45117. #, no-wrap
  45118. msgid "{@code{cgit-configuration} parameter} repository-cgit-configuration-list repositories"
  45119. msgstr ""
  45120. #. type: deftypevr
  45121. #: guix-git/doc/guix.texi:30533
  45122. msgid "A list of @dfn{cgit-repo} records to use with config."
  45123. msgstr ""
  45124. #. type: deftypevr
  45125. #: guix-git/doc/guix.texi:30537
  45126. msgid "Available @code{repository-cgit-configuration} fields are:"
  45127. msgstr ""
  45128. #. type: deftypevr
  45129. #: guix-git/doc/guix.texi:30538
  45130. #, no-wrap
  45131. msgid "{@code{repository-cgit-configuration} parameter} repo-list snapshots"
  45132. msgstr ""
  45133. #. type: deftypevr
  45134. #: guix-git/doc/guix.texi:30541
  45135. msgid "A mask of snapshot formats for this repo that cgit generates links for, restricted by the global @code{snapshots} setting."
  45136. msgstr ""
  45137. #. type: deftypevr
  45138. #: guix-git/doc/guix.texi:30546
  45139. #, no-wrap
  45140. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object source-filter"
  45141. msgstr ""
  45142. #. type: deftypevr
  45143. #: guix-git/doc/guix.texi:30548
  45144. msgid "Override the default @code{source-filter}."
  45145. msgstr ""
  45146. #. type: deftypevr
  45147. #: guix-git/doc/guix.texi:30553
  45148. #, no-wrap
  45149. msgid "{@code{repository-cgit-configuration} parameter} repo-string url"
  45150. msgstr ""
  45151. #. type: deftypevr
  45152. #: guix-git/doc/guix.texi:30555
  45153. msgid "The relative URL used to access the repository."
  45154. msgstr ""
  45155. #. type: deftypevr
  45156. #: guix-git/doc/guix.texi:30560
  45157. #, no-wrap
  45158. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object about-filter"
  45159. msgstr ""
  45160. #. type: deftypevr
  45161. #: guix-git/doc/guix.texi:30562
  45162. msgid "Override the default @code{about-filter}."
  45163. msgstr ""
  45164. #. type: deftypevr
  45165. #: guix-git/doc/guix.texi:30567
  45166. #, no-wrap
  45167. msgid "{@code{repository-cgit-configuration} parameter} repo-string branch-sort"
  45168. msgstr ""
  45169. #. type: deftypevr
  45170. #: guix-git/doc/guix.texi:30570
  45171. 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."
  45172. msgstr ""
  45173. #. type: deftypevr
  45174. #: guix-git/doc/guix.texi:30575
  45175. #, no-wrap
  45176. msgid "{@code{repository-cgit-configuration} parameter} repo-list clone-url"
  45177. msgstr ""
  45178. #. type: deftypevr
  45179. #: guix-git/doc/guix.texi:30577
  45180. msgid "A list of URLs which can be used to clone repo."
  45181. msgstr ""
  45182. #. type: deftypevr
  45183. #: guix-git/doc/guix.texi:30582
  45184. #, no-wrap
  45185. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object commit-filter"
  45186. msgstr ""
  45187. #. type: deftypevr
  45188. #: guix-git/doc/guix.texi:30584
  45189. msgid "Override the default @code{commit-filter}."
  45190. msgstr ""
  45191. #. type: deftypevr
  45192. #: guix-git/doc/guix.texi:30589
  45193. #, no-wrap
  45194. msgid "{@code{repository-cgit-configuration} parameter} repo-string commit-sort"
  45195. msgstr ""
  45196. #. type: deftypevr
  45197. #: guix-git/doc/guix.texi:30598
  45198. #, no-wrap
  45199. msgid "{@code{repository-cgit-configuration} parameter} repo-string defbranch"
  45200. msgstr ""
  45201. #. type: deftypevr
  45202. #: guix-git/doc/guix.texi:30603
  45203. 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."
  45204. msgstr ""
  45205. #. type: deftypevr
  45206. #: guix-git/doc/guix.texi:30608
  45207. #, no-wrap
  45208. msgid "{@code{repository-cgit-configuration} parameter} repo-string desc"
  45209. msgstr ""
  45210. #. type: deftypevr
  45211. #: guix-git/doc/guix.texi:30610
  45212. msgid "The value to show as repository description."
  45213. msgstr ""
  45214. #. type: deftypevr
  45215. #: guix-git/doc/guix.texi:30615
  45216. #, no-wrap
  45217. msgid "{@code{repository-cgit-configuration} parameter} repo-string homepage"
  45218. msgstr ""
  45219. #. type: deftypevr
  45220. #: guix-git/doc/guix.texi:30617
  45221. msgid "The value to show as repository homepage."
  45222. msgstr ""
  45223. #. type: deftypevr
  45224. #: guix-git/doc/guix.texi:30622
  45225. #, no-wrap
  45226. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object email-filter"
  45227. msgstr ""
  45228. #. type: deftypevr
  45229. #: guix-git/doc/guix.texi:30624
  45230. msgid "Override the default @code{email-filter}."
  45231. msgstr ""
  45232. #. type: deftypevr
  45233. #: guix-git/doc/guix.texi:30629
  45234. #, no-wrap
  45235. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-commit-graph?"
  45236. msgstr ""
  45237. #. type: deftypevr
  45238. #: guix-git/doc/guix.texi:30632
  45239. msgid "A flag which can be used to disable the global setting @code{enable-commit-graph?}."
  45240. msgstr ""
  45241. #. type: deftypevr
  45242. #: guix-git/doc/guix.texi:30637
  45243. #, no-wrap
  45244. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-filecount?"
  45245. msgstr ""
  45246. #. type: deftypevr
  45247. #: guix-git/doc/guix.texi:30640
  45248. msgid "A flag which can be used to disable the global setting @code{enable-log-filecount?}."
  45249. msgstr ""
  45250. #. type: deftypevr
  45251. #: guix-git/doc/guix.texi:30645
  45252. #, no-wrap
  45253. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-linecount?"
  45254. msgstr ""
  45255. #. type: deftypevr
  45256. #: guix-git/doc/guix.texi:30648
  45257. msgid "A flag which can be used to disable the global setting @code{enable-log-linecount?}."
  45258. msgstr ""
  45259. #. type: deftypevr
  45260. #: guix-git/doc/guix.texi:30653
  45261. #, no-wrap
  45262. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-remote-branches?"
  45263. msgstr ""
  45264. #. type: deftypevr
  45265. #: guix-git/doc/guix.texi:30661
  45266. #, no-wrap
  45267. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-subject-links?"
  45268. msgstr ""
  45269. #. type: deftypevr
  45270. #: guix-git/doc/guix.texi:30664
  45271. msgid "A flag which can be used to override the global setting @code{enable-subject-links?}."
  45272. msgstr ""
  45273. #. type: deftypevr
  45274. #: guix-git/doc/guix.texi:30669
  45275. #, no-wrap
  45276. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-html-serving?"
  45277. msgstr ""
  45278. #. type: deftypevr
  45279. #: guix-git/doc/guix.texi:30672
  45280. msgid "A flag which can be used to override the global setting @code{enable-html-serving?}."
  45281. msgstr ""
  45282. #. type: deftypevr
  45283. #: guix-git/doc/guix.texi:30677
  45284. #, no-wrap
  45285. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean hide?"
  45286. msgstr ""
  45287. #. type: deftypevr
  45288. #: guix-git/doc/guix.texi:30680
  45289. msgid "Flag which, when set to @code{#t}, hides the repository from the repository index."
  45290. msgstr ""
  45291. #. type: deftypevr
  45292. #: guix-git/doc/guix.texi:30685
  45293. #, no-wrap
  45294. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean ignore?"
  45295. msgstr ""
  45296. #. type: deftypevr
  45297. #: guix-git/doc/guix.texi:30687
  45298. msgid "Flag which, when set to @samp{#t}, ignores the repository."
  45299. msgstr ""
  45300. #. type: deftypevr
  45301. #: guix-git/doc/guix.texi:30692
  45302. #, no-wrap
  45303. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object logo"
  45304. msgstr ""
  45305. #. type: deftypevr
  45306. #: guix-git/doc/guix.texi:30695
  45307. msgid "URL which specifies the source of an image which will be used as a logo on this repo’s pages."
  45308. msgstr ""
  45309. #. type: deftypevr
  45310. #: guix-git/doc/guix.texi:30700
  45311. #, no-wrap
  45312. msgid "{@code{repository-cgit-configuration} parameter} repo-string logo-link"
  45313. msgstr ""
  45314. #. type: deftypevr
  45315. #: guix-git/doc/guix.texi:30707
  45316. #, no-wrap
  45317. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object owner-filter"
  45318. msgstr ""
  45319. #. type: deftypevr
  45320. #: guix-git/doc/guix.texi:30709
  45321. msgid "Override the default @code{owner-filter}."
  45322. msgstr ""
  45323. #. type: deftypevr
  45324. #: guix-git/doc/guix.texi:30714
  45325. #, no-wrap
  45326. msgid "{@code{repository-cgit-configuration} parameter} repo-string module-link"
  45327. msgstr ""
  45328. #. type: deftypevr
  45329. #: guix-git/doc/guix.texi:30718
  45330. 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."
  45331. msgstr ""
  45332. #. type: deftypevr
  45333. #: guix-git/doc/guix.texi:30723
  45334. #, no-wrap
  45335. msgid "{@code{repository-cgit-configuration} parameter} module-link-path module-link-path"
  45336. msgstr ""
  45337. #. type: deftypevr
  45338. #: guix-git/doc/guix.texi:30727
  45339. 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."
  45340. msgstr ""
  45341. #. type: deftypevr
  45342. #: guix-git/doc/guix.texi:30732
  45343. #, no-wrap
  45344. msgid "{@code{repository-cgit-configuration} parameter} repo-string max-stats"
  45345. msgstr ""
  45346. #. type: deftypevr
  45347. #: guix-git/doc/guix.texi:30734
  45348. msgid "Override the default maximum statistics period."
  45349. msgstr ""
  45350. #. type: deftypevr
  45351. #: guix-git/doc/guix.texi:30739
  45352. #, no-wrap
  45353. msgid "{@code{repository-cgit-configuration} parameter} repo-string name"
  45354. msgstr ""
  45355. #. type: deftypevr
  45356. #: guix-git/doc/guix.texi:30741
  45357. msgid "The value to show as repository name."
  45358. msgstr ""
  45359. #. type: deftypevr
  45360. #: guix-git/doc/guix.texi:30746
  45361. #, no-wrap
  45362. msgid "{@code{repository-cgit-configuration} parameter} repo-string owner"
  45363. msgstr ""
  45364. #. type: deftypevr
  45365. #: guix-git/doc/guix.texi:30748
  45366. msgid "A value used to identify the owner of the repository."
  45367. msgstr ""
  45368. #. type: deftypevr
  45369. #: guix-git/doc/guix.texi:30753
  45370. #, no-wrap
  45371. msgid "{@code{repository-cgit-configuration} parameter} repo-string path"
  45372. msgstr ""
  45373. #. type: deftypevr
  45374. #: guix-git/doc/guix.texi:30755
  45375. msgid "An absolute path to the repository directory."
  45376. msgstr ""
  45377. #. type: deftypevr
  45378. #: guix-git/doc/guix.texi:30760
  45379. #, no-wrap
  45380. msgid "{@code{repository-cgit-configuration} parameter} repo-string readme"
  45381. msgstr ""
  45382. #. type: deftypevr
  45383. #: guix-git/doc/guix.texi:30763
  45384. msgid "A path (relative to repo) which specifies a file to include verbatim as the ``About'' page for this repo."
  45385. msgstr ""
  45386. #. type: deftypevr
  45387. #: guix-git/doc/guix.texi:30768
  45388. #, no-wrap
  45389. msgid "{@code{repository-cgit-configuration} parameter} repo-string section"
  45390. msgstr ""
  45391. #. type: deftypevr
  45392. #: guix-git/doc/guix.texi:30776
  45393. #, no-wrap
  45394. msgid "{@code{repository-cgit-configuration} parameter} repo-list extra-options"
  45395. msgstr ""
  45396. #. type: deftypevr
  45397. #: guix-git/doc/guix.texi:30778 guix-git/doc/guix.texi:30787
  45398. msgid "Extra options will be appended to cgitrc file."
  45399. msgstr ""
  45400. #. type: deftypevr
  45401. #: guix-git/doc/guix.texi:30785
  45402. #, no-wrap
  45403. msgid "{@code{cgit-configuration} parameter} list extra-options"
  45404. msgstr ""
  45405. #. type: Plain text
  45406. #: guix-git/doc/guix.texi:30799
  45407. 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."
  45408. msgstr ""
  45409. #. type: Plain text
  45410. #: guix-git/doc/guix.texi:30801
  45411. msgid "Available @code{opaque-cgit-configuration} fields are:"
  45412. msgstr ""
  45413. #. type: deftypevr
  45414. #: guix-git/doc/guix.texi:30802
  45415. #, no-wrap
  45416. msgid "{@code{opaque-cgit-configuration} parameter} package cgit"
  45417. msgstr ""
  45418. #. type: deftypevr
  45419. #: guix-git/doc/guix.texi:30804
  45420. msgid "The cgit package."
  45421. msgstr ""
  45422. #. type: deftypevr
  45423. #: guix-git/doc/guix.texi:30806
  45424. #, no-wrap
  45425. msgid "{@code{opaque-cgit-configuration} parameter} string string"
  45426. msgstr ""
  45427. #. type: deftypevr
  45428. #: guix-git/doc/guix.texi:30808
  45429. msgid "The contents of the @code{cgitrc}, as a string."
  45430. msgstr ""
  45431. #. type: Plain text
  45432. #: guix-git/doc/guix.texi:30812
  45433. msgid "For example, if your @code{cgitrc} is just the empty string, you could instantiate a cgit service like this:"
  45434. msgstr ""
  45435. #. type: lisp
  45436. #: guix-git/doc/guix.texi:30817
  45437. #, no-wrap
  45438. msgid ""
  45439. "(service cgit-service-type\n"
  45440. " (opaque-cgit-configuration\n"
  45441. " (cgitrc \"\")))\n"
  45442. msgstr ""
  45443. #. type: subsubheading
  45444. #: guix-git/doc/guix.texi:30819
  45445. #, no-wrap
  45446. msgid "Gitolite Service"
  45447. msgstr ""
  45448. #. type: cindex
  45449. #: guix-git/doc/guix.texi:30821
  45450. #, no-wrap
  45451. msgid "Gitolite service"
  45452. msgstr ""
  45453. #. type: cindex
  45454. #: guix-git/doc/guix.texi:30822
  45455. #, no-wrap
  45456. msgid "Git, hosting"
  45457. msgstr ""
  45458. #. type: Plain text
  45459. #: guix-git/doc/guix.texi:30825
  45460. msgid "@uref{https://gitolite.com/gitolite/, Gitolite} is a tool for hosting Git repositories on a central server."
  45461. msgstr ""
  45462. #. type: Plain text
  45463. #: guix-git/doc/guix.texi:30828
  45464. msgid "Gitolite can handle multiple repositories and users, and supports flexible configuration of the permissions for the users on the repositories."
  45465. msgstr ""
  45466. #. type: Plain text
  45467. #: guix-git/doc/guix.texi:30831
  45468. msgid "The following example will configure Gitolite using the default @code{git} user, and the provided SSH public key."
  45469. msgstr ""
  45470. #. type: lisp
  45471. #: guix-git/doc/guix.texi:30838
  45472. #, no-wrap
  45473. msgid ""
  45474. "(service gitolite-service-type\n"
  45475. " (gitolite-configuration\n"
  45476. " (admin-pubkey (plain-file\n"
  45477. " \"yourname.pub\"\n"
  45478. " \"ssh-rsa AAAA... guix@@example.com\"))))\n"
  45479. msgstr ""
  45480. #. type: Plain text
  45481. #: guix-git/doc/guix.texi:30843
  45482. 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."
  45483. msgstr ""
  45484. #. type: example
  45485. #: guix-git/doc/guix.texi:30846
  45486. #, no-wrap
  45487. msgid "git clone git@@example.com:gitolite-admin\n"
  45488. msgstr ""
  45489. #. type: Plain text
  45490. #: guix-git/doc/guix.texi:30852
  45491. 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''."
  45492. msgstr ""
  45493. #. type: deftp
  45494. #: guix-git/doc/guix.texi:30853
  45495. #, no-wrap
  45496. msgid "{Data Type} gitolite-configuration"
  45497. msgstr ""
  45498. #. type: deftp
  45499. #: guix-git/doc/guix.texi:30855
  45500. msgid "Data type representing the configuration for @code{gitolite-service-type}."
  45501. msgstr ""
  45502. #. type: item
  45503. #: guix-git/doc/guix.texi:30857
  45504. #, no-wrap
  45505. msgid "@code{package} (default: @var{gitolite})"
  45506. msgstr ""
  45507. #. type: table
  45508. #: guix-git/doc/guix.texi:30859
  45509. msgid "Gitolite package to use."
  45510. msgstr ""
  45511. #. type: item
  45512. #: guix-git/doc/guix.texi:30860
  45513. #, no-wrap
  45514. msgid "@code{user} (default: @var{git})"
  45515. msgstr "@code{user} (default: @var{git})"
  45516. #. type: table
  45517. #: guix-git/doc/guix.texi:30863
  45518. msgid "User to use for Gitolite. This will be user that you use when accessing Gitolite over SSH."
  45519. msgstr ""
  45520. #. type: item
  45521. #: guix-git/doc/guix.texi:30864
  45522. #, no-wrap
  45523. msgid "@code{group} (default: @var{git})"
  45524. msgstr "@code{group} (default: @var{git})"
  45525. #. type: table
  45526. #: guix-git/doc/guix.texi:30866
  45527. msgid "Group to use for Gitolite."
  45528. msgstr ""
  45529. #. type: item
  45530. #: guix-git/doc/guix.texi:30867
  45531. #, no-wrap
  45532. msgid "@code{home-directory} (default: @var{\"/var/lib/gitolite\"})"
  45533. msgstr ""
  45534. #. type: table
  45535. #: guix-git/doc/guix.texi:30869
  45536. msgid "Directory in which to store the Gitolite configuration and repositories."
  45537. msgstr ""
  45538. #. type: item
  45539. #: guix-git/doc/guix.texi:30870
  45540. #, no-wrap
  45541. msgid "@code{rc-file} (default: @var{(gitolite-rc-file)})"
  45542. msgstr "@code{rc-file} (padrão: @var{(gitolite-rc-file)})"
  45543. #. type: table
  45544. #: guix-git/doc/guix.texi:30873
  45545. msgid "A ``file-like'' object (@pxref{G-Expressions, file-like objects}), representing the configuration for Gitolite."
  45546. msgstr ""
  45547. #. type: item
  45548. #: guix-git/doc/guix.texi:30874
  45549. #, no-wrap
  45550. msgid "@code{admin-pubkey} (default: @var{#f})"
  45551. msgstr "@code{admin-pubkey} (default: @var{#f})"
  45552. #. type: table
  45553. #: guix-git/doc/guix.texi:30878
  45554. 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."
  45555. msgstr ""
  45556. #. type: table
  45557. #: guix-git/doc/guix.texi:30880
  45558. msgid "To specify the SSH key as a string, use the @code{plain-file} function."
  45559. msgstr ""
  45560. #. type: lisp
  45561. #: guix-git/doc/guix.texi:30883
  45562. #, no-wrap
  45563. msgid "(plain-file \"yourname.pub\" \"ssh-rsa AAAA... guix@@example.com\")\n"
  45564. msgstr ""
  45565. #. type: deftp
  45566. #: guix-git/doc/guix.texi:30888
  45567. #, no-wrap
  45568. msgid "{Data Type} gitolite-rc-file"
  45569. msgstr ""
  45570. #. type: deftp
  45571. #: guix-git/doc/guix.texi:30890
  45572. msgid "Data type representing the Gitolite RC file."
  45573. msgstr ""
  45574. #. type: item
  45575. #: guix-git/doc/guix.texi:30892
  45576. #, no-wrap
  45577. msgid "@code{umask} (default: @code{#o0077})"
  45578. msgstr "@code{umask} (default: @code{#o0077})"
  45579. #. type: table
  45580. #: guix-git/doc/guix.texi:30895
  45581. msgid "This controls the permissions Gitolite sets on the repositories and their contents."
  45582. msgstr ""
  45583. #. type: table
  45584. #: guix-git/doc/guix.texi:30899
  45585. 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."
  45586. msgstr ""
  45587. #. type: item
  45588. #: guix-git/doc/guix.texi:30900
  45589. #, no-wrap
  45590. msgid "@code{git-config-keys} (default: @code{\"\"})"
  45591. msgstr ""
  45592. #. type: table
  45593. #: guix-git/doc/guix.texi:30903
  45594. msgid "Gitolite allows you to set git config values using the @samp{config} keyword. This setting allows control over the config keys to accept."
  45595. msgstr ""
  45596. #. type: item
  45597. #: guix-git/doc/guix.texi:30904
  45598. #, no-wrap
  45599. msgid "@code{roles} (default: @code{'((\"READERS\" . 1) (\"WRITERS\" . ))})"
  45600. msgstr ""
  45601. #. type: table
  45602. #: guix-git/doc/guix.texi:30906
  45603. msgid "Set the role names allowed to be used by users running the perms command."
  45604. msgstr ""
  45605. #. type: item
  45606. #: guix-git/doc/guix.texi:30907
  45607. #, no-wrap
  45608. msgid "@code{enable} (default: @code{'(\"help\" \"desc\" \"info\" \"perms\" \"writable\" \"ssh-authkeys\" \"git-config\" \"daemon\" \"gitweb\")})"
  45609. msgstr ""
  45610. #. type: table
  45611. #: guix-git/doc/guix.texi:30909
  45612. msgid "This setting controls the commands and features to enable within Gitolite."
  45613. msgstr ""
  45614. #. type: subsubheading
  45615. #: guix-git/doc/guix.texi:30917
  45616. #, no-wrap
  45617. msgid "The Battle for Wesnoth Service"
  45618. msgstr ""
  45619. #. type: cindex
  45620. #: guix-git/doc/guix.texi:30918
  45621. #, no-wrap
  45622. msgid "wesnothd"
  45623. msgstr ""
  45624. #. type: Plain text
  45625. #: guix-git/doc/guix.texi:30922
  45626. 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)."
  45627. msgstr ""
  45628. #. type: defvar
  45629. #: guix-git/doc/guix.texi:30923
  45630. #, no-wrap
  45631. msgid "{Scheme Variable} wesnothd-service-type"
  45632. msgstr ""
  45633. #. type: defvar
  45634. #: guix-git/doc/guix.texi:30927
  45635. 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:"
  45636. msgstr ""
  45637. #. type: lisp
  45638. #: guix-git/doc/guix.texi:30930
  45639. #, no-wrap
  45640. msgid "(service wesnothd-service-type)\n"
  45641. msgstr ""
  45642. #. type: deftp
  45643. #: guix-git/doc/guix.texi:30933
  45644. #, no-wrap
  45645. msgid "{Data Type} wesnothd-configuration"
  45646. msgstr ""
  45647. #. type: deftp
  45648. #: guix-git/doc/guix.texi:30935
  45649. msgid "Data type representing the configuration of @command{wesnothd}."
  45650. msgstr ""
  45651. #. type: item
  45652. #: guix-git/doc/guix.texi:30937
  45653. #, no-wrap
  45654. msgid "@code{package} (default: @code{wesnoth-server})"
  45655. msgstr ""
  45656. #. type: table
  45657. #: guix-git/doc/guix.texi:30939
  45658. msgid "The wesnoth server package to use."
  45659. msgstr ""
  45660. #. type: item
  45661. #: guix-git/doc/guix.texi:30940
  45662. #, no-wrap
  45663. msgid "@code{port} (default: @code{15000})"
  45664. msgstr "@code{porta} (default: @code{15000})"
  45665. #. type: table
  45666. #: guix-git/doc/guix.texi:30942
  45667. msgid "The port to bind the server to."
  45668. msgstr ""
  45669. #. type: cindex
  45670. #: guix-git/doc/guix.texi:30948
  45671. #, no-wrap
  45672. msgid "pam-mount"
  45673. msgstr ""
  45674. #. type: Plain text
  45675. #: guix-git/doc/guix.texi:30953
  45676. 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."
  45677. msgstr ""
  45678. #. type: defvar
  45679. #: guix-git/doc/guix.texi:30954
  45680. #, no-wrap
  45681. msgid "{Scheme Variable} pam-mount-service-type"
  45682. msgstr ""
  45683. #. type: defvar
  45684. #: guix-git/doc/guix.texi:30956
  45685. msgid "Service type for PAM Mount support."
  45686. msgstr ""
  45687. #. type: deftp
  45688. #: guix-git/doc/guix.texi:30958
  45689. #, no-wrap
  45690. msgid "{Data Type} pam-mount-configuration"
  45691. msgstr ""
  45692. #. type: deftp
  45693. #: guix-git/doc/guix.texi:30960
  45694. msgid "Data type representing the configuration of PAM Mount."
  45695. msgstr ""
  45696. #. type: code{#1}
  45697. #: guix-git/doc/guix.texi:30964
  45698. #, no-wrap
  45699. msgid "rules"
  45700. msgstr ""
  45701. #. type: table
  45702. #: guix-git/doc/guix.texi:30967
  45703. msgid "The configuration rules that will be used to generate @file{/etc/security/pam_mount.conf.xml}."
  45704. msgstr ""
  45705. #. type: table
  45706. #: guix-git/doc/guix.texi:30971
  45707. 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:"
  45708. msgstr ""
  45709. #. type: lisp
  45710. #: guix-git/doc/guix.texi:30986
  45711. #, no-wrap
  45712. msgid ""
  45713. "`((debug (@@ (enable \"0\")))\n"
  45714. " (mntoptions (@@ (allow ,(string-join\n"
  45715. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  45716. " \"encryption\" \"fsck\" \"nonempty\"\n"
  45717. " \"allow_root\" \"allow_other\")\n"
  45718. " \",\"))))\n"
  45719. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  45720. " (logout (@@ (wait \"0\")\n"
  45721. " (hup \"0\")\n"
  45722. " (term \"no\")\n"
  45723. " (kill \"no\")))\n"
  45724. " (mkmountpoint (@@ (enable \"1\")\n"
  45725. " (remove \"true\"))))\n"
  45726. msgstr ""
  45727. #. type: table
  45728. #: guix-git/doc/guix.texi:30992
  45729. 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:"
  45730. msgstr ""
  45731. #. type: lisp
  45732. #: guix-git/doc/guix.texi:31017
  45733. #, no-wrap
  45734. msgid ""
  45735. "(define pam-mount-rules\n"
  45736. "`((debug (@@ (enable \"0\")))\n"
  45737. " (volume (@@ (user \"alice\")\n"
  45738. " (fstype \"crypt\")\n"
  45739. " (path \"/dev/sda2\")\n"
  45740. " (mountpoint \"/home/alice\")))\n"
  45741. " (volume (@@ (user \"bob\")\n"
  45742. " (fstype \"auto\")\n"
  45743. " (path \"/dev/sdb3\")\n"
  45744. " (mountpoint \"/home/bob/data\")\n"
  45745. " (options \"defaults,autodefrag,compress\")))\n"
  45746. " (mntoptions (@@ (allow ,(string-join\n"
  45747. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  45748. " \"encryption\" \"fsck\" \"nonempty\"\n"
  45749. " \"allow_root\" \"allow_other\")\n"
  45750. " \",\"))))\n"
  45751. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  45752. " (logout (@@ (wait \"0\")\n"
  45753. " (hup \"0\")\n"
  45754. " (term \"no\")\n"
  45755. " (kill \"no\")))\n"
  45756. " (mkmountpoint (@@ (enable \"1\")\n"
  45757. " (remove \"true\")))))\n"
  45758. "\n"
  45759. msgstr ""
  45760. #. type: lisp
  45761. #: guix-git/doc/guix.texi:31021
  45762. #, no-wrap
  45763. msgid ""
  45764. "(service pam-mount-service-type\n"
  45765. " (pam-mount-configuration\n"
  45766. " (rules pam-mount-rules)))\n"
  45767. msgstr ""
  45768. #. type: table
  45769. #: guix-git/doc/guix.texi:31025
  45770. 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}."
  45771. msgstr ""
  45772. #. type: subsubheading
  45773. #: guix-git/doc/guix.texi:31032
  45774. #, no-wrap
  45775. msgid "Guix Build Coordinator"
  45776. msgstr ""
  45777. #. type: Plain text
  45778. #: guix-git/doc/guix.texi:31038
  45779. 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."
  45780. msgstr ""
  45781. #. type: quotation
  45782. #: guix-git/doc/guix.texi:31043
  45783. msgid "This service is considered experimental. Configuration options may be changed in a backwards-incompatible manner, and not all features have been thorougly tested."
  45784. msgstr ""
  45785. #. type: Plain text
  45786. #: guix-git/doc/guix.texi:31050
  45787. 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."
  45788. msgstr ""
  45789. #. type: Plain text
  45790. #: guix-git/doc/guix.texi:31054
  45791. 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."
  45792. msgstr ""
  45793. #. type: defvar
  45794. #: guix-git/doc/guix.texi:31055
  45795. #, no-wrap
  45796. msgid "{Scheme Variable} guix-build-coordinator-service-type"
  45797. msgstr ""
  45798. #. type: defvar
  45799. #: guix-git/doc/guix.texi:31058
  45800. msgid "Service type for the Guix Build Coordinator. Its value must be a @code{guix-build-coordinator-configuration} object."
  45801. msgstr ""
  45802. #. type: deftp
  45803. #: guix-git/doc/guix.texi:31060
  45804. #, no-wrap
  45805. msgid "{Data Type} guix-build-coordinator-configuration"
  45806. msgstr ""
  45807. #. type: deftp
  45808. #: guix-git/doc/guix.texi:31062
  45809. msgid "Data type representing the configuration of the Guix Build Coordinator."
  45810. msgstr ""
  45811. #. type: item
  45812. #: guix-git/doc/guix.texi:31064 guix-git/doc/guix.texi:31108
  45813. #: guix-git/doc/guix.texi:31225
  45814. #, no-wrap
  45815. msgid "@code{package} (default: @code{guix-build-coordinator})"
  45816. msgstr ""
  45817. #. type: table
  45818. #: guix-git/doc/guix.texi:31066 guix-git/doc/guix.texi:31110
  45819. #: guix-git/doc/guix.texi:31227
  45820. msgid "The Guix Build Coordinator package to use."
  45821. msgstr ""
  45822. #. type: item
  45823. #: guix-git/doc/guix.texi:31067
  45824. #, no-wrap
  45825. msgid "@code{user} (default: @code{\"guix-build-coordinator\"})"
  45826. msgstr ""
  45827. #. type: table
  45828. #: guix-git/doc/guix.texi:31069 guix-git/doc/guix.texi:31113
  45829. #: guix-git/doc/guix.texi:31230 guix-git/doc/guix.texi:31276
  45830. msgid "The system user to run the service as."
  45831. msgstr ""
  45832. #. type: item
  45833. #: guix-git/doc/guix.texi:31070
  45834. #, no-wrap
  45835. msgid "@code{group} (default: @code{\"guix-build-coordinator\"})"
  45836. msgstr ""
  45837. #. type: table
  45838. #: guix-git/doc/guix.texi:31072 guix-git/doc/guix.texi:31279
  45839. msgid "The system group to run the service as."
  45840. msgstr ""
  45841. #. type: item
  45842. #: guix-git/doc/guix.texi:31073
  45843. #, no-wrap
  45844. msgid "@code{database-uri-string} (default: @code{\"sqlite:///var/lib/guix-build-coordinator/guix_build_coordinator.db\"})"
  45845. msgstr ""
  45846. #. type: table
  45847. #: guix-git/doc/guix.texi:31075
  45848. msgid "The URI to use for the database."
  45849. msgstr ""
  45850. #. type: item
  45851. #: guix-git/doc/guix.texi:31076
  45852. #, no-wrap
  45853. msgid "@code{agent-communication-uri} (default: @code{\"http://0.0.0.0:8745\"})"
  45854. msgstr ""
  45855. #. type: table
  45856. #: guix-git/doc/guix.texi:31078
  45857. msgid "The URI describing how to listen to requests from agent processes."
  45858. msgstr ""
  45859. #. type: item
  45860. #: guix-git/doc/guix.texi:31079
  45861. #, no-wrap
  45862. msgid "@code{client-communication-uri} (default: @code{\"http://127.0.0.1:8746\"})"
  45863. msgstr ""
  45864. #. type: table
  45865. #: guix-git/doc/guix.texi:31083
  45866. 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."
  45867. msgstr ""
  45868. #. type: item
  45869. #: guix-git/doc/guix.texi:31084
  45870. #, no-wrap
  45871. msgid "@code{allocation-strategy} (default: @code{#~basic-build-allocation-strategy})"
  45872. msgstr ""
  45873. #. type: table
  45874. #: guix-git/doc/guix.texi:31088
  45875. 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."
  45876. msgstr ""
  45877. #. type: item
  45878. #: guix-git/doc/guix.texi:31089
  45879. #, no-wrap
  45880. msgid "@code{hooks} (default: @var{'()})"
  45881. msgstr ""
  45882. #. type: table
  45883. #: guix-git/doc/guix.texi:31092
  45884. msgid "An association list of hooks. These provide a way to execute arbitrary code upon certain events, like a build result being processed."
  45885. msgstr ""
  45886. #. type: item
  45887. #: guix-git/doc/guix.texi:31093
  45888. #, no-wrap
  45889. msgid "@code{guile} (default: @code{guile-3.0-latest})"
  45890. msgstr ""
  45891. #. type: table
  45892. #: guix-git/doc/guix.texi:31095
  45893. msgid "The Guile package with which to run the Guix Build Coordinator."
  45894. msgstr ""
  45895. #. type: defvar
  45896. #: guix-git/doc/guix.texi:31099
  45897. #, no-wrap
  45898. msgid "{Scheme Variable} guix-build-coordinator-agent-service-type"
  45899. msgstr ""
  45900. #. type: defvar
  45901. #: guix-git/doc/guix.texi:31102
  45902. msgid "Service type for a Guix Build Coordinator agent. Its value must be a @code{guix-build-coordinator-agent-configuration} object."
  45903. msgstr ""
  45904. #. type: deftp
  45905. #: guix-git/doc/guix.texi:31104
  45906. #, no-wrap
  45907. msgid "{Data Type} guix-build-coordinator-agent-configuration"
  45908. msgstr ""
  45909. #. type: deftp
  45910. #: guix-git/doc/guix.texi:31106
  45911. msgid "Data type representing the configuration a Guix Build Coordinator agent."
  45912. msgstr ""
  45913. #. type: item
  45914. #: guix-git/doc/guix.texi:31111
  45915. #, no-wrap
  45916. msgid "@code{user} (default: @code{\"guix-build-coordinator-agent\"})"
  45917. msgstr ""
  45918. #. type: item
  45919. #: guix-git/doc/guix.texi:31114 guix-git/doc/guix.texi:31231
  45920. #, no-wrap
  45921. msgid "@code{coordinator} (default: @code{\"http://localhost:8745\"})"
  45922. msgstr ""
  45923. #. type: table
  45924. #: guix-git/doc/guix.texi:31116 guix-git/doc/guix.texi:31233
  45925. msgid "The URI to use when connecting to the coordinator."
  45926. msgstr ""
  45927. #. type: code{#1}
  45928. #: guix-git/doc/guix.texi:31117
  45929. #, no-wrap
  45930. msgid "authentication"
  45931. msgstr ""
  45932. #. type: table
  45933. #: guix-git/doc/guix.texi:31120
  45934. msgid "Record describing how this agent should authenticate with the coordinator. Possible record types are described below."
  45935. msgstr ""
  45936. #. type: item
  45937. #: guix-git/doc/guix.texi:31121 guix-git/doc/guix.texi:31234
  45938. #, no-wrap
  45939. msgid "@code{systems} (default: @code{#f})"
  45940. msgstr ""
  45941. #. type: table
  45942. #: guix-git/doc/guix.texi:31124
  45943. 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."
  45944. msgstr ""
  45945. #. type: item
  45946. #: guix-git/doc/guix.texi:31125
  45947. #, no-wrap
  45948. msgid "@code{max-parallel-builds} (default: @code{1})"
  45949. msgstr ""
  45950. #. type: table
  45951. #: guix-git/doc/guix.texi:31127
  45952. msgid "The number of builds to perform in parallel."
  45953. msgstr ""
  45954. #. type: item
  45955. #: guix-git/doc/guix.texi:31128
  45956. #, no-wrap
  45957. msgid "@code{derivation-substitute-urls} (default: @code{#f})"
  45958. msgstr ""
  45959. #. type: table
  45960. #: guix-git/doc/guix.texi:31131
  45961. msgid "URLs from which to attempt to fetch substitutes for derivations, if the derivations aren't already available."
  45962. msgstr ""
  45963. #. type: item
  45964. #: guix-git/doc/guix.texi:31132
  45965. #, no-wrap
  45966. msgid "@code{non-derivation-substitute-urls} (default: @code{#f})"
  45967. msgstr ""
  45968. #. type: table
  45969. #: guix-git/doc/guix.texi:31135
  45970. msgid "URLs from which to attempt to fetch substitutes for build inputs, if the input store items aren't already available."
  45971. msgstr ""
  45972. #. type: deftp
  45973. #: guix-git/doc/guix.texi:31139
  45974. #, no-wrap
  45975. msgid "{Data Type} guix-build-coordinator-agent-password-auth"
  45976. msgstr ""
  45977. #. type: deftp
  45978. #: guix-git/doc/guix.texi:31142
  45979. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password."
  45980. msgstr ""
  45981. #. type: table
  45982. #: guix-git/doc/guix.texi:31148 guix-git/doc/guix.texi:31164
  45983. 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."
  45984. msgstr ""
  45985. #. type: table
  45986. #: guix-git/doc/guix.texi:31151
  45987. msgid "The password to use when connecting to the coordinator."
  45988. msgstr ""
  45989. #. type: deftp
  45990. #: guix-git/doc/guix.texi:31155
  45991. #, no-wrap
  45992. msgid "{Data Type} guix-build-coordinator-agent-password-file-auth"
  45993. msgstr ""
  45994. #. type: deftp
  45995. #: guix-git/doc/guix.texi:31158
  45996. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password read from a file."
  45997. msgstr ""
  45998. #. type: code{#1}
  45999. #: guix-git/doc/guix.texi:31165
  46000. #, no-wrap
  46001. msgid "password-file"
  46002. msgstr ""
  46003. #. type: table
  46004. #: guix-git/doc/guix.texi:31168
  46005. msgid "A file containing the password to use when connecting to the coordinator."
  46006. msgstr ""
  46007. #. type: deftp
  46008. #: guix-git/doc/guix.texi:31172
  46009. #, no-wrap
  46010. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth"
  46011. msgstr ""
  46012. #. type: deftp
  46013. #: guix-git/doc/guix.texi:31175
  46014. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token and agent name."
  46015. msgstr ""
  46016. #. type: code{#1}
  46017. #: guix-git/doc/guix.texi:31177 guix-git/doc/guix.texi:31194
  46018. #, no-wrap
  46019. msgid "agent-name"
  46020. msgstr ""
  46021. #. type: table
  46022. #: guix-git/doc/guix.texi:31181 guix-git/doc/guix.texi:31198
  46023. 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."
  46024. msgstr ""
  46025. #. type: code{#1}
  46026. #: guix-git/doc/guix.texi:31182
  46027. #, no-wrap
  46028. msgid "token"
  46029. msgstr ""
  46030. #. type: table
  46031. #: guix-git/doc/guix.texi:31185
  46032. msgid "Dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  46033. msgstr ""
  46034. #. type: deftp
  46035. #: guix-git/doc/guix.texi:31189
  46036. #, no-wrap
  46037. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth-with-file"
  46038. msgstr ""
  46039. #. type: deftp
  46040. #: guix-git/doc/guix.texi:31192
  46041. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token read from a file and agent name."
  46042. msgstr ""
  46043. #. type: code{#1}
  46044. #: guix-git/doc/guix.texi:31199
  46045. #, no-wrap
  46046. msgid "token-file"
  46047. msgstr ""
  46048. #. type: table
  46049. #: guix-git/doc/guix.texi:31202
  46050. msgid "File containing the dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  46051. msgstr ""
  46052. #. type: Plain text
  46053. #: guix-git/doc/guix.texi:31212
  46054. 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."
  46055. msgstr ""
  46056. #. type: defvar
  46057. #: guix-git/doc/guix.texi:31213
  46058. #, no-wrap
  46059. msgid "{Scheme Variable} guix-build-coordinator-queue-builds-service-type"
  46060. msgstr ""
  46061. #. type: defvar
  46062. #: guix-git/doc/guix.texi:31218
  46063. 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."
  46064. msgstr ""
  46065. #. type: deftp
  46066. #: guix-git/doc/guix.texi:31220
  46067. #, no-wrap
  46068. msgid "{Data Type} guix-build-coordinator-queue-builds-configuration"
  46069. msgstr ""
  46070. #. type: deftp
  46071. #: guix-git/doc/guix.texi:31223
  46072. msgid "Data type representing the options to the queue builds from guix data service script."
  46073. msgstr ""
  46074. #. type: item
  46075. #: guix-git/doc/guix.texi:31228
  46076. #, no-wrap
  46077. msgid "@code{user} (default: @code{\"guix-build-coordinator-queue-builds\"})"
  46078. msgstr ""
  46079. #. type: table
  46080. #: guix-git/doc/guix.texi:31236
  46081. msgid "The systems for which to fetch derivations to build."
  46082. msgstr ""
  46083. #. type: item
  46084. #: guix-git/doc/guix.texi:31237
  46085. #, no-wrap
  46086. msgid "@code{systems-and-targets} (default: @code{#f})"
  46087. msgstr ""
  46088. #. type: table
  46089. #: guix-git/doc/guix.texi:31240
  46090. msgid "An association list of system and target pairs for which to fetch derivations to build."
  46091. msgstr ""
  46092. #. type: item
  46093. #: guix-git/doc/guix.texi:31241
  46094. #, no-wrap
  46095. msgid "@code{guix-data-service} (default: @code{\"https://data.guix.gnu.org\"})"
  46096. msgstr ""
  46097. #. type: table
  46098. #: guix-git/doc/guix.texi:31244
  46099. msgid "The Guix Data Service instance from which to query to find out about derivations to build."
  46100. msgstr ""
  46101. #. type: item
  46102. #: guix-git/doc/guix.texi:31245
  46103. #, no-wrap
  46104. msgid "@code{processed-commits-file} (default: @code{\"/var/cache/guix-build-coordinator-queue-builds/processed-commits\"})"
  46105. msgstr ""
  46106. #. type: table
  46107. #: guix-git/doc/guix.texi:31248
  46108. msgid "A file to record which commits have been processed, to avoid needlessly processing them again if the service is restarted."
  46109. msgstr ""
  46110. #. type: subsubheading
  46111. #: guix-git/doc/guix.texi:31252
  46112. #, no-wrap
  46113. msgid "Guix Data Service"
  46114. msgstr ""
  46115. #. type: Plain text
  46116. #: guix-git/doc/guix.texi:31256
  46117. 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."
  46118. msgstr ""
  46119. #. type: Plain text
  46120. #: guix-git/doc/guix.texi:31259
  46121. msgid "The data is stored in a PostgreSQL database, and available through a web interface."
  46122. msgstr ""
  46123. #. type: defvar
  46124. #: guix-git/doc/guix.texi:31260
  46125. #, no-wrap
  46126. msgid "{Scheme Variable} guix-data-service-type"
  46127. msgstr ""
  46128. #. type: defvar
  46129. #: guix-git/doc/guix.texi:31265
  46130. 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."
  46131. msgstr ""
  46132. #. type: deftp
  46133. #: guix-git/doc/guix.texi:31267
  46134. #, no-wrap
  46135. msgid "{Data Type} guix-data-service-configuration"
  46136. msgstr ""
  46137. #. type: deftp
  46138. #: guix-git/doc/guix.texi:31269
  46139. msgid "Data type representing the configuration of the Guix Data Service."
  46140. msgstr ""
  46141. #. type: item
  46142. #: guix-git/doc/guix.texi:31271
  46143. #, no-wrap
  46144. msgid "@code{package} (default: @code{guix-data-service})"
  46145. msgstr ""
  46146. #. type: table
  46147. #: guix-git/doc/guix.texi:31273
  46148. msgid "The Guix Data Service package to use."
  46149. msgstr ""
  46150. #. type: item
  46151. #: guix-git/doc/guix.texi:31274
  46152. #, no-wrap
  46153. msgid "@code{user} (default: @code{\"guix-data-service\"})"
  46154. msgstr ""
  46155. #. type: item
  46156. #: guix-git/doc/guix.texi:31277
  46157. #, no-wrap
  46158. msgid "@code{group} (default: @code{\"guix-data-service\"})"
  46159. msgstr ""
  46160. #. type: item
  46161. #: guix-git/doc/guix.texi:31280
  46162. #, no-wrap
  46163. msgid "@code{port} (default: @code{8765})"
  46164. msgstr ""
  46165. #. type: table
  46166. #: guix-git/doc/guix.texi:31282
  46167. msgid "The port to bind the web service to."
  46168. msgstr ""
  46169. #. type: item
  46170. #: guix-git/doc/guix.texi:31283
  46171. #, no-wrap
  46172. msgid "@code{host} (default: @code{\"127.0.0.1\"})"
  46173. msgstr ""
  46174. #. type: table
  46175. #: guix-git/doc/guix.texi:31285
  46176. msgid "The host to bind the web service to."
  46177. msgstr ""
  46178. #. type: item
  46179. #: guix-git/doc/guix.texi:31286
  46180. #, no-wrap
  46181. msgid "@code{getmail-idle-mailboxes} (default: @code{#f})"
  46182. msgstr ""
  46183. #. type: table
  46184. #: guix-git/doc/guix.texi:31289
  46185. msgid "If set, this is the list of mailboxes that the getmail service will be configured to listen to."
  46186. msgstr ""
  46187. #. type: item
  46188. #: guix-git/doc/guix.texi:31290
  46189. #, no-wrap
  46190. msgid "@code{commits-getmail-retriever-configuration} (default: @code{#f})"
  46191. msgstr ""
  46192. #. type: table
  46193. #: guix-git/doc/guix.texi:31294
  46194. 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."
  46195. msgstr ""
  46196. #. type: item
  46197. #: guix-git/doc/guix.texi:31295
  46198. #, no-wrap
  46199. msgid "@code{extra-options} (default: @var{'()})"
  46200. msgstr ""
  46201. #. type: table
  46202. #: guix-git/doc/guix.texi:31297
  46203. msgid "Extra command line options for @code{guix-data-service}."
  46204. msgstr ""
  46205. #. type: item
  46206. #: guix-git/doc/guix.texi:31298
  46207. #, no-wrap
  46208. msgid "@code{extra-process-jobs-options} (default: @var{'()})"
  46209. msgstr ""
  46210. #. type: table
  46211. #: guix-git/doc/guix.texi:31300
  46212. msgid "Extra command line options for @code{guix-data-service-process-jobs}."
  46213. msgstr ""
  46214. #. type: cindex
  46215. #: guix-git/doc/guix.texi:31307
  46216. #, no-wrap
  46217. msgid "oom"
  46218. msgstr ""
  46219. #. type: cindex
  46220. #: guix-git/doc/guix.texi:31308
  46221. #, no-wrap
  46222. msgid "out of memory killer"
  46223. msgstr ""
  46224. #. type: cindex
  46225. #: guix-git/doc/guix.texi:31309
  46226. #, no-wrap
  46227. msgid "earlyoom"
  46228. msgstr ""
  46229. #. type: cindex
  46230. #: guix-git/doc/guix.texi:31310
  46231. #, no-wrap
  46232. msgid "early out of memory daemon"
  46233. msgstr ""
  46234. #. type: subsubheading
  46235. #: guix-git/doc/guix.texi:31311
  46236. #, no-wrap
  46237. msgid "Early OOM Service"
  46238. msgstr ""
  46239. #. type: Plain text
  46240. #: guix-git/doc/guix.texi:31318
  46241. 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."
  46242. msgstr ""
  46243. #. type: deffn
  46244. #: guix-git/doc/guix.texi:31319
  46245. #, no-wrap
  46246. msgid "{Scheme Variable} earlyoom-service-type"
  46247. msgstr ""
  46248. #. type: deffn
  46249. #: guix-git/doc/guix.texi:31324
  46250. 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:"
  46251. msgstr ""
  46252. #. type: lisp
  46253. #: guix-git/doc/guix.texi:31327
  46254. #, no-wrap
  46255. msgid "(service earlyoom-service-type)\n"
  46256. msgstr ""
  46257. #. type: deftp
  46258. #: guix-git/doc/guix.texi:31330
  46259. #, no-wrap
  46260. msgid "{Data Type} earlyoom-configuration"
  46261. msgstr ""
  46262. #. type: deftp
  46263. #: guix-git/doc/guix.texi:31332
  46264. msgid "This is the configuration record for the @code{earlyoom-service-type}."
  46265. msgstr ""
  46266. #. type: item
  46267. #: guix-git/doc/guix.texi:31334
  46268. #, no-wrap
  46269. msgid "@code{earlyoom} (default: @var{earlyoom})"
  46270. msgstr ""
  46271. #. type: table
  46272. #: guix-git/doc/guix.texi:31336
  46273. msgid "The Earlyoom package to use."
  46274. msgstr ""
  46275. #. type: item
  46276. #: guix-git/doc/guix.texi:31337
  46277. #, no-wrap
  46278. msgid "@code{minimum-available-memory} (default: @code{10})"
  46279. msgstr ""
  46280. #. type: table
  46281. #: guix-git/doc/guix.texi:31339
  46282. msgid "The threshold for the minimum @emph{available} memory, in percentages."
  46283. msgstr ""
  46284. #. type: item
  46285. #: guix-git/doc/guix.texi:31340
  46286. #, no-wrap
  46287. msgid "@code{minimum-free-swap} (default: @code{10})"
  46288. msgstr ""
  46289. #. type: table
  46290. #: guix-git/doc/guix.texi:31342
  46291. msgid "The threshold for the minimum free swap memory, in percentages."
  46292. msgstr ""
  46293. #. type: item
  46294. #: guix-git/doc/guix.texi:31343
  46295. #, no-wrap
  46296. msgid "@code{prefer-regexp} (default: @code{#f})"
  46297. msgstr ""
  46298. #. type: table
  46299. #: guix-git/doc/guix.texi:31346
  46300. msgid "A regular expression (as a string) to match the names of the processes that should be preferably killed."
  46301. msgstr ""
  46302. #. type: item
  46303. #: guix-git/doc/guix.texi:31347
  46304. #, no-wrap
  46305. msgid "@code{avoid-regexp} (default: @code{#f})"
  46306. msgstr ""
  46307. #. type: table
  46308. #: guix-git/doc/guix.texi:31350
  46309. msgid "A regular expression (as a string) to match the names of the processes that should @emph{not} be killed."
  46310. msgstr ""
  46311. #. type: item
  46312. #: guix-git/doc/guix.texi:31351
  46313. #, no-wrap
  46314. msgid "@code{memory-report-interval} (default: @code{0})"
  46315. msgstr ""
  46316. #. type: table
  46317. #: guix-git/doc/guix.texi:31354
  46318. msgid "The interval in seconds at which a memory report is printed. It is disabled by default."
  46319. msgstr ""
  46320. #. type: item
  46321. #: guix-git/doc/guix.texi:31355
  46322. #, no-wrap
  46323. msgid "@code{ignore-positive-oom-score-adj?} (default: @code{#f})"
  46324. msgstr ""
  46325. #. type: table
  46326. #: guix-git/doc/guix.texi:31358
  46327. msgid "A boolean indicating whether the positive adjustments set in @file{/proc/*/oom_score_adj} should be ignored."
  46328. msgstr ""
  46329. #. type: item
  46330. #: guix-git/doc/guix.texi:31359
  46331. #, no-wrap
  46332. msgid "@code{show-debug-messages?} (default: @code{#f})"
  46333. msgstr ""
  46334. #. type: table
  46335. #: guix-git/doc/guix.texi:31362
  46336. msgid "A boolean indicating whether debug messages should be printed. The logs are saved at @file{/var/log/earlyoom.log}."
  46337. msgstr ""
  46338. #. type: item
  46339. #: guix-git/doc/guix.texi:31363
  46340. #, no-wrap
  46341. msgid "@code{send-notification-command} (default: @code{#f})"
  46342. msgstr ""
  46343. #. type: table
  46344. #: guix-git/doc/guix.texi:31366
  46345. msgid "This can be used to provide a custom command used for sending notifications."
  46346. msgstr ""
  46347. #. type: cindex
  46348. #: guix-git/doc/guix.texi:31369
  46349. #, no-wrap
  46350. msgid "modprobe"
  46351. msgstr ""
  46352. #. type: cindex
  46353. #: guix-git/doc/guix.texi:31370
  46354. #, no-wrap
  46355. msgid "kernel module loader"
  46356. msgstr ""
  46357. #. type: subsubheading
  46358. #: guix-git/doc/guix.texi:31371
  46359. #, no-wrap
  46360. msgid "Kernel Module Loader Service"
  46361. msgstr ""
  46362. #. type: Plain text
  46363. #: guix-git/doc/guix.texi:31377
  46364. 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 it's the case with @code{ddcci}."
  46365. msgstr ""
  46366. #. type: deffn
  46367. #: guix-git/doc/guix.texi:31378
  46368. #, no-wrap
  46369. msgid "{Scheme Variable} kernel-module-loader-service-type"
  46370. msgstr ""
  46371. #. type: deffn
  46372. #: guix-git/doc/guix.texi:31384
  46373. 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:"
  46374. msgstr ""
  46375. #. type: lisp
  46376. #: guix-git/doc/guix.texi:31389
  46377. #, no-wrap
  46378. msgid ""
  46379. "(use-modules (gnu) (gnu services))\n"
  46380. "(use-package-modules linux)\n"
  46381. "(use-service-modules linux)\n"
  46382. "\n"
  46383. msgstr ""
  46384. #. type: lisp
  46385. #: guix-git/doc/guix.texi:31393
  46386. #, no-wrap
  46387. msgid ""
  46388. "(define ddcci-config\n"
  46389. " (plain-file \"ddcci.conf\"\n"
  46390. " \"options ddcci dyndbg delay=120\"))\n"
  46391. "\n"
  46392. msgstr ""
  46393. #. type: lisp
  46394. #: guix-git/doc/guix.texi:31403
  46395. #, no-wrap
  46396. msgid ""
  46397. "(operating-system\n"
  46398. " ...\n"
  46399. " (services (cons* (service kernel-module-loader-service-type\n"
  46400. " '(\"ddcci\" \"ddcci_backlight\"))\n"
  46401. " (simple-service 'ddcci-config etc-service-type\n"
  46402. " (list `(\"modprobe.d/ddcci.conf\"\n"
  46403. " ,ddcci-config)))\n"
  46404. " %base-services))\n"
  46405. " (kernel-loadable-modules (list ddcci-driver-linux)))\n"
  46406. msgstr ""
  46407. #. type: cindex
  46408. #: guix-git/doc/guix.texi:31406
  46409. #, no-wrap
  46410. msgid "zram"
  46411. msgstr ""
  46412. #. type: cindex
  46413. #: guix-git/doc/guix.texi:31407
  46414. #, no-wrap
  46415. msgid "compressed swap"
  46416. msgstr ""
  46417. #. type: cindex
  46418. #: guix-git/doc/guix.texi:31408
  46419. #, no-wrap
  46420. msgid "Compressed RAM-based block devices"
  46421. msgstr ""
  46422. #. type: subsubheading
  46423. #: guix-git/doc/guix.texi:31409
  46424. #, no-wrap
  46425. msgid "Zram Device Service"
  46426. msgstr ""
  46427. #. type: Plain text
  46428. #: guix-git/doc/guix.texi:31415
  46429. 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."
  46430. msgstr ""
  46431. #. type: deffn
  46432. #: guix-git/doc/guix.texi:31416
  46433. #, no-wrap
  46434. msgid "{Scheme Variable} zram-device-service-type"
  46435. msgstr ""
  46436. #. type: deffn
  46437. #: guix-git/doc/guix.texi:31420
  46438. 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."
  46439. msgstr ""
  46440. #. type: deftp
  46441. #: guix-git/doc/guix.texi:31421
  46442. #, no-wrap
  46443. msgid "{Data Type} zram-device-configuration"
  46444. msgstr ""
  46445. #. type: deftp
  46446. #: guix-git/doc/guix.texi:31424
  46447. msgid "This is the data type representing the configuration for the zram-device service."
  46448. msgstr ""
  46449. #. type: item
  46450. #: guix-git/doc/guix.texi:31426
  46451. #, no-wrap
  46452. msgid "@code{size} (default @code{\"1G\"})"
  46453. msgstr ""
  46454. #. type: table
  46455. #: guix-git/doc/guix.texi:31430
  46456. 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}."
  46457. msgstr ""
  46458. #. type: item
  46459. #: guix-git/doc/guix.texi:31430
  46460. #, no-wrap
  46461. msgid "@code{compression-algorithm} (default @code{'lzo})"
  46462. msgstr ""
  46463. #. type: table
  46464. #: guix-git/doc/guix.texi:31434
  46465. 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}."
  46466. msgstr ""
  46467. #. type: item
  46468. #: guix-git/doc/guix.texi:31434
  46469. #, no-wrap
  46470. msgid "@code{memory-limit} (default @code{0})"
  46471. msgstr ""
  46472. #. type: table
  46473. #: guix-git/doc/guix.texi:31441
  46474. 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\"}."
  46475. msgstr ""
  46476. #. type: item
  46477. #: guix-git/doc/guix.texi:31441
  46478. #, no-wrap
  46479. msgid "@code{priority} (default @code{-1})"
  46480. msgstr ""
  46481. #. type: table
  46482. #: guix-git/doc/guix.texi:31446
  46483. 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."
  46484. msgstr ""
  46485. #. type: defvr
  46486. #: guix-git/doc/guix.texi:31454
  46487. #, no-wrap
  46488. msgid "{Scheme Variable} hurd-console-service-type"
  46489. msgstr ""
  46490. #. type: defvr
  46491. #: guix-git/doc/guix.texi:31456
  46492. msgid "This service starts the fancy @code{VGA} console client on the Hurd."
  46493. msgstr ""
  46494. #. type: defvr
  46495. #: guix-git/doc/guix.texi:31458
  46496. msgid "The service's value is a @code{hurd-console-configuration} record."
  46497. msgstr ""
  46498. #. type: deftp
  46499. #: guix-git/doc/guix.texi:31460
  46500. #, no-wrap
  46501. msgid "{Data Type} hurd-console-configuration"
  46502. msgstr ""
  46503. #. type: deftp
  46504. #: guix-git/doc/guix.texi:31463
  46505. msgid "This is the data type representing the configuration for the hurd-console-service."
  46506. msgstr ""
  46507. #. type: item
  46508. #: guix-git/doc/guix.texi:31465 guix-git/doc/guix.texi:31481
  46509. #, no-wrap
  46510. msgid "@code{hurd} (default: @var{hurd})"
  46511. msgstr ""
  46512. #. type: table
  46513. #: guix-git/doc/guix.texi:31467 guix-git/doc/guix.texi:31483
  46514. msgid "The Hurd package to use."
  46515. msgstr ""
  46516. #. type: defvr
  46517. #: guix-git/doc/guix.texi:31470
  46518. #, no-wrap
  46519. msgid "{Scheme Variable} hurd-getty-service-type"
  46520. msgstr ""
  46521. #. type: defvr
  46522. #: guix-git/doc/guix.texi:31472
  46523. msgid "This service starts a tty using the Hurd @code{getty} program."
  46524. msgstr ""
  46525. #. type: defvr
  46526. #: guix-git/doc/guix.texi:31474
  46527. msgid "The service's value is a @code{hurd-getty-configuration} record."
  46528. msgstr ""
  46529. #. type: deftp
  46530. #: guix-git/doc/guix.texi:31476
  46531. #, no-wrap
  46532. msgid "{Data Type} hurd-getty-configuration"
  46533. msgstr ""
  46534. #. type: deftp
  46535. #: guix-git/doc/guix.texi:31479
  46536. msgid "This is the data type representing the configuration for the hurd-getty-service."
  46537. msgstr ""
  46538. #. type: table
  46539. #: guix-git/doc/guix.texi:31486
  46540. msgid "The name of the console this Getty runs on---e.g., @code{\"tty1\"}."
  46541. msgstr ""
  46542. #. type: item
  46543. #: guix-git/doc/guix.texi:31487
  46544. #, no-wrap
  46545. msgid "@code{baud-rate} (default: @code{38400})"
  46546. msgstr ""
  46547. #. type: table
  46548. #: guix-git/doc/guix.texi:31489
  46549. msgid "An integer specifying the baud rate of the tty."
  46550. msgstr ""
  46551. #. type: cindex
  46552. #: guix-git/doc/guix.texi:31496
  46553. #, no-wrap
  46554. msgid "fingerprint"
  46555. msgstr ""
  46556. #. type: subsubheading
  46557. #: guix-git/doc/guix.texi:31497
  46558. #, no-wrap
  46559. msgid "Fingerprint Service"
  46560. msgstr ""
  46561. #. type: Plain text
  46562. #: guix-git/doc/guix.texi:31501
  46563. msgid "The @code{(gnu services authentication)} module provides a DBus service to read and identify fingerprints via a fingerprint sensor."
  46564. msgstr ""
  46565. #. type: defvr
  46566. #: guix-git/doc/guix.texi:31502
  46567. #, no-wrap
  46568. msgid "{Scheme Variable} fprintd-service-type"
  46569. msgstr ""
  46570. #. type: defvr
  46571. #: guix-git/doc/guix.texi:31505
  46572. msgid "The service type for @command{fprintd}, which provides the fingerprint reading capability."
  46573. msgstr ""
  46574. #. type: lisp
  46575. #: guix-git/doc/guix.texi:31508
  46576. #, no-wrap
  46577. msgid "(service fprintd-service-type)\n"
  46578. msgstr ""
  46579. #. type: cindex
  46580. #: guix-git/doc/guix.texi:31511
  46581. #, no-wrap
  46582. msgid "sysctl"
  46583. msgstr ""
  46584. #. type: subsubheading
  46585. #: guix-git/doc/guix.texi:31512
  46586. #, no-wrap
  46587. msgid "System Control Service"
  46588. msgstr ""
  46589. #. type: Plain text
  46590. #: guix-git/doc/guix.texi:31516
  46591. msgid "The @code{(gnu services sysctl)} provides a service to configure kernel parameters at boot."
  46592. msgstr ""
  46593. #. type: defvr
  46594. #: guix-git/doc/guix.texi:31517
  46595. #, no-wrap
  46596. msgid "{Scheme Variable} sysctl-service-type"
  46597. msgstr ""
  46598. #. type: defvr
  46599. #: guix-git/doc/guix.texi:31521
  46600. msgid "The service type for @command{sysctl}, which modifies kernel parameters under @file{/proc/sys/}. To enable IPv4 forwarding, it can be instantiated as:"
  46601. msgstr ""
  46602. #. type: lisp
  46603. #: guix-git/doc/guix.texi:31526
  46604. #, no-wrap
  46605. msgid ""
  46606. "(service sysctl-service-type\n"
  46607. " (sysctl-configuration\n"
  46608. " (settings '((\"net.ipv4.ip_forward\" . \"1\")))))\n"
  46609. msgstr ""
  46610. #. type: defvr
  46611. #: guix-git/doc/guix.texi:31533
  46612. 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}})."
  46613. msgstr ""
  46614. #. type: lisp
  46615. #: guix-git/doc/guix.texi:31540
  46616. #, no-wrap
  46617. msgid ""
  46618. "(modify-services %base-services\n"
  46619. " (sysctl-service-type config =>\n"
  46620. " (sysctl-configuration\n"
  46621. " (settings (append '((\"net.ipv4.ip_forward\" . \"1\"))\n"
  46622. " %default-sysctl-settings)))))\n"
  46623. msgstr ""
  46624. #. type: deftp
  46625. #: guix-git/doc/guix.texi:31544
  46626. #, no-wrap
  46627. msgid "{Data Type} sysctl-configuration"
  46628. msgstr ""
  46629. #. type: deftp
  46630. #: guix-git/doc/guix.texi:31546
  46631. msgid "The data type representing the configuration of @command{sysctl}."
  46632. msgstr ""
  46633. #. type: item
  46634. #: guix-git/doc/guix.texi:31548
  46635. #, no-wrap
  46636. msgid "@code{sysctl} (default: @code{(file-append procps \"/sbin/sysctl\"})"
  46637. msgstr ""
  46638. #. type: table
  46639. #: guix-git/doc/guix.texi:31550
  46640. msgid "The @command{sysctl} executable to use."
  46641. msgstr ""
  46642. #. type: item
  46643. #: guix-git/doc/guix.texi:31551
  46644. #, fuzzy, no-wrap
  46645. #| msgid "@code{options} (default: @code{#f})"
  46646. msgid "@code{settings} (default: @code{%default-sysctl-settings})"
  46647. msgstr "@code{options} (default: @code{#f})"
  46648. #. type: table
  46649. #: guix-git/doc/guix.texi:31553
  46650. msgid "An association list specifies kernel parameters and their values."
  46651. msgstr ""
  46652. #. type: defvr
  46653. #: guix-git/doc/guix.texi:31556
  46654. #, no-wrap
  46655. msgid "{Scheme Variable} %default-sysctl-settings"
  46656. msgstr ""
  46657. #. type: defvr
  46658. #: guix-git/doc/guix.texi:31559
  46659. msgid "An association list specifying the default @command{sysctl} parameters on Guix System."
  46660. msgstr ""
  46661. #. type: cindex
  46662. #: guix-git/doc/guix.texi:31561
  46663. #, no-wrap
  46664. msgid "pcscd"
  46665. msgstr ""
  46666. #. type: subsubheading
  46667. #: guix-git/doc/guix.texi:31562
  46668. #, no-wrap
  46669. msgid "PC/SC Smart Card Daemon Service"
  46670. msgstr ""
  46671. #. type: Plain text
  46672. #: guix-git/doc/guix.texi:31569
  46673. 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."
  46674. msgstr ""
  46675. #. type: defvr
  46676. #: guix-git/doc/guix.texi:31570
  46677. #, no-wrap
  46678. msgid "{Scheme Variable} pcscd-service-type"
  46679. msgstr ""
  46680. #. type: defvr
  46681. #: guix-git/doc/guix.texi:31574
  46682. 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:"
  46683. msgstr ""
  46684. #. type: lisp
  46685. #: guix-git/doc/guix.texi:31577
  46686. #, no-wrap
  46687. msgid "(service pcscd-service-type)\n"
  46688. msgstr ""
  46689. #. type: deftp
  46690. #: guix-git/doc/guix.texi:31580
  46691. #, no-wrap
  46692. msgid "{Data Type} pcscd-configuration"
  46693. msgstr ""
  46694. #. type: deftp
  46695. #: guix-git/doc/guix.texi:31582
  46696. msgid "The data type representing the configuration of @command{pcscd}."
  46697. msgstr ""
  46698. #. type: item
  46699. #: guix-git/doc/guix.texi:31584
  46700. #, no-wrap
  46701. msgid "@code{pcsc-lite} (default: @code{pcsc-lite})"
  46702. msgstr ""
  46703. #. type: table
  46704. #: guix-git/doc/guix.texi:31586
  46705. msgid "The pcsc-lite package that provides pcscd."
  46706. msgstr ""
  46707. #. type: item
  46708. #: guix-git/doc/guix.texi:31586
  46709. #, no-wrap
  46710. msgid "@code{usb-drivers} (default: @code{(list ccid)})"
  46711. msgstr ""
  46712. #. type: table
  46713. #: guix-git/doc/guix.texi:31589
  46714. 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."
  46715. msgstr ""
  46716. #. type: cindex
  46717. #: guix-git/doc/guix.texi:31592
  46718. #, no-wrap
  46719. msgid "lirc"
  46720. msgstr ""
  46721. #. type: subsubheading
  46722. #: guix-git/doc/guix.texi:31593
  46723. #, no-wrap
  46724. msgid "Lirc Service"
  46725. msgstr ""
  46726. #. type: Plain text
  46727. #: guix-git/doc/guix.texi:31596
  46728. msgid "The @code{(gnu services lirc)} module provides the following service."
  46729. msgstr ""
  46730. #. type: deffn
  46731. #: guix-git/doc/guix.texi:31597
  46732. #, no-wrap
  46733. msgid "{Scheme Procedure} lirc-service [#:lirc lirc] @"
  46734. msgstr ""
  46735. #. type: deffn
  46736. #: guix-git/doc/guix.texi:31602
  46737. 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."
  46738. msgstr ""
  46739. #. type: deffn
  46740. #: guix-git/doc/guix.texi:31606
  46741. msgid "Optionally, @var{device}, @var{driver} and @var{config-file} (configuration file name) may be specified. See @command{lircd} manual for details."
  46742. msgstr ""
  46743. #. type: deffn
  46744. #: guix-git/doc/guix.texi:31609
  46745. msgid "Finally, @var{extra-options} is a list of additional command-line options passed to @command{lircd}."
  46746. msgstr ""
  46747. #. type: cindex
  46748. #: guix-git/doc/guix.texi:31611
  46749. #, no-wrap
  46750. msgid "spice"
  46751. msgstr "spice"
  46752. #. type: subsubheading
  46753. #: guix-git/doc/guix.texi:31612
  46754. #, no-wrap
  46755. msgid "Spice Service"
  46756. msgstr ""
  46757. #. type: Plain text
  46758. #: guix-git/doc/guix.texi:31615
  46759. msgid "The @code{(gnu services spice)} module provides the following service."
  46760. msgstr ""
  46761. #. type: deffn
  46762. #: guix-git/doc/guix.texi:31616
  46763. #, no-wrap
  46764. msgid "{Scheme Procedure} spice-vdagent-service [#:spice-vdagent]"
  46765. msgstr ""
  46766. #. type: deffn
  46767. #: guix-git/doc/guix.texi:31620
  46768. 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."
  46769. msgstr ""
  46770. #. type: cindex
  46771. #: guix-git/doc/guix.texi:31622
  46772. #, no-wrap
  46773. msgid "inputattach"
  46774. msgstr ""
  46775. #. type: subsubheading
  46776. #: guix-git/doc/guix.texi:31623
  46777. #, no-wrap
  46778. msgid "inputattach Service"
  46779. msgstr ""
  46780. #. type: cindex
  46781. #: guix-git/doc/guix.texi:31625
  46782. #, no-wrap
  46783. msgid "tablet input, for Xorg"
  46784. msgstr ""
  46785. #. type: cindex
  46786. #: guix-git/doc/guix.texi:31626
  46787. #, no-wrap
  46788. msgid "touchscreen input, for Xorg"
  46789. msgstr ""
  46790. #. type: Plain text
  46791. #: guix-git/doc/guix.texi:31630
  46792. 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."
  46793. msgstr ""
  46794. #. type: deffn
  46795. #: guix-git/doc/guix.texi:31631
  46796. #, no-wrap
  46797. msgid "{Scheme Variable} inputattach-service-type"
  46798. msgstr ""
  46799. #. type: deffn
  46800. #: guix-git/doc/guix.texi:31634
  46801. msgid "Type of a service that runs @command{inputattach} on a device and dispatches events from it."
  46802. msgstr ""
  46803. #. type: deftp
  46804. #: guix-git/doc/guix.texi:31636
  46805. #, no-wrap
  46806. msgid "{Data Type} inputattach-configuration"
  46807. msgstr ""
  46808. #. type: item
  46809. #: guix-git/doc/guix.texi:31638
  46810. #, no-wrap
  46811. msgid "@code{device-type} (default: @code{\"wacom\"})"
  46812. msgstr ""
  46813. #. type: table
  46814. #: guix-git/doc/guix.texi:31641
  46815. 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."
  46816. msgstr ""
  46817. #. type: item
  46818. #: guix-git/doc/guix.texi:31642
  46819. #, no-wrap
  46820. msgid "@code{device} (default: @code{\"/dev/ttyS0\"})"
  46821. msgstr "@code{device} (padrão: @code{\"/dev/ttyS0\"})"
  46822. #. type: table
  46823. #: guix-git/doc/guix.texi:31644
  46824. msgid "The device file to connect to the device."
  46825. msgstr ""
  46826. #. type: table
  46827. #: guix-git/doc/guix.texi:31648
  46828. msgid "Baud rate to use for the serial connection. Should be a number or @code{#f}."
  46829. msgstr ""
  46830. #. type: item
  46831. #: guix-git/doc/guix.texi:31649
  46832. #, no-wrap
  46833. msgid "@code{log-file} (default: @code{#f})"
  46834. msgstr "@code{log-file} (default: @code{#f})"
  46835. #. type: table
  46836. #: guix-git/doc/guix.texi:31651
  46837. msgid "If true, this must be the name of a file to log messages to."
  46838. msgstr ""
  46839. #. type: subsubheading
  46840. #: guix-git/doc/guix.texi:31654
  46841. #, no-wrap
  46842. msgid "Dictionary Service"
  46843. msgstr ""
  46844. #. type: cindex
  46845. #: guix-git/doc/guix.texi:31655
  46846. #, no-wrap
  46847. msgid "dictionary"
  46848. msgstr "dicionário"
  46849. #. type: Plain text
  46850. #: guix-git/doc/guix.texi:31657
  46851. msgid "The @code{(gnu services dict)} module provides the following service:"
  46852. msgstr ""
  46853. #. type: defvr
  46854. #: guix-git/doc/guix.texi:31658
  46855. #, no-wrap
  46856. msgid "{Scheme Variable} dicod-service-type"
  46857. msgstr ""
  46858. #. type: defvr
  46859. #: guix-git/doc/guix.texi:31661
  46860. 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})."
  46861. msgstr ""
  46862. #. type: deffn
  46863. #: guix-git/doc/guix.texi:31663
  46864. #, no-wrap
  46865. msgid "{Scheme Procedure} dicod-service [#:config (dicod-configuration)]"
  46866. msgstr ""
  46867. #. type: deffn
  46868. #: guix-git/doc/guix.texi:31666
  46869. msgid "Return a service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual})."
  46870. msgstr ""
  46871. #. type: deffn
  46872. #: guix-git/doc/guix.texi:31670
  46873. 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."
  46874. msgstr ""
  46875. #. type: deffn
  46876. #: guix-git/doc/guix.texi:31674
  46877. 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})."
  46878. msgstr ""
  46879. #. type: deftp
  46880. #: guix-git/doc/guix.texi:31676
  46881. #, no-wrap
  46882. msgid "{Data Type} dicod-configuration"
  46883. msgstr ""
  46884. #. type: deftp
  46885. #: guix-git/doc/guix.texi:31678
  46886. msgid "Data type representing the configuration of dicod."
  46887. msgstr ""
  46888. #. type: item
  46889. #: guix-git/doc/guix.texi:31680
  46890. #, no-wrap
  46891. msgid "@code{dico} (default: @var{dico})"
  46892. msgstr ""
  46893. #. type: table
  46894. #: guix-git/doc/guix.texi:31682
  46895. msgid "Package object of the GNU Dico dictionary server."
  46896. msgstr ""
  46897. #. type: item
  46898. #: guix-git/doc/guix.texi:31683
  46899. #, no-wrap
  46900. msgid "@code{interfaces} (default: @var{'(\"localhost\")})"
  46901. msgstr ""
  46902. #. type: table
  46903. #: guix-git/doc/guix.texi:31687
  46904. 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})."
  46905. msgstr ""
  46906. #. type: item
  46907. #: guix-git/doc/guix.texi:31688
  46908. #, no-wrap
  46909. msgid "@code{handlers} (default: @var{'()})"
  46910. msgstr ""
  46911. #. type: table
  46912. #: guix-git/doc/guix.texi:31690
  46913. msgid "List of @code{<dicod-handler>} objects denoting handlers (module instances)."
  46914. msgstr ""
  46915. #. type: item
  46916. #: guix-git/doc/guix.texi:31691
  46917. #, no-wrap
  46918. msgid "@code{databases} (default: @var{(list %dicod-database:gcide)})"
  46919. msgstr ""
  46920. #. type: table
  46921. #: guix-git/doc/guix.texi:31693
  46922. msgid "List of @code{<dicod-database>} objects denoting dictionaries to be served."
  46923. msgstr ""
  46924. #. type: deftp
  46925. #: guix-git/doc/guix.texi:31696
  46926. #, no-wrap
  46927. msgid "{Data Type} dicod-handler"
  46928. msgstr ""
  46929. #. type: deftp
  46930. #: guix-git/doc/guix.texi:31698
  46931. msgid "Data type representing a dictionary handler (module instance)."
  46932. msgstr ""
  46933. #. type: table
  46934. #: guix-git/doc/guix.texi:31702
  46935. msgid "Name of the handler (module instance)."
  46936. msgstr ""
  46937. #. type: item
  46938. #: guix-git/doc/guix.texi:31703
  46939. #, no-wrap
  46940. msgid "@code{module} (default: @var{#f})"
  46941. msgstr ""
  46942. #. type: table
  46943. #: guix-git/doc/guix.texi:31707
  46944. 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})."
  46945. msgstr ""
  46946. #. type: table
  46947. #: guix-git/doc/guix.texi:31710
  46948. msgid "List of strings or gexps representing the arguments for the module handler"
  46949. msgstr ""
  46950. #. type: deftp
  46951. #: guix-git/doc/guix.texi:31713
  46952. #, no-wrap
  46953. msgid "{Data Type} dicod-database"
  46954. msgstr ""
  46955. #. type: deftp
  46956. #: guix-git/doc/guix.texi:31715
  46957. msgid "Data type representing a dictionary database."
  46958. msgstr ""
  46959. #. type: table
  46960. #: guix-git/doc/guix.texi:31719
  46961. msgid "Name of the database, will be used in DICT commands."
  46962. msgstr ""
  46963. #. type: code{#1}
  46964. #: guix-git/doc/guix.texi:31720
  46965. #, no-wrap
  46966. msgid "handler"
  46967. msgstr ""
  46968. #. type: table
  46969. #: guix-git/doc/guix.texi:31723
  46970. msgid "Name of the dicod handler (module instance) used by this database (@pxref{Handlers,,, dico, GNU Dico Manual})."
  46971. msgstr ""
  46972. #. type: item
  46973. #: guix-git/doc/guix.texi:31724
  46974. #, no-wrap
  46975. msgid "@code{complex?} (default: @var{#f})"
  46976. msgstr ""
  46977. #. type: table
  46978. #: guix-git/doc/guix.texi:31727
  46979. msgid "Whether the database configuration complex. The complex configuration will need a corresponding @code{<dicod-handler>} object, otherwise not."
  46980. msgstr ""
  46981. #. type: table
  46982. #: guix-git/doc/guix.texi:31731
  46983. msgid "List of strings or gexps representing the arguments for the database (@pxref{Databases,,, dico, GNU Dico Manual})."
  46984. msgstr ""
  46985. #. type: defvr
  46986. #: guix-git/doc/guix.texi:31734
  46987. #, no-wrap
  46988. msgid "{Scheme Variable} %dicod-database:gcide"
  46989. msgstr ""
  46990. #. type: defvr
  46991. #: guix-git/doc/guix.texi:31737
  46992. msgid "A @code{<dicod-database>} object serving the GNU Collaborative International Dictionary of English using the @code{gcide} package."
  46993. msgstr ""
  46994. #. type: Plain text
  46995. #: guix-git/doc/guix.texi:31740
  46996. msgid "The following is an example @code{dicod-service} configuration."
  46997. msgstr ""
  46998. #. type: lisp
  46999. #: guix-git/doc/guix.texi:31755
  47000. #, no-wrap
  47001. msgid ""
  47002. "(dicod-service #:config\n"
  47003. " (dicod-configuration\n"
  47004. " (handlers (list (dicod-handler\n"
  47005. " (name \"wordnet\")\n"
  47006. " (module \"dictorg\")\n"
  47007. " (options\n"
  47008. " (list #~(string-append \"dbdir=\" #$wordnet))))))\n"
  47009. " (databases (list (dicod-database\n"
  47010. " (name \"wordnet\")\n"
  47011. " (complex? #t)\n"
  47012. " (handler \"wordnet\")\n"
  47013. " (options '(\"database=wn\")))\n"
  47014. " %dicod-database:gcide))))\n"
  47015. msgstr ""
  47016. #. type: cindex
  47017. #: guix-git/doc/guix.texi:31757
  47018. #, no-wrap
  47019. msgid "Docker"
  47020. msgstr ""
  47021. #. type: subsubheading
  47022. #: guix-git/doc/guix.texi:31758
  47023. #, no-wrap
  47024. msgid "Docker Service"
  47025. msgstr ""
  47026. #. type: Plain text
  47027. #: guix-git/doc/guix.texi:31761
  47028. msgid "The @code{(gnu services docker)} module provides the following services."
  47029. msgstr ""
  47030. #. type: defvr
  47031. #: guix-git/doc/guix.texi:31762
  47032. #, no-wrap
  47033. msgid "{Scheme Variable} docker-service-type"
  47034. msgstr ""
  47035. #. type: defvr
  47036. #: guix-git/doc/guix.texi:31767
  47037. 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."
  47038. msgstr ""
  47039. #. type: deftp
  47040. #: guix-git/doc/guix.texi:31770
  47041. #, no-wrap
  47042. msgid "{Data Type} docker-configuration"
  47043. msgstr ""
  47044. #. type: deftp
  47045. #: guix-git/doc/guix.texi:31772
  47046. msgid "This is the data type representing the configuration of Docker and Containerd."
  47047. msgstr ""
  47048. #. type: item
  47049. #: guix-git/doc/guix.texi:31775
  47050. #, no-wrap
  47051. msgid "@code{package} (default: @code{docker})"
  47052. msgstr ""
  47053. #. type: table
  47054. #: guix-git/doc/guix.texi:31777
  47055. msgid "The Docker daemon package to use."
  47056. msgstr ""
  47057. #. type: item
  47058. #: guix-git/doc/guix.texi:31778
  47059. #, no-wrap
  47060. msgid "@code{package} (default: @code{docker-cli})"
  47061. msgstr ""
  47062. #. type: table
  47063. #: guix-git/doc/guix.texi:31780
  47064. msgid "The Docker client package to use."
  47065. msgstr ""
  47066. #. type: item
  47067. #: guix-git/doc/guix.texi:31781
  47068. #, no-wrap
  47069. msgid "@code{containerd} (default: @var{containerd})"
  47070. msgstr ""
  47071. #. type: table
  47072. #: guix-git/doc/guix.texi:31783
  47073. msgid "The Containerd package to use."
  47074. msgstr ""
  47075. #. type: item
  47076. #: guix-git/doc/guix.texi:31784
  47077. #, no-wrap
  47078. msgid "@code{proxy} (default @var{docker-libnetwork-cmd-proxy})"
  47079. msgstr ""
  47080. #. type: table
  47081. #: guix-git/doc/guix.texi:31786
  47082. msgid "The Docker user-land networking proxy package to use."
  47083. msgstr ""
  47084. #. type: item
  47085. #: guix-git/doc/guix.texi:31787
  47086. #, no-wrap
  47087. msgid "@code{enable-proxy?} (default @code{#t})"
  47088. msgstr ""
  47089. #. type: table
  47090. #: guix-git/doc/guix.texi:31789
  47091. msgid "Enable or disable the use of the Docker user-land networking proxy."
  47092. msgstr ""
  47093. #. type: item
  47094. #: guix-git/doc/guix.texi:31790
  47095. #, no-wrap
  47096. msgid "@code{debug?} (default @code{#f})"
  47097. msgstr ""
  47098. #. type: table
  47099. #: guix-git/doc/guix.texi:31792
  47100. msgid "Enable or disable debug output."
  47101. msgstr ""
  47102. #. type: item
  47103. #: guix-git/doc/guix.texi:31793
  47104. #, no-wrap
  47105. msgid "@code{enable-iptables?} (default @code{#t})"
  47106. msgstr ""
  47107. #. type: table
  47108. #: guix-git/doc/guix.texi:31795
  47109. msgid "Enable or disable the addition of iptables rules."
  47110. msgstr ""
  47111. #. type: cindex
  47112. #: guix-git/doc/guix.texi:31799
  47113. #, no-wrap
  47114. msgid "Singularity, container service"
  47115. msgstr ""
  47116. #. type: defvr
  47117. #: guix-git/doc/guix.texi:31800
  47118. #, no-wrap
  47119. msgid "{Scheme Variable} singularity-service-type"
  47120. msgstr ""
  47121. #. type: defvr
  47122. #: guix-git/doc/guix.texi:31805
  47123. 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."
  47124. msgstr ""
  47125. #. type: defvr
  47126. #: guix-git/doc/guix.texi:31809
  47127. 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."
  47128. msgstr ""
  47129. #. type: cindex
  47130. #: guix-git/doc/guix.texi:31811
  47131. #, no-wrap
  47132. msgid "Audit"
  47133. msgstr ""
  47134. #. type: subsubheading
  47135. #: guix-git/doc/guix.texi:31812
  47136. #, no-wrap
  47137. msgid "Auditd Service"
  47138. msgstr ""
  47139. #. type: Plain text
  47140. #: guix-git/doc/guix.texi:31815
  47141. msgid "The @code{(gnu services auditd)} module provides the following service."
  47142. msgstr ""
  47143. #. type: defvr
  47144. #: guix-git/doc/guix.texi:31816
  47145. #, no-wrap
  47146. msgid "{Scheme Variable} auditd-service-type"
  47147. msgstr ""
  47148. #. type: defvr
  47149. #: guix-git/doc/guix.texi:31821
  47150. 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."
  47151. msgstr ""
  47152. #. type: defvr
  47153. #: guix-git/doc/guix.texi:31823
  47154. msgid "Examples of things that can be tracked:"
  47155. msgstr ""
  47156. #. type: enumerate
  47157. #: guix-git/doc/guix.texi:31827
  47158. msgid "File accesses"
  47159. msgstr ""
  47160. #. type: enumerate
  47161. #: guix-git/doc/guix.texi:31829
  47162. msgid "System calls"
  47163. msgstr ""
  47164. #. type: enumerate
  47165. #: guix-git/doc/guix.texi:31831
  47166. msgid "Invoked commands"
  47167. msgstr ""
  47168. #. type: enumerate
  47169. #: guix-git/doc/guix.texi:31833
  47170. msgid "Failed login attempts"
  47171. msgstr ""
  47172. #. type: enumerate
  47173. #: guix-git/doc/guix.texi:31835
  47174. msgid "Firewall filtering"
  47175. msgstr ""
  47176. #. type: enumerate
  47177. #: guix-git/doc/guix.texi:31837
  47178. msgid "Network access"
  47179. msgstr ""
  47180. #. type: defvr
  47181. #: guix-git/doc/guix.texi:31848
  47182. 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}."
  47183. msgstr ""
  47184. #. type: deftp
  47185. #: guix-git/doc/guix.texi:31851
  47186. #, no-wrap
  47187. msgid "{Data Type} auditd-configuration"
  47188. msgstr ""
  47189. #. type: deftp
  47190. #: guix-git/doc/guix.texi:31853
  47191. msgid "This is the data type representing the configuration of auditd."
  47192. msgstr ""
  47193. #. type: item
  47194. #: guix-git/doc/guix.texi:31856
  47195. #, no-wrap
  47196. msgid "@code{audit} (default: @code{audit})"
  47197. msgstr ""
  47198. #. type: table
  47199. #: guix-git/doc/guix.texi:31858
  47200. msgid "The audit package to use."
  47201. msgstr ""
  47202. #. type: item
  47203. #: guix-git/doc/guix.texi:31859
  47204. #, no-wrap
  47205. msgid "@code{configuration-directory} (default: @code{%default-auditd-configuration-directory})"
  47206. msgstr ""
  47207. #. type: table
  47208. #: guix-git/doc/guix.texi:31863
  47209. 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."
  47210. msgstr ""
  47211. #. type: cindex
  47212. #: guix-git/doc/guix.texi:31867
  47213. #, no-wrap
  47214. msgid "rshiny"
  47215. msgstr ""
  47216. #. type: subsubheading
  47217. #: guix-git/doc/guix.texi:31868
  47218. #, no-wrap
  47219. msgid "R-Shiny service"
  47220. msgstr ""
  47221. #. type: Plain text
  47222. #: guix-git/doc/guix.texi:31871
  47223. msgid "The @code{(gnu services science)} module provides the following service."
  47224. msgstr ""
  47225. #. type: defvr
  47226. #: guix-git/doc/guix.texi:31872
  47227. #, no-wrap
  47228. msgid "{Scheme Variable} rshiny-service-type"
  47229. msgstr ""
  47230. #. type: defvr
  47231. #: guix-git/doc/guix.texi:31877
  47232. 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}."
  47233. msgstr ""
  47234. #. type: deftp
  47235. #: guix-git/doc/guix.texi:31878
  47236. #, no-wrap
  47237. msgid "{Data Type} rshiny-configuration"
  47238. msgstr ""
  47239. #. type: deftp
  47240. #: guix-git/doc/guix.texi:31880
  47241. msgid "This is the data type representing the configuration of rshiny."
  47242. msgstr ""
  47243. #. type: item
  47244. #: guix-git/doc/guix.texi:31883
  47245. #, no-wrap
  47246. msgid "@code{package} (default: @code{r-shiny})"
  47247. msgstr ""
  47248. #. type: table
  47249. #: guix-git/doc/guix.texi:31885
  47250. msgid "The package to use."
  47251. msgstr ""
  47252. #. type: item
  47253. #: guix-git/doc/guix.texi:31886
  47254. #, no-wrap
  47255. msgid "@code{binary} (defaunlt @code{\"rshiny\"})"
  47256. msgstr ""
  47257. #. type: table
  47258. #: guix-git/doc/guix.texi:31889
  47259. msgid "The name of the binary or shell script located at @code{package/bin/} to run when the service is run."
  47260. msgstr ""
  47261. #. type: table
  47262. #: guix-git/doc/guix.texi:31891
  47263. msgid "The common way to create this file is as follows:"
  47264. msgstr ""
  47265. #. type: lisp
  47266. #: guix-git/doc/guix.texi:31909
  47267. #, no-wrap
  47268. msgid ""
  47269. "@dots{}\n"
  47270. "(let* ((out (assoc-ref %outputs \"out\"))\n"
  47271. " (targetdir (string-append out \"/share/\" ,name))\n"
  47272. " (app (string-append out \"/bin/\" ,name))\n"
  47273. " (Rbin (string-append (assoc-ref %build-inputs \"r-min\")\n"
  47274. " \"/bin/Rscript\")))\n"
  47275. " ;; @dots{}\n"
  47276. " (mkdir-p (string-append out \"/bin\"))\n"
  47277. " (call-with-output-file app\n"
  47278. " (lambda (port)\n"
  47279. " (format port\n"
  47280. "\"#!~a\n"
  47281. "library(shiny)\n"
  47282. "setwd(\\\"~a\\\")\n"
  47283. "runApp(launch.browser=0, port=4202)~%\\n\"\n"
  47284. " Rbin targetdir))))\n"
  47285. msgstr ""
  47286. #. type: cindex
  47287. #: guix-git/doc/guix.texi:31915
  47288. #, no-wrap
  47289. msgid "Nix"
  47290. msgstr ""
  47291. #. type: subsubheading
  47292. #: guix-git/doc/guix.texi:31916
  47293. #, no-wrap
  47294. msgid "Nix service"
  47295. msgstr ""
  47296. #. type: Plain text
  47297. #: guix-git/doc/guix.texi:31919
  47298. msgid "The @code{(gnu services nix)} module provides the following service."
  47299. msgstr ""
  47300. #. type: defvr
  47301. #: guix-git/doc/guix.texi:31920
  47302. #, no-wrap
  47303. msgid "{Scheme Variable} nix-service-type"
  47304. msgstr ""
  47305. #. type: defvr
  47306. #: guix-git/doc/guix.texi:31925
  47307. 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:"
  47308. msgstr ""
  47309. #. type: lisp
  47310. #: guix-git/doc/guix.texi:31930
  47311. #, no-wrap
  47312. msgid ""
  47313. "(use-modules (gnu))\n"
  47314. "(use-service-modules nix)\n"
  47315. "(use-package-modules package-management)\n"
  47316. "\n"
  47317. msgstr ""
  47318. #. type: lisp
  47319. #: guix-git/doc/guix.texi:31935
  47320. #, no-wrap
  47321. msgid ""
  47322. "(operating-system\n"
  47323. " ;; @dots{}\n"
  47324. " (packages (append (list nix)\n"
  47325. " %base-packages))\n"
  47326. "\n"
  47327. msgstr ""
  47328. #. type: lisp
  47329. #: guix-git/doc/guix.texi:31938
  47330. #, no-wrap
  47331. msgid ""
  47332. " (services (append (list (service nix-service-type))\n"
  47333. " %base-services)))\n"
  47334. msgstr ""
  47335. #. type: defvr
  47336. #: guix-git/doc/guix.texi:31941
  47337. msgid "After @command{guix system reconfigure} configure Nix for your user:"
  47338. msgstr ""
  47339. #. type: item
  47340. #: guix-git/doc/guix.texi:31943
  47341. #, no-wrap
  47342. msgid "Add a Nix channel and update it. See"
  47343. msgstr ""
  47344. #. type: itemize
  47345. #: guix-git/doc/guix.texi:31945
  47346. msgid "@url{https://nixos.org/nix/manual/, Nix Package Manager Guide}."
  47347. msgstr ""
  47348. #. type: item
  47349. #: guix-git/doc/guix.texi:31946
  47350. #, no-wrap
  47351. msgid "Create a symlink to your profile and activate Nix profile:"
  47352. msgstr ""
  47353. #. type: example
  47354. #: guix-git/doc/guix.texi:31952
  47355. #, no-wrap
  47356. msgid ""
  47357. "$ ln -s \"/nix/var/nix/profiles/per-user/$USER/profile\" ~/.nix-profile\n"
  47358. "$ source /run/current-system/profile/etc/profile.d/nix.sh\n"
  47359. msgstr ""
  47360. #. type: deftp
  47361. #: guix-git/doc/guix.texi:31956
  47362. #, no-wrap
  47363. msgid "{Data Type} nix-configuration"
  47364. msgstr ""
  47365. #. type: deftp
  47366. #: guix-git/doc/guix.texi:31958
  47367. msgid "This data type represents the configuration of the Nix daemon."
  47368. msgstr ""
  47369. #. type: item
  47370. #: guix-git/doc/guix.texi:31960
  47371. #, no-wrap
  47372. msgid "@code{nix} (default: @code{nix})"
  47373. msgstr ""
  47374. #. type: table
  47375. #: guix-git/doc/guix.texi:31962
  47376. msgid "The Nix package to use."
  47377. msgstr ""
  47378. #. type: item
  47379. #: guix-git/doc/guix.texi:31963
  47380. #, no-wrap
  47381. msgid "@code{sandbox} (default: @code{#t})"
  47382. msgstr ""
  47383. #. type: table
  47384. #: guix-git/doc/guix.texi:31965
  47385. msgid "Specifies whether builds are sandboxed by default."
  47386. msgstr ""
  47387. #. type: item
  47388. #: guix-git/doc/guix.texi:31966
  47389. #, no-wrap
  47390. msgid "@code{build-sandbox-items} (default: @code{'()})"
  47391. msgstr ""
  47392. #. type: table
  47393. #: guix-git/doc/guix.texi:31969
  47394. msgid "This is a list of strings or objects appended to the @code{build-sandbox-items} field of the configuration file."
  47395. msgstr ""
  47396. #. type: table
  47397. #: guix-git/doc/guix.texi:31977
  47398. msgid "Extra command line options for @code{nix-service-type}."
  47399. msgstr ""
  47400. #. type: cindex
  47401. #: guix-git/doc/guix.texi:31983
  47402. #, no-wrap
  47403. msgid "setuid programs"
  47404. msgstr ""
  47405. #. type: Plain text
  47406. #: guix-git/doc/guix.texi:31993
  47407. 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)."
  47408. msgstr ""
  47409. #. type: Plain text
  47410. #: guix-git/doc/guix.texi:32000
  47411. 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."
  47412. msgstr ""
  47413. #. type: Plain text
  47414. #: guix-git/doc/guix.texi:32006
  47415. msgid "The @code{setuid-programs} field of an @code{operating-system} declaration contains a list of G-expressions denoting the names of programs to be setuid-root (@pxref{Using the Configuration System}). For instance, the @command{passwd} program, which is part of the Shadow package, can be designated by this G-expression (@pxref{G-Expressions}):"
  47416. msgstr ""
  47417. #. type: example
  47418. #: guix-git/doc/guix.texi:32009
  47419. #, no-wrap
  47420. msgid "#~(string-append #$shadow \"/bin/passwd\")\n"
  47421. msgstr ""
  47422. #. type: Plain text
  47423. #: guix-git/doc/guix.texi:32013
  47424. msgid "A default set of setuid programs is defined by the @code{%setuid-programs} variable of the @code{(gnu system)} module."
  47425. msgstr ""
  47426. #. type: defvr
  47427. #: guix-git/doc/guix.texi:32014
  47428. #, no-wrap
  47429. msgid "{Scheme Variable} %setuid-programs"
  47430. msgstr ""
  47431. #. type: defvr
  47432. #: guix-git/doc/guix.texi:32016
  47433. msgid "A list of G-expressions denoting common programs that are setuid-root."
  47434. msgstr ""
  47435. #. type: defvr
  47436. #: guix-git/doc/guix.texi:32019
  47437. msgid "The list includes commands such as @command{passwd}, @command{ping}, @command{su}, and @command{sudo}."
  47438. msgstr ""
  47439. #. type: Plain text
  47440. #: guix-git/doc/guix.texi:32025
  47441. 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."
  47442. msgstr ""
  47443. #. type: cindex
  47444. #: guix-git/doc/guix.texi:32029
  47445. #, no-wrap
  47446. msgid "HTTPS, certificates"
  47447. msgstr ""
  47448. #. type: cindex
  47449. #: guix-git/doc/guix.texi:32030
  47450. #, no-wrap
  47451. msgid "X.509 certificates"
  47452. msgstr "Certificados X.509"
  47453. #. type: cindex
  47454. #: guix-git/doc/guix.texi:32031
  47455. #, no-wrap
  47456. msgid "TLS"
  47457. msgstr ""
  47458. #. type: Plain text
  47459. #: guix-git/doc/guix.texi:32038
  47460. 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."
  47461. msgstr ""
  47462. #. type: Plain text
  47463. #: guix-git/doc/guix.texi:32042
  47464. 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."
  47465. msgstr ""
  47466. #. type: Plain text
  47467. #: guix-git/doc/guix.texi:32046
  47468. 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."
  47469. msgstr ""
  47470. #. type: Plain text
  47471. #: guix-git/doc/guix.texi:32053
  47472. 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."
  47473. msgstr ""
  47474. #. type: Plain text
  47475. #: guix-git/doc/guix.texi:32058
  47476. 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."
  47477. msgstr ""
  47478. #. type: Plain text
  47479. #: guix-git/doc/guix.texi:32068
  47480. 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:"
  47481. msgstr ""
  47482. #. type: example
  47483. #: guix-git/doc/guix.texi:32074
  47484. #, no-wrap
  47485. msgid ""
  47486. "guix install nss-certs\n"
  47487. "export SSL_CERT_DIR=\"$HOME/.guix-profile/etc/ssl/certs\"\n"
  47488. "export SSL_CERT_FILE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  47489. "export GIT_SSL_CAINFO=\"$SSL_CERT_FILE\"\n"
  47490. msgstr ""
  47491. #. type: Plain text
  47492. #: guix-git/doc/guix.texi:32079
  47493. 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:"
  47494. msgstr ""
  47495. #. type: example
  47496. #: guix-git/doc/guix.texi:32083
  47497. #, no-wrap
  47498. msgid ""
  47499. "guix install nss-certs\n"
  47500. "export CURL_CA_BUNDLE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  47501. msgstr ""
  47502. #. type: Plain text
  47503. #: guix-git/doc/guix.texi:32087
  47504. msgid "For other applications you may want to look up the required environment variable in the relevant documentation."
  47505. msgstr ""
  47506. #. type: cindex
  47507. #: guix-git/doc/guix.texi:32092
  47508. #, no-wrap
  47509. msgid "name service switch"
  47510. msgstr ""
  47511. #. type: cindex
  47512. #: guix-git/doc/guix.texi:32093
  47513. #, no-wrap
  47514. msgid "NSS"
  47515. msgstr ""
  47516. #. type: Plain text
  47517. #: guix-git/doc/guix.texi:32102
  47518. 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})."
  47519. msgstr ""
  47520. #. type: Plain text
  47521. #: guix-git/doc/guix.texi:32109
  47522. 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}})."
  47523. msgstr ""
  47524. #. type: cindex
  47525. #: guix-git/doc/guix.texi:32110
  47526. #, no-wrap
  47527. msgid "nss-mdns"
  47528. msgstr ""
  47529. #. type: cindex
  47530. #: guix-git/doc/guix.texi:32111
  47531. #, no-wrap
  47532. msgid ".local, host name lookup"
  47533. msgstr ""
  47534. #. type: Plain text
  47535. #: guix-git/doc/guix.texi:32116
  47536. 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}:"
  47537. msgstr ""
  47538. #. type: lisp
  47539. #: guix-git/doc/guix.texi:32120
  47540. #, no-wrap
  47541. msgid ""
  47542. "(name-service-switch\n"
  47543. " (hosts (list %files ;first, check /etc/hosts\n"
  47544. "\n"
  47545. msgstr ""
  47546. #. type: lisp
  47547. #: guix-git/doc/guix.texi:32125
  47548. #, no-wrap
  47549. msgid ""
  47550. " ;; If the above did not succeed, try\n"
  47551. " ;; with 'mdns_minimal'.\n"
  47552. " (name-service\n"
  47553. " (name \"mdns_minimal\")\n"
  47554. "\n"
  47555. msgstr ""
  47556. #. type: lisp
  47557. #: guix-git/doc/guix.texi:32131
  47558. #, no-wrap
  47559. msgid ""
  47560. " ;; 'mdns_minimal' is authoritative for\n"
  47561. " ;; '.local'. When it returns \"not found\",\n"
  47562. " ;; no need to try the next methods.\n"
  47563. " (reaction (lookup-specification\n"
  47564. " (not-found => return))))\n"
  47565. "\n"
  47566. msgstr ""
  47567. #. type: lisp
  47568. #: guix-git/doc/guix.texi:32135
  47569. #, no-wrap
  47570. msgid ""
  47571. " ;; Then fall back to DNS.\n"
  47572. " (name-service\n"
  47573. " (name \"dns\"))\n"
  47574. "\n"
  47575. msgstr ""
  47576. #. type: lisp
  47577. #: guix-git/doc/guix.texi:32139
  47578. #, no-wrap
  47579. msgid ""
  47580. " ;; Finally, try with the \"full\" 'mdns'.\n"
  47581. " (name-service\n"
  47582. " (name \"mdns\")))))\n"
  47583. msgstr ""
  47584. #. type: Plain text
  47585. #: guix-git/doc/guix.texi:32144
  47586. 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."
  47587. msgstr ""
  47588. #. type: Plain text
  47589. #: guix-git/doc/guix.texi:32152
  47590. 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}})."
  47591. msgstr ""
  47592. #. type: Plain text
  47593. #: guix-git/doc/guix.texi:32155
  47594. msgid "For convenience, the following variables provide typical NSS configurations."
  47595. msgstr ""
  47596. #. type: defvr
  47597. #: guix-git/doc/guix.texi:32156
  47598. #, no-wrap
  47599. msgid "{Scheme Variable} %default-nss"
  47600. msgstr ""
  47601. #. type: defvr
  47602. #: guix-git/doc/guix.texi:32159
  47603. msgid "This is the default name service switch configuration, a @code{name-service-switch} object."
  47604. msgstr ""
  47605. #. type: defvr
  47606. #: guix-git/doc/guix.texi:32161
  47607. #, no-wrap
  47608. msgid "{Scheme Variable} %mdns-host-lookup-nss"
  47609. msgstr ""
  47610. #. type: defvr
  47611. #: guix-git/doc/guix.texi:32164
  47612. 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}."
  47613. msgstr ""
  47614. #. type: Plain text
  47615. #: guix-git/doc/guix.texi:32174
  47616. 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}."
  47617. msgstr ""
  47618. #. type: deftp
  47619. #: guix-git/doc/guix.texi:32175
  47620. #, no-wrap
  47621. msgid "{Data Type} name-service-switch"
  47622. msgstr ""
  47623. #. type: deftp
  47624. #: guix-git/doc/guix.texi:32180
  47625. 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."
  47626. msgstr ""
  47627. #. type: item
  47628. #: guix-git/doc/guix.texi:32182
  47629. #, no-wrap
  47630. msgid "aliases"
  47631. msgstr ""
  47632. #. type: itemx
  47633. #: guix-git/doc/guix.texi:32183
  47634. #, no-wrap
  47635. msgid "ethers"
  47636. msgstr ""
  47637. #. type: itemx
  47638. #: guix-git/doc/guix.texi:32185
  47639. #, no-wrap
  47640. msgid "gshadow"
  47641. msgstr ""
  47642. #. type: itemx
  47643. #: guix-git/doc/guix.texi:32186
  47644. #, no-wrap
  47645. msgid "hosts"
  47646. msgstr ""
  47647. #. type: itemx
  47648. #: guix-git/doc/guix.texi:32187
  47649. #, no-wrap
  47650. msgid "initgroups"
  47651. msgstr ""
  47652. #. type: itemx
  47653. #: guix-git/doc/guix.texi:32188
  47654. #, no-wrap
  47655. msgid "netgroup"
  47656. msgstr ""
  47657. #. type: itemx
  47658. #: guix-git/doc/guix.texi:32189
  47659. #, no-wrap
  47660. msgid "networks"
  47661. msgstr ""
  47662. #. type: itemx
  47663. #: guix-git/doc/guix.texi:32192
  47664. #, no-wrap
  47665. msgid "rpc"
  47666. msgstr ""
  47667. #. type: itemx
  47668. #: guix-git/doc/guix.texi:32194
  47669. #, no-wrap
  47670. msgid "shadow"
  47671. msgstr ""
  47672. #. type: table
  47673. #: guix-git/doc/guix.texi:32197
  47674. msgid "The system databases handled by the NSS@. Each of these fields must be a list of @code{<name-service>} objects (see below)."
  47675. msgstr ""
  47676. #. type: deftp
  47677. #: guix-git/doc/guix.texi:32200
  47678. #, no-wrap
  47679. msgid "{Data Type} name-service"
  47680. msgstr ""
  47681. #. type: deftp
  47682. #: guix-git/doc/guix.texi:32204
  47683. msgid "This is the data type representing an actual name service and the associated lookup action."
  47684. msgstr ""
  47685. #. type: table
  47686. #: guix-git/doc/guix.texi:32209
  47687. msgid "A string denoting the name service (@pxref{Services in the NSS configuration,,, libc, The GNU C Library Reference Manual})."
  47688. msgstr ""
  47689. #. type: table
  47690. #: guix-git/doc/guix.texi:32214
  47691. 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}})."
  47692. msgstr ""
  47693. #. type: item
  47694. #: guix-git/doc/guix.texi:32215
  47695. #, no-wrap
  47696. msgid "reaction"
  47697. msgstr ""
  47698. #. type: table
  47699. #: guix-git/doc/guix.texi:32219
  47700. 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:"
  47701. msgstr ""
  47702. #. type: lisp
  47703. #: guix-git/doc/guix.texi:32223
  47704. #, no-wrap
  47705. msgid ""
  47706. "(lookup-specification (unavailable => continue)\n"
  47707. " (success => return))\n"
  47708. msgstr ""
  47709. #. type: Plain text
  47710. #: guix-git/doc/guix.texi:32237
  47711. 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."
  47712. msgstr ""
  47713. #. type: Plain text
  47714. #: guix-git/doc/guix.texi:32246
  47715. 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:"
  47716. msgstr ""
  47717. #. type: lisp
  47718. #: guix-git/doc/guix.texi:32251
  47719. #, no-wrap
  47720. msgid ""
  47721. "(operating-system\n"
  47722. " ;; @dots{}\n"
  47723. " (initrd-modules (cons \"megaraid_sas\" %base-initrd-modules)))\n"
  47724. msgstr ""
  47725. #. type: defvr
  47726. #: guix-git/doc/guix.texi:32253
  47727. #, no-wrap
  47728. msgid "{Scheme Variable} %base-initrd-modules"
  47729. msgstr ""
  47730. #. type: defvr
  47731. #: guix-git/doc/guix.texi:32255
  47732. msgid "This is the list of kernel modules included in the initrd by default."
  47733. msgstr ""
  47734. #. type: Plain text
  47735. #: guix-git/doc/guix.texi:32263
  47736. 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."
  47737. msgstr ""
  47738. #. type: Plain text
  47739. #: guix-git/doc/guix.texi:32268
  47740. 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:"
  47741. msgstr ""
  47742. #. type: lisp
  47743. #: guix-git/doc/guix.texi:32276
  47744. #, no-wrap
  47745. msgid ""
  47746. "(initrd (lambda (file-systems . rest)\n"
  47747. " ;; Create a standard initrd but set up networking\n"
  47748. " ;; with the parameters QEMU expects by default.\n"
  47749. " (apply base-initrd file-systems\n"
  47750. " #:qemu-networking? #t\n"
  47751. " rest)))\n"
  47752. msgstr ""
  47753. #. type: Plain text
  47754. #: guix-git/doc/guix.texi:32281
  47755. 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."
  47756. msgstr ""
  47757. #. type: Plain text
  47758. #: guix-git/doc/guix.texi:32288
  47759. 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."
  47760. msgstr ""
  47761. #. type: Plain text
  47762. #: guix-git/doc/guix.texi:32293
  47763. 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:"
  47764. msgstr ""
  47765. #. type: item
  47766. #: guix-git/doc/guix.texi:32295
  47767. #, no-wrap
  47768. msgid "--load=@var{boot}"
  47769. msgstr ""
  47770. #. type: table
  47771. #: guix-git/doc/guix.texi:32298
  47772. msgid "Tell the initial RAM disk to load @var{boot}, a file containing a Scheme program, once it has mounted the root file system."
  47773. msgstr ""
  47774. #. type: table
  47775. #: guix-git/doc/guix.texi:32302
  47776. 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."
  47777. msgstr ""
  47778. #. type: item
  47779. #: guix-git/doc/guix.texi:32303
  47780. #, no-wrap
  47781. msgid "--root=@var{root}"
  47782. msgstr ""
  47783. #. type: table
  47784. #: guix-git/doc/guix.texi:32308
  47785. 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."
  47786. msgstr ""
  47787. #. type: table
  47788. #: guix-git/doc/guix.texi:32312
  47789. msgid "Have @file{/run/booted-system} and @file{/run/current-system} point to @var{system}."
  47790. msgstr ""
  47791. #. type: item
  47792. #: guix-git/doc/guix.texi:32313
  47793. #, no-wrap
  47794. msgid "modprobe.blacklist=@var{modules}@dots{}"
  47795. msgstr ""
  47796. #. type: cindex
  47797. #: guix-git/doc/guix.texi:32314
  47798. #, no-wrap
  47799. msgid "module, black-listing"
  47800. msgstr ""
  47801. #. type: cindex
  47802. #: guix-git/doc/guix.texi:32315
  47803. #, no-wrap
  47804. msgid "black list, of kernel modules"
  47805. msgstr ""
  47806. #. type: table
  47807. #: guix-git/doc/guix.texi:32320
  47808. 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}."
  47809. msgstr ""
  47810. #. type: item
  47811. #: guix-git/doc/guix.texi:32321
  47812. #, no-wrap
  47813. msgid "--repl"
  47814. msgstr ""
  47815. #. type: table
  47816. #: guix-git/doc/guix.texi:32327
  47817. 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."
  47818. msgstr ""
  47819. #. type: Plain text
  47820. #: guix-git/doc/guix.texi:32333
  47821. 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."
  47822. msgstr ""
  47823. #. type: deffn
  47824. #: guix-git/doc/guix.texi:32336
  47825. #, no-wrap
  47826. msgid "{Scheme Procedure} raw-initrd @var{file-systems} @"
  47827. msgstr ""
  47828. #. type: deffn
  47829. #: guix-git/doc/guix.texi:32350
  47830. 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."
  47831. msgstr ""
  47832. #. type: deffn
  47833. #: guix-git/doc/guix.texi:32356 guix-git/doc/guix.texi:32380
  47834. 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."
  47835. msgstr ""
  47836. #. type: deffn
  47837. #: guix-git/doc/guix.texi:32360
  47838. 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."
  47839. msgstr ""
  47840. #. type: deffn
  47841. #: guix-git/doc/guix.texi:32363
  47842. msgid "When @var{volatile-root?} is true, the root file system is writable but any changes to it are lost."
  47843. msgstr ""
  47844. #. type: deffn
  47845. #: guix-git/doc/guix.texi:32365
  47846. #, no-wrap
  47847. msgid "{Scheme Procedure} base-initrd @var{file-systems} @"
  47848. msgstr ""
  47849. #. type: deffn
  47850. #: guix-git/doc/guix.texi:32374
  47851. 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."
  47852. msgstr ""
  47853. #. type: deffn
  47854. #: guix-git/doc/guix.texi:32382
  47855. msgid "@var{qemu-networking?} and @var{volatile-root?} behaves as in @code{raw-initrd}."
  47856. msgstr ""
  47857. #. type: deffn
  47858. #: guix-git/doc/guix.texi:32387
  47859. 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."
  47860. msgstr ""
  47861. #. type: Plain text
  47862. #: guix-git/doc/guix.texi:32394
  47863. 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."
  47864. msgstr ""
  47865. #. type: deffn
  47866. #: guix-git/doc/guix.texi:32395
  47867. #, no-wrap
  47868. msgid "{Scheme Procedure} expression->initrd @var{exp} @"
  47869. msgstr ""
  47870. #. type: deffn
  47871. #: guix-git/doc/guix.texi:32401
  47872. msgid "[#:guile %guile-3.0-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."
  47873. msgstr ""
  47874. #. type: cindex
  47875. #: guix-git/doc/guix.texi:32407
  47876. #, no-wrap
  47877. msgid "boot loader"
  47878. msgstr ""
  47879. #. type: Plain text
  47880. #: guix-git/doc/guix.texi:32414
  47881. 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."
  47882. msgstr ""
  47883. #. type: Plain text
  47884. #: guix-git/doc/guix.texi:32419
  47885. 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."
  47886. msgstr ""
  47887. #. type: deftp
  47888. #: guix-git/doc/guix.texi:32420
  47889. #, no-wrap
  47890. msgid "{Data Type} bootloader-configuration"
  47891. msgstr ""
  47892. #. type: deftp
  47893. #: guix-git/doc/guix.texi:32422
  47894. msgid "The type of a bootloader configuration declaration."
  47895. msgstr ""
  47896. #. type: cindex
  47897. #: guix-git/doc/guix.texi:32426
  47898. #, no-wrap
  47899. msgid "EFI, bootloader"
  47900. msgstr ""
  47901. #. type: cindex
  47902. #: guix-git/doc/guix.texi:32427
  47903. #, no-wrap
  47904. msgid "UEFI, bootloader"
  47905. msgstr ""
  47906. #. type: cindex
  47907. #: guix-git/doc/guix.texi:32428
  47908. #, no-wrap
  47909. msgid "BIOS, bootloader"
  47910. msgstr ""
  47911. #. type: table
  47912. #: guix-git/doc/guix.texi:32433
  47913. 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."
  47914. msgstr ""
  47915. #. type: cindex
  47916. #: guix-git/doc/guix.texi:32434
  47917. #, no-wrap
  47918. msgid "ARM, bootloaders"
  47919. msgstr ""
  47920. #. type: cindex
  47921. #: guix-git/doc/guix.texi:32435
  47922. #, no-wrap
  47923. msgid "AArch64, bootloaders"
  47924. msgstr ""
  47925. #. type: table
  47926. #: guix-git/doc/guix.texi:32440
  47927. 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}."
  47928. msgstr ""
  47929. #. type: table
  47930. #: guix-git/doc/guix.texi:32446
  47931. 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."
  47932. msgstr ""
  47933. #. type: table
  47934. #: guix-git/doc/guix.texi:32450
  47935. msgid "@code{grub-bootloader} allows you to boot in particular Intel-based machines in ``legacy'' BIOS mode."
  47936. msgstr ""
  47937. #. type: vindex
  47938. #: guix-git/doc/guix.texi:32451
  47939. #, no-wrap
  47940. msgid "grub-efi-netboot-bootloader"
  47941. msgstr ""
  47942. #. type: table
  47943. #: guix-git/doc/guix.texi:32455
  47944. 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."
  47945. msgstr ""
  47946. #. type: table
  47947. #: guix-git/doc/guix.texi:32461
  47948. 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."
  47949. msgstr ""
  47950. #. type: table
  47951. #: guix-git/doc/guix.texi:32470
  47952. 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}."
  47953. msgstr ""
  47954. #. type: table
  47955. #: guix-git/doc/guix.texi:32478
  47956. 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."
  47957. msgstr ""
  47958. #. type: table
  47959. #: guix-git/doc/guix.texi:32483
  47960. 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."
  47961. msgstr ""
  47962. #. type: table
  47963. #: guix-git/doc/guix.texi:32487
  47964. 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}."
  47965. msgstr ""
  47966. #. type: table
  47967. #: guix-git/doc/guix.texi:32492
  47968. 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."
  47969. msgstr ""
  47970. #. type: table
  47971. #: guix-git/doc/guix.texi:32497
  47972. 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}."
  47973. msgstr ""
  47974. #. type: table
  47975. #: guix-git/doc/guix.texi:32501
  47976. msgid "This is a string denoting the target onto which to install the bootloader."
  47977. msgstr ""
  47978. #. type: table
  47979. #: guix-git/doc/guix.texi:32510
  47980. 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."
  47981. msgstr ""
  47982. #. type: item
  47983. #: guix-git/doc/guix.texi:32511
  47984. #, no-wrap
  47985. msgid "@code{menu-entries} (default: @code{()})"
  47986. msgstr ""
  47987. #. type: table
  47988. #: guix-git/doc/guix.texi:32515
  47989. 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."
  47990. msgstr ""
  47991. #. type: item
  47992. #: guix-git/doc/guix.texi:32516
  47993. #, no-wrap
  47994. msgid "@code{default-entry} (default: @code{0})"
  47995. msgstr ""
  47996. #. type: table
  47997. #: guix-git/doc/guix.texi:32519
  47998. msgid "The index of the default boot menu entry. Index 0 is for the entry of the current system."
  47999. msgstr ""
  48000. #. type: item
  48001. #: guix-git/doc/guix.texi:32520
  48002. #, no-wrap
  48003. msgid "@code{timeout} (default: @code{5})"
  48004. msgstr ""
  48005. #. type: table
  48006. #: guix-git/doc/guix.texi:32523
  48007. msgid "The number of seconds to wait for keyboard input before booting. Set to 0 to boot immediately, and to -1 to wait indefinitely."
  48008. msgstr ""
  48009. #. type: cindex
  48010. #: guix-git/doc/guix.texi:32524
  48011. #, no-wrap
  48012. msgid "keyboard layout, for the bootloader"
  48013. msgstr "disposição do teclado, para o gerenciador de boot"
  48014. #. type: table
  48015. #: guix-git/doc/guix.texi:32528
  48016. msgid "If this is @code{#f}, the bootloader's menu (if any) uses the default keyboard layout, usually US@tie{}English (``qwerty'')."
  48017. msgstr ""
  48018. #. type: table
  48019. #: guix-git/doc/guix.texi:32531
  48020. msgid "Otherwise, this must be a @code{keyboard-layout} object (@pxref{Keyboard Layout})."
  48021. msgstr ""
  48022. #. type: quotation
  48023. #: guix-git/doc/guix.texi:32535
  48024. msgid "This option is currently ignored by bootloaders other than @code{grub} and @code{grub-efi}."
  48025. msgstr ""
  48026. #. type: item
  48027. #: guix-git/doc/guix.texi:32537
  48028. #, no-wrap
  48029. msgid "@code{theme} (default: @var{#f})"
  48030. msgstr ""
  48031. #. type: table
  48032. #: guix-git/doc/guix.texi:32541
  48033. 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."
  48034. msgstr ""
  48035. #. type: item
  48036. #: guix-git/doc/guix.texi:32542
  48037. #, no-wrap
  48038. msgid "@code{terminal-outputs} (default: @code{'(gfxterm)})"
  48039. msgstr ""
  48040. #. type: table
  48041. #: guix-git/doc/guix.texi:32549
  48042. 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})."
  48043. msgstr ""
  48044. #. type: item
  48045. #: guix-git/doc/guix.texi:32550
  48046. #, no-wrap
  48047. msgid "@code{terminal-inputs} (default: @code{'()})"
  48048. msgstr ""
  48049. #. type: table
  48050. #: guix-git/doc/guix.texi:32558
  48051. 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})."
  48052. msgstr ""
  48053. #. type: item
  48054. #: guix-git/doc/guix.texi:32559
  48055. #, no-wrap
  48056. msgid "@code{serial-unit} (default: @code{#f})"
  48057. msgstr ""
  48058. #. type: table
  48059. #: guix-git/doc/guix.texi:32563
  48060. 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})."
  48061. msgstr ""
  48062. #. type: item
  48063. #: guix-git/doc/guix.texi:32564
  48064. #, no-wrap
  48065. msgid "@code{serial-speed} (default: @code{#f})"
  48066. msgstr ""
  48067. #. type: table
  48068. #: guix-git/doc/guix.texi:32568
  48069. 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})."
  48070. msgstr ""
  48071. #. type: cindex
  48072. #: guix-git/doc/guix.texi:32572
  48073. #, no-wrap
  48074. msgid "dual boot"
  48075. msgstr ""
  48076. #. type: cindex
  48077. #: guix-git/doc/guix.texi:32573
  48078. #, no-wrap
  48079. msgid "boot menu"
  48080. msgstr ""
  48081. #. type: Plain text
  48082. #: guix-git/doc/guix.texi:32579
  48083. 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:"
  48084. msgstr ""
  48085. #. type: lisp
  48086. #: guix-git/doc/guix.texi:32586
  48087. #, no-wrap
  48088. msgid ""
  48089. "(menu-entry\n"
  48090. " (label \"The Other Distro\")\n"
  48091. " (linux \"/boot/old/vmlinux-2.6.32\")\n"
  48092. " (linux-arguments '(\"root=/dev/sda2\"))\n"
  48093. " (initrd \"/boot/old/initrd\"))\n"
  48094. msgstr ""
  48095. #. type: Plain text
  48096. #: guix-git/doc/guix.texi:32589
  48097. msgid "Details below."
  48098. msgstr ""
  48099. #. type: deftp
  48100. #: guix-git/doc/guix.texi:32590
  48101. #, no-wrap
  48102. msgid "{Data Type} menu-entry"
  48103. msgstr ""
  48104. #. type: deftp
  48105. #: guix-git/doc/guix.texi:32592
  48106. msgid "The type of an entry in the bootloader menu."
  48107. msgstr ""
  48108. #. type: table
  48109. #: guix-git/doc/guix.texi:32597
  48110. msgid "The label to show in the menu---e.g., @code{\"GNU\"}."
  48111. msgstr ""
  48112. #. type: item
  48113. #: guix-git/doc/guix.texi:32598
  48114. #, no-wrap
  48115. msgid "@code{linux} (default: @code{#f})"
  48116. msgstr ""
  48117. #. type: table
  48118. #: guix-git/doc/guix.texi:32600
  48119. msgid "The Linux kernel image to boot, for example:"
  48120. msgstr ""
  48121. #. type: lisp
  48122. #: guix-git/doc/guix.texi:32603
  48123. #, no-wrap
  48124. msgid "(file-append linux-libre \"/bzImage\")\n"
  48125. msgstr ""
  48126. #. type: table
  48127. #: guix-git/doc/guix.texi:32608
  48128. 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:"
  48129. msgstr ""
  48130. #. type: example
  48131. #: guix-git/doc/guix.texi:32611
  48132. #, no-wrap
  48133. msgid "\"(hd0,msdos1)/boot/vmlinuz\"\n"
  48134. msgstr ""
  48135. #. type: table
  48136. #: guix-git/doc/guix.texi:32615
  48137. msgid "If the device is specified explicitly as above, then the @code{device} field is ignored entirely."
  48138. msgstr ""
  48139. #. type: item
  48140. #: guix-git/doc/guix.texi:32616
  48141. #, no-wrap
  48142. msgid "@code{linux-arguments} (default: @code{()})"
  48143. msgstr ""
  48144. #. type: table
  48145. #: guix-git/doc/guix.texi:32619
  48146. msgid "The list of extra Linux kernel command-line arguments---e.g., @code{(\"console=ttyS0\")}."
  48147. msgstr ""
  48148. #. type: item
  48149. #: guix-git/doc/guix.texi:32620
  48150. #, no-wrap
  48151. msgid "@code{initrd} (default: @code{#f})"
  48152. msgstr ""
  48153. #. type: table
  48154. #: guix-git/doc/guix.texi:32623
  48155. msgid "A G-Expression or string denoting the file name of the initial RAM disk to use (@pxref{G-Expressions})."
  48156. msgstr ""
  48157. #. type: item
  48158. #: guix-git/doc/guix.texi:32624
  48159. #, no-wrap
  48160. msgid "@code{device} (default: @code{#f})"
  48161. msgstr "@code{device} (default: @code{#f})"
  48162. #. type: table
  48163. #: guix-git/doc/guix.texi:32627
  48164. 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})."
  48165. msgstr ""
  48166. #. type: table
  48167. #: guix-git/doc/guix.texi:32633
  48168. 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}."
  48169. msgstr ""
  48170. #. type: item
  48171. #: guix-git/doc/guix.texi:32634
  48172. #, no-wrap
  48173. msgid "@code{multiboot-kernel} (default: @code{#f})"
  48174. msgstr ""
  48175. #. type: table
  48176. #: guix-git/doc/guix.texi:32638
  48177. 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:"
  48178. msgstr ""
  48179. #. type: lisp
  48180. #: guix-git/doc/guix.texi:32641
  48181. #, no-wrap
  48182. msgid "(file-append mach \"/boot/gnumach\")\n"
  48183. msgstr ""
  48184. #. type: item
  48185. #: guix-git/doc/guix.texi:32643
  48186. #, no-wrap
  48187. msgid "@code{multiboot-arguments} (default: @code{()})"
  48188. msgstr ""
  48189. #. type: table
  48190. #: guix-git/doc/guix.texi:32645
  48191. msgid "The list of extra command-line arguments for the multiboot-kernel."
  48192. msgstr ""
  48193. #. type: item
  48194. #: guix-git/doc/guix.texi:32646
  48195. #, no-wrap
  48196. msgid "@code{multiboot-modules} (default: @code{()})"
  48197. msgstr ""
  48198. #. type: table
  48199. #: guix-git/doc/guix.texi:32648
  48200. msgid "The list of commands for loading Multiboot modules. For example:"
  48201. msgstr ""
  48202. #. type: lisp
  48203. #: guix-git/doc/guix.texi:32654
  48204. #, no-wrap
  48205. msgid ""
  48206. "(list (list (file-append hurd \"/hurd/ext2fs.static\") \"ext2fs\"\n"
  48207. " @dots{})\n"
  48208. " (list (file-append libc \"/lib/ld.so.1\") \"exec\"\n"
  48209. " @dots{}))\n"
  48210. msgstr ""
  48211. #. type: cindex
  48212. #: guix-git/doc/guix.texi:32659 guix-git/doc/guix.texi:32718
  48213. #, no-wrap
  48214. msgid "HDPI"
  48215. msgstr ""
  48216. #. type: cindex
  48217. #: guix-git/doc/guix.texi:32660 guix-git/doc/guix.texi:32719
  48218. #, no-wrap
  48219. msgid "HiDPI"
  48220. msgstr ""
  48221. #. type: cindex
  48222. #: guix-git/doc/guix.texi:32661 guix-git/doc/guix.texi:32720
  48223. #, no-wrap
  48224. msgid "resolution"
  48225. msgstr ""
  48226. #. type: Plain text
  48227. #: guix-git/doc/guix.texi:32665
  48228. msgid "For now only GRUB has theme support. GRUB themes are created using the @code{grub-theme} form, which is not fully documented yet."
  48229. msgstr ""
  48230. #. type: deftp
  48231. #: guix-git/doc/guix.texi:32666
  48232. #, no-wrap
  48233. msgid "{Data Type} grub-theme"
  48234. msgstr ""
  48235. #. type: deftp
  48236. #: guix-git/doc/guix.texi:32668
  48237. msgid "Data type representing the configuration of the GRUB theme."
  48238. msgstr ""
  48239. #. type: item
  48240. #: guix-git/doc/guix.texi:32670
  48241. #, no-wrap
  48242. msgid "@code{gfxmode} (default: @code{'(\"auto\")})"
  48243. msgstr ""
  48244. #. type: table
  48245. #: guix-git/doc/guix.texi:32673
  48246. msgid "The GRUB @code{gfxmode} to set (a list of screen resolution strings, @pxref{gfxmode,,, grub, GNU GRUB manual})."
  48247. msgstr ""
  48248. #. type: deffn
  48249. #: guix-git/doc/guix.texi:32676
  48250. #, no-wrap
  48251. msgid "{Scheme Procedure} grub-theme"
  48252. msgstr ""
  48253. #. type: deffn
  48254. #: guix-git/doc/guix.texi:32680
  48255. msgid "Return the default GRUB theme used by the operating system if no @code{theme} field is specified in @code{bootloader-configuration} record."
  48256. msgstr ""
  48257. #. type: deffn
  48258. #: guix-git/doc/guix.texi:32683
  48259. msgid "It comes with a fancy background image displaying the GNU and Guix logos."
  48260. msgstr ""
  48261. #. type: Plain text
  48262. #: guix-git/doc/guix.texi:32687
  48263. msgid "For example, to override the default resolution, you may use something like"
  48264. msgstr ""
  48265. #. type: lisp
  48266. #: guix-git/doc/guix.texi:32695
  48267. #, no-wrap
  48268. msgid ""
  48269. "(bootloader\n"
  48270. " (bootloader-configuration\n"
  48271. " ;; @dots{}\n"
  48272. " (theme (grub-theme\n"
  48273. " (inherit (grub-theme))\n"
  48274. " (gfxmode '(\"1024x786x32\" \"auto\"))))))\n"
  48275. msgstr ""
  48276. #. type: section
  48277. #: guix-git/doc/guix.texi:32698
  48278. #, no-wrap
  48279. msgid "Invoking @code{guix system}"
  48280. msgstr "Invocando @code{guix system}"
  48281. #. type: Plain text
  48282. #: guix-git/doc/guix.texi:32703
  48283. 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:"
  48284. msgstr ""
  48285. #. type: example
  48286. #: guix-git/doc/guix.texi:32706
  48287. #, no-wrap
  48288. msgid "guix system @var{options}@dots{} @var{action} @var{file}\n"
  48289. msgstr ""
  48290. #. type: Plain text
  48291. #: guix-git/doc/guix.texi:32712
  48292. 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:"
  48293. msgstr ""
  48294. #. type: item
  48295. #: guix-git/doc/guix.texi:32714
  48296. #, no-wrap
  48297. msgid "search"
  48298. msgstr "pesquisa"
  48299. #. type: table
  48300. #: guix-git/doc/guix.texi:32717
  48301. msgid "Display available service type definitions that match the given regular expressions, sorted by relevance:"
  48302. msgstr ""
  48303. #. type: example
  48304. #: guix-git/doc/guix.texi:32739
  48305. #, no-wrap
  48306. msgid ""
  48307. "$ guix system search console\n"
  48308. "name: console-fonts\n"
  48309. "location: gnu/services/base.scm:806:2\n"
  48310. "extends: shepherd-root\n"
  48311. "description: Install the given fonts on the specified ttys (fonts are per\n"
  48312. "+ virtual console on GNU/Linux). The value of this service is a list of\n"
  48313. "+ tty/font pairs. The font can be the name of a font provided by the `kbd'\n"
  48314. "+ package or any valid argument to `setfont', as in this example:\n"
  48315. "+\n"
  48316. "+ '((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  48317. "+ (\"tty2\" . (file-append\n"
  48318. "+ font-tamzen\n"
  48319. "+ \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  48320. "+ (\"tty3\" . (file-append\n"
  48321. "+ font-terminus\n"
  48322. "+ \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  48323. "relevance: 9\n"
  48324. "\n"
  48325. msgstr ""
  48326. #. type: example
  48327. #: guix-git/doc/guix.texi:32745
  48328. #, no-wrap
  48329. msgid ""
  48330. "name: mingetty\n"
  48331. "location: gnu/services/base.scm:1190:2\n"
  48332. "extends: shepherd-root\n"
  48333. "description: Provide console login using the `mingetty' program.\n"
  48334. "relevance: 2\n"
  48335. "\n"
  48336. msgstr ""
  48337. #. type: example
  48338. #: guix-git/doc/guix.texi:32752
  48339. #, no-wrap
  48340. msgid ""
  48341. "name: login\n"
  48342. "location: gnu/services/base.scm:860:2\n"
  48343. "extends: pam\n"
  48344. "description: Provide a console log-in service as specified by its\n"
  48345. "+ configuration value, a `login-configuration' object.\n"
  48346. "relevance: 2\n"
  48347. "\n"
  48348. msgstr ""
  48349. #. type: example
  48350. #: guix-git/doc/guix.texi:32754
  48351. #, no-wrap
  48352. msgid "@dots{}\n"
  48353. msgstr ""
  48354. #. type: table
  48355. #: guix-git/doc/guix.texi:32759
  48356. 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})."
  48357. msgstr ""
  48358. #. type: item
  48359. #: guix-git/doc/guix.texi:32760
  48360. #, no-wrap
  48361. msgid "reconfigure"
  48362. msgstr ""
  48363. #. type: table
  48364. #: guix-git/doc/guix.texi:32765
  48365. 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.}."
  48366. msgstr ""
  48367. #. type: quotation
  48368. #: guix-git/doc/guix.texi:32773
  48369. 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."
  48370. msgstr ""
  48371. #. type: table
  48372. #: guix-git/doc/guix.texi:32781
  48373. 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})."
  48374. msgstr ""
  48375. #. type: table
  48376. #: guix-git/doc/guix.texi:32787
  48377. 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})."
  48378. msgstr ""
  48379. #. type: table
  48380. #: guix-git/doc/guix.texi:32792
  48381. 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."
  48382. msgstr ""
  48383. #. type: cindex
  48384. #: guix-git/doc/guix.texi:32793 guix-git/doc/guix.texi:33118
  48385. #: guix-git/doc/guix.texi:34066
  48386. #, no-wrap
  48387. msgid "provenance tracking, of the operating system"
  48388. msgstr ""
  48389. #. type: table
  48390. #: guix-git/doc/guix.texi:32798
  48391. 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:"
  48392. msgstr ""
  48393. #. type: example
  48394. #: guix-git/doc/guix.texi:32801
  48395. #, no-wrap
  48396. msgid "guix system describe\n"
  48397. msgstr ""
  48398. #. type: table
  48399. #: guix-git/doc/guix.texi:32807
  48400. 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:"
  48401. msgstr ""
  48402. #. type: example
  48403. #: guix-git/doc/guix.texi:32813
  48404. #, no-wrap
  48405. msgid ""
  48406. "guix time-machine \\\n"
  48407. " -C /var/guix/profiles/system-@var{n}-link/channels.scm -- \\\n"
  48408. " system reconfigure \\\n"
  48409. " /var/guix/profiles/system-@var{n}-link/configuration.scm\n"
  48410. msgstr ""
  48411. #. type: table
  48412. #: guix-git/doc/guix.texi:32819
  48413. 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."
  48414. msgstr ""
  48415. #. type: table
  48416. #: guix-git/doc/guix.texi:32825
  48417. 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}."
  48418. msgstr ""
  48419. #. type: item
  48420. #: guix-git/doc/guix.texi:32826
  48421. #, no-wrap
  48422. msgid "switch-generation"
  48423. msgstr ""
  48424. #. type: table
  48425. #: guix-git/doc/guix.texi:32835
  48426. 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."
  48427. msgstr ""
  48428. #. type: table
  48429. #: guix-git/doc/guix.texi:32839
  48430. msgid "The bootloader itself is not being reinstalled when using this command. Thus, the installed bootloader is used with an updated configuration file."
  48431. msgstr ""
  48432. #. type: table
  48433. #: guix-git/doc/guix.texi:32843
  48434. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to system generation 7:"
  48435. msgstr ""
  48436. #. type: example
  48437. #: guix-git/doc/guix.texi:32846
  48438. #, no-wrap
  48439. msgid "guix system switch-generation 7\n"
  48440. msgstr ""
  48441. #. type: table
  48442. #: guix-git/doc/guix.texi:32854
  48443. 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:"
  48444. msgstr ""
  48445. #. type: example
  48446. #: guix-git/doc/guix.texi:32857
  48447. #, no-wrap
  48448. msgid "guix system switch-generation -- -1\n"
  48449. msgstr ""
  48450. #. type: table
  48451. #: guix-git/doc/guix.texi:32865
  48452. 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."
  48453. msgstr ""
  48454. #. type: table
  48455. #: guix-git/doc/guix.texi:32867
  48456. msgid "This action will fail if the specified generation does not exist."
  48457. msgstr ""
  48458. #. type: item
  48459. #: guix-git/doc/guix.texi:32868
  48460. #, no-wrap
  48461. msgid "roll-back"
  48462. msgstr ""
  48463. #. type: table
  48464. #: guix-git/doc/guix.texi:32874
  48465. 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}."
  48466. msgstr ""
  48467. #. type: table
  48468. #: guix-git/doc/guix.texi:32878
  48469. msgid "Currently, as with @command{switch-generation}, you must reboot after running this action to actually start using the preceding system generation."
  48470. msgstr ""
  48471. #. type: item
  48472. #: guix-git/doc/guix.texi:32879
  48473. #, no-wrap
  48474. msgid "delete-generations"
  48475. msgstr ""
  48476. #. type: cindex
  48477. #: guix-git/doc/guix.texi:32880
  48478. #, no-wrap
  48479. msgid "deleting system generations"
  48480. msgstr ""
  48481. #. type: cindex
  48482. #: guix-git/doc/guix.texi:32881
  48483. #, no-wrap
  48484. msgid "saving space"
  48485. msgstr ""
  48486. #. type: table
  48487. #: guix-git/doc/guix.texi:32885
  48488. msgid "Delete system generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  48489. msgstr ""
  48490. #. type: table
  48491. #: guix-git/doc/guix.texi:32889
  48492. 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:"
  48493. msgstr ""
  48494. #. type: example
  48495. #: guix-git/doc/guix.texi:32892
  48496. #, no-wrap
  48497. msgid "guix system delete-generations\n"
  48498. msgstr ""
  48499. #. type: table
  48500. #: guix-git/doc/guix.texi:32896
  48501. 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:"
  48502. msgstr ""
  48503. #. type: example
  48504. #: guix-git/doc/guix.texi:32899
  48505. #, no-wrap
  48506. msgid "guix system delete-generations 2m\n"
  48507. msgstr ""
  48508. #. type: table
  48509. #: guix-git/doc/guix.texi:32904
  48510. 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."
  48511. msgstr ""
  48512. #. type: table
  48513. #: guix-git/doc/guix.texi:32909
  48514. 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."
  48515. msgstr ""
  48516. #. type: item
  48517. #: guix-git/doc/guix.texi:32910
  48518. #, no-wrap
  48519. msgid "init"
  48520. msgstr ""
  48521. #. type: table
  48522. #: guix-git/doc/guix.texi:32914
  48523. 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:"
  48524. msgstr ""
  48525. #. type: example
  48526. #: guix-git/doc/guix.texi:32917
  48527. #, no-wrap
  48528. msgid "guix system init my-os-config.scm /mnt\n"
  48529. msgstr ""
  48530. #. type: table
  48531. #: guix-git/doc/guix.texi:32924
  48532. 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."
  48533. msgstr ""
  48534. #. type: table
  48535. #: guix-git/doc/guix.texi:32928
  48536. msgid "This command also installs bootloader on the target specified in @file{my-os-config}, unless the @option{--no-bootloader} option was passed."
  48537. msgstr ""
  48538. #. type: item
  48539. #: guix-git/doc/guix.texi:32929
  48540. #, no-wrap
  48541. msgid "vm"
  48542. msgstr ""
  48543. #. type: cindex
  48544. #: guix-git/doc/guix.texi:32930 guix-git/doc/guix.texi:33491
  48545. #, no-wrap
  48546. msgid "virtual machine"
  48547. msgstr ""
  48548. #. type: cindex
  48549. #: guix-git/doc/guix.texi:32931
  48550. #, no-wrap
  48551. msgid "VM"
  48552. msgstr ""
  48553. #. type: anchor{#1}
  48554. #: guix-git/doc/guix.texi:32935
  48555. msgid "guix system vm"
  48556. msgstr "guix system vm"
  48557. #. type: table
  48558. #: guix-git/doc/guix.texi:32935
  48559. msgid "Build a virtual machine that contains the operating system declared in @var{file}, and return a script to run that virtual machine (VM)."
  48560. msgstr ""
  48561. #. type: quotation
  48562. #: guix-git/doc/guix.texi:32943
  48563. 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})."
  48564. msgstr ""
  48565. #. type: table
  48566. #: guix-git/doc/guix.texi:32948
  48567. 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:"
  48568. msgstr ""
  48569. #. type: example
  48570. #: guix-git/doc/guix.texi:32951
  48571. #, no-wrap
  48572. msgid "$ /gnu/store/@dots{}-run-vm.sh -m 1024 -smp 2 -net user,model=virtio-net-pci\n"
  48573. msgstr ""
  48574. #. type: table
  48575. #: guix-git/doc/guix.texi:32954
  48576. msgid "The VM shares its store with the host system."
  48577. msgstr ""
  48578. #. type: table
  48579. #: guix-git/doc/guix.texi:32959
  48580. 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."
  48581. msgstr ""
  48582. #. type: table
  48583. #: guix-git/doc/guix.texi:32963
  48584. 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:"
  48585. msgstr ""
  48586. #. type: example
  48587. #: guix-git/doc/guix.texi:32967
  48588. #, no-wrap
  48589. msgid ""
  48590. "guix system vm my-config.scm \\\n"
  48591. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  48592. msgstr ""
  48593. #. type: table
  48594. #: guix-git/doc/guix.texi:32972
  48595. 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."
  48596. msgstr ""
  48597. #. type: table
  48598. #: guix-git/doc/guix.texi:32978
  48599. 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."
  48600. msgstr ""
  48601. #. type: cindex
  48602. #: guix-git/doc/guix.texi:32979
  48603. #, no-wrap
  48604. msgid "System images, creation in various formats"
  48605. msgstr ""
  48606. #. type: cindex
  48607. #: guix-git/doc/guix.texi:32980
  48608. #, no-wrap
  48609. msgid "Creating system images in various formats"
  48610. msgstr ""
  48611. #. type: item
  48612. #: guix-git/doc/guix.texi:32981
  48613. #, no-wrap
  48614. msgid "image"
  48615. msgstr ""
  48616. #. type: itemx
  48617. #: guix-git/doc/guix.texi:32982
  48618. #, no-wrap
  48619. msgid "docker-image"
  48620. msgstr ""
  48621. #. type: table
  48622. #: guix-git/doc/guix.texi:32990
  48623. 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}."
  48624. msgstr ""
  48625. #. type: cindex
  48626. #: guix-git/doc/guix.texi:32991
  48627. #, no-wrap
  48628. msgid "image, creating disk images"
  48629. msgstr ""
  48630. #. type: table
  48631. #: guix-git/doc/guix.texi:33003
  48632. 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:"
  48633. msgstr ""
  48634. #. type: example
  48635. #: guix-git/doc/guix.texi:33011
  48636. #, no-wrap
  48637. msgid ""
  48638. "image=$(guix system image --image-type=qcow2 \\\n"
  48639. " gnu/system/examples/lightweight-desktop.tmpl)\n"
  48640. "cp $image /tmp/my-image.qcow2\n"
  48641. "chmod +w /tmp/my-image.qcow2\n"
  48642. "qemu-system-x86_64 -enable-kvm -hda /tmp/my-image.qcow2 -m 1000 \\\n"
  48643. " -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin\n"
  48644. msgstr ""
  48645. #. type: table
  48646. #: guix-git/doc/guix.texi:33017
  48647. 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:"
  48648. msgstr ""
  48649. #. type: example
  48650. #: guix-git/doc/guix.texi:33020
  48651. #, no-wrap
  48652. msgid "# dd if=$(guix system image my-os.scm) of=/dev/sdc status=progress\n"
  48653. msgstr ""
  48654. #. type: table
  48655. #: guix-git/doc/guix.texi:33024
  48656. msgid "The @code{--list-image-types} command lists all the available image types."
  48657. msgstr ""
  48658. #. type: cindex
  48659. #: guix-git/doc/guix.texi:33025
  48660. #, no-wrap
  48661. msgid "creating virtual machine images"
  48662. msgstr ""
  48663. #. type: table
  48664. #: guix-git/doc/guix.texi:33034
  48665. 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)."
  48666. msgstr ""
  48667. #. type: cindex
  48668. #: guix-git/doc/guix.texi:33035
  48669. #, no-wrap
  48670. msgid "docker-image, creating docker images"
  48671. msgstr ""
  48672. #. type: table
  48673. #: guix-git/doc/guix.texi:33041
  48674. 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:"
  48675. msgstr ""
  48676. #. type: example
  48677. #: guix-git/doc/guix.texi:33046
  48678. #, no-wrap
  48679. msgid ""
  48680. "image_id=\"$(docker load < guix-system-docker-image.tar.gz)\"\n"
  48681. "container_id=\"$(docker create $image_id)\"\n"
  48682. "docker start $container_id\n"
  48683. msgstr ""
  48684. #. type: table
  48685. #: guix-git/doc/guix.texi:33053
  48686. 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}:"
  48687. msgstr ""
  48688. #. type: example
  48689. #: guix-git/doc/guix.texi:33056
  48690. #, no-wrap
  48691. msgid "docker exec -ti $container_id /run/current-system/profile/bin/bash --login\n"
  48692. msgstr ""
  48693. #. type: table
  48694. #: guix-git/doc/guix.texi:33063
  48695. 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}."
  48696. msgstr ""
  48697. #. type: table
  48698. #: guix-git/doc/guix.texi:33067
  48699. 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."
  48700. msgstr ""
  48701. #. type: table
  48702. #: guix-git/doc/guix.texi:33075
  48703. 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."
  48704. msgstr ""
  48705. #. type: table
  48706. #: guix-git/doc/guix.texi:33079
  48707. 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."
  48708. msgstr ""
  48709. #. type: table
  48710. #: guix-git/doc/guix.texi:33083
  48711. 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:"
  48712. msgstr ""
  48713. #. type: example
  48714. #: guix-git/doc/guix.texi:33087
  48715. #, no-wrap
  48716. msgid ""
  48717. "guix system container my-config.scm \\\n"
  48718. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  48719. msgstr ""
  48720. #. type: quotation
  48721. #: guix-git/doc/guix.texi:33091
  48722. msgid "This option requires Linux-libre 3.19 or newer."
  48723. msgstr ""
  48724. #. type: Plain text
  48725. #: guix-git/doc/guix.texi:33098
  48726. 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:"
  48727. msgstr ""
  48728. #. type: table
  48729. #: guix-git/doc/guix.texi:33107
  48730. 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})."
  48731. msgstr ""
  48732. #. type: table
  48733. #: guix-git/doc/guix.texi:33112
  48734. msgid "Attempt to build for @var{system} instead of the host system type. This works as per @command{guix build} (@pxref{Invoking guix build})."
  48735. msgstr ""
  48736. #. type: table
  48737. #: guix-git/doc/guix.texi:33117
  48738. msgid "Return the derivation file name of the given operating system without building anything."
  48739. msgstr ""
  48740. #. type: table
  48741. #: guix-git/doc/guix.texi:33126
  48742. 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:"
  48743. msgstr ""
  48744. #. type: example
  48745. #: guix-git/doc/guix.texi:33129
  48746. #, no-wrap
  48747. msgid "guix system image -t qcow2 --save-provenance config.scm\n"
  48748. msgstr ""
  48749. #. type: table
  48750. #: guix-git/doc/guix.texi:33136
  48751. 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."
  48752. msgstr ""
  48753. #. type: item
  48754. #: guix-git/doc/guix.texi:33137
  48755. #, no-wrap
  48756. msgid "--image-type=@var{type}"
  48757. msgstr ""
  48758. #. type: table
  48759. #: guix-git/doc/guix.texi:33140
  48760. msgid "For the @code{image} action, create an image with given @var{type}."
  48761. msgstr ""
  48762. #. type: table
  48763. #: guix-git/doc/guix.texi:33143
  48764. msgid "When this option is omitted, @command{guix system} uses the @code{efi-raw} image type."
  48765. msgstr ""
  48766. #. type: cindex
  48767. #: guix-git/doc/guix.texi:33144
  48768. #, no-wrap
  48769. msgid "ISO-9660 format"
  48770. msgstr ""
  48771. #. type: cindex
  48772. #: guix-git/doc/guix.texi:33145
  48773. #, no-wrap
  48774. msgid "CD image format"
  48775. msgstr ""
  48776. #. type: cindex
  48777. #: guix-git/doc/guix.texi:33146
  48778. #, no-wrap
  48779. msgid "DVD image format"
  48780. msgstr ""
  48781. #. type: table
  48782. #: guix-git/doc/guix.texi:33149
  48783. msgid "@option{--image-type=iso9660} produces an ISO-9660 image, suitable for burning on CDs and DVDs."
  48784. msgstr ""
  48785. #. type: item
  48786. #: guix-git/doc/guix.texi:33150
  48787. #, no-wrap
  48788. msgid "--image-size=@var{size}"
  48789. msgstr ""
  48790. #. type: table
  48791. #: guix-git/doc/guix.texi:33155
  48792. 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})."
  48793. msgstr ""
  48794. #. type: table
  48795. #: guix-git/doc/guix.texi:33159
  48796. 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}."
  48797. msgstr ""
  48798. #. type: table
  48799. #: guix-git/doc/guix.texi:33164
  48800. msgid "For the @code{container} action, allow containers to access the host network, that is, do not create a network namespace."
  48801. msgstr ""
  48802. #. type: item
  48803. #: guix-git/doc/guix.texi:33170
  48804. #, no-wrap
  48805. msgid "--skip-checks"
  48806. msgstr ""
  48807. #. type: table
  48808. #: guix-git/doc/guix.texi:33172
  48809. msgid "Skip pre-installation safety checks."
  48810. msgstr ""
  48811. #. type: table
  48812. #: guix-git/doc/guix.texi:33179
  48813. 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."
  48814. msgstr ""
  48815. #. type: table
  48816. #: guix-git/doc/guix.texi:33182
  48817. msgid "Instruct @command{guix system reconfigure} to allow system downgrades."
  48818. msgstr ""
  48819. #. type: table
  48820. #: guix-git/doc/guix.texi:33190
  48821. 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."
  48822. msgstr ""
  48823. #. type: cindex
  48824. #: guix-git/doc/guix.texi:33196
  48825. #, no-wrap
  48826. msgid "on-error"
  48827. msgstr ""
  48828. #. type: cindex
  48829. #: guix-git/doc/guix.texi:33197
  48830. #, no-wrap
  48831. msgid "on-error strategy"
  48832. msgstr ""
  48833. #. type: cindex
  48834. #: guix-git/doc/guix.texi:33198
  48835. #, no-wrap
  48836. msgid "error strategy"
  48837. msgstr ""
  48838. #. type: item
  48839. #: guix-git/doc/guix.texi:33199
  48840. #, no-wrap
  48841. msgid "--on-error=@var{strategy}"
  48842. msgstr ""
  48843. #. type: table
  48844. #: guix-git/doc/guix.texi:33202
  48845. msgid "Apply @var{strategy} when an error occurs when reading @var{file}. @var{strategy} may be one of the following:"
  48846. msgstr ""
  48847. #. type: item
  48848. #: guix-git/doc/guix.texi:33204
  48849. #, no-wrap
  48850. msgid "nothing-special"
  48851. msgstr ""
  48852. #. type: table
  48853. #: guix-git/doc/guix.texi:33206
  48854. msgid "Report the error concisely and exit. This is the default strategy."
  48855. msgstr ""
  48856. #. type: item
  48857. #: guix-git/doc/guix.texi:33207
  48858. #, no-wrap
  48859. msgid "backtrace"
  48860. msgstr ""
  48861. #. type: table
  48862. #: guix-git/doc/guix.texi:33209
  48863. msgid "Likewise, but also display a backtrace."
  48864. msgstr ""
  48865. #. type: item
  48866. #: guix-git/doc/guix.texi:33210
  48867. #, no-wrap
  48868. msgid "debug"
  48869. msgstr "depuração"
  48870. #. type: table
  48871. #: guix-git/doc/guix.texi:33216
  48872. 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."
  48873. msgstr ""
  48874. #. type: Plain text
  48875. #: guix-git/doc/guix.texi:33223
  48876. 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:"
  48877. msgstr ""
  48878. #. type: item
  48879. #: guix-git/doc/guix.texi:33226
  48880. #, no-wrap
  48881. msgid "describe"
  48882. msgstr ""
  48883. #. type: table
  48884. #: guix-git/doc/guix.texi:33229
  48885. msgid "Describe the current system generation: its file name, the kernel and bootloader used, etc., as well as provenance information when available."
  48886. msgstr ""
  48887. #. type: item
  48888. #: guix-git/doc/guix.texi:33230
  48889. #, no-wrap
  48890. msgid "list-generations"
  48891. msgstr ""
  48892. #. type: table
  48893. #: guix-git/doc/guix.texi:33235
  48894. 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})."
  48895. msgstr ""
  48896. #. type: table
  48897. #: guix-git/doc/guix.texi:33240
  48898. 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:"
  48899. msgstr ""
  48900. #. type: example
  48901. #: guix-git/doc/guix.texi:33243
  48902. #, no-wrap
  48903. msgid "$ guix system list-generations 10d\n"
  48904. msgstr "$ guix system list-generations 10d\n"
  48905. #. type: Plain text
  48906. #: guix-git/doc/guix.texi:33250
  48907. 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:"
  48908. msgstr ""
  48909. #. type: anchor{#1}
  48910. #: guix-git/doc/guix.texi:33252
  48911. msgid "system-extension-graph"
  48912. msgstr "system-extension-graph"
  48913. #. type: item
  48914. #: guix-git/doc/guix.texi:33254
  48915. #, no-wrap
  48916. msgid "extension-graph"
  48917. msgstr "extension-graph"
  48918. #. type: table
  48919. #: guix-git/doc/guix.texi:33261
  48920. 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}}):"
  48921. msgstr ""
  48922. #. type: table
  48923. #: guix-git/doc/guix.texi:33263
  48924. msgid "The command:"
  48925. msgstr "O comando:"
  48926. #. type: example
  48927. #: guix-git/doc/guix.texi:33266
  48928. #, no-wrap
  48929. msgid "$ guix system extension-graph @var{file} | xdot -\n"
  48930. msgstr ""
  48931. #. type: table
  48932. #: guix-git/doc/guix.texi:33269
  48933. msgid "shows the extension relations among services."
  48934. msgstr ""
  48935. #. type: anchor{#1}
  48936. #: guix-git/doc/guix.texi:33271
  48937. msgid "system-shepherd-graph"
  48938. msgstr "system-shepherd-graph"
  48939. #. type: item
  48940. #: guix-git/doc/guix.texi:33271
  48941. #, no-wrap
  48942. msgid "shepherd-graph"
  48943. msgstr "shepherd-graph"
  48944. #. type: table
  48945. #: guix-git/doc/guix.texi:33276
  48946. 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."
  48947. msgstr ""
  48948. #. type: table
  48949. #: guix-git/doc/guix.texi:33279
  48950. msgid "Again, the default output format is Dot/Graphviz, but you can pass @option{--graph-backend} to select a different one."
  48951. msgstr ""
  48952. #. type: section
  48953. #: guix-git/doc/guix.texi:33283
  48954. #, no-wrap
  48955. msgid "Invoking @code{guix deploy}"
  48956. msgstr ""
  48957. #. type: Plain text
  48958. #: guix-git/doc/guix.texi:33291
  48959. 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''."
  48960. msgstr ""
  48961. #. type: quotation
  48962. #: guix-git/doc/guix.texi:33296
  48963. 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}!"
  48964. msgstr ""
  48965. #. type: example
  48966. #: guix-git/doc/guix.texi:33300
  48967. #, no-wrap
  48968. msgid "guix deploy @var{file}\n"
  48969. msgstr ""
  48970. #. type: Plain text
  48971. #: guix-git/doc/guix.texi:33304
  48972. 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:"
  48973. msgstr ""
  48974. #. type: lisp
  48975. #: guix-git/doc/guix.texi:33311
  48976. #, no-wrap
  48977. msgid ""
  48978. ";; This is a Guix deployment of a \"bare bones\" setup, with\n"
  48979. ";; no X11 display server, to a machine with an SSH daemon\n"
  48980. ";; listening on localhost:2222. A configuration such as this\n"
  48981. ";; may be appropriate for virtual machine with ports\n"
  48982. ";; forwarded to the host's loopback interface.\n"
  48983. "\n"
  48984. msgstr ""
  48985. #. type: lisp
  48986. #: guix-git/doc/guix.texi:33314
  48987. #, no-wrap
  48988. msgid ""
  48989. "(use-service-modules networking ssh)\n"
  48990. "(use-package-modules bootloaders)\n"
  48991. "\n"
  48992. msgstr ""
  48993. #. type: lisp
  48994. #: guix-git/doc/guix.texi:33335
  48995. #, no-wrap
  48996. msgid ""
  48997. "(define %system\n"
  48998. " (operating-system\n"
  48999. " (host-name \"gnu-deployed\")\n"
  49000. " (timezone \"Etc/UTC\")\n"
  49001. " (bootloader (bootloader-configuration\n"
  49002. " (bootloader grub-bootloader)\n"
  49003. " (target \"/dev/vda\")\n"
  49004. " (terminal-outputs '(console))))\n"
  49005. " (file-systems (cons (file-system\n"
  49006. " (mount-point \"/\")\n"
  49007. " (device \"/dev/vda1\")\n"
  49008. " (type \"ext4\"))\n"
  49009. " %base-file-systems))\n"
  49010. " (services\n"
  49011. " (append (list (service dhcp-client-service-type)\n"
  49012. " (service openssh-service-type\n"
  49013. " (openssh-configuration\n"
  49014. " (permit-root-login #t)\n"
  49015. " (allow-empty-passwords? #t))))\n"
  49016. " %base-services))))\n"
  49017. "\n"
  49018. msgstr ""
  49019. #. type: lisp
  49020. #: guix-git/doc/guix.texi:33345
  49021. #, no-wrap
  49022. msgid ""
  49023. "(list (machine\n"
  49024. " (operating-system %system)\n"
  49025. " (environment managed-host-environment-type)\n"
  49026. " (configuration (machine-ssh-configuration\n"
  49027. " (host-name \"localhost\")\n"
  49028. " (system \"x86_64-linux\")\n"
  49029. " (user \"alice\")\n"
  49030. " (identity \"./id_rsa\")\n"
  49031. " (port 2222)))))\n"
  49032. msgstr ""
  49033. #. type: Plain text
  49034. #: guix-git/doc/guix.texi:33358
  49035. 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."
  49036. msgstr ""
  49037. #. type: Plain text
  49038. #: guix-git/doc/guix.texi:33363
  49039. 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:"
  49040. msgstr ""
  49041. #. type: Plain text
  49042. #: guix-git/doc/guix.texi:33371
  49043. msgid "Each target machine must authorize the key of the master machine so that it accepts store items it receives from the coordinator:"
  49044. msgstr ""
  49045. #. type: example
  49046. #: guix-git/doc/guix.texi:33374
  49047. #, no-wrap
  49048. msgid "# guix archive --authorize < coordinator-public-key.txt\n"
  49049. msgstr ""
  49050. #. type: Plain text
  49051. #: guix-git/doc/guix.texi:33385
  49052. 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:"
  49053. msgstr ""
  49054. #. type: lisp
  49055. #: guix-git/doc/guix.texi:33389
  49056. #, no-wrap
  49057. msgid ""
  49058. "(use-modules ...\n"
  49059. " (gnu system)) ;for %sudoers-specification\n"
  49060. "\n"
  49061. msgstr ""
  49062. #. type: lisp
  49063. #: guix-git/doc/guix.texi:33391
  49064. #, no-wrap
  49065. msgid ""
  49066. "(define %user \"username\")\n"
  49067. "\n"
  49068. msgstr ""
  49069. #. type: lisp
  49070. #: guix-git/doc/guix.texi:33399
  49071. #, no-wrap
  49072. msgid ""
  49073. "(operating-system\n"
  49074. " ...\n"
  49075. " (sudoers-file\n"
  49076. " (plain-file \"sudoers\"\n"
  49077. " (string-append (plain-file-content %sudoers-specification)\n"
  49078. " (format #f \"~a ALL = NOPASSWD: ALL~%\"\n"
  49079. " %user)))))\n"
  49080. "\n"
  49081. msgstr ""
  49082. #. type: Plain text
  49083. #: guix-git/doc/guix.texi:33404
  49084. msgid "For more information regarding the format of the @file{sudoers} file, consult @command{man sudoers}."
  49085. msgstr ""
  49086. #. type: deftp
  49087. #: guix-git/doc/guix.texi:33405
  49088. #, no-wrap
  49089. msgid "{Data Type} machine"
  49090. msgstr ""
  49091. #. type: deftp
  49092. #: guix-git/doc/guix.texi:33408
  49093. msgid "This is the data type representing a single machine in a heterogeneous Guix deployment."
  49094. msgstr ""
  49095. #. type: table
  49096. #: guix-git/doc/guix.texi:33412
  49097. msgid "The object of the operating system configuration to deploy."
  49098. msgstr ""
  49099. #. type: code{#1}
  49100. #: guix-git/doc/guix.texi:33413
  49101. #, no-wrap
  49102. msgid "environment"
  49103. msgstr ""
  49104. #. type: table
  49105. #: guix-git/doc/guix.texi:33415
  49106. msgid "An @code{environment-type} describing how the machine should be provisioned."
  49107. msgstr ""
  49108. #. type: item
  49109. #: guix-git/doc/guix.texi:33416
  49110. #, no-wrap
  49111. msgid "@code{configuration} (default: @code{#f})"
  49112. msgstr ""
  49113. #. type: table
  49114. #: guix-git/doc/guix.texi:33421
  49115. 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."
  49116. msgstr ""
  49117. #. type: deftp
  49118. #: guix-git/doc/guix.texi:33424
  49119. #, no-wrap
  49120. msgid "{Data Type} machine-ssh-configuration"
  49121. msgstr ""
  49122. #. type: deftp
  49123. #: guix-git/doc/guix.texi:33427
  49124. msgid "This is the data type representing the SSH client parameters for a machine with an @code{environment} of @code{managed-host-environment-type}."
  49125. msgstr ""
  49126. #. type: item
  49127. #: guix-git/doc/guix.texi:33430
  49128. #, no-wrap
  49129. msgid "@code{build-locally?} (default: @code{#t})"
  49130. msgstr ""
  49131. #. type: table
  49132. #: guix-git/doc/guix.texi:33432
  49133. msgid "If false, system derivations will be built on the machine being deployed to."
  49134. msgstr ""
  49135. #. type: code{#1}
  49136. #: guix-git/doc/guix.texi:33432
  49137. #, no-wrap
  49138. msgid "system"
  49139. msgstr "system"
  49140. #. type: table
  49141. #: guix-git/doc/guix.texi:33435
  49142. msgid "The system type describing the architecture of the machine being deployed to---e.g., @code{\"x86_64-linux\"}."
  49143. msgstr ""
  49144. #. type: item
  49145. #: guix-git/doc/guix.texi:33435
  49146. #, no-wrap
  49147. msgid "@code{authorize?} (default: @code{#t})"
  49148. msgstr ""
  49149. #. type: table
  49150. #: guix-git/doc/guix.texi:33438
  49151. msgid "If true, the coordinator's signing key will be added to the remote's ACL keyring."
  49152. msgstr ""
  49153. #. type: item
  49154. #: guix-git/doc/guix.texi:33439
  49155. #, no-wrap
  49156. msgid "@code{user} (default: @code{\"root\"})"
  49157. msgstr ""
  49158. #. type: item
  49159. #: guix-git/doc/guix.texi:33440
  49160. #, no-wrap
  49161. msgid "@code{identity} (default: @code{#f})"
  49162. msgstr ""
  49163. #. type: table
  49164. #: guix-git/doc/guix.texi:33443
  49165. msgid "If specified, the path to the SSH private key to use to authenticate with the remote host."
  49166. msgstr ""
  49167. #. type: item
  49168. #: guix-git/doc/guix.texi:33444
  49169. #, no-wrap
  49170. msgid "@code{host-key} (default: @code{#f})"
  49171. msgstr ""
  49172. #. type: table
  49173. #: guix-git/doc/guix.texi:33446
  49174. msgid "This should be the SSH host key of the machine, which looks like this:"
  49175. msgstr ""
  49176. #. type: example
  49177. #: guix-git/doc/guix.texi:33449
  49178. #, no-wrap
  49179. msgid "ssh-ed25519 AAAAC3Nz@dots{} root@@example.org\n"
  49180. msgstr ""
  49181. #. type: table
  49182. #: guix-git/doc/guix.texi:33454
  49183. 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."
  49184. msgstr ""
  49185. #. type: item
  49186. #: guix-git/doc/guix.texi:33455
  49187. #, no-wrap
  49188. msgid "@code{allow-downgrades?} (default: @code{#f})"
  49189. msgstr ""
  49190. #. type: table
  49191. #: guix-git/doc/guix.texi:33457
  49192. msgid "Whether to allow potential downgrades."
  49193. msgstr ""
  49194. #. type: table
  49195. #: guix-git/doc/guix.texi:33465
  49196. 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."
  49197. msgstr ""
  49198. #. type: deftp
  49199. #: guix-git/doc/guix.texi:33468
  49200. #, no-wrap
  49201. msgid "{Data Type} digital-ocean-configuration"
  49202. msgstr ""
  49203. #. type: deftp
  49204. #: guix-git/doc/guix.texi:33471
  49205. 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}."
  49206. msgstr ""
  49207. #. type: code{#1}
  49208. #: guix-git/doc/guix.texi:33473
  49209. #, no-wrap
  49210. msgid "ssh-key"
  49211. msgstr ""
  49212. #. type: table
  49213. #: guix-git/doc/guix.texi:33476
  49214. msgid "The path to the SSH private key to use to authenticate with the remote host. In the future, this field may not exist."
  49215. msgstr ""
  49216. #. type: code{#1}
  49217. #: guix-git/doc/guix.texi:33476
  49218. #, no-wrap
  49219. msgid "tags"
  49220. msgstr ""
  49221. #. type: table
  49222. #: guix-git/doc/guix.texi:33479
  49223. 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."
  49224. msgstr ""
  49225. #. type: code{#1}
  49226. #: guix-git/doc/guix.texi:33479
  49227. #, no-wrap
  49228. msgid "region"
  49229. msgstr ""
  49230. #. type: table
  49231. #: guix-git/doc/guix.texi:33481
  49232. msgid "A Digital Ocean region slug, such as @code{\"nyc3\"}."
  49233. msgstr ""
  49234. #. type: table
  49235. #: guix-git/doc/guix.texi:33483
  49236. msgid "A Digital Ocean size slug, such as @code{\"s-1vcpu-1gb\"}"
  49237. msgstr ""
  49238. #. type: code{#1}
  49239. #: guix-git/doc/guix.texi:33483
  49240. #, no-wrap
  49241. msgid "enable-ipv6?"
  49242. msgstr ""
  49243. #. type: table
  49244. #: guix-git/doc/guix.texi:33485
  49245. msgid "Whether or not the droplet should be created with IPv6 networking."
  49246. msgstr ""
  49247. #. type: section
  49248. #: guix-git/doc/guix.texi:33489
  49249. #, no-wrap
  49250. msgid "Running Guix in a Virtual Machine"
  49251. msgstr "Usando o Guix em uma Máquina Virtual"
  49252. #. type: Plain text
  49253. #: guix-git/doc/guix.texi:33498
  49254. 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 will first need to decompress with @command{xz -d}, and then you can pass it to an emulator such as QEMU (see below for details)."
  49255. msgstr ""
  49256. #. type: Plain text
  49257. #: guix-git/doc/guix.texi:33505
  49258. 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})."
  49259. msgstr ""
  49260. #. type: Plain text
  49261. #: guix-git/doc/guix.texi:33510
  49262. msgid "Instead of using this pre-built image, one can also build their own virtual machine image using @command{guix system vm-image} (@pxref{Invoking guix system}). The returned image is in qcow2 format, which the @uref{https://qemu.org/, QEMU emulator} can efficiently use."
  49263. msgstr ""
  49264. #. type: cindex
  49265. #: guix-git/doc/guix.texi:33511
  49266. #, no-wrap
  49267. msgid "QEMU"
  49268. msgstr ""
  49269. #. type: Plain text
  49270. #: guix-git/doc/guix.texi:33518
  49271. 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:"
  49272. msgstr ""
  49273. #. type: example
  49274. #: guix-git/doc/guix.texi:33525
  49275. #, no-wrap
  49276. msgid ""
  49277. "$ qemu-system-x86_64 \\\n"
  49278. " -nic user,model=virtio-net-pci \\\n"
  49279. " -enable-kvm -m 1024 \\\n"
  49280. " -device virtio-blk,drive=myhd \\\n"
  49281. " -drive if=none,file=/tmp/qemu-image,id=myhd\n"
  49282. msgstr ""
  49283. #. type: Plain text
  49284. #: guix-git/doc/guix.texi:33528
  49285. msgid "Here is what each of these options means:"
  49286. msgstr ""
  49287. #. type: item
  49288. #: guix-git/doc/guix.texi:33530
  49289. #, no-wrap
  49290. msgid "qemu-system-x86_64"
  49291. msgstr ""
  49292. #. type: table
  49293. #: guix-git/doc/guix.texi:33533
  49294. msgid "This specifies the hardware platform to emulate. This should match the host."
  49295. msgstr ""
  49296. #. type: item
  49297. #: guix-git/doc/guix.texi:33534
  49298. #, no-wrap
  49299. msgid "-nic user,model=virtio-net-pci"
  49300. msgstr ""
  49301. #. type: table
  49302. #: guix-git/doc/guix.texi:33542
  49303. 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}."
  49304. msgstr ""
  49305. #. type: item
  49306. #: guix-git/doc/guix.texi:33543
  49307. #, no-wrap
  49308. msgid "-enable-kvm"
  49309. msgstr ""
  49310. #. type: table
  49311. #: guix-git/doc/guix.texi:33547
  49312. msgid "If your system has hardware virtualization extensions, enabling the virtual machine support (KVM) of the Linux kernel will make things run faster."
  49313. msgstr ""
  49314. #. type: item
  49315. #: guix-git/doc/guix.texi:33549
  49316. #, no-wrap
  49317. msgid "-m 1024"
  49318. msgstr ""
  49319. #. type: table
  49320. #: guix-git/doc/guix.texi:33552
  49321. msgid "RAM available to the guest OS, in mebibytes. Defaults to 128@tie{}MiB, which may be insufficient for some operations."
  49322. msgstr ""
  49323. #. type: item
  49324. #: guix-git/doc/guix.texi:33553
  49325. #, no-wrap
  49326. msgid "-device virtio-blk,drive=myhd"
  49327. msgstr ""
  49328. #. type: table
  49329. #: guix-git/doc/guix.texi:33558
  49330. 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."
  49331. msgstr ""
  49332. #. type: item
  49333. #: guix-git/doc/guix.texi:33559
  49334. #, no-wrap
  49335. msgid "-drive if=none,file=/tmp/qemu-image,id=myhd"
  49336. msgstr ""
  49337. #. type: table
  49338. #: guix-git/doc/guix.texi:33562
  49339. msgid "Use our QCOW image, the @file{/tmp/qemu-image} file, as the backing store of the ``myhd'' drive."
  49340. msgstr ""
  49341. #. type: Plain text
  49342. #: guix-git/doc/guix.texi:33572
  49343. 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}."
  49344. msgstr ""
  49345. #. type: subsection
  49346. #: guix-git/doc/guix.texi:33573
  49347. #, no-wrap
  49348. msgid "Connecting Through SSH"
  49349. msgstr ""
  49350. #. type: Plain text
  49351. #: guix-git/doc/guix.texi:33581
  49352. 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"
  49353. msgstr ""
  49354. #. type: example
  49355. #: guix-git/doc/guix.texi:33584
  49356. #, no-wrap
  49357. msgid "$(guix system vm config.scm) -nic user,model=virtio-net-pci,hostfwd=tcp::10022-:22\n"
  49358. msgstr ""
  49359. #. type: Plain text
  49360. #: guix-git/doc/guix.texi:33587
  49361. msgid "To connect to the VM you can run"
  49362. msgstr ""
  49363. #. type: example
  49364. #: guix-git/doc/guix.texi:33590
  49365. #, no-wrap
  49366. msgid "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022 localhost\n"
  49367. msgstr ""
  49368. #. type: Plain text
  49369. #: guix-git/doc/guix.texi:33597
  49370. 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."
  49371. msgstr ""
  49372. #. type: subsection
  49373. #: guix-git/doc/guix.texi:33598
  49374. #, no-wrap
  49375. msgid "Using @command{virt-viewer} with Spice"
  49376. msgstr ""
  49377. #. type: Plain text
  49378. #: guix-git/doc/guix.texi:33604
  49379. 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."
  49380. msgstr ""
  49381. #. type: Plain text
  49382. #: guix-git/doc/guix.texi:33607
  49383. 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}:"
  49384. msgstr ""
  49385. #. type: example
  49386. #: guix-git/doc/guix.texi:33613
  49387. #, no-wrap
  49388. msgid ""
  49389. "-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5\n"
  49390. "-chardev spicevmc,name=vdagent,id=vdagent\n"
  49391. "-device virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,\n"
  49392. "name=com.redhat.spice.0\n"
  49393. msgstr ""
  49394. #. type: Plain text
  49395. #: guix-git/doc/guix.texi:33617
  49396. msgid "You'll also need to add the @code{(spice-vdagent-service)} to your system definition (@pxref{Miscellaneous Services, Spice service})."
  49397. msgstr ""
  49398. #. type: Plain text
  49399. #: guix-git/doc/guix.texi:33624
  49400. 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?"
  49401. msgstr ""
  49402. #. type: cindex
  49403. #: guix-git/doc/guix.texi:33636
  49404. #, no-wrap
  49405. msgid "daemons"
  49406. msgstr ""
  49407. #. type: Plain text
  49408. #: guix-git/doc/guix.texi:33649
  49409. 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."
  49410. msgstr ""
  49411. #. type: cindex
  49412. #: guix-git/doc/guix.texi:33650
  49413. #, no-wrap
  49414. msgid "service extensions"
  49415. msgstr ""
  49416. #. type: Plain text
  49417. #: guix-git/doc/guix.texi:33662
  49418. 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})."
  49419. msgstr ""
  49420. #. type: Plain text
  49421. #: guix-git/doc/guix.texi:33666
  49422. 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:"
  49423. msgstr ""
  49424. #. type: Plain text
  49425. #: guix-git/doc/guix.texi:33668
  49426. msgid "@image{images/service-graph,,5in,Typical service extension graph.}"
  49427. msgstr ""
  49428. #. type: cindex
  49429. #: guix-git/doc/guix.texi:33669
  49430. #, no-wrap
  49431. msgid "system service"
  49432. msgstr ""
  49433. #. type: Plain text
  49434. #: guix-git/doc/guix.texi:33677
  49435. 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."
  49436. msgstr ""
  49437. #. type: cindex
  49438. #: guix-git/doc/guix.texi:33678
  49439. #, no-wrap
  49440. msgid "service types"
  49441. msgstr ""
  49442. #. type: Plain text
  49443. #: guix-git/doc/guix.texi:33684
  49444. 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."
  49445. msgstr ""
  49446. #. type: Plain text
  49447. #: guix-git/doc/guix.texi:33687
  49448. msgid "The following section describes the programming interface for service types and services."
  49449. msgstr ""
  49450. #. type: Plain text
  49451. #: guix-git/doc/guix.texi:33694
  49452. 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}):"
  49453. msgstr ""
  49454. #. type: lisp
  49455. #: guix-git/doc/guix.texi:33704
  49456. #, no-wrap
  49457. msgid ""
  49458. "(define guix-service-type\n"
  49459. " (service-type\n"
  49460. " (name 'guix)\n"
  49461. " (extensions\n"
  49462. " (list (service-extension shepherd-root-service-type guix-shepherd-service)\n"
  49463. " (service-extension account-service-type guix-accounts)\n"
  49464. " (service-extension activation-service-type guix-activation)))\n"
  49465. " (default-value (guix-configuration))))\n"
  49466. msgstr ""
  49467. #. type: Plain text
  49468. #: guix-git/doc/guix.texi:33708
  49469. msgid "It defines three things:"
  49470. msgstr ""
  49471. #. type: enumerate
  49472. #: guix-git/doc/guix.texi:33712
  49473. msgid "A name, whose sole purpose is to make inspection and debugging easier."
  49474. msgstr ""
  49475. #. type: enumerate
  49476. #: guix-git/doc/guix.texi:33717
  49477. 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."
  49478. msgstr ""
  49479. #. type: enumerate
  49480. #: guix-git/doc/guix.texi:33720
  49481. msgid "Every service type has at least one service extension. The only exception is the @dfn{boot service type}, which is the ultimate service."
  49482. msgstr ""
  49483. #. type: enumerate
  49484. #: guix-git/doc/guix.texi:33723
  49485. msgid "Optionally, a default value for instances of this type."
  49486. msgstr ""
  49487. #. type: Plain text
  49488. #: guix-git/doc/guix.texi:33726
  49489. msgid "In this example, @code{guix-service-type} extends three services:"
  49490. msgstr ""
  49491. #. type: item
  49492. #: guix-git/doc/guix.texi:33728
  49493. #, no-wrap
  49494. msgid "shepherd-root-service-type"
  49495. msgstr ""
  49496. #. type: table
  49497. #: guix-git/doc/guix.texi:33733
  49498. 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})."
  49499. msgstr ""
  49500. #. type: item
  49501. #: guix-git/doc/guix.texi:33734
  49502. #, no-wrap
  49503. msgid "account-service-type"
  49504. msgstr ""
  49505. #. type: table
  49506. #: guix-git/doc/guix.texi:33739
  49507. 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})."
  49508. msgstr ""
  49509. #. type: item
  49510. #: guix-git/doc/guix.texi:33740
  49511. #, no-wrap
  49512. msgid "activation-service-type"
  49513. msgstr ""
  49514. #. type: table
  49515. #: guix-git/doc/guix.texi:33744
  49516. 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."
  49517. msgstr ""
  49518. #. type: Plain text
  49519. #: guix-git/doc/guix.texi:33747
  49520. msgid "A service of this type is instantiated like this:"
  49521. msgstr ""
  49522. #. type: lisp
  49523. #: guix-git/doc/guix.texi:33753
  49524. #, no-wrap
  49525. msgid ""
  49526. "(service guix-service-type\n"
  49527. " (guix-configuration\n"
  49528. " (build-accounts 5)\n"
  49529. " (extra-options '(\"--gc-keep-derivations\"))))\n"
  49530. msgstr ""
  49531. #. type: Plain text
  49532. #: guix-git/doc/guix.texi:33761
  49533. 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:"
  49534. msgstr ""
  49535. #. type: lisp
  49536. #: guix-git/doc/guix.texi:33764
  49537. #, no-wrap
  49538. msgid "(service guix-service-type)\n"
  49539. msgstr ""
  49540. #. type: Plain text
  49541. #: guix-git/doc/guix.texi:33768
  49542. msgid "@code{guix-service-type} is quite simple because it extends other services but is not extensible itself."
  49543. msgstr ""
  49544. #. type: Plain text
  49545. #: guix-git/doc/guix.texi:33772
  49546. msgid "The service type for an @emph{extensible} service looks like this:"
  49547. msgstr ""
  49548. #. type: lisp
  49549. #: guix-git/doc/guix.texi:33779
  49550. #, no-wrap
  49551. msgid ""
  49552. "(define udev-service-type\n"
  49553. " (service-type (name 'udev)\n"
  49554. " (extensions\n"
  49555. " (list (service-extension shepherd-root-service-type\n"
  49556. " udev-shepherd-service)))\n"
  49557. "\n"
  49558. msgstr ""
  49559. #. type: lisp
  49560. #: guix-git/doc/guix.texi:33787
  49561. #, no-wrap
  49562. msgid ""
  49563. " (compose concatenate) ;concatenate the list of rules\n"
  49564. " (extend (lambda (config rules)\n"
  49565. " (match config\n"
  49566. " (($ <udev-configuration> udev initial-rules)\n"
  49567. " (udev-configuration\n"
  49568. " (udev udev) ;the udev package to use\n"
  49569. " (rules (append initial-rules rules)))))))))\n"
  49570. msgstr ""
  49571. #. type: Plain text
  49572. #: guix-git/doc/guix.texi:33793
  49573. 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:"
  49574. msgstr ""
  49575. #. type: item
  49576. #: guix-git/doc/guix.texi:33795
  49577. #, no-wrap
  49578. msgid "compose"
  49579. msgstr ""
  49580. #. type: table
  49581. #: guix-git/doc/guix.texi:33798
  49582. msgid "This is the procedure to @dfn{compose} the list of extensions to services of this type."
  49583. msgstr ""
  49584. #. type: table
  49585. #: guix-git/doc/guix.texi:33801
  49586. msgid "Services can extend the udev service by passing it lists of rules; we compose those extensions simply by concatenating them."
  49587. msgstr ""
  49588. #. type: item
  49589. #: guix-git/doc/guix.texi:33802
  49590. #, no-wrap
  49591. msgid "extend"
  49592. msgstr ""
  49593. #. type: table
  49594. #: guix-git/doc/guix.texi:33805
  49595. msgid "This procedure defines how the value of the service is @dfn{extended} with the composition of the extensions."
  49596. msgstr ""
  49597. #. type: table
  49598. #: guix-git/doc/guix.texi:33810
  49599. 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."
  49600. msgstr ""
  49601. #. type: table
  49602. #: guix-git/doc/guix.texi:33816
  49603. 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})."
  49604. msgstr ""
  49605. #. type: Plain text
  49606. #: guix-git/doc/guix.texi:33821
  49607. 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."
  49608. msgstr ""
  49609. #. type: Plain text
  49610. #: guix-git/doc/guix.texi:33824
  49611. msgid "Still here? The next section provides a reference of the programming interface for services."
  49612. msgstr ""
  49613. #. type: Plain text
  49614. #: guix-git/doc/guix.texi:33832
  49615. 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."
  49616. msgstr ""
  49617. #. type: deffn
  49618. #: guix-git/doc/guix.texi:33833
  49619. #, no-wrap
  49620. msgid "{Scheme Procedure} service @var{type} [@var{value}]"
  49621. msgstr ""
  49622. #. type: deffn
  49623. #: guix-git/doc/guix.texi:33837
  49624. 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."
  49625. msgstr ""
  49626. #. type: deffn
  49627. #: guix-git/doc/guix.texi:33841
  49628. 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."
  49629. msgstr ""
  49630. #. type: deffn
  49631. #: guix-git/doc/guix.texi:33843
  49632. msgid "For instance, this:"
  49633. msgstr ""
  49634. #. type: lisp
  49635. #: guix-git/doc/guix.texi:33846
  49636. #, no-wrap
  49637. msgid "(service openssh-service-type)\n"
  49638. msgstr ""
  49639. #. type: deffn
  49640. #: guix-git/doc/guix.texi:33850
  49641. msgid "is equivalent to this:"
  49642. msgstr ""
  49643. #. type: lisp
  49644. #: guix-git/doc/guix.texi:33854
  49645. #, no-wrap
  49646. msgid ""
  49647. "(service openssh-service-type\n"
  49648. " (openssh-configuration))\n"
  49649. msgstr ""
  49650. #. type: deffn
  49651. #: guix-git/doc/guix.texi:33858
  49652. msgid "In both cases the result is an instance of @code{openssh-service-type} with the default configuration."
  49653. msgstr ""
  49654. #. type: deffn
  49655. #: guix-git/doc/guix.texi:33860
  49656. #, no-wrap
  49657. msgid "{Scheme Procedure} service? @var{obj}"
  49658. msgstr ""
  49659. #. type: deffn
  49660. #: guix-git/doc/guix.texi:33862
  49661. msgid "Return true if @var{obj} is a service."
  49662. msgstr ""
  49663. #. type: deffn
  49664. #: guix-git/doc/guix.texi:33864
  49665. #, no-wrap
  49666. msgid "{Scheme Procedure} service-kind @var{service}"
  49667. msgstr ""
  49668. #. type: deffn
  49669. #: guix-git/doc/guix.texi:33866
  49670. msgid "Return the type of @var{service}---i.e., a @code{<service-type>} object."
  49671. msgstr ""
  49672. #. type: deffn
  49673. #: guix-git/doc/guix.texi:33868
  49674. #, no-wrap
  49675. msgid "{Scheme Procedure} service-value @var{service}"
  49676. msgstr ""
  49677. #. type: deffn
  49678. #: guix-git/doc/guix.texi:33871
  49679. msgid "Return the value associated with @var{service}. It represents its parameters."
  49680. msgstr ""
  49681. #. type: Plain text
  49682. #: guix-git/doc/guix.texi:33874
  49683. msgid "Here is an example of how a service is created and manipulated:"
  49684. msgstr ""
  49685. #. type: lisp
  49686. #: guix-git/doc/guix.texi:33883
  49687. #, no-wrap
  49688. msgid ""
  49689. "(define s\n"
  49690. " (service nginx-service-type\n"
  49691. " (nginx-configuration\n"
  49692. " (nginx nginx)\n"
  49693. " (log-directory log-directory)\n"
  49694. " (run-directory run-directory)\n"
  49695. " (file config-file))))\n"
  49696. "\n"
  49697. msgstr ""
  49698. #. type: lisp
  49699. #: guix-git/doc/guix.texi:33886
  49700. #, no-wrap
  49701. msgid ""
  49702. "(service? s)\n"
  49703. "@result{} #t\n"
  49704. "\n"
  49705. msgstr ""
  49706. #. type: lisp
  49707. #: guix-git/doc/guix.texi:33889
  49708. #, no-wrap
  49709. msgid ""
  49710. "(eq? (service-kind s) nginx-service-type)\n"
  49711. "@result{} #t\n"
  49712. msgstr ""
  49713. #. type: Plain text
  49714. #: guix-git/doc/guix.texi:33899
  49715. 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."
  49716. msgstr ""
  49717. #. type: deffn
  49718. #: guix-git/doc/guix.texi:33900
  49719. #, no-wrap
  49720. msgid "{Scheme Syntax} modify-services @var{services} @"
  49721. msgstr ""
  49722. #. type: deffn
  49723. #: guix-git/doc/guix.texi:33902
  49724. msgid "(@var{type} @var{variable} => @var{body}) @dots{}"
  49725. msgstr ""
  49726. #. type: deffn
  49727. #: guix-git/doc/guix.texi:33905
  49728. msgid "Modify the services listed in @var{services} according to the given clauses. Each clause has the form:"
  49729. msgstr ""
  49730. #. type: example
  49731. #: guix-git/doc/guix.texi:33908
  49732. #, no-wrap
  49733. msgid "(@var{type} @var{variable} => @var{body})\n"
  49734. msgstr ""
  49735. #. type: deffn
  49736. #: guix-git/doc/guix.texi:33915
  49737. 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}."
  49738. msgstr ""
  49739. #. type: deffn
  49740. #: guix-git/doc/guix.texi:33922
  49741. 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."
  49742. msgstr ""
  49743. #. type: deffn
  49744. #: guix-git/doc/guix.texi:33924
  49745. msgid "@xref{Using the Configuration System}, for example usage."
  49746. msgstr ""
  49747. #. type: Plain text
  49748. #: guix-git/doc/guix.texi:33931
  49749. 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."
  49750. msgstr ""
  49751. #. type: deftp
  49752. #: guix-git/doc/guix.texi:33932
  49753. #, no-wrap
  49754. msgid "{Data Type} service-type"
  49755. msgstr ""
  49756. #. type: cindex
  49757. #: guix-git/doc/guix.texi:33933
  49758. #, no-wrap
  49759. msgid "service type"
  49760. msgstr ""
  49761. #. type: deftp
  49762. #: guix-git/doc/guix.texi:33936
  49763. msgid "This is the representation of a @dfn{service type} (@pxref{Service Types and Services})."
  49764. msgstr ""
  49765. #. type: table
  49766. #: guix-git/doc/guix.texi:33940
  49767. msgid "This is a symbol, used only to simplify inspection and debugging."
  49768. msgstr ""
  49769. #. type: code{#1}
  49770. #: guix-git/doc/guix.texi:33941
  49771. #, no-wrap
  49772. msgid "extensions"
  49773. msgstr ""
  49774. #. type: table
  49775. #: guix-git/doc/guix.texi:33943
  49776. msgid "A non-empty list of @code{<service-extension>} objects (see below)."
  49777. msgstr ""
  49778. #. type: item
  49779. #: guix-git/doc/guix.texi:33944
  49780. #, no-wrap
  49781. msgid "@code{compose} (default: @code{#f})"
  49782. msgstr "@code{compose} (default: @code{#f})"
  49783. #. type: table
  49784. #: guix-git/doc/guix.texi:33948
  49785. 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."
  49786. msgstr ""
  49787. #. type: table
  49788. #: guix-git/doc/guix.texi:33952
  49789. 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."
  49790. msgstr ""
  49791. #. type: item
  49792. #: guix-git/doc/guix.texi:33953
  49793. #, no-wrap
  49794. msgid "@code{extend} (default: @code{#f})"
  49795. msgstr "@code{extend} (default: @code{#f})"
  49796. #. type: table
  49797. #: guix-git/doc/guix.texi:33955
  49798. msgid "If this is @code{#f}, services of this type cannot be extended."
  49799. msgstr ""
  49800. #. type: table
  49801. #: guix-git/doc/guix.texi:33961
  49802. 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."
  49803. msgstr ""
  49804. #. type: table
  49805. #: guix-git/doc/guix.texi:33967
  49806. 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})."
  49807. msgstr ""
  49808. #. type: item
  49809. #: guix-git/doc/guix.texi:33968
  49810. #, no-wrap
  49811. msgid "@code{default-value} (default: @code{&no-default-value})"
  49812. msgstr ""
  49813. #. type: table
  49814. #: guix-git/doc/guix.texi:33971
  49815. msgid "The default value associated for instances of this service type. This allows users to use the @code{service} form without its second argument:"
  49816. msgstr ""
  49817. #. type: lisp
  49818. #: guix-git/doc/guix.texi:33974
  49819. #, no-wrap
  49820. msgid "(service @var{type})\n"
  49821. msgstr ""
  49822. #. type: table
  49823. #: guix-git/doc/guix.texi:33978
  49824. msgid "The returned service in this case has the default value specified by @var{type}."
  49825. msgstr ""
  49826. #. type: deftp
  49827. #: guix-git/doc/guix.texi:33981
  49828. msgid "@xref{Service Types and Services}, for examples."
  49829. msgstr ""
  49830. #. type: deffn
  49831. #: guix-git/doc/guix.texi:33983
  49832. #, no-wrap
  49833. msgid "{Scheme Procedure} service-extension @var{target-type} @"
  49834. msgstr ""
  49835. #. type: deffn
  49836. #: guix-git/doc/guix.texi:33989
  49837. 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."
  49838. msgstr ""
  49839. #. type: deffn
  49840. #: guix-git/doc/guix.texi:33991
  49841. #, no-wrap
  49842. msgid "{Scheme Procedure} service-extension? @var{obj}"
  49843. msgstr ""
  49844. #. type: deffn
  49845. #: guix-git/doc/guix.texi:33993
  49846. msgid "Return true if @var{obj} is a service extension."
  49847. msgstr ""
  49848. #. type: Plain text
  49849. #: guix-git/doc/guix.texi:33999
  49850. 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."
  49851. msgstr ""
  49852. #. type: deffn
  49853. #: guix-git/doc/guix.texi:34000
  49854. #, no-wrap
  49855. msgid "{Scheme Procedure} simple-service @var{name} @var{target} @var{value}"
  49856. msgstr ""
  49857. #. type: deffn
  49858. #: guix-git/doc/guix.texi:34004
  49859. 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."
  49860. msgstr ""
  49861. #. type: deffn
  49862. #: guix-git/doc/guix.texi:34007
  49863. msgid "For example, this extends mcron (@pxref{Scheduled Job Execution}) with an additional job:"
  49864. msgstr ""
  49865. #. type: lisp
  49866. #: guix-git/doc/guix.texi:34011
  49867. #, no-wrap
  49868. msgid ""
  49869. "(simple-service 'my-mcron-job mcron-service-type\n"
  49870. " #~(job '(next-hour (3)) \"guix gc -F 2G\"))\n"
  49871. msgstr ""
  49872. #. type: Plain text
  49873. #: guix-git/doc/guix.texi:34021
  49874. 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."
  49875. msgstr ""
  49876. #. type: deffn
  49877. #: guix-git/doc/guix.texi:34022
  49878. #, no-wrap
  49879. msgid "{Scheme Procedure} fold-services @var{services} @"
  49880. msgstr ""
  49881. #. type: deffn
  49882. #: guix-git/doc/guix.texi:34026
  49883. 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."
  49884. msgstr ""
  49885. #. type: Plain text
  49886. #: guix-git/doc/guix.texi:34030
  49887. msgid "Lastly, the @code{(gnu services)} module also defines several essential service types, some of which are listed below."
  49888. msgstr ""
  49889. #. type: defvr
  49890. #: guix-git/doc/guix.texi:34031
  49891. #, no-wrap
  49892. msgid "{Scheme Variable} system-service-type"
  49893. msgstr ""
  49894. #. type: defvr
  49895. #: guix-git/doc/guix.texi:34034
  49896. msgid "This is the root of the service graph. It produces the system directory as returned by the @command{guix system build} command."
  49897. msgstr ""
  49898. #. type: defvr
  49899. #: guix-git/doc/guix.texi:34036
  49900. #, no-wrap
  49901. msgid "{Scheme Variable} boot-service-type"
  49902. msgstr ""
  49903. #. type: defvr
  49904. #: guix-git/doc/guix.texi:34039
  49905. 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."
  49906. msgstr ""
  49907. #. type: defvr
  49908. #: guix-git/doc/guix.texi:34041
  49909. #, no-wrap
  49910. msgid "{Scheme Variable} etc-service-type"
  49911. msgstr ""
  49912. #. type: defvr
  49913. #: guix-git/doc/guix.texi:34045
  49914. 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:"
  49915. msgstr ""
  49916. #. type: lisp
  49917. #: guix-git/doc/guix.texi:34048
  49918. #, no-wrap
  49919. msgid "(list `(\"issue\" ,(plain-file \"issue\" \"Welcome!\\n\")))\n"
  49920. msgstr ""
  49921. #. type: defvr
  49922. #: guix-git/doc/guix.texi:34052
  49923. msgid "In this example, the effect would be to add an @file{/etc/issue} file pointing to the given file."
  49924. msgstr ""
  49925. #. type: defvr
  49926. #: guix-git/doc/guix.texi:34054
  49927. #, no-wrap
  49928. msgid "{Scheme Variable} setuid-program-service-type"
  49929. msgstr ""
  49930. #. type: defvr
  49931. #: guix-git/doc/guix.texi:34058
  49932. 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})."
  49933. msgstr ""
  49934. #. type: defvr
  49935. #: guix-git/doc/guix.texi:34060
  49936. #, no-wrap
  49937. msgid "{Scheme Variable} profile-service-type"
  49938. msgstr ""
  49939. #. type: defvr
  49940. #: guix-git/doc/guix.texi:34064
  49941. 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."
  49942. msgstr ""
  49943. #. type: anchor{#1}
  49944. #: guix-git/doc/guix.texi:34068
  49945. msgid "provenance-service-type"
  49946. msgstr ""
  49947. #. type: defvr
  49948. #: guix-git/doc/guix.texi:34068
  49949. #, no-wrap
  49950. msgid "{Scheme Variable} provenance-service-type"
  49951. msgstr ""
  49952. #. type: defvr
  49953. #: guix-git/doc/guix.texi:34072
  49954. 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}:"
  49955. msgstr ""
  49956. #. type: item
  49957. #: guix-git/doc/guix.texi:34074
  49958. #, no-wrap
  49959. msgid "channels.scm"
  49960. msgstr ""
  49961. #. type: table
  49962. #: guix-git/doc/guix.texi:34079
  49963. 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})."
  49964. msgstr ""
  49965. #. type: item
  49966. #: guix-git/doc/guix.texi:34080
  49967. #, no-wrap
  49968. msgid "configuration.scm"
  49969. msgstr ""
  49970. #. type: table
  49971. #: guix-git/doc/guix.texi:34085
  49972. 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."
  49973. msgstr ""
  49974. #. type: item
  49975. #: guix-git/doc/guix.texi:34086
  49976. #, no-wrap
  49977. msgid "provenance"
  49978. msgstr ""
  49979. #. type: table
  49980. #: guix-git/doc/guix.texi:34089
  49981. msgid "This contains the same information as the two other files but in a format that is more readily processable."
  49982. msgstr ""
  49983. #. type: defvr
  49984. #: guix-git/doc/guix.texi:34093
  49985. msgid "In general, these two pieces of information (channels and configuration file) are enough to reproduce the operating system ``from source''."
  49986. msgstr ""
  49987. #. type: quotation
  49988. #: guix-git/doc/guix.texi:34094
  49989. #, no-wrap
  49990. msgid "Caveats"
  49991. msgstr ""
  49992. #. type: quotation
  49993. #: guix-git/doc/guix.texi:34101
  49994. 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."
  49995. msgstr ""
  49996. #. type: quotation
  49997. #: guix-git/doc/guix.texi:34109
  49998. 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."
  49999. msgstr ""
  50000. #. type: defvr
  50001. #: guix-git/doc/guix.texi:34114
  50002. 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}."
  50003. msgstr ""
  50004. #. type: cindex
  50005. #: guix-git/doc/guix.texi:34119
  50006. #, no-wrap
  50007. msgid "shepherd services"
  50008. msgstr ""
  50009. #. type: cindex
  50010. #: guix-git/doc/guix.texi:34120
  50011. #, no-wrap
  50012. msgid "PID 1"
  50013. msgstr ""
  50014. #. type: cindex
  50015. #: guix-git/doc/guix.texi:34121
  50016. #, no-wrap
  50017. msgid "init system"
  50018. msgstr ""
  50019. #. type: Plain text
  50020. #: guix-git/doc/guix.texi:34127
  50021. 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})."
  50022. msgstr ""
  50023. #. type: Plain text
  50024. #: guix-git/doc/guix.texi:34133
  50025. 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:"
  50026. msgstr ""
  50027. #. type: Plain text
  50028. #: guix-git/doc/guix.texi:34135
  50029. msgid "@image{images/shepherd-graph,,5in,Typical shepherd service graph.}"
  50030. msgstr ""
  50031. #. type: Plain text
  50032. #: guix-git/doc/guix.texi:34139
  50033. 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}})."
  50034. msgstr ""
  50035. #. type: Plain text
  50036. #: guix-git/doc/guix.texi:34143
  50037. 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."
  50038. msgstr ""
  50039. #. type: deftp
  50040. #: guix-git/doc/guix.texi:34144
  50041. #, no-wrap
  50042. msgid "{Data Type} shepherd-service"
  50043. msgstr ""
  50044. #. type: deftp
  50045. #: guix-git/doc/guix.texi:34146
  50046. msgid "The data type representing a service managed by the Shepherd."
  50047. msgstr ""
  50048. #. type: code{#1}
  50049. #: guix-git/doc/guix.texi:34148
  50050. #, no-wrap
  50051. msgid "provision"
  50052. msgstr ""
  50053. #. type: table
  50054. #: guix-git/doc/guix.texi:34150
  50055. msgid "This is a list of symbols denoting what the service provides."
  50056. msgstr ""
  50057. #. type: table
  50058. #: guix-git/doc/guix.texi:34155
  50059. 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."
  50060. msgstr ""
  50061. #. type: item
  50062. #: guix-git/doc/guix.texi:34156
  50063. #, no-wrap
  50064. msgid "@code{requirement} (default: @code{'()})"
  50065. msgstr ""
  50066. #. type: table
  50067. #: guix-git/doc/guix.texi:34158
  50068. msgid "List of symbols denoting the Shepherd services this one depends on."
  50069. msgstr ""
  50070. #. type: cindex
  50071. #: guix-git/doc/guix.texi:34159
  50072. #, no-wrap
  50073. msgid "one-shot services, for the Shepherd"
  50074. msgstr ""
  50075. #. type: table
  50076. #: guix-git/doc/guix.texi:34164
  50077. 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."
  50078. msgstr ""
  50079. #. type: item
  50080. #: guix-git/doc/guix.texi:34165
  50081. #, no-wrap
  50082. msgid "@code{respawn?} (default: @code{#t})"
  50083. msgstr "@code{respawn?} (padrão: @code{#t})"
  50084. #. type: table
  50085. #: guix-git/doc/guix.texi:34168
  50086. msgid "Whether to restart the service when it stops, for instance when the underlying process dies."
  50087. msgstr ""
  50088. #. type: code{#1}
  50089. #: guix-git/doc/guix.texi:34169
  50090. #, no-wrap
  50091. msgid "start"
  50092. msgstr "iniciar"
  50093. #. type: itemx
  50094. #: guix-git/doc/guix.texi:34170
  50095. #, no-wrap
  50096. msgid "@code{stop} (default: @code{#~(const #f)})"
  50097. msgstr ""
  50098. #. type: table
  50099. #: guix-git/doc/guix.texi:34176
  50100. 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})."
  50101. msgstr ""
  50102. #. type: item
  50103. #: guix-git/doc/guix.texi:34177
  50104. #, no-wrap
  50105. msgid "@code{actions} (default: @code{'()})"
  50106. msgstr ""
  50107. #. type: cindex
  50108. #: guix-git/doc/guix.texi:34178
  50109. #, no-wrap
  50110. msgid "actions, of Shepherd services"
  50111. msgstr ""
  50112. #. type: table
  50113. #: guix-git/doc/guix.texi:34183
  50114. 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:"
  50115. msgstr ""
  50116. #. type: example
  50117. #: guix-git/doc/guix.texi:34186
  50118. #, no-wrap
  50119. msgid "herd @var{action} @var{service} [@var{arguments}@dots{}]\n"
  50120. msgstr ""
  50121. #. type: item
  50122. #: guix-git/doc/guix.texi:34188
  50123. #, no-wrap
  50124. msgid "@code{auto-start?} (default: @code{#t})"
  50125. msgstr ""
  50126. #. type: table
  50127. #: guix-git/doc/guix.texi:34191
  50128. 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}."
  50129. msgstr ""
  50130. #. type: table
  50131. #: guix-git/doc/guix.texi:34194
  50132. msgid "A documentation string, as shown when running:"
  50133. msgstr ""
  50134. #. type: example
  50135. #: guix-git/doc/guix.texi:34197
  50136. #, no-wrap
  50137. msgid "herd doc @var{service-name}\n"
  50138. msgstr ""
  50139. #. type: table
  50140. #: guix-git/doc/guix.texi:34201
  50141. msgid "where @var{service-name} is one of the symbols in @code{provision} (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual})."
  50142. msgstr ""
  50143. #. type: item
  50144. #: guix-git/doc/guix.texi:34202
  50145. #, no-wrap
  50146. msgid "@code{modules} (default: @code{%default-modules})"
  50147. msgstr ""
  50148. #. type: table
  50149. #: guix-git/doc/guix.texi:34205
  50150. msgid "This is the list of modules that must be in scope when @code{start} and @code{stop} are evaluated."
  50151. msgstr ""
  50152. #. type: Plain text
  50153. #: guix-git/doc/guix.texi:34213
  50154. 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}):"
  50155. msgstr ""
  50156. #. type: example
  50157. #: guix-git/doc/guix.texi:34225
  50158. #, no-wrap
  50159. msgid ""
  50160. "(let ((config (plain-file \"syslogd.conf\" \"@dots{}\")))\n"
  50161. " (shepherd-service\n"
  50162. " (documentation \"Run the syslog daemon (syslogd).\")\n"
  50163. " (provision '(syslogd))\n"
  50164. " (requirement '(user-processes))\n"
  50165. " (start #~(make-forkexec-constructor\n"
  50166. " (list #$(file-append inetutils \"/libexec/syslogd\")\n"
  50167. " \"--rcfile\" #$config)\n"
  50168. " #:pid-file \"/var/run/syslog.pid\"))\n"
  50169. " (stop #~(make-kill-destructor))))\n"
  50170. msgstr ""
  50171. #. type: Plain text
  50172. #: guix-git/doc/guix.texi:34240
  50173. 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})."
  50174. msgstr ""
  50175. #. type: deftp
  50176. #: guix-git/doc/guix.texi:34241
  50177. #, no-wrap
  50178. msgid "{Data Type} shepherd-action"
  50179. msgstr ""
  50180. #. type: deftp
  50181. #: guix-git/doc/guix.texi:34244
  50182. msgid "This is the data type that defines additional actions implemented by a Shepherd service (see above)."
  50183. msgstr ""
  50184. #. type: table
  50185. #: guix-git/doc/guix.texi:34248
  50186. msgid "Symbol naming the action."
  50187. msgstr ""
  50188. #. type: table
  50189. #: guix-git/doc/guix.texi:34251
  50190. msgid "This is a documentation string for the action. It can be viewed by running:"
  50191. msgstr ""
  50192. #. type: example
  50193. #: guix-git/doc/guix.texi:34254
  50194. #, no-wrap
  50195. msgid "herd doc @var{service} action @var{action}\n"
  50196. msgstr ""
  50197. #. type: item
  50198. #: guix-git/doc/guix.texi:34256
  50199. #, no-wrap
  50200. msgid "procedure"
  50201. msgstr ""
  50202. #. type: table
  50203. #: guix-git/doc/guix.texi:34260
  50204. 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})."
  50205. msgstr ""
  50206. #. type: deftp
  50207. #: guix-git/doc/guix.texi:34264
  50208. msgid "The following example defines an action called @code{say-hello} that kindly greets the user:"
  50209. msgstr ""
  50210. #. type: lisp
  50211. #: guix-git/doc/guix.texi:34273
  50212. #, no-wrap
  50213. msgid ""
  50214. "(shepherd-action\n"
  50215. " (name 'say-hello)\n"
  50216. " (documentation \"Say hi!\")\n"
  50217. " (procedure #~(lambda (running . args)\n"
  50218. " (format #t \"Hello, friend! arguments: ~s\\n\"\n"
  50219. " args)\n"
  50220. " #t)))\n"
  50221. msgstr ""
  50222. #. type: deftp
  50223. #: guix-git/doc/guix.texi:34276
  50224. msgid "Assuming this action is added to the @code{example} service, then you can do:"
  50225. msgstr ""
  50226. #. type: example
  50227. #: guix-git/doc/guix.texi:34282
  50228. #, no-wrap
  50229. msgid ""
  50230. "# herd say-hello example\n"
  50231. "Hello, friend! arguments: ()\n"
  50232. "# herd say-hello example a b c\n"
  50233. "Hello, friend! arguments: (\"a\" \"b\" \"c\")\n"
  50234. msgstr ""
  50235. #. type: deftp
  50236. #: guix-git/doc/guix.texi:34287
  50237. 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."
  50238. msgstr ""
  50239. #. type: defvr
  50240. #: guix-git/doc/guix.texi:34289
  50241. #, no-wrap
  50242. msgid "{Scheme Variable} shepherd-root-service-type"
  50243. msgstr ""
  50244. #. type: defvr
  50245. #: guix-git/doc/guix.texi:34291
  50246. msgid "The service type for the Shepherd ``root service''---i.e., PID@tie{}1."
  50247. msgstr ""
  50248. #. type: defvr
  50249. #: guix-git/doc/guix.texi:34296
  50250. 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."
  50251. msgstr ""
  50252. #. type: deftp
  50253. #: guix-git/doc/guix.texi:34298
  50254. #, no-wrap
  50255. msgid "{Data Type} shepherd-configuration"
  50256. msgstr ""
  50257. #. type: deftp
  50258. #: guix-git/doc/guix.texi:34300
  50259. msgid "This data type represents the Shepherd's configuration."
  50260. msgstr ""
  50261. #. type: item
  50262. #: guix-git/doc/guix.texi:34302
  50263. #, no-wrap
  50264. msgid "shepherd (default: @code{shepherd})"
  50265. msgstr ""
  50266. #. type: table
  50267. #: guix-git/doc/guix.texi:34304
  50268. msgid "The Shepherd package to use."
  50269. msgstr ""
  50270. #. type: item
  50271. #: guix-git/doc/guix.texi:34305
  50272. #, no-wrap
  50273. msgid "services (default: @code{'()})"
  50274. msgstr ""
  50275. #. type: table
  50276. #: guix-git/doc/guix.texi:34309
  50277. msgid "A list of @code{<shepherd-service>} to start. You should probably use the service extension mechanism instead (@pxref{Shepherd Services})."
  50278. msgstr ""
  50279. #. type: Plain text
  50280. #: guix-git/doc/guix.texi:34314
  50281. msgid "The following example specifies the Shepherd package for the operating system:"
  50282. msgstr ""
  50283. #. type: lisp
  50284. #: guix-git/doc/guix.texi:34329
  50285. #, no-wrap
  50286. msgid ""
  50287. "(operating-system\n"
  50288. " ;; ...\n"
  50289. " (services (append (list openssh-service-type))\n"
  50290. " ;; ...\n"
  50291. " %desktop-services)\n"
  50292. " ;; ...\n"
  50293. " ;; Use own Shepherd package.\n"
  50294. " (essential-services\n"
  50295. " (modify-services (operating-system-default-essential-services\n"
  50296. " this-operating-system)\n"
  50297. " (shepherd-root-service-type config => (shepherd-configuration\n"
  50298. " (inherit config)\n"
  50299. " (shepherd my-shepherd))))))\n"
  50300. msgstr ""
  50301. #. type: defvr
  50302. #: guix-git/doc/guix.texi:34331
  50303. #, no-wrap
  50304. msgid "{Scheme Variable} %shepherd-root-service"
  50305. msgstr ""
  50306. #. type: defvr
  50307. #: guix-git/doc/guix.texi:34333
  50308. msgid "This service represents PID@tie{}1."
  50309. msgstr ""
  50310. #. type: cindex
  50311. #: guix-git/doc/guix.texi:34339
  50312. #, no-wrap
  50313. msgid "documentation, searching for"
  50314. msgstr ""
  50315. #. type: cindex
  50316. #: guix-git/doc/guix.texi:34340
  50317. #, no-wrap
  50318. msgid "searching for documentation"
  50319. msgstr ""
  50320. #. type: cindex
  50321. #: guix-git/doc/guix.texi:34341
  50322. #, no-wrap
  50323. msgid "Info, documentation format"
  50324. msgstr ""
  50325. #. type: cindex
  50326. #: guix-git/doc/guix.texi:34342
  50327. #, no-wrap
  50328. msgid "man pages"
  50329. msgstr ""
  50330. #. type: cindex
  50331. #: guix-git/doc/guix.texi:34343
  50332. #, no-wrap
  50333. msgid "manual pages"
  50334. msgstr ""
  50335. #. type: Plain text
  50336. #: guix-git/doc/guix.texi:34350
  50337. 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}."
  50338. msgstr ""
  50339. #. type: Plain text
  50340. #: guix-git/doc/guix.texi:34354
  50341. 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:"
  50342. msgstr ""
  50343. #. type: example
  50344. #: guix-git/doc/guix.texi:34362
  50345. #, no-wrap
  50346. msgid ""
  50347. "$ info -k TLS\n"
  50348. "\"(emacs)Network Security\" -- STARTTLS\n"
  50349. "\"(emacs)Network Security\" -- TLS\n"
  50350. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_flags\n"
  50351. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_function\n"
  50352. "@dots{}\n"
  50353. msgstr ""
  50354. #. type: Plain text
  50355. #: guix-git/doc/guix.texi:34366
  50356. msgid "The command below searches for the same keyword in man pages:"
  50357. msgstr ""
  50358. #. type: example
  50359. #: guix-git/doc/guix.texi:34372
  50360. #, no-wrap
  50361. msgid ""
  50362. "$ man -k TLS\n"
  50363. "SSL (7) - OpenSSL SSL/TLS library\n"
  50364. "certtool (1) - GnuTLS certificate tool\n"
  50365. "@dots {}\n"
  50366. msgstr ""
  50367. "$ man -k TLS\n"
  50368. "SSL (7) - OpenSSL SSL/TLS library\n"
  50369. "certtool (1) - GnuTLS certificate tool\n"
  50370. "@dots {}\n"
  50371. #. type: Plain text
  50372. #: guix-git/doc/guix.texi:34378
  50373. 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."
  50374. msgstr ""
  50375. #. type: Plain text
  50376. #: guix-git/doc/guix.texi:34381
  50377. msgid "Once you have these results, you can view the relevant documentation by running, say:"
  50378. msgstr ""
  50379. #. type: example
  50380. #: guix-git/doc/guix.texi:34384
  50381. #, no-wrap
  50382. msgid "$ info \"(gnutls)Core TLS API\"\n"
  50383. msgstr ""
  50384. #. type: Plain text
  50385. #: guix-git/doc/guix.texi:34388
  50386. msgid "or:"
  50387. msgstr ""
  50388. #. type: example
  50389. #: guix-git/doc/guix.texi:34391
  50390. #, no-wrap
  50391. msgid "$ man certtool\n"
  50392. msgstr ""
  50393. #. type: Plain text
  50394. #: guix-git/doc/guix.texi:34399
  50395. 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."
  50396. msgstr ""
  50397. #. type: cindex
  50398. #: guix-git/doc/guix.texi:34403
  50399. #, no-wrap
  50400. msgid "debugging files"
  50401. msgstr ""
  50402. #. type: Plain text
  50403. #: guix-git/doc/guix.texi:34409
  50404. 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."
  50405. msgstr ""
  50406. #. type: Plain text
  50407. #: guix-git/doc/guix.texi:34413
  50408. 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."
  50409. msgstr ""
  50410. #. type: Plain text
  50411. #: guix-git/doc/guix.texi:34429
  50412. 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})."
  50413. msgstr ""
  50414. #. type: Plain text
  50415. #: guix-git/doc/guix.texi:34436
  50416. 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})."
  50417. msgstr ""
  50418. #. type: Plain text
  50419. #: guix-git/doc/guix.texi:34444
  50420. 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:"
  50421. msgstr ""
  50422. #. type: example
  50423. #: guix-git/doc/guix.texi:34447
  50424. #, no-wrap
  50425. msgid "guix install glibc:debug guile:debug\n"
  50426. msgstr ""
  50427. #. type: Plain text
  50428. #: guix-git/doc/guix.texi:34453
  50429. 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}):"
  50430. msgstr ""
  50431. #. type: example
  50432. #: guix-git/doc/guix.texi:34456
  50433. #, no-wrap
  50434. msgid "(gdb) set debug-file-directory ~/.guix-profile/lib/debug\n"
  50435. msgstr ""
  50436. #. type: Plain text
  50437. #: guix-git/doc/guix.texi:34460
  50438. msgid "From there on, GDB will pick up debugging information from the @file{.debug} files under @file{~/.guix-profile/lib/debug}."
  50439. msgstr ""
  50440. #. type: Plain text
  50441. #: guix-git/doc/guix.texi:34467
  50442. 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})."
  50443. msgstr ""
  50444. #. type: Plain text
  50445. #: guix-git/doc/guix.texi:34475
  50446. 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})."
  50447. msgstr ""
  50448. #. type: Plain text
  50449. #: guix-git/doc/guix.texi:34477
  50450. msgid "Read on for how to deal with packages lacking a @code{debug} output."
  50451. msgstr ""
  50452. #. type: Plain text
  50453. #: guix-git/doc/guix.texi:34489
  50454. 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."
  50455. msgstr ""
  50456. #. type: Plain text
  50457. #: guix-git/doc/guix.texi:34494
  50458. 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:"
  50459. msgstr ""
  50460. #. type: example
  50461. #: guix-git/doc/guix.texi:34505
  50462. #, no-wrap
  50463. msgid ""
  50464. "(gdb) bt\n"
  50465. "#0 0x00007ffff5f92190 in g_getenv ()\n"
  50466. " from /gnu/store/@dots{}-glib-2.62.6/lib/libglib-2.0.so.0\n"
  50467. "#1 0x00007ffff608a7d6 in gobject_init_ctor ()\n"
  50468. " from /gnu/store/@dots{}-glib-2.62.6/lib/libgobject-2.0.so.0\n"
  50469. "#2 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=1, argv=argv@@entry=0x7fffffffcfd8, \n"
  50470. " env=env@@entry=0x7fffffffcfe8) at dl-init.c:72\n"
  50471. "#3 0x00007ffff7fe2866 in call_init (env=0x7fffffffcfe8, argv=0x7fffffffcfd8, argc=1, l=<optimized out>)\n"
  50472. " at dl-init.c:118\n"
  50473. msgstr ""
  50474. #. type: Plain text
  50475. #: guix-git/doc/guix.texi:34509
  50476. msgid "To address that, you install Inkscape linked against a variant GLib that contains debug info:"
  50477. msgstr ""
  50478. #. type: Plain text
  50479. #: guix-git/doc/guix.texi:34515
  50480. msgid "This time, debugging will be a whole lot nicer:"
  50481. msgstr ""
  50482. #. type: example
  50483. #: guix-git/doc/guix.texi:34533
  50484. #, no-wrap
  50485. msgid ""
  50486. "$ gdb --args sh -c 'exec inkscape'\n"
  50487. "@dots{}\n"
  50488. "(gdb) b g_getenv\n"
  50489. "Function \"g_getenv\" not defined.\n"
  50490. "Make breakpoint pending on future shared library load? (y or [n]) y\n"
  50491. "Breakpoint 1 (g_getenv) pending.\n"
  50492. "(gdb) r\n"
  50493. "Starting program: /gnu/store/@dots{}-profile/bin/sh -c exec\\ inkscape\n"
  50494. "@dots{}\n"
  50495. "(gdb) bt\n"
  50496. "#0 g_getenv (variable=variable@@entry=0x7ffff60c7a2e \"GOBJECT_DEBUG\") at ../glib-2.62.6/glib/genviron.c:252\n"
  50497. "#1 0x00007ffff608a7d6 in gobject_init () at ../glib-2.62.6/gobject/gtype.c:4380\n"
  50498. "#2 gobject_init_ctor () at ../glib-2.62.6/gobject/gtype.c:4493\n"
  50499. "#3 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=3, argv=argv@@entry=0x7fffffffd088, \n"
  50500. " env=env@@entry=0x7fffffffd0a8) at dl-init.c:72\n"
  50501. "@dots{}\n"
  50502. msgstr ""
  50503. #. type: Plain text
  50504. #: guix-git/doc/guix.texi:34536
  50505. msgid "Much better!"
  50506. msgstr ""
  50507. #. type: Plain text
  50508. #: guix-git/doc/guix.texi:34540
  50509. 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."
  50510. msgstr ""
  50511. #. type: cindex
  50512. #: guix-git/doc/guix.texi:34544
  50513. #, no-wrap
  50514. msgid "security updates"
  50515. msgstr ""
  50516. #. type: Plain text
  50517. #: guix-git/doc/guix.texi:34553
  50518. 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:"
  50519. msgstr ""
  50520. #. type: smallexample
  50521. #: guix-git/doc/guix.texi:34560
  50522. #, no-wrap
  50523. msgid ""
  50524. "$ guix lint -c cve\n"
  50525. "gnu/packages/base.scm:652:2: glibc@@2.21: probably vulnerable to CVE-2015-1781, CVE-2015-7547\n"
  50526. "gnu/packages/gcc.scm:334:2: gcc@@4.9.3: probably vulnerable to CVE-2015-5276\n"
  50527. "gnu/packages/image.scm:312:2: openjpeg@@2.1.0: probably vulnerable to CVE-2016-1923, CVE-2016-1924\n"
  50528. "@dots{}\n"
  50529. msgstr ""
  50530. #. type: Plain text
  50531. #: guix-git/doc/guix.texi:34563
  50532. msgid "@xref{Invoking guix lint}, for more information."
  50533. msgstr ""
  50534. #. type: Plain text
  50535. #: guix-git/doc/guix.texi:34572
  50536. 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."
  50537. msgstr ""
  50538. #. type: cindex
  50539. #: guix-git/doc/guix.texi:34573
  50540. #, no-wrap
  50541. msgid "grafts"
  50542. msgstr ""
  50543. #. type: Plain text
  50544. #: guix-git/doc/guix.texi:34581
  50545. 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."
  50546. msgstr ""
  50547. #. type: cindex
  50548. #: guix-git/doc/guix.texi:34582
  50549. #, no-wrap
  50550. msgid "replacements of packages, for grafts"
  50551. msgstr ""
  50552. #. type: Plain text
  50553. #: guix-git/doc/guix.texi:34588
  50554. 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:"
  50555. msgstr ""
  50556. #. type: lisp
  50557. #: guix-git/doc/guix.texi:34595
  50558. #, no-wrap
  50559. msgid ""
  50560. "(define bash\n"
  50561. " (package\n"
  50562. " (name \"bash\")\n"
  50563. " ;; @dots{}\n"
  50564. " (replacement bash-fixed)))\n"
  50565. msgstr ""
  50566. #. type: Plain text
  50567. #: guix-git/doc/guix.texi:34605
  50568. 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."
  50569. msgstr ""
  50570. #. type: Plain text
  50571. #: guix-git/doc/guix.texi:34613
  50572. 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."
  50573. msgstr ""
  50574. #. type: Plain text
  50575. #: guix-git/doc/guix.texi:34617
  50576. msgid "The @option{--no-grafts} command-line option allows you to forcefully avoid grafting (@pxref{Common Build Options, @option{--no-grafts}}). Thus, the command:"
  50577. msgstr ""
  50578. #. type: example
  50579. #: guix-git/doc/guix.texi:34620
  50580. #, no-wrap
  50581. msgid "guix build bash --no-grafts\n"
  50582. msgstr ""
  50583. #. type: Plain text
  50584. #: guix-git/doc/guix.texi:34624
  50585. msgid "returns the store file name of the original Bash, whereas:"
  50586. msgstr ""
  50587. #. type: example
  50588. #: guix-git/doc/guix.texi:34627
  50589. #, no-wrap
  50590. msgid "guix build bash\n"
  50591. msgstr ""
  50592. #. type: Plain text
  50593. #: guix-git/doc/guix.texi:34632
  50594. msgid "returns the store file name of the ``fixed'', replacement Bash. This allows you to distinguish between the two variants of Bash."
  50595. msgstr ""
  50596. #. type: Plain text
  50597. #: guix-git/doc/guix.texi:34635
  50598. msgid "To verify which Bash your whole profile refers to, you can run (@pxref{Invoking guix gc}):"
  50599. msgstr ""
  50600. #. type: example
  50601. #: guix-git/doc/guix.texi:34638
  50602. #, no-wrap
  50603. msgid "guix gc -R $(readlink -f ~/.guix-profile) | grep bash\n"
  50604. msgstr ""
  50605. #. type: Plain text
  50606. #: guix-git/doc/guix.texi:34643
  50607. msgid "@dots{} and compare the store file names that you get with those above. Likewise for a complete Guix system generation:"
  50608. msgstr ""
  50609. #. type: example
  50610. #: guix-git/doc/guix.texi:34646
  50611. #, no-wrap
  50612. msgid "guix gc -R $(guix system build my-config.scm) | grep bash\n"
  50613. msgstr ""
  50614. #. type: Plain text
  50615. #: guix-git/doc/guix.texi:34650
  50616. msgid "Lastly, to check which Bash running processes are using, you can use the @command{lsof} command:"
  50617. msgstr ""
  50618. #. type: example
  50619. #: guix-git/doc/guix.texi:34653
  50620. #, no-wrap
  50621. msgid "lsof | grep /gnu/store/.*bash\n"
  50622. msgstr ""
  50623. #. type: cindex
  50624. #: guix-git/doc/guix.texi:34661
  50625. #, no-wrap
  50626. msgid "bootstrapping"
  50627. msgstr ""
  50628. #. type: Plain text
  50629. #: guix-git/doc/guix.texi:34668
  50630. 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?"
  50631. msgstr ""
  50632. #. type: Plain text
  50633. #: guix-git/doc/guix.texi:34676
  50634. 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."
  50635. msgstr ""
  50636. #. type: cindex
  50637. #: guix-git/doc/guix.texi:34677 guix-git/doc/guix.texi:34889
  50638. #, no-wrap
  50639. msgid "bootstrap binaries"
  50640. msgstr ""
  50641. #. type: Plain text
  50642. #: guix-git/doc/guix.texi:34687
  50643. 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}."
  50644. msgstr ""
  50645. #. type: Plain text
  50646. #: guix-git/doc/guix.texi:34691
  50647. msgid "These bootstrap binaries are ``taken for granted'', though we can also re-create them if needed (@pxref{Preparing to Use the Bootstrap Binaries})."
  50648. msgstr ""
  50649. #. type: section
  50650. #: guix-git/doc/guix.texi:34698
  50651. #, no-wrap
  50652. msgid "The Reduced Binary Seed Bootstrap"
  50653. msgstr ""
  50654. #. type: Plain text
  50655. #: guix-git/doc/guix.texi:34705
  50656. 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.''"
  50657. msgstr ""
  50658. #. type: Plain text
  50659. #: guix-git/doc/guix.texi:34711
  50660. 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."
  50661. msgstr ""
  50662. #. type: Plain text
  50663. #: guix-git/doc/guix.texi:34716
  50664. 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.}."
  50665. msgstr ""
  50666. #. type: Plain text
  50667. #: guix-git/doc/guix.texi:34722
  50668. 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)."
  50669. msgstr ""
  50670. #. type: Plain text
  50671. #: guix-git/doc/guix.texi:34727
  50672. 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."
  50673. msgstr ""
  50674. #. type: Plain text
  50675. #: guix-git/doc/guix.texi:34735
  50676. 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."
  50677. msgstr ""
  50678. #. type: Plain text
  50679. #: guix-git/doc/guix.texi:34745
  50680. 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."
  50681. msgstr ""
  50682. #. type: Plain text
  50683. #: guix-git/doc/guix.texi:34749
  50684. 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."
  50685. msgstr ""
  50686. #. type: Plain text
  50687. #: guix-git/doc/guix.texi:34752
  50688. msgid "@image{images/gcc-core-mesboot0-graph,6in,,Dependency graph of gcc-core-mesboot0}"
  50689. msgstr ""
  50690. #. type: Plain text
  50691. #: guix-git/doc/guix.texi:34759
  50692. 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.}."
  50693. msgstr ""
  50694. #. type: Plain text
  50695. #: guix-git/doc/guix.texi:34762
  50696. 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}."
  50697. msgstr ""
  50698. #. type: Plain text
  50699. #: guix-git/doc/guix.texi:34767
  50700. 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."
  50701. msgstr ""
  50702. #. type: Plain text
  50703. #: guix-git/doc/guix.texi:34771
  50704. 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}."
  50705. msgstr ""
  50706. #. type: Plain text
  50707. #: guix-git/doc/guix.texi:34778
  50708. msgid "@image{images/bootstrap-graph,6in,,Dependency graph of the early bootstrap derivations}"
  50709. msgstr ""
  50710. #. type: Plain text
  50711. #: guix-git/doc/guix.texi:34783
  50712. 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:"
  50713. msgstr ""
  50714. #. type: example
  50715. #: guix-git/doc/guix.texi:34788
  50716. #, no-wrap
  50717. msgid ""
  50718. "guix graph -t derivation \\\n"
  50719. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-gcc)' \\\n"
  50720. " | dot -Tps > gcc.ps\n"
  50721. msgstr ""
  50722. #. type: Plain text
  50723. #: guix-git/doc/guix.texi:34791
  50724. msgid "or, for the further Reduced Binary Seed bootstrap"
  50725. msgstr ""
  50726. #. type: example
  50727. #: guix-git/doc/guix.texi:34796
  50728. #, no-wrap
  50729. msgid ""
  50730. "guix graph -t derivation \\\n"
  50731. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-mes)' \\\n"
  50732. " | dot -Tps > mes.ps\n"
  50733. msgstr ""
  50734. #. type: Plain text
  50735. #: guix-git/doc/guix.texi:34805
  50736. 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})."
  50737. msgstr ""
  50738. #. type: Plain text
  50739. #: guix-git/doc/guix.texi:34814
  50740. 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."
  50741. msgstr ""
  50742. #. type: Plain text
  50743. #: guix-git/doc/guix.texi:34826
  50744. 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})."
  50745. msgstr ""
  50746. #. type: Plain text
  50747. #: guix-git/doc/guix.texi:34831
  50748. 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."
  50749. msgstr ""
  50750. #. type: unnumberedsec
  50751. #: guix-git/doc/guix.texi:34832
  50752. #, no-wrap
  50753. msgid "Building the Build Tools"
  50754. msgstr ""
  50755. #. type: Plain text
  50756. #: guix-git/doc/guix.texi:34841
  50757. 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."
  50758. msgstr ""
  50759. #. type: Plain text
  50760. #: guix-git/doc/guix.texi:34848
  50761. 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:"
  50762. msgstr ""
  50763. #. type: example
  50764. #: guix-git/doc/guix.texi:34853
  50765. #, no-wrap
  50766. msgid ""
  50767. "guix graph -t bag \\\n"
  50768. " -e '(@@@@ (gnu packages commencement)\n"
  50769. " glibc-final-with-bootstrap-bash)' | xdot -\n"
  50770. msgstr ""
  50771. #. type: Plain text
  50772. #: guix-git/doc/guix.texi:34860
  50773. 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."
  50774. msgstr ""
  50775. #. type: Plain text
  50776. #: guix-git/doc/guix.texi:34862
  50777. msgid "@image{images/bootstrap-packages,6in,,Dependency graph of the early packages}"
  50778. msgstr ""
  50779. #. type: Plain text
  50780. #: guix-git/doc/guix.texi:34868
  50781. 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."
  50782. msgstr ""
  50783. #. type: Plain text
  50784. #: guix-git/doc/guix.texi:34873
  50785. 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."
  50786. msgstr ""
  50787. #. type: Plain text
  50788. #: guix-git/doc/guix.texi:34879
  50789. 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."
  50790. msgstr ""
  50791. #. type: Plain text
  50792. #: guix-git/doc/guix.texi:34885
  50793. 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}})."
  50794. msgstr ""
  50795. #. type: unnumberedsec
  50796. #: guix-git/doc/guix.texi:34887
  50797. #, no-wrap
  50798. msgid "Building the Bootstrap Binaries"
  50799. msgstr ""
  50800. #. type: Plain text
  50801. #: guix-git/doc/guix.texi:34894
  50802. 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."
  50803. msgstr ""
  50804. #. type: Plain text
  50805. #: guix-git/doc/guix.texi:34900
  50806. 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):"
  50807. msgstr ""
  50808. #. type: example
  50809. #: guix-git/doc/guix.texi:34903
  50810. #, no-wrap
  50811. msgid "guix build bootstrap-tarballs\n"
  50812. msgstr ""
  50813. #. type: Plain text
  50814. #: guix-git/doc/guix.texi:34908
  50815. 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."
  50816. msgstr ""
  50817. #. type: Plain text
  50818. #: guix-git/doc/guix.texi:34914
  50819. 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."
  50820. msgstr ""
  50821. #. type: unnumberedsec
  50822. #: guix-git/doc/guix.texi:34915
  50823. #, no-wrap
  50824. msgid "Reducing the Set of Bootstrap Binaries"
  50825. msgstr ""
  50826. #. type: Plain text
  50827. #: guix-git/doc/guix.texi:34923
  50828. 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}."
  50829. msgstr ""
  50830. #. type: Plain text
  50831. #: guix-git/doc/guix.texi:34929
  50832. 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."
  50833. msgstr ""
  50834. #. type: Plain text
  50835. #: guix-git/doc/guix.texi:34935
  50836. 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."
  50837. msgstr ""
  50838. #. type: Plain text
  50839. #: guix-git/doc/guix.texi:34944
  50840. 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."
  50841. msgstr ""
  50842. #. type: Plain text
  50843. #: guix-git/doc/guix.texi:34947
  50844. 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!"
  50845. msgstr ""
  50846. #. type: chapter
  50847. #: guix-git/doc/guix.texi:34949
  50848. #, no-wrap
  50849. msgid "Porting to a New Platform"
  50850. msgstr "Portando para uma nova plataforma"
  50851. #. type: Plain text
  50852. #: guix-git/doc/guix.texi:34958
  50853. 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."
  50854. msgstr ""
  50855. #. type: Plain text
  50856. #: guix-git/doc/guix.texi:34963
  50857. 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:"
  50858. msgstr ""
  50859. #. type: example
  50860. #: guix-git/doc/guix.texi:34966
  50861. #, no-wrap
  50862. msgid "guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs\n"
  50863. msgstr ""
  50864. #. type: Plain text
  50865. #: guix-git/doc/guix.texi:34973
  50866. 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."
  50867. msgstr ""
  50868. #. type: Plain text
  50869. #: guix-git/doc/guix.texi:34982
  50870. 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."
  50871. msgstr ""
  50872. #. type: Plain text
  50873. #: guix-git/doc/guix.texi:34991
  50874. 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."
  50875. msgstr ""
  50876. #. type: include
  50877. #: guix-git/doc/guix.texi:34993
  50878. #, no-wrap
  50879. msgid "contributing.texi"
  50880. msgstr "contributing.pt_BR.texi"
  50881. #. type: Plain text
  50882. #: guix-git/doc/guix.texi:35006
  50883. 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."
  50884. msgstr ""
  50885. #. type: Plain text
  50886. #: guix-git/doc/guix.texi:35009
  50887. msgid "The Nix-based software distributions, Nixpkgs and NixOS, have also been an inspiration for Guix."
  50888. msgstr "As distribuições de software baseadas em Nix, Nixpkgs e NixOS, também foram uma inspiração para o Guix."
  50889. #. type: Plain text
  50890. #: guix-git/doc/guix.texi:35015
  50891. 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!"
  50892. 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!"
  50893. #. type: cindex
  50894. #: guix-git/doc/guix.texi:35020
  50895. #, no-wrap
  50896. msgid "license, GNU Free Documentation License"
  50897. msgstr "licença, Licença de Documentação Livre GNU"
  50898. #. type: include
  50899. #: guix-git/doc/guix.texi:35021
  50900. #, no-wrap
  50901. msgid "fdl-1.3.texi"
  50902. msgstr "fdl-1.3.texi"